diff --git a/.gitignore b/.gitignore index 62170f4ec95e..ac45c755c73f 100644 --- a/.gitignore +++ b/.gitignore @@ -168,6 +168,7 @@ ClientBin/ *.dbmdl *.dbproj.schemaview node_modules/ +.pshproj # RIA/Silverlight projects Generated_Code/ @@ -190,4 +191,4 @@ UpgradeLog*.htm *.bim_*.settings # Microsoft Fakes -FakesAssemblies/ \ No newline at end of file +FakesAssemblies/ diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets index 68cd41e3013d..f31479edbba2 100644 --- a/AzurePowershell.Test.targets +++ b/AzurePowershell.Test.targets @@ -4,28 +4,25 @@ ToolsVersion="4.0"> .\src\Local.testsettings + .\src\Local.x64.testsettings .\src\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll - .\src\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll + .\src\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll + .\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll .\src\AzureRT.testsettings .\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll src\ServiceManagement\Storage\Commands.Storage.ScenarioTest\bin\Debug\CLITest.dll .\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll .\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll + .\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll + .\src\ResourceManager\Batch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll .\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll + .\src\ServiceManagement\Compute\Commands.ServiceManagement.Extensions.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test.dll .\src\ServiceManagement\Sql\Commands.SqlDatabase.Test\bin\Debug\Microsoft.WindowsAzure.Commands.SqlDatabase.Test.dll .\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll .\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll "!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain" All - CheckIn "OneSDK&CIT" - "MediaServices&BVT" - "Websites&BVT" - "CloudService&BVT" - "Storage&BVT" - "Management&BVT" - "ManagedCache&BVT" - "ServiceBus&BVT" "Functional|AzureRTScenario" "Functional|AzureRTScenario|Preview" "Functional|AzureRTScenario|Sequential" @@ -45,18 +42,31 @@ - + <_ManagedCacheTestAssembly>.\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll - + - + + + + + + + + + @@ -65,6 +75,12 @@ Projects="build.proj"/> + + + + + + + <_RecoveryServicesTestAssembly>.\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll + + + + @@ -97,79 +121,24 @@ - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - @@ -180,6 +149,14 @@ + + + + + + - + - + + + + + + + + + + + + + + + + + @@ -243,5 +240,25 @@ Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:Preview /resultsfile:$(TestOutputDirectory)\RTPreviewDebug.trx" ContinueOnError="false" /> + + + + + + + + + + + + + + + + + + diff --git a/ChangeLog.txt b/ChangeLog.txt index 37ca61ce11c6..0aadedfe1363 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,12 +1,121 @@ +2014.10.27 Version 0.8.10 +* Azure Data Factory cmdlets in AzureResourceManager mode + * New-AzureDataFactory + * New-AzureDataFactoryGateway + * New-AzureDataFactoryGatewayKey + * New-AzureDataFactoryHub + * New-AzureDataFactoryLinkedService + * New-AzureDataFactoryPipeline + * New-AzureDataFactoryTable + * New-AzureDataFactoryEncryptValue + * Get-AzureDataFactory + * Get-AzureDataFactoryGateway + * Get-AzureDataFactoryHub + * Get-AzureDataFactoryLinkedService + * Get-AzureDataFactoryPipeline + * Get-AzureDataFactoryRun + * Get-AzureDataFactorySlice + * Get-AzureDataFactoryTable + * Remove-AzureDataFactory + * Remove-AzureDataFactoryGateway + * Remove-AzureDataFactoryHub + * Remove-AzureDataFactoryLinkedService + * Remove-AzureDataFactoryPipeline + * Remove-AzureDataFactoryTable + * Resume-AzureDataFactoryPipeline + * Save-AzureDataFactoryLog + * Set-AzureDataFactoryGateway + * Set-AzureDataFactoryPipelineActivePeriod + * Set-AzureDataFactorySliceStatus + * Suspend-AzureDataFactoryPipeline +* Azure Batch cmdlets in AzureResourceManager mode + * Set-AzureBatchAccount + * Remove-AzureBatchAccount + * New-AzureBatchAccountKey + * New-AzureBatchAccount + * Get-AzureBatchAccountKeys + * Get-AzureBatchAccount +* Azure Network + * Multi NIC support + * Add-AzureNetworkInterfaceConfig + * Get-AzureNetworkInterfaceConfig + * Remove-AzureNetworkInterfaceConfig + * Set-AzureNetworkInterfaceConfig + * Security group support + * Set-AzureNetworkSecurityGroupToSubnet + * Set-AzureNetworkSecurityGroupConfig + * Remove-AzureNetworkSecurityGroupFromSubnet + * Remove-AzureNetworkSecurityGroupConfig + * Remove-AzureNetworkSecurityGroup + * New-AzureNetworkSecurityGroup + * Get-AzureNetworkSecurityGroupForSubnet + * Get-AzureNetworkSecurityGroupConfig + * Get-AzureNetworkSecurityGroup +* Azure Virtual Machine + * Added Add PublicConfigKey and PrivateConfigKey parameters to SetAzureVMExtension +* Azure Website + * Set-AzureWebsite exposes new parameters and Get-AzureWebsite returns them + * SlotStickyConnectionStringNames – connection string names not to be moved during swap operation + * SlotStickyAppSettingNames – application settings names not to be moved during swap operation + * AutoSwapSlotName – slot name to swap automatically with after successful deployment + +2014.10.03 Version 0.8.9 +* Redis Cache cmdlets in AzureResourceManager mode + * New-AzureRedisCache + * Get-AzureRedisCache + * Set-AzureRedisCache + * Remove-AzureRedisCache + * New-AzureRedisCacheKey + * Get-AzureRedisCacheKey +* Fixed Remove-AzureDataDisk regression +* Fixed cloud service cmdlets to work with the latest Azure authoring tools +* Fixed Get-AzureSubscription -ExtendedDetails regression +* Added -CreateACSNamespace parameter to New-AzureSBNamespace cmdlet + +2014.09.10 Version 0.8.8 +* Role-based access control support + * Query role definition + * Get-AzureRoleDefinition + * Manage role assignment + * New-AzureRoleAssignment + * Get-AzureRoleAssignment + * Remove-AzureRoleAssignment + * Query Active Directory object + * Get-AzureADUser + * Get-AzureADGroup + * Get-AzureADGroupMember + * Get-AzureADServicePrincipal + * Show user's permissions on + * Get-AzureResourceGroup + * Get-AzureResource +* Active Directory service principal login support in Azure Resource Manager mode + * Add-AzureAccount -Credential -ServicePrincipal -Tenant +* SQL Database auditing support in Azure Resource Manager mode + * Use-AzureSqlServerAuditingSetting + * Set-AzureSqlServerAuditingSetting + * Set-AzureSqlDatabaseAuditingSetting + * Get-AzureSqlServerAuditingSetting + * Get-AzureSqlDatabaseAuditingSetting + * Disable-AzureSqlServerAuditing + * Disable-AzureSqlDatabaseAuditing +* Other improvements + * Virtual Machine DSC extension supports PSCredential as configuration argument + * Virtual Machine Antimalware extension supports native JSON configuration + * Storage supports creating storage account with different geo-redundant options + * Traffic Manager supports nesting of profiles + * Website supports configuring x32/x64 worker process + * -Detail parameter on Get-AzureResourceGroup to improve performance + * Major refactoring around account and subscription management + 2014.08.22 Version 0.8.7.1 * AzureResourceManager * Update Gallery and Monitoring management clients to fix Gallery commands *HDInsight * Update Microsoft.Net API for Hadoop - + 2014.08.18 Version 0.8.7 * Update Newtonsoft.Json dependency to 6.0.4 -* Compute +* Compute * Windows Azure Diagnostics (WAD) Version 1.2: extension cmdlets for Iaas And PaaS * Set-AzureVMDiagnosticsExtension * Get-AzureVMDiagnosticsExtension diff --git a/README.md b/README.md index 2ac76a008ea0..8594458346bd 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ You can also find the standalone installers for all the versions at [Downloads]( In general, following are the steps to start using Microsoft Azure PowerShell -* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](http://www.azure.microsoft.com/en-us/manage/install-and-configure-windows-powershell/). +* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). * Option 1: Login with your Microsoft account or Organizational account directly from PowerShell. Microsoft Azure Active Directory authentication is used in this case. No management certificate is needed. * Starting from 0.8.6, you can use ``Add-AzureAccount -Credential`` to avoid the browser pop up for Organizational account. * Option 2: Download and import a publish settings file which contains a management certificate. diff --git a/build.proj b/build.proj index b92d73242e36..842a3404259d 100644 --- a/build.proj +++ b/build.proj @@ -24,7 +24,7 @@ @@ -78,9 +78,9 @@ --> - $(MSBuildProjectDirectory)\src\.nuget\NuGet.exe - $(MSBuildProjectDirectory)\restore.config - -ConfigFile "$(NuGetRestoreConfigFile)" + $(MSBuildProjectDirectory)\src\.nuget\NuGet.exe + $(MSBuildProjectDirectory)\restore.config + -ConfigFile "$(NuGetRestoreConfigFile)" @@ -94,12 +94,20 @@ + + + + + + - + + + - + @@ -176,13 +184,17 @@ ContinueOnError="false" /> + + false + RunType=LiveOnly + - + @@ -190,4 +202,13 @@ Name="FullWithScenarioTests" DependsOnTargets="ForceRestorePackages;Clean;BuildDebug;BuildRelease;Test;BuildSetupDebug;BuildSetupRelease;RunOneSDKCIT" /> + + + + + + + diff --git a/packages.config b/packages.config new file mode 100644 index 000000000000..b5d4b5dd7173 --- /dev/null +++ b/packages.config @@ -0,0 +1,5 @@ + + + + + diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs index 6a99796d68e6..0b74388be9e1 100644 --- a/setup/azurecmd.wxs +++ b/setup/azurecmd.wxs @@ -1,11 +1,11 @@  - + - + @@ -56,7 +56,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -41,6 +266,12 @@ + + + + + + @@ -50,15 +281,6 @@ - - - - - - - - - @@ -110,9 +332,6 @@ - - - @@ -139,6 +358,9 @@ + + + @@ -279,15 +501,6 @@ - - - - - - - - - @@ -324,9 +537,6 @@ - - - @@ -344,6 +554,24 @@ + + + + + + + + + + + + + + + + + + @@ -523,15 +751,6 @@ - - - - - - - - - @@ -580,9 +799,6 @@ - - - @@ -680,12 +896,24 @@ + + + + + + + + + + + + @@ -828,6 +1056,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -841,6 +1184,18 @@ + + + + + + + + + + + + @@ -1293,6 +1648,18 @@ + + + + + + + + + + + + @@ -1614,6 +1981,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1625,12 +2065,11 @@ + + - - - @@ -1648,7 +2087,6 @@ - @@ -1657,6 +2095,7 @@ + @@ -1701,9 +2140,6 @@ - - - @@ -1716,12 +2152,17 @@ - + + + + + + @@ -1781,9 +2222,6 @@ - - - @@ -1800,7 +2238,6 @@ - @@ -1832,8 +2269,12 @@ + + + + @@ -1881,10 +2322,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2021,6 +2503,10 @@ + + + + diff --git a/src/.nuget/NuGet.Config b/src/.nuget/NuGet.Config index 67f8ea046ef0..107ede70b2c1 100644 --- a/src/.nuget/NuGet.Config +++ b/src/.nuget/NuGet.Config @@ -1,6 +1,6 @@  - - - - - \ No newline at end of file + + + + + diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln index 1792ef9c6bdc..d06e75409380 100644 --- a/src/AzurePowershell.sln +++ b/src/AzurePowershell.sln @@ -35,7 +35,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement.Test", "ServiceManagement\Compute\Commands.ServiceManagement.Test\Commands.ServiceManagement.Test.csproj", "{58A78F29-8C0C-4A5E-893E-3953C0F29C8A}" ProjectSection(ProjectDependencies) = postProject + {98B10548-DF97-4FB1-8D82-2A12945D4F21} = {98B10548-DF97-4FB1-8D82-2A12945D4F21} {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A} = {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A} + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4} = {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4} + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737} = {FDB897BD-FCB4-44A1-8D66-AC99F22EC737} {E895BBDA-0B06-46AB-B909-9B97B3ECE47E} = {E895BBDA-0B06-46AB-B909-9B97B3ECE47E} EndProjectSection EndProject @@ -75,6 +78,9 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources", "ResourceManager\Resources\Commands.Resources\Commands.Resources.csproj", "{E1F5201D-6067-430E-B303-4E367652991B}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Test", "ResourceManager\Resources\Commands.Resources.Test\Commands.Resources.Test.csproj", "{4C2FE49A-09E1-4979-AD46-CD64FD04C8F7}" + ProjectSection(ProjectDependencies) = postProject + {D470E50A-9607-48D6-A924-4F9F86502704} = {D470E50A-9607-48D6-A924-4F9F86502704} + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager", "ServiceManagement\TrafficManager\Commands.TrafficManager\Commands.TrafficManager.csproj", "{94E96A5C-B5AD-4E10-B13A-3BC16D102AED}" EndProject @@ -101,6 +107,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.Comm {CD5AA507-F5EF-473D-855B-84B91A1ABE54} = {CD5AA507-F5EF-473D-855B-84B91A1ABE54} {E1F5201D-6067-430E-B303-4E367652991B} = {E1F5201D-6067-430E-B303-4E367652991B} {DDF5D225-C9C5-42B7-BDB5-2C3646E479AA} = {DDF5D225-C9C5-42B7-BDB5-2C3646E479AA} + {98B10548-DF97-4FB1-8D82-2A12945D4F21} = {98B10548-DF97-4FB1-8D82-2A12945D4F21} {137D404A-865A-43DB-930C-6DA67DA048DF} = {137D404A-865A-43DB-930C-6DA67DA048DF} {4900EC4E-8DEB-4412-9108-0BC52F81D457} = {4900EC4E-8DEB-4412-9108-0BC52F81D457} {94E96A5C-B5AD-4E10-B13A-3BC16D102AED} = {94E96A5C-B5AD-4E10-B13A-3BC16D102AED} @@ -109,12 +116,37 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.Comm {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A} = {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A} {C60342B1-47D3-4A0E-8081-9B97CE60B7AF} = {C60342B1-47D3-4A0E-8081-9B97CE60B7AF} {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F} = {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F} + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4} = {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4} {46C06ED8-43D9-41FD-B73B-41547D9C04E1} = {46C06ED8-43D9-41FD-B73B-41547D9C04E1} {2493A8F7-1949-4F29-8D53-9D459046C3B8} = {2493A8F7-1949-4F29-8D53-9D459046C3B8} EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Sql", "ResourceManager\Sql\Commands.Sql\Commands.Sql.csproj", "{69ED499E-6F3C-488F-86B8-B74CFDA4D47E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.DataFactories", "ResourceManager\DataFactories\Commands.DataFactories\Commands.DataFactories.csproj", "{9577252E-0A6B-4D61-86E8-95F7F309A987}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.DataFactories.Test", "ResourceManager\DataFactories\Commands.DataFactories.Test\Commands.DataFactories.Test.csproj", "{D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Sql.Test", "ResourceManager\Sql\Commands.Sql.Test\Commands.Sql.Test.csproj", "{56ED8C97-53B9-4DF6-ACB5-7E6800105BF8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement.Extensions.Test", "ServiceManagement\Compute\Commands.ServiceManagement.Extensions.Test\Commands.ServiceManagement.Extensions.Test.csproj", "{7A9D7758-A1AB-4BE8-BD09-3FAF446314F2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache", "ResourceManager\RedisCache\Commands.RedisCache\Commands.RedisCache.csproj", "{C972E3EF-4461-4758-BA31-93E0947B1253}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache.Test", "ResourceManager\RedisCache\Commands.RedisCache.Test\Commands.RedisCache.Test.csproj", "{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch", "ResourceManager\Batch\Commands.Batch\Commands.Batch.csproj", "{D470E50A-9607-48D6-A924-4F9F86502704}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch.Test", "ResourceManager\Batch\Commands.Batch.Test\Commands.Batch.Test.csproj", "{F4ABAD68-64A5-4B23-B09C-42559A7524DE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network", "ServiceManagement\Network\Commands.Network\Commands.Network.csproj", "{40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network.Test", "ServiceManagement\Network\Commands.Network.Test\Commands.Network.Test.csproj", "{FDB897BD-FCB4-44A1-8D66-AC99F22EC737}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices", "ServiceManagement\RecoveryServices\Commands.RecoveryServices\Commands.RecoveryServices.csproj", "{98B10548-DF97-4FB1-8D82-2A12945D4F21}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices.Test", "ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\Commands.RecoveryServices.Test.csproj", "{A415F75B-EB6A-49A6-934E-5BA71B83D6EB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -269,6 +301,54 @@ Global {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Debug|Any CPU.Build.0 = Debug|Any CPU {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Release|Any CPU.ActiveCfg = Release|Any CPU {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Release|Any CPU.Build.0 = Release|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Release|Any CPU.Build.0 = Release|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Release|Any CPU.Build.0 = Release|Any CPU + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8}.Release|Any CPU.Build.0 = Release|Any CPU + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2}.Release|Any CPU.Build.0 = Release|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Release|Any CPU.Build.0 = Release|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Release|Any CPU.Build.0 = Release|Any CPU + {D470E50A-9607-48D6-A924-4F9F86502704}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D470E50A-9607-48D6-A924-4F9F86502704}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D470E50A-9607-48D6-A924-4F9F86502704}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D470E50A-9607-48D6-A924-4F9F86502704}.Release|Any CPU.Build.0 = Release|Any CPU + {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Release|Any CPU.Build.0 = Release|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Release|Any CPU.Build.0 = Release|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Release|Any CPU.ActiveCfg = Release|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Release|Any CPU.Build.0 = Release|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -291,5 +371,12 @@ Global {84F99CBD-5B86-4428-B263-135B2F67F512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {7E8D2555-2DDD-4757-974F-D5FFD0647671} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {C1BDA476-A5CC-4394-914D-48B0EC31A710} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {F4ABAD68-64A5-4B23-B09C-42559A7524DE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj index a034947a7716..43a11a618f7c 100644 --- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj +++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj @@ -69,20 +69,20 @@ False ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -97,13 +97,13 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/Common/Commands.Common.Storage/StorageUtilities.cs b/src/Common/Commands.Common.Storage/StorageUtilities.cs index 70007bf987be..ecbc85abe9ad 100644 --- a/src/Common/Commands.Common.Storage/StorageUtilities.cs +++ b/src/Common/Commands.Common.Storage/StorageUtilities.cs @@ -14,17 +14,31 @@ public static CloudStorageAccount GenerateCloudStorageAccount(StorageManagementC var storageKeysResponse = storageClient.StorageAccounts.GetKeys(accountName); Uri fileEndpoint = null; + Uri blobEndpoint = null; + Uri queueEndpoint = null; + Uri tableEndpoint = null; if (storageServiceResponse.StorageAccount.Properties.Endpoints.Count >= 4) { fileEndpoint = GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[3].ToString()); } + + if (storageServiceResponse.StorageAccount.Properties.Endpoints.Count >= 3) + { + tableEndpoint = GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[2].ToString()); + queueEndpoint = GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[1].ToString()); + } + + if (storageServiceResponse.StorageAccount.Properties.Endpoints.Count >= 1) + { + blobEndpoint = GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[0].ToString()); + } return new CloudStorageAccount( new StorageCredentials(storageServiceResponse.StorageAccount.Name, storageKeysResponse.PrimaryKey), - GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[0].ToString()), - GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[1].ToString()), - GeneralUtilities.CreateHttpsEndpoint(storageServiceResponse.StorageAccount.Properties.Endpoints[2].ToString()), + blobEndpoint, + queueEndpoint, + tableEndpoint, fileEndpoint); } } diff --git a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs index 377365a3fe68..fdeb4d022aeb 100644 --- a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs +++ b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs @@ -33,19 +33,10 @@ public static CloudStorageAccount GetCloudStorageAccount(this AzureSubscription return null; } - if (storageAccountCache.ContainsKey(subscription.Id)) + using (var storageClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) { - return storageAccountCache[subscription.Id]; - } - else - { - using (var storageClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) - { - storageAccountCache[subscription.Id] = StorageUtilities.GenerateCloudStorageAccount( - storageClient, subscription.GetProperty(AzureSubscription.Property.StorageAccount)); - - return storageAccountCache[subscription.Id]; - } + return StorageUtilities.GenerateCloudStorageAccount( + storageClient, subscription.GetProperty(AzureSubscription.Property.StorageAccount)); } } } diff --git a/src/Common/Commands.Common.Storage/packages.config b/src/Common/Commands.Common.Storage/packages.config index c1bd9dd432ee..a594630f2a52 100644 --- a/src/Common/Commands.Common.Storage/packages.config +++ b/src/Common/Commands.Common.Storage/packages.config @@ -6,11 +6,11 @@ - - + + - + diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj index 7d334a199d13..24f37c2ea179 100644 --- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj +++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj @@ -53,9 +53,9 @@ ..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll True - + False - ..\..\packages\Hydra.HttpRecorder.1.0.5359.24167-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + ..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll ..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -66,13 +66,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -87,26 +87,28 @@ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -126,13 +128,13 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -150,10 +152,13 @@ + - + + + @@ -166,7 +171,6 @@ - @@ -174,7 +178,6 @@ - True diff --git a/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs new file mode 100644 index 000000000000..3dd6a921c807 --- /dev/null +++ b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Xunit; +using System; +using Microsoft.WindowsAzure.Commands.Common.Factories; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; +using Microsoft.WindowsAzure.Commands.Common.Models; + +namespace Microsoft.WindowsAzure.Commands.Common.Test.Common +{ + public class AuthenticationFactoryTests + { + [Fact] + public void VerifySubscriptionTokenCacheRemove() + { + var authFactory = new AuthenticationFactory + { + TokenProvider = new MockAccessTokenProvider("testtoken", "testuser") + }; + + var subscriptionId = Guid.NewGuid(); + + var credential = authFactory.GetSubscriptionCloudCredentials(new Models.AzureContext + { + Environment = AzureEnvironment.PublicEnvironments["AzureCloud"], + Account = new AzureAccount + { + Id = "testuser", + Type = AzureAccount.AccountType.User, + Properties = new Dictionary + { + { AzureAccount.Property.Tenants, "123" } + } + }, + Subscription = new AzureSubscription + { + Id = subscriptionId, + Properties = new Dictionary + { + { AzureSubscription.Property.Tenants, "123"} + } + } + + }); + + Assert.True(credential is AccessTokenCredential); + Assert.Equal(subscriptionId, new Guid(((AccessTokenCredential)credential).SubscriptionId)); + + } + } +} diff --git a/src/Common/Commands.Common.Test/Common/Data.cs b/src/Common/Commands.Common.Test/Common/Data.cs index 3181c56516f3..d3199651a331 100644 --- a/src/Common/Commands.Common.Test/Common/Data.cs +++ b/src/Common/Commands.Common.Test/Common/Data.cs @@ -61,9 +61,6 @@ public static class Data public static string NodeWorkerRoleScaffoldingPath = Path.Combine(Resources.NodeScaffolding, RoleType.WorkerRole.ToString()); public static string PHPWebRoleScaffoldingPath = Path.Combine(Resources.PHPScaffolding, RoleType.WebRole.ToString()); public static string PHPWorkerRoleScaffoldingPath = Path.Combine(Resources.PHPScaffolding, RoleType.WorkerRole.ToString()); - public static string PythonWebRoleScaffoldingPath = Path.Combine(Resources.PythonScaffolding, RoleType.WebRole.ToString()); - public static string GeneralWebRoleScaffoldingPath = Path.Combine(Resources.GeneralScaffolding, RoleType.WebRole.ToString()); - public static string GeneralWorkerRoleScaffoldingPath = Path.Combine(Resources.GeneralScaffolding, RoleType.WorkerRole.ToString()); static Data() { diff --git a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs b/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs index 3b2354380626..f16bd866e80b 100644 --- a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs +++ b/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs @@ -18,6 +18,7 @@ using System.Linq; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; using Xunit; @@ -27,8 +28,13 @@ namespace Microsoft.WindowsAzure.Commands.Common.Test.Common public class ProfileClientTests { private string oldProfileData; + private string oldProfileDataBadSubscription; + private string oldProfileDataCorruptedFile; private string oldProfileDataPath; + private string oldProfileDataPathError; private string newProfileDataPath; + private string jsonProfileWithoutAccount; + private string jsonProfileWithBadData; private string defaultSubscription = "06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F"; private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription1; private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription2; @@ -141,6 +147,108 @@ public void ProfileMigratesAccountsAndDefaultSubscriptions() Assert.Equal(2, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].GetPropertyAsArray(AzureAccount.Property.Subscriptions).Length); } + [Fact] + public void ProfileMigratesAccountsSkipsBadOnesAndBacksUpFile() + { + MockDataStore dataStore = new MockDataStore(); + dataStore.VirtualStore[oldProfileDataPath] = oldProfileDataBadSubscription; + ProfileClient.DataStore = dataStore; + ProfileClient client = new ProfileClient(); + + // Verify Environment migration + Assert.Equal(2, client.Profile.Environments.Count); + + // Verify subscriptions + Assert.Equal(3, client.Profile.Subscriptions.Count); + Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F"))); + Assert.Equal("Test Bad Management Endpoint", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Name); + Assert.Equal(EnvironmentName.AzureCloud, client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Environment); + Assert.Equal("Test Null Management Endpoint", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF")].Name); + Assert.Equal(EnvironmentName.AzureCloud, client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF")].Environment); + + Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f"))); + Assert.Equal("Test Bad Cert", client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Name); + + // Verify accounts + Assert.Equal(2, client.Profile.Accounts.Count); + Assert.Equal("test@mail.com", client.Profile.Accounts["test@mail.com"].Id); + Assert.Equal(AzureAccount.AccountType.User, client.Profile.Accounts["test@mail.com"].Type); + Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) + .Contains(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F").ToString())); + Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) + .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); + Assert.True(client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) + .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); + Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) + .Contains("72f988bf-86f1-41af-91ab-2d7cd011db47")); + Assert.False(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) + .Contains("123")); + Assert.Equal("3AF24D48B97730E5C4C9CCB12397B5E046F79E99", client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].Id); + Assert.Equal(AzureAccount.AccountType.Certificate, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].Type); + Assert.Equal(0, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Tenants).Length); + Assert.Equal(1, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Subscriptions).Length); + + // Verify backup file + Assert.True(dataStore.FileExists(oldProfileDataPathError)); + Assert.False(dataStore.FileExists(oldProfileDataPath)); + Assert.Equal(oldProfileDataBadSubscription, dataStore.ReadFileAsText(oldProfileDataPathError)); + } + + [Fact] + public void ProfileMigratesCorruptedFileAndCreatedBackup() + { + MockDataStore dataStore = new MockDataStore(); + dataStore.VirtualStore[oldProfileDataPath] = oldProfileDataCorruptedFile; + ProfileClient.DataStore = dataStore; + ProfileClient client = new ProfileClient(); + + // Verify Environment migration + Assert.Equal(2, client.Profile.Environments.Count); + + // Verify subscriptions + Assert.Equal(0, client.Profile.Subscriptions.Count); + + // Verify accounts + Assert.Equal(0, client.Profile.Accounts.Count); + + // Verify backup file + Assert.True(dataStore.FileExists(oldProfileDataPathError)); + Assert.False(dataStore.FileExists(oldProfileDataPath)); + Assert.Equal(oldProfileDataCorruptedFile, dataStore.ReadFileAsText(oldProfileDataPathError)); + } + + [Fact] + public void CmdletStartsWithCorruptedJson() + { + MockDataStore dataStore = new MockDataStore(); + dataStore.VirtualStore[newProfileDataPath] = jsonProfileWithBadData; + ProfileClient.DataStore = dataStore; + + GetAzureSubscriptionCommand cmdlt = new GetAzureSubscriptionCommand(); + + ProfileClient client = new ProfileClient(); + + Assert.Equal(0, client.Profile.Subscriptions.Count); + Assert.Null(AzureSession.CurrentContext.Subscription); + Assert.Null(AzureSession.CurrentContext.Account); + } + + [Fact] + public void CmdletStartsWithJsonWithoutAccounts() + { + MockDataStore dataStore = new MockDataStore(); + dataStore.VirtualStore[newProfileDataPath] = jsonProfileWithoutAccount; + ProfileClient.DataStore = dataStore; + + GetAzureSubscriptionCommand cmdlt = new GetAzureSubscriptionCommand(); + + ProfileClient client = new ProfileClient(); + + Assert.Equal(1, client.Profile.Subscriptions.Count); + Assert.Null(AzureSession.CurrentContext.Subscription); + Assert.Null(AzureSession.CurrentContext.Account); + } + [Fact] public void AddAzureAccountReturnsAccountWithAllSubscriptionsInRdfeMode() { @@ -149,7 +257,6 @@ public void AddAzureAccountReturnsAccountWithAllSubscriptionsInRdfeMode() dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureServiceManagement; var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "test", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[ EnvironmentName.AzureCloud], null); @@ -168,7 +275,6 @@ public void AddAzureAccountReturnsAccountWithAllSubscriptionsInCsmMode() dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "test", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); @@ -190,7 +296,6 @@ public void GetAzureAccountReturnsAccountWithSubscriptions() client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; client.Profile.Accounts[azureAccount.Id] = azureAccount; client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; var account = client.ListAccounts("test").ToList(); @@ -212,7 +317,6 @@ public void GetAzureAccountWithoutEnvironmentReturnsAccount() client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; client.Profile.Accounts[azureAccount.Id] = azureAccount; client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; var account = client.ListAccounts("test").ToList(); @@ -234,7 +338,6 @@ public void GetAzureAccountReturnsEmptyEnumerationForNonExistingUser() client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; client.Profile.Accounts[azureAccount.Id] = azureAccount; client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; var account = client.ListAccounts("test2").ToList(); @@ -262,7 +365,6 @@ public void GetAzureAccountReturnsAllAccountsWithNullUser() }; client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; var account = client.ListAccounts(null).ToList(); @@ -290,7 +392,6 @@ public void RemoveAzureAccountRemovesSubscriptions() }; client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; List log = new List(); client.WarningLog = log.Add; @@ -650,7 +751,6 @@ public void RefreshSubscriptionsUpdatesAccounts() MockDataStore dataStore = new MockDataStore(); ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; client.AddOrSetEnvironment(azureEnvironment); client.Profile.Accounts[azureAccount.Id] = azureAccount; client.AddOrSetSubscription(azureSubscription1); @@ -670,7 +770,6 @@ public void RefreshSubscriptionsMergesFromServer() MockDataStore dataStore = new MockDataStore(); ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; client.AddOrSetEnvironment(azureEnvironment); client.Profile.Accounts[azureAccount.Id] = azureAccount; client.AddOrSetSubscription(azureSubscription1); @@ -693,7 +792,6 @@ public void RefreshSubscriptionsWorksWithMooncake() MockDataStore dataStore = new MockDataStore(); ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; client.Profile.Accounts[azureAccount.Id] = azureAccount; @@ -716,7 +814,6 @@ public void RefreshSubscriptionsListsAllSubscriptions() client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureServiceManagement; var subscriptions = client.RefreshSubscriptions(azureEnvironment); @@ -736,7 +833,6 @@ public void GetAzureSubscriptionByNameChecksAndReturnsOnlyLocal() ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); client.AddOrSetAccount(azureAccount); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.AddOrSetSubscription(azureSubscription2); @@ -755,7 +851,6 @@ public void GetAzureSubscriptionByIdChecksAndReturnsOnlyLocal() ProfileClient.DataStore = dataStore; ProfileClient client = new ProfileClient(); client.AddOrSetAccount(azureAccount); - PowerShellUtilities.GetCurrentModeOverride = () => AzureModule.AzureResourceManager; client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.AddOrSetSubscription(azureSubscription2); @@ -1032,7 +1127,7 @@ private void SetMocks(List AzureCloud @@ -1228,6 +1324,145 @@ private void SetMockData() "; + + oldProfileDataBadSubscription = @" + + AzureCloud + + + + + + + + + + + true + + + https://management.core.windows.net/ + Test Nill ID + + + .database.windows.net + + trafficmanager.net + + + + + + test@mail.com + + + true + + + Bad Data + Test Bad Management Endpoint + + + .database.windows.net + 06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F + trafficmanager.net + + + + + + test@mail.com + + + true + + + + Test Null Management Endpoint + + + .database.windows.net + 06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF + trafficmanager.net + + + https://login.windows.net/ + https://management.core.windows.net/ + 72f988bf-86f1-41af-91ab-2d7cd011db47 + test@mail.com + + + false + + 3AF24D48B97730E5C4C9CCB12397B5E046F79E99 + https://management.core.windows.net/ + Test Bad Cert + + + .database.windows.net + d1e52cbc-b073-42e2-a0a0-c2f547118a6f + trafficmanager.net + + + "; + + oldProfileDataCorruptedFile = @" + + AzureCloud + + + https://management.core.windows.net/ + https://login.windows-ppe.net/ + Common + https://current.gallery.azure-test.net + http://go.microsoft.com/fwlink/?LinkId=254433 + Current + d:\Code\azure.publishsettings + https://api-current.resources.windows-int.net/ + https://umapi.rdfetest.dnsdemo4.com:8443/ + .database.windows.net + + trafficmanager.net + + + + "; + + jsonProfileWithoutAccount = @"{ + ""Environments"": [], + ""Subscriptions"": [ + { + ""Id"": ""7e11f45f-70e6-430a-a4fc-af338aa22c11"", + ""Name"": ""Test"", + ""Environment"": ""AzureCloud"", + ""Account"": ""test@mail.com"", + ""Properties"": { + ""SupportedModes"": ""AzureServiceManagement"", + ""Default"": ""True"", + ""StorageAccount"": ""rjfmmanagement"" + } + } + ], + ""Accounts"": [] + }"; + + jsonProfileWithBadData = @"{ + ""Environments"": [], + ""Subscriptions"": { + { + ""Id"": ""7e11f45f-70e6-430a-a4fc-af338aa22c11"", + ""Name"": ""Test"", + ""Environment"": ""AzureCloud"", + ""Account"": ""test@mail.com"", + ""Properties"": { + ""SupportedModes"": ""AzureServiceManagement"", + ""Default"": ""True"", + ""StorageAccount"": ""rjfmmanagement"" + } + } + ], + ""Accounts"": [] + }"; } } } diff --git a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs b/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs index e2d9fe3ba7f6..43ed5831bcae 100644 --- a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs +++ b/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs @@ -30,14 +30,8 @@ namespace Microsoft.WindowsAzure.Commands.Common.Test.Common { public class ProfileCmdltsTests { - private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription1; - private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription2; - private Azure.Subscriptions.Models.Subscription csmSubscription1; - private Azure.Subscriptions.Models.Subscription csmSubscription1withDuplicateId; - private Azure.Subscriptions.Models.Subscription csmSubscription2; private AzureSubscription azureSubscription1; private AzureSubscription azureSubscription2; - private AzureSubscription azureSubscription3withoutUser; private AzureEnvironment azureEnvironment; private AzureAccount azureAccount; private Mock commandRuntimeMock; @@ -365,43 +359,193 @@ public void ImportPublishSettingsFileOverwritesEnvironment() } } - private void SetMockData() + [Fact] + public void SelectDefaultAzureSubscriptionByNameUpdatesProfile() { - rdfeSubscription1 = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription - { - SubscriptionId = "16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - SubscriptionName = "RdfeSub1", - SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active, - ActiveDirectoryTenantId = "Common" - }; - rdfeSubscription2 = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + var client = SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectDefaultSubscriptionByNameParameterSet"); + cmdlt.SubscriptionName = azureSubscription2.Name; + cmdlt.Default = new SwitchParameter(true); + Assert.NotEqual(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + client = new ProfileClient(); + Assert.NotNull(client.Profile.DefaultSubscription); + Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); + } + + [Fact] + public void SelectAzureSubscriptionByNameUpdatesProfile() + { + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); + cmdlt.SubscriptionName = azureSubscription2.Name; + Assert.Null(AzureSession.CurrentContext.Subscription); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + Assert.NotNull(AzureSession.CurrentContext.Subscription); + Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); + } + [Fact] + public void SelectDefaultAzureSubscriptionByIdAndNoDefaultUpdatesProfile() + { + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + var client = SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectDefaultSubscriptionByIdParameterSet"); + cmdlt.SubscriptionId = azureSubscription2.Id.ToString(); + cmdlt.Default = new SwitchParameter(true); + Assert.NotEqual(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + client = new ProfileClient(); + Assert.NotNull(client.Profile.DefaultSubscription); + Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); + + cmdlt = new SelectAzureSubscriptionCommand(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("NoDefaultSubscriptionParameterSet"); + cmdlt.NoDefault = new SwitchParameter(true); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + client = new ProfileClient(); + Assert.Null(client.Profile.DefaultSubscription); + } + + [Fact] + public void SelectAzureSubscriptionByIdAndNoCurrentUpdatesProfile() + { + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); + cmdlt.SubscriptionId = azureSubscription2.Id.ToString(); + Assert.Null(AzureSession.CurrentContext.Subscription); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + Assert.NotNull(AzureSession.CurrentContext.Subscription); + Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); + + cmdlt = new SelectAzureSubscriptionCommand(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("NoCurrentSubscriptionParameterSet"); + cmdlt.NoCurrent = new SwitchParameter(true); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + Assert.Null(AzureSession.CurrentContext.Subscription); + } + + [Fact] + public void SelectAzureSubscriptionByInvalidIdThrowsException() + { + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); + string invalidGuid = Guid.NewGuid().ToString(); + cmdlt.SubscriptionId = invalidGuid; + Assert.Null(AzureSession.CurrentContext.Subscription); + + // Act + cmdlt.InvokeBeginProcessing(); + try { - SubscriptionId = "26E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - SubscriptionName = "RdfeSub2", - SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active, - ActiveDirectoryTenantId = "Common" - }; - csmSubscription1 = new Azure.Subscriptions.Models.Subscription + cmdlt.ExecuteCmdlet(); + Assert.True(false); + } + catch (ArgumentException ex) { - Id = "Subscriptions/36E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "CsmSub1", - State = "Active", - SubscriptionId = "36E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; - csmSubscription1withDuplicateId = new Azure.Subscriptions.Models.Subscription + Assert.Contains(string.Format(Microsoft.WindowsAzure.Commands.Common.Properties.Resources.InvalidSubscriptionId, invalidGuid), ex.Message); + } + } + + [Fact] + public void SelectAzureSubscriptionByInvalidGuidThrowsException() + { + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + SetupDefaultProfile(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock.Object; + cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); + string invalidGuid = "foo"; + cmdlt.SubscriptionId = invalidGuid; + Assert.Null(AzureSession.CurrentContext.Subscription); + + // Act + cmdlt.InvokeBeginProcessing(); + try { - Id = "Subscriptions/16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "RdfeSub1", - State = "Active", - SubscriptionId = "16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; - csmSubscription2 = new Azure.Subscriptions.Models.Subscription + cmdlt.ExecuteCmdlet(); + Assert.True(false); + } + catch (ArgumentException ex) { - Id = "Subscriptions/46E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "CsmSub2", - State = "Active", - SubscriptionId = "46E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; + Assert.Contains(string.Format(Microsoft.WindowsAzure.Commands.Common.Properties.Resources.InvalidGuid, invalidGuid), ex.Message); + } + } + + private ProfileClient SetupDefaultProfile() + { + ProfileClient client = new ProfileClient(); + client.AddOrSetEnvironment(azureEnvironment); + client.AddOrSetAccount(azureAccount); + client.AddOrSetSubscription(azureSubscription1); + client.AddOrSetSubscription(azureSubscription2); + client.Profile.Save(); + return client; + } + + private void SetMockData() + { azureSubscription1 = new AzureSubscription { Id = new Guid("56E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"), @@ -420,12 +564,6 @@ private void SetMockData() Environment = "Test", Account = "test" }; - azureSubscription3withoutUser = new AzureSubscription - { - Id = new Guid("76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"), - Name = "LocalSub3", - Environment = "Test", - }; azureEnvironment = new AzureEnvironment { Name = "Test", diff --git a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs index 84d85c7705da..a3a8d4d59863 100644 --- a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs +++ b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs @@ -15,7 +15,6 @@ using System; using System.Runtime.InteropServices; using System.Security; -using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Authentication; using Xunit; using Assert = Xunit.Assert; diff --git a/src/Common/Commands.Common.Test/Common/TestBase.cs b/src/Common/Commands.Common.Test/Common/TestBase.cs index 12e5e905ef5a..1d45fbe53e34 100644 --- a/src/Common/Commands.Common.Test/Common/TestBase.cs +++ b/src/Common/Commands.Common.Test/Common/TestBase.cs @@ -14,11 +14,9 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; -using Microsoft.WindowsAzure.Commands.Common.Test.Common; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -60,7 +58,7 @@ public void BaseSetup() } }); } - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); } /// diff --git a/src/Common/Commands.Common.Test/Common/Testing.cs b/src/Common/Commands.Common.Test/Common/Testing.cs index 67b7ac04b00a..0e546b0aff7a 100644 --- a/src/Common/Commands.Common.Test/Common/Testing.cs +++ b/src/Common/Commands.Common.Test/Common/Testing.cs @@ -79,51 +79,6 @@ public static void AssertThrows(Action action, string expectedMessage) } } - public static void AssertThrows(Func action, string expectedMessage) - where TException : Exception - { - Debug.Assert(action != null); - - try - { - action(); - Assert.Fail("No exception was thrown!"); - } - catch (Exception ex) - { - Assert.IsInstanceOfType(ex, typeof(TException)); - Assert.AreEqual(expectedMessage, ex.Message); - } - } - - /// - /// Ensure an action throws a specific type of Exception. - /// - /// Expected exception type. - /// - /// The action that should throw when executed. - /// - /// - /// Additional verification to perform on the exception. - /// - public static void AssertThrows(Action action, Action verification) - where T : Exception - { - Debug.Assert(action != null); - Debug.Assert(verification != null); - - try - { - action(); - Assert.Fail("No exception was thrown!"); - } - catch (Exception ex) - { - Assert.IsInstanceOfType(ex, typeof(T)); - verification(ex as T); - } - } - /// /// Get the path to a file included in the test project as something to /// be copied on Deployment (see Local.testsettings > Deployment for diff --git a/src/Common/Commands.Common.Test/Factories/TestAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Factories/TestAuthenticationFactory.cs deleted file mode 100644 index 1e1e334183bd..000000000000 --- a/src/Common/Commands.Common.Test/Factories/TestAuthenticationFactory.cs +++ /dev/null @@ -1,50 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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 Xunit; - -namespace Microsoft.WindowsAzure.Commands.Common.Test.Factories -{ - public class TestAuthenticationFactory - { - [Fact] - public void GetCloudCredentialThrowsExceptionForInvalidSubscription() - { - //AzureSession.DataStoreInitializer = (p) => { return new MockDataStore(); }; - //AzureSession powershell = new AzureSession(); - //var id = Guid.NewGuid(); - //powershell.Profile.Subscriptions[id] = new AzureSubscription - //{ - // Id = id, - // Name = "Test", - // Environment = "Test" - //}; - //powershell.Profile.Environments["Test"] = new AzureEnvironment - //{ - // Name = "Test" - //}; - //Assert.Throws(() => powershell.AuthenticationFactory.GetSubscriptionCloudCredentials(Guid.NewGuid())); - } - - [Fact (Skip = "TODO: Implement mocks to test logic without interactive flow.")] - public void AuthenticateReturnsSubscriptions() - { - //AzureSession.DataStoreInitializer = (p) => { return new MockDataStore(); }; - //AzureSession powershell = new AzureSession(); - //UserCredentials creds = new UserCredentials(); - //powershell.AuthenticationFactory.Authenticate(powershell.CurrentEnvironment, ref creds); - //Assert.NotNull(creds.UserName); - } - } -} diff --git a/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs new file mode 100644 index 000000000000..50bc854b8e87 --- /dev/null +++ b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Security; +using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; + +namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common +{ + public class MockAccessTokenProvider : ITokenProvider + { + private readonly IAccessToken accessToken; + + public MockAccessTokenProvider(string token) + : this(token, "user@live.com") + { } + + public MockAccessTokenProvider(string token, string userId) + { + this.accessToken = new MockAccessToken() + { + AccessToken = token, + UserId = userId + }; + } + + public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, + AzureAccount.AccountType credentialType) + { + return this.accessToken; + } + } +} \ No newline at end of file diff --git a/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs new file mode 100644 index 000000000000..746486b575b3 --- /dev/null +++ b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Security; +using System.Security.Cryptography.X509Certificates; +using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; + +namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks +{ + public class MockCertificateAuthenticationFactory : IAuthenticationFactory + { + public X509Certificate2 Certificate { get; set; } + + public MockCertificateAuthenticationFactory() + { + Certificate = new X509Certificate2(); + } + + public MockCertificateAuthenticationFactory(string userId, X509Certificate2 certificate) + { + Certificate = certificate; + } + + public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior) + { + if (account.Id == null) + { + account.Id = "test"; + } + + var token = new MockAccessToken + { + UserId = account.Id, + LoginType = LoginType.OrgId, + AccessToken = "123" + }; + + return token; + } + + public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context) + { + return new CertificateCloudCredentials(context.Subscription.Id.ToString(), Certificate); + } + } +} diff --git a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs index 0c613d05485b..12ede8e14c8d 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs @@ -26,13 +26,6 @@ namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks { public class MockClientFactory : ClientFactory { - private IAuthenticationFactory authenticationFactory; - - public MockClientFactory(IAuthenticationFactory authenticationFactory) - { - this.authenticationFactory = authenticationFactory; - } - private readonly bool throwWhenNotAvailable; public List ManagementClients { get; private set; } @@ -56,7 +49,7 @@ public override TClient CreateClient(AzureSubscription subscription, Az Subscription = subscription }; - creds = authenticationFactory.GetSubscriptionCloudCredentials(context); + creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); } Uri endpointUri = (new ProfileClient()).Profile.Environments[subscription.Environment].GetEndpointAsUri(endpoint); diff --git a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs index 0fd4ef152138..5f975085054c 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs @@ -40,6 +40,11 @@ public void WriteFile(string path, string contents) VirtualStore[path] = contents; } + public void WriteFile(string path, string contents, Encoding encoding) + { + WriteFile(path, contents); + } + public void WriteFile(string path, byte[] contents) { VirtualStore[path] = Encoding.Default.GetString(contents); @@ -276,6 +281,14 @@ public void AddCertificate(X509Certificate2 cert) } } + public void RemoveCertificate(string thumbprint) + { + if (thumbprint != null && certStore.ContainsKey(thumbprint)) + { + certStore.Remove(thumbprint); + } + } + /// /// Converts unix asterisk based file pattern to regex /// diff --git a/src/Common/Commands.Common.Test/Mocks/MockStorageService.cs b/src/Common/Commands.Common.Test/Mocks/MockStorageService.cs deleted file mode 100644 index febc8e847516..000000000000 --- a/src/Common/Commands.Common.Test/Mocks/MockStorageService.cs +++ /dev/null @@ -1,179 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Management.Storage; -using Microsoft.WindowsAzure.Management.Storage.Models; -using Moq; - -namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks -{ - /// - /// A class used to simulate the behavior of a storage account as far as existing, - /// creation, and querying are concerned. - /// - public class MockStorageService - { - public class StorageAccountData - { - private string blobEndpoint; - private string queueEndpoint; - private string tableEndpoint; - private string primaryKey; - private string secondaryKey; - - private const string defaultPrimaryKey = "MNao3bm7t7B/x+g2/ssh9HnG0mEh1QV5EHpcna8CetYn+TSRoA8/SBoH6B3Ufwtnz3jZLSw9GEUuCTr3VooBWq=="; - private const string defaultSecondaryKey = "secondaryKey"; - - public string Name { get; set; } - - public string BlobEndpoint - { - get - { - return blobEndpoint ?? "http://awesome.blob.windows.core.net/"; - } - set { blobEndpoint = value; } - } - - public string QueueEndpoint - { - get { return queueEndpoint ?? "http://awesome.queue.windows.core.net/"; } - set { queueEndpoint = value; } - } - - public string TableEndpoint - { - get { return tableEndpoint ?? "http://awesome.table.windows.core.net"; } - set { tableEndpoint = value; } - } - - public string PrimaryKey - { - get { return primaryKey ?? defaultPrimaryKey; } - set { primaryKey = value; } - } - - public string SecondaryKey - { - get { return secondaryKey ?? defaultSecondaryKey; } - set { secondaryKey = value; } - } - } - - private readonly List accounts = new List(); - - public MockStorageService Add(Action dataSetter) - { - var account = new StorageAccountData(); - dataSetter(account); - accounts.Add(account); - return this; - } - - public void Clear() - { - accounts.Clear(); - } - - public void InitializeMocks(Mock mock) - { - mock.Setup(c => c.StorageAccounts.GetAsync(It.IsAny(), It.IsAny())) - .Returns((string serviceName, CancellationToken cancellationToken) => CreateGetResponse(serviceName)); - - mock.Setup(c => c.StorageAccounts.GetKeysAsync(It.IsAny(), It.IsAny())) - .Returns((string serviceName, CancellationToken cancellationToken) => CreateGetKeysResponse(serviceName)); - - mock.Setup(c => c.StorageAccounts.CreateAsync(It.IsAny(), It.IsAny())) - .Callback((StorageAccountCreateParameters createParameters, CancellationToken cancellationToken) => AddService(createParameters)) - .Returns(CreateCreateResponse); - } - - private Task CreateGetResponse(string serviceName) - { - Task resultTask; - var data = accounts.FirstOrDefault(a => a.Name == serviceName); - if (data != null) - { - var storageServiceGetResponse = new StorageAccountGetResponse - { - StorageAccount = new StorageAccount - { - Name = data.Name, - Properties = new StorageAccountProperties - { - Endpoints = - { - new Uri(data.BlobEndpoint), - new Uri(data.QueueEndpoint), - new Uri(data.TableEndpoint) - } - } - } - }; - resultTask = Tasks.FromResult(storageServiceGetResponse); - } - else - { - resultTask = Tasks.FromException(ClientMocks.Make404Exception()); - } - return resultTask; - } - - private Task CreateGetKeysResponse(string serviceName) - { - Task resultTask; - var data = accounts.FirstOrDefault(a => a.Name == serviceName); - if (data != null) - { - var response = new StorageAccountGetKeysResponse - { - PrimaryKey = data.PrimaryKey, - SecondaryKey = data.SecondaryKey, - StatusCode = HttpStatusCode.OK - }; - resultTask = Tasks.FromResult(response); - } - else - { - resultTask = Tasks.FromException(ClientMocks.Make404Exception()); - } - return resultTask; - } - - private void AddService(StorageAccountCreateParameters createParameters) - { - Add(a => - { - a.Name = createParameters.Name; - }); - } - - private Task CreateCreateResponse() - { - return Tasks.FromResult(new OperationStatusResponse - { - RequestId = "unused", - StatusCode = HttpStatusCode.OK, - Status = OperationStatus.Succeeded - }); - } - } -} diff --git a/src/Common/Commands.Common.Test/Mocks/MockAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs similarity index 82% rename from src/Common/Commands.Common.Test/Mocks/MockAuthenticationFactory.cs rename to src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs index 1690f32bd724..ee85746615f2 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockAuthenticationFactory.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs @@ -13,18 +13,17 @@ // ---------------------------------------------------------------------------------- using System.Security; +using System.Security.Cryptography.X509Certificates; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks { - public class MockAuthenticationFactory : IAuthenticationFactory + public class MockTokenAuthenticationFactory : IAuthenticationFactory { - private const string CommonAdTenant = "Common"; - public IAccessToken Token { get; set; } - public MockAuthenticationFactory() + public MockTokenAuthenticationFactory() { Token = new MockAccessToken { @@ -34,7 +33,7 @@ public MockAuthenticationFactory() }; } - public MockAuthenticationFactory(string userId, string accessToken) + public MockTokenAuthenticationFactory(string userId, string accessToken) { Token = new MockAccessToken { @@ -44,8 +43,7 @@ public MockAuthenticationFactory(string userId, string accessToken) }; } - public IAccessToken Authenticate(ref AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, - ShowDialog promptBehavior) + public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior) { if (account.Id == null) { diff --git a/src/Common/Commands.Common.Test/packages.config b/src/Common/Commands.Common.Test/packages.config index 8d136f171375..7d5ba822fb1b 100644 --- a/src/Common/Commands.Common.Test/packages.config +++ b/src/Common/Commands.Common.Test/packages.config @@ -1,6 +1,6 @@  - + @@ -8,14 +8,14 @@ - - - + + + - - - + + + diff --git a/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs b/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs index b3c567afab4e..0d52ba5ada44 100644 --- a/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs +++ b/src/Common/Commands.Common/Authentication/AdalTokenProvider.cs @@ -26,7 +26,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication /// public class AdalTokenProvider : ITokenProvider { - private readonly IWin32Window parentWindow; private readonly ITokenProvider userTokenProvider; private readonly ITokenProvider servicePrincipalTokenProvider; @@ -37,14 +36,8 @@ public AdalTokenProvider() public AdalTokenProvider(IWin32Window parentWindow) { - this.parentWindow = parentWindow; this.userTokenProvider = new UserTokenProvider(parentWindow); - servicePrincipalTokenProvider = new ServicePrincipalTokenProvider(parentWindow); - } - - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password) - { - return userTokenProvider.GetAccessToken(config, promptBehavior, userId, password, AzureAccount.AccountType.User); + servicePrincipalTokenProvider = new ServicePrincipalTokenProvider(); } public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, diff --git a/src/Common/Commands.Common/Authentication/ITokenProvider.cs b/src/Common/Commands.Common/Authentication/ITokenProvider.cs index bdc3bf738b23..71ea49ec791e 100644 --- a/src/Common/Commands.Common/Authentication/ITokenProvider.cs +++ b/src/Common/Commands.Common/Authentication/ITokenProvider.cs @@ -23,17 +23,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication /// public interface ITokenProvider { - /// - /// Get a new login token for the given environment and user credentials. - /// Assumes that credential is for a user, not a service principal. - /// - /// Configuration. - /// Prompt behavior. - /// User ID to get the token for. - /// Secure strings with password - /// An access token. - IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password); - /// /// Get a new login token for the given environment, user credential, /// and credential type. diff --git a/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs b/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs index 90c59411caf4..f6e184dc1b0c 100644 --- a/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs +++ b/src/Common/Commands.Common/Authentication/ProtectedFileTokenCache.cs @@ -45,8 +45,8 @@ public static ProtectedFileTokenCache Instance // If the file is already present, it loads its content in the ADAL cache private ProtectedFileTokenCache() { - this.AfterAccess = AfterAccessNotification; - this.BeforeAccess = BeforeAccessNotification; + AfterAccess = AfterAccessNotification; + BeforeAccess = BeforeAccessNotification; lock (fileLock) { if (ProfileClient.DataStore.FileExists(CacheFileName)) @@ -54,7 +54,7 @@ private ProtectedFileTokenCache() var existingData = ProfileClient.DataStore.ReadFileAsBytes(CacheFileName); if (existingData != null) { - this.Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); + Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); } } } @@ -81,7 +81,7 @@ void BeforeAccessNotification(TokenCacheNotificationArgs args) var existingData = ProfileClient.DataStore.ReadFileAsBytes(CacheFileName); if (existingData != null) { - this.Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); + Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); } } } @@ -91,15 +91,15 @@ void BeforeAccessNotification(TokenCacheNotificationArgs args) void AfterAccessNotification(TokenCacheNotificationArgs args) { // if the access operation resulted in a cache update - if (this.HasStateChanged) + if (HasStateChanged) { lock (fileLock) { // reflect changes in the persistent store ProfileClient.DataStore.WriteFile(CacheFileName, - ProtectedData.Protect(this.Serialize(), null, DataProtectionScope.CurrentUser)); + ProtectedData.Protect(Serialize(), null, DataProtectionScope.CurrentUser)); // once the write operation took place, restore the HasStateChanged bit to false - this.HasStateChanged = false; + HasStateChanged = false; } } } diff --git a/src/Common/Commands.Common/Authentication/RegistryBackedDictionary.cs b/src/Common/Commands.Common/Authentication/RegistryBackedDictionary.cs deleted file mode 100644 index b8cda9c253e3..000000000000 --- a/src/Common/Commands.Common/Authentication/RegistryBackedDictionary.cs +++ /dev/null @@ -1,216 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Microsoft.Win32; -using Microsoft.WindowsAzure.Commands.Common.Properties; - -namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication -{ - /// - /// Class that implements - /// while storing the actual data in a Windows Registry hive. - /// - public class RegistryBackedDictionary : IDictionary - { - private readonly RegistryKey rootKey; - private readonly string hivePath; - - public RegistryBackedDictionary(RegistryKey rootKey, string hivePath) - { - this.rootKey = rootKey; - this.hivePath = hivePath; - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public ICollection Values - { - get - { - return this.Select(kvp => kvp.Value).ToList(); - } - } - - public ICollection Keys - { - get - { - return this.Select(kvp => kvp.Key).ToList(); - } - } - - public string this[string key] - { - get - { - string value; - TryGetValue(key, out value); - return value; - } - set { AddOrOverwrite(new KeyValuePair(key, value)); } - } - - public bool TryGetValue(string key, out string value) - { - using (RegistryKey regKey = GetKey(false)) - { - value = (string)regKey.GetValue(key); - return value != null; - } - } - - public void Add(string key, string value) - { - Add(new KeyValuePair(key, value)); - } - - public bool ContainsKey(string key) - { - EnsureNotNull("key", key); - - using (RegistryKey regKey = GetKey(false)) - { - return regKey.GetValueNames().Any(k => string.Compare(k, key, StringComparison.OrdinalIgnoreCase) == 0); - } - } - - public bool Remove(string key) - { - EnsureNotNull("key", key); - - return Remove(new KeyValuePair(key, null)); - } - - public bool IsReadOnly { get { return false; } } - public int Count - { - get - { - using (RegistryKey regKey = GetKey(false)) - { - return regKey.ValueCount; - } - } - } - - public bool Remove(KeyValuePair item) - { - EnsureNotNull("item.key", item.Key); - using (RegistryKey key = GetKey(true)) - { - key.DeleteValue(item.Key, false); - return true; - } - } - - public bool Contains(KeyValuePair item) - { - using (RegistryKey regKey = GetKey(false)) - { - var value = (string)regKey.GetValue(item.Key); - if (value == null) return false; - return string.Compare(item.Value, value, StringComparison.Ordinal) == 0; - } - } - - public void CopyTo(KeyValuePair[] array, int arrayIndex) - { - if (array == null) - { - throw new ArgumentNullException("array"); - } - if (arrayIndex < 0) - { - throw new ArgumentOutOfRangeException("arrayIndex", Resources.DictionaryCopyToArrayIndexLessThanZero); - } - if (arrayIndex + Count > array.Length) - { - throw new ArgumentException(Resources.DictionaryCopyToArrayTooShort); - } - - foreach (var kvp in this) - { - array[arrayIndex++] = kvp; - } - } - - public void Clear() - { - using (RegistryKey regKey = GetKey(true)) - { - foreach (var value in regKey.GetValueNames()) - { - regKey.DeleteValue(value); - } - } - } - - public void Add(KeyValuePair item) - { - if (ContainsKey(item.Key)) - { - throw new ArgumentException(Resources.DictionaryAddAlreadyContainsKey); - } - AddOrOverwrite(item); - } - - private void AddOrOverwrite(KeyValuePair item) - { - using (RegistryKey regKey = GetKey(true)) - { - regKey.SetValue(item.Key, item.Value, RegistryValueKind.String); - } - } - - public IEnumerator> GetEnumerator() - { - using (RegistryKey key = GetKey(false)) - { - foreach (string valueName in key.GetValueNames()) - { - yield return new KeyValuePair(valueName, (string) key.GetValue(valueName)); - } - } - } - - private RegistryKey GetKey(bool forWriting) - { - RegistryKeyPermissionCheck permissions = forWriting - ? RegistryKeyPermissionCheck.ReadWriteSubTree - : RegistryKeyPermissionCheck.Default; - - RegistryKey key = rootKey.OpenSubKey(hivePath, permissions) ?? - rootKey.CreateSubKey(hivePath, permissions); - - return key; - } - - // ReSharper disable UnusedParameter.Local - private static void EnsureNotNull(string paramName, string value) - // ReSharper restore UnusedParameter.Local - { - if (value == null) - { - throw new ArgumentNullException(paramName); - } - } - } -} diff --git a/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs b/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs index 3e1632d3a07e..5d21da36a76d 100644 --- a/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs +++ b/src/Common/Commands.Common/Authentication/ServicePrincipalKeyStore.cs @@ -38,7 +38,7 @@ public static void SaveKey(string appId, string tenantId, SecureString serviceKe targetName = CreateKey(appId, tenantId), targetAlias = null, comment = null, - lastWritten = new FILETIME() {dwHighDateTime = 0, dwLowDateTime = 0}, + lastWritten = new FILETIME {dwHighDateTime = 0, dwLowDateTime = 0}, persist = 2, // persist on local machine attibuteCount = 0, attributes = IntPtr.Zero, diff --git a/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs b/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs index a6da688fc2ac..ccd5b57f20aa 100644 --- a/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs +++ b/src/Common/Commands.Common/Authentication/ServicePrincipalTokenProvider.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Security; -using System.Windows.Forms; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.WindowsAzure.Commands.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common.Models; @@ -25,19 +24,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication { internal class ServicePrincipalTokenProvider : ITokenProvider { - private readonly IWin32Window parentWindow; private static readonly TimeSpan expirationThreshold = new TimeSpan(0, 5, 0); - public ServicePrincipalTokenProvider(IWin32Window parentWindow) - { - this.parentWindow = parentWindow; - } - - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password) - { - throw new InvalidOperationException(string.Format(Resources.InvalidCredentialType, "ServicePrincipal")); - } - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount.AccountType credentialType) { diff --git a/src/Common/Commands.Common/Authentication/UserTokenProvider.cs b/src/Common/Commands.Common/Authentication/UserTokenProvider.cs index 95f20ff5372c..d94ffe98da93 100644 --- a/src/Common/Commands.Common/Authentication/UserTokenProvider.cs +++ b/src/Common/Commands.Common/Authentication/UserTokenProvider.cs @@ -37,11 +37,6 @@ public UserTokenProvider(IWin32Window parentWindow) this.parentWindow = parentWindow; } - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password) - { - return GetAccessToken(config, promptBehavior, userId, password, AzureAccount.AccountType.User); - } - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount.AccountType credentialType) { @@ -94,43 +89,28 @@ private AuthenticationContext CreateContext(AdalConfiguration config) // We have to run this in a separate thread to guarantee that it's STA. This method // handles the threading details. - private AuthenticationResult AcquireToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password) + private AuthenticationResult AcquireToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, + SecureString password) { AuthenticationResult result = null; Exception ex = null; - - var thread = new Thread(() => + if (promptBehavior == ShowDialog.Never) { - try - { - result = DoAcquireToken(config, promptBehavior, userId, password); - } - catch (AdalException adalEx) - { - if (adalEx.ErrorCode == AdalError.UserInteractionRequired || - adalEx.ErrorCode == AdalError.MultipleTokensMatched) - { - ex = new AadAuthenticationFailedWithoutPopupException(Resources.InvalidSubscriptionState, adalEx); - } - else if (adalEx.ErrorCode == AdalError.MissingFederationMetadataUrl) - { - ex = new AadAuthenticationFailedException(Resources.CredentialOrganizationIdMessage, adalEx); - } - else - { - ex = adalEx; - } - } - catch (Exception threadEx) + result = SafeAquireToken(config, promptBehavior, userId, password, out ex); + } + else + { + var thread = new Thread(() => { - ex = threadEx; - } - }); + result = SafeAquireToken(config, promptBehavior, userId, password, out ex); + }); + + thread.SetApartmentState(ApartmentState.STA); + thread.Name = "AcquireTokenThread"; + thread.Start(); + thread.Join(); + } - thread.SetApartmentState(ApartmentState.STA); - thread.Name = "AcquireTokenThread"; - thread.Start(); - thread.Join(); if (ex != null) { var adex = ex as AdalException; @@ -151,15 +131,51 @@ private AuthenticationResult AcquireToken(AdalConfiguration config, ShowDialog p return result; } - private AuthenticationResult DoAcquireToken(AdalConfiguration config, ShowDialog showDialog, string userId, SecureString password) + private AuthenticationResult SafeAquireToken( + AdalConfiguration config, + ShowDialog showDialog, + string userId, + SecureString password, + out Exception ex) + { + try + { + ex = null; + var promptBehavior = (PromptBehavior)Enum.Parse(typeof(PromptBehavior), showDialog.ToString()); + + return DoAcquireToken(config, promptBehavior, userId, password); + } + catch (AdalException adalEx) + { + if (adalEx.ErrorCode == AdalError.UserInteractionRequired || + adalEx.ErrorCode == AdalError.MultipleTokensMatched) + { + ex = new AadAuthenticationFailedWithoutPopupException(Resources.InvalidSubscriptionState, adalEx); + } + else if (adalEx.ErrorCode == AdalError.MissingFederationMetadataUrl) + { + ex = new AadAuthenticationFailedException(Resources.CredentialOrganizationIdMessage, adalEx); + } + else + { + ex = adalEx; + } + } + catch (Exception threadEx) + { + ex = threadEx; + } + return null; + } + + private AuthenticationResult DoAcquireToken(AdalConfiguration config, PromptBehavior promptBehavior, string userId, + SecureString password) { AuthenticationResult result; var context = CreateContext(config); if (string.IsNullOrEmpty(userId)) { - PromptBehavior promptBehavior = (PromptBehavior)Enum.Parse(typeof(PromptBehavior), showDialog.ToString()); - if (promptBehavior != PromptBehavior.Never) { ClearCookies(); @@ -171,8 +187,6 @@ private AuthenticationResult DoAcquireToken(AdalConfiguration config, ShowDialog } else { - PromptBehavior promptBehavior = (PromptBehavior)Enum.Parse(typeof(PromptBehavior), showDialog.ToString()); - if (password == null) { result = context.AcquireToken(config.ResourceClientUri, config.ClientId, diff --git a/src/Common/Commands.Common/AzureSession.cs b/src/Common/Commands.Common/AzureSession.cs index eb0d1040e7fe..3c92b0eed95d 100644 --- a/src/Common/Commands.Common/AzureSession.cs +++ b/src/Common/Commands.Common/AzureSession.cs @@ -17,6 +17,7 @@ using Microsoft.WindowsAzure.Commands.Common.Common; using Microsoft.WindowsAzure.Commands.Common.Factories; using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; @@ -26,15 +27,12 @@ public static class AzureSession { static AzureSession() { - SubscriptionTokenCache = new Dictionary, IAccessToken>(); ClientFactory = new AzurePowerShellClientFactory(); AuthenticationFactory = new AuthenticationFactory(); CurrentContext = new AzureContext(); CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; } - public static IDictionary, IAccessToken> SubscriptionTokenCache { get; set; } - public static AzureContext CurrentContext {get; private set; } public static void SetCurrentContext(AzureSubscription subscription, AzureEnvironment environment, AzureAccount account) @@ -67,7 +65,7 @@ public static void SetCurrentContext(AzureSubscription subscription, AzureEnviro } else { - throw new ArgumentException("Account id doesn't match one in subscription.", "account"); + throw new ArgumentException(Resources.AccountIdDoesntMatchSubscription, "account"); } subscription.Account = account.Id; @@ -77,7 +75,7 @@ public static void SetCurrentContext(AzureSubscription subscription, AzureEnviro if (subscription != null && subscription.Environment != environment.Name) { - throw new ArgumentException("Environment name doesn't match one in subscription.", "environment"); + throw new ArgumentException(Resources.EnvironmentNameDoesntMatchSubscription, "environment"); } CurrentContext = new AzureContext diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj index 611bbd43c8be..e83d8a68559c 100644 --- a/src/Common/Commands.Common/Commands.Common.csproj +++ b/src/Common/Commands.Common/Commands.Common.csproj @@ -63,12 +63,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -82,17 +83,17 @@ False ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -103,17 +104,17 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll False ..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\net45\System.Net.Http.Formatting.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -148,7 +149,6 @@ - @@ -158,7 +158,6 @@ - @@ -173,7 +172,6 @@ - @@ -195,7 +193,6 @@ - diff --git a/src/Common/Commands.Common/Common/AzureException.cs b/src/Common/Commands.Common/Common/AzureException.cs deleted file mode 100644 index c82be511e636..000000000000 --- a/src/Common/Commands.Common/Common/AzureException.cs +++ /dev/null @@ -1,104 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; -using System.Diagnostics; -using System.IO; -using System.Management.Automation; -using System.Net; -using System.ServiceModel; -using System.Xml.Linq; -using Microsoft.WindowsAzure.Commands.Common.Properties; - -namespace Microsoft.WindowsAzure.Commands.Utilities.Common -{ - /// - /// Exception used to wrap Azure Service Management errors before - /// displaying them to users in PowerShell and use their text as the - /// primary error message. - /// - [Serializable] - public class AzureException : Exception - { - /// - /// Initializes a new instance of the AzureException. - /// - /// Azure error message. - /// The original exception. - private AzureException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Wrap an existing error record in one that will display the Azure - /// service management error message. - /// - /// The existing error. - /// - /// Either a new ErrorRecord that displays the Azure service management - /// error message, or the existing error record if there was no Azure - /// error to wrap. - /// - public static ErrorRecord WrapExistingError(ErrorRecord errorRecord) - { - Debug.Assert(errorRecord != null, "errorRecord cannot be null."); - Debug.Assert(errorRecord.Exception != null, "errorRecord.Exception cannot be null."); - - // Try to pull the actual error message out of the error's - // exception to give the users more information about what went - // wrong - CommunicationException exception = errorRecord.Exception as CommunicationException; - if (exception != null) - { - WebException innerException = exception.InnerException as WebException; - if (innerException != null) - { - HttpWebResponse response = innerException.Response as HttpWebResponse; - if (response != null && (int)response.StatusCode >= 400) - { - try - { - using (StreamReader reader = new StreamReader(response.GetResponseStream())) - { - // Format the response XML with proper indentation - string responseText = reader.ReadToEnd(); - string formattedXml = XDocument.Parse(responseText).ToString(); - - // Create a new error record that wraps the old - // error record - string exceptionMessage = string.Format( - Resources. - AzureException_WrapExistingError_DetailedErrorFormat, - formattedXml); - errorRecord = new ErrorRecord( - new AzureException(exceptionMessage, exception), - errorRecord.FullyQualifiedErrorId, - errorRecord.CategoryInfo.Category, - errorRecord.TargetObject); - } - } - catch - { - // Do nothing - } - } - } - - } - - return errorRecord; - } - } -} diff --git a/src/Common/Commands.Common/Common/AzurePSCmdlet.cs b/src/Common/Commands.Common/Common/AzurePSCmdlet.cs index 93ba9b0de8e5..15bc85031677 100644 --- a/src/Common/Commands.Common/Common/AzurePSCmdlet.cs +++ b/src/Common/Commands.Common/Common/AzurePSCmdlet.cs @@ -18,34 +18,34 @@ using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; -using System.Linq; -using Microsoft.WindowsAzure.Commands.Common.Common; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { public abstract class AzurePSCmdlet : PSCmdlet { private readonly RecordingTracingInterceptor httpTracingInterceptor = new RecordingTracingInterceptor(); - protected ProfileClient defaultProfileClient; - + public AzurePSCmdlet() { - defaultProfileClient = new ProfileClient(); + DefaultProfileClient = new ProfileClient(); + if (AzureSession.CurrentContext.Subscription == null && - defaultProfileClient.Profile.DefaultSubscription != null) + DefaultProfileClient.Profile.DefaultSubscription != null) { try { AzureSession.SetCurrentContext( - defaultProfileClient.Profile.DefaultSubscription, - defaultProfileClient.GetEnvironmentOrDefault(defaultProfileClient.Profile.DefaultSubscription.Environment), - defaultProfileClient.GetAccountOrNull(defaultProfileClient.Profile.DefaultSubscription.Account)); + DefaultProfileClient.Profile.DefaultSubscription, + DefaultProfileClient.GetEnvironmentOrDefault( + DefaultProfileClient.Profile.DefaultSubscription.Environment), + DefaultProfileClient.GetAccountOrNull(DefaultProfileClient.Profile.DefaultSubscription.Account)); } - catch (ArgumentException) + catch { - // if context cannot be loaded, start with no account/subscription + // Ignore anything at this point } } + } public AzureContext CurrentContext @@ -58,6 +58,8 @@ public bool HasCurrentSubscription get { return AzureSession.CurrentContext.Subscription != null; } } + public ProfileClient DefaultProfileClient { get; private set; } + protected string CurrentPath() { // SessionState is only available within Powershell so default to diff --git a/src/Common/Commands.Common/Common/AzurePowerShell.cs b/src/Common/Commands.Common/Common/AzurePowerShell.cs index 8a36306e6bcd..1b1452205c7f 100644 --- a/src/Common/Commands.Common/Common/AzurePowerShell.cs +++ b/src/Common/Commands.Common/Common/AzurePowerShell.cs @@ -26,14 +26,16 @@ public class AzurePowerShell public const string AssemblyCopyright = "Copyright © Microsoft"; - public const string AssemblyVersion = "0.8.8"; + public const string AssemblyVersion = "0.8.10.1"; - public const string AssemblyFileVersion = "0.8.8"; + public const string AssemblyFileVersion = "0.8.10.1"; public const string ProfileFile = "AzureProfile.json"; public const string OldProfileFile = "WindowsAzureProfile.xml"; + public const string OldProfileFileBackup = "WindowsAzureProfile.xml.bak"; + public const string TokenCacheFile = "TokenCache.dat"; public static string ProfileDirectory = Path.Combine( diff --git a/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs b/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs index 237da72499b1..45752e551ab6 100644 --- a/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs +++ b/src/Common/Commands.Common/Common/AzurePowerShellClientFactory.cs @@ -18,12 +18,9 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Common; using System.Net; -using System.Net.Http; using System.Linq; using System.Collections.Generic; using Microsoft.WindowsAzure.Management; -using System; -using Microsoft.WindowsAzure.Commands.Common.Properties; namespace Microsoft.WindowsAzure.Commands.Common.Common { @@ -54,7 +51,6 @@ public override TClient CreateClient(AzureContext context, AzureEnviron /// The client type private void RegisterResourceManagerProviders(AzureContext context) where T : ServiceClient { - var credentials = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); var providersToRegister = RequiredResourceLookup.RequiredProvidersForResourceManager(); var registeredProviders = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.RegisteredResourceProviders); var unregisteredProviders = providersToRegister.Where(p => !registeredProviders.Contains(p)).ToList(); diff --git a/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs b/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs index d5183b0dc1e4..6f1cfb01292f 100644 --- a/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs +++ b/src/Common/Commands.Common/Common/CloudBaseCmdlet.cs @@ -128,7 +128,7 @@ protected virtual T CreateChannel() } string certificateThumbprint = CurrentContext.Account.Id; - Debug.Assert(defaultProfileClient.Profile.Accounts[certificateThumbprint].Type == AzureAccount.AccountType.Certificate); + Debug.Assert(DefaultProfileClient.Profile.Accounts[certificateThumbprint].Type == AzureAccount.AccountType.Certificate); return ChannelHelper.CreateServiceManagementChannel( ServiceBinding, diff --git a/src/Common/Commands.Common/Common/CmdletExtensions.cs b/src/Common/Commands.Common/Common/CmdletExtensions.cs index dd52535bfe81..c1cb970e42a3 100644 --- a/src/Common/Commands.Common/Common/CmdletExtensions.cs +++ b/src/Common/Commands.Common/Common/CmdletExtensions.cs @@ -12,11 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Data.Services.Client; -using System.IO; using System.Management.Automation; using System.Reflection; @@ -60,16 +57,6 @@ public static string ResolvePath(this PSCmdlet psCmdlet, string path) return fullPath; } - private static Exception FindDataServiceClientException(Exception ex) - { - if (ex is DataServiceClientException) - { - return ex; - } - - return ex.InnerException != null ? FindDataServiceClientException(ex.InnerException) : null; - } - public static List ExecuteScript(this PSCmdlet cmdlet, string contents) { List output = new List(); @@ -94,13 +81,6 @@ public static List ExecuteScript(this PSCmdlet cmdlet, string contents) return output; } - - public static List ExecuteScriptFile(this PSCmdlet cmdlet, string absolutePath) - { - string contents = File.ReadAllText(absolutePath); - return ExecuteScript(cmdlet, contents); - } - #region PowerShell Commands public static void RemoveModule(this PSCmdlet cmdlet, string moduleName) @@ -132,6 +112,12 @@ public static void InvokeBeginProcessing(this PSCmdlet cmdlt) dynMethod.Invoke(cmdlt, null); } + public static void SetParameterSet(this PSCmdlet cmdlt, string value) + { + FieldInfo dynField = (typeof(Cmdlet)).GetField("_parameterSetName", BindingFlags.NonPublic | BindingFlags.Instance); + dynField.SetValue(cmdlt, value); + } + public static void InvokeEndProcessing(this PSCmdlet cmdlt) { MethodInfo dynMethod = (typeof(PSCmdlet)).GetMethod("EndProcessing", BindingFlags.NonPublic | BindingFlags.Instance); diff --git a/src/Common/Commands.Common/Common/ConfigurationConstants.cs b/src/Common/Commands.Common/Common/ConfigurationConstants.cs index bfc864ed21e3..37b48da5303a 100644 --- a/src/Common/Commands.Common/Common/ConfigurationConstants.cs +++ b/src/Common/Commands.Common/Common/ConfigurationConstants.cs @@ -19,8 +19,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common { public static class ConfigurationConstants { - public const string ServiceManagementEndpoint = "https://management.core.windows.net"; - public const int MaxReceivedMessageSize = 100000000; public const int MaxStringContentLength = 67108864; @@ -39,16 +37,5 @@ public static Binding WebHttpBinding(int maxStringContentLength = 0) return binding; } - - public static Binding AnonymousWebHttpBinding(int maxStringContentLength = MaxStringContentLength) - { - var binding = new WebHttpBinding(WebHttpSecurityMode.None); - binding.ReaderQuotas.MaxStringContentLength = maxStringContentLength; - - // Increasing MaxReceivedMessageSize to allow big deployments - binding.MaxReceivedMessageSize = MaxReceivedMessageSize; - - return binding; - } } } \ No newline at end of file diff --git a/src/Common/Commands.Common/Common/ErrorHelper.cs b/src/Common/Commands.Common/Common/ErrorHelper.cs index e22287776dc8..0b931ec57c58 100644 --- a/src/Common/Commands.Common/Common/ErrorHelper.cs +++ b/src/Common/Commands.Common/Common/ErrorHelper.cs @@ -73,7 +73,7 @@ public static bool TryGetExceptionDetails(CommunicationException exception, out using (var s = response.GetResponseStream()) { - if (s.Length == 0) + if (s == null || s.Length == 0) { return false; } @@ -128,9 +128,9 @@ public static bool TryGetExceptionDetails(CommunicationException exception, out /// true if exception caused by resource not found, otherwise, false public static bool IsNotFoundCommunicationException(CommunicationException exception) { - ServiceManagementError error = null; - string operationId = string.Empty; - ErrorHelper.TryGetExceptionDetails(exception, out error, out operationId); + ServiceManagementError error; + string operationId; + TryGetExceptionDetails(exception, out error, out operationId); return error != null && error.Code == HttpStatusCode.NotFound.ToString(); } } diff --git a/src/Common/Commands.Common/Common/HttpClientExtensions.cs b/src/Common/Commands.Common/Common/HttpClientExtensions.cs index 85f11220173d..b5df42f25c46 100644 --- a/src/Common/Commands.Common/Common/HttpClientExtensions.cs +++ b/src/Common/Commands.Common/Common/HttpClientExtensions.cs @@ -87,26 +87,6 @@ private static T GetFormat( } } - private static string GetRawBody( - HttpClient client, - string requestUri, - Action logger, - Func formatter) - { - AddUserAgent(client); - LogRequest( - HttpMethod.Get.Method, - client.BaseAddress + requestUri, - client.DefaultRequestHeaders, - string.Empty, - logger); - HttpResponseMessage response = client.GetAsync(requestUri).Result; - string content = response.EnsureSuccessStatusCode().Content.ReadAsStringAsync().Result; - LogResponse(response.StatusCode.ToString(), response.Headers, formatter(content), logger); - - return content; - } - private static T CallRestApiWithJsonPayload( this HttpClient client, string requestUri, @@ -149,19 +129,6 @@ public static T GetJson(this HttpClient client, string requestUri, Action(client, requestUri, logger, JsonUtilities.TryFormatJson, JsonConvert.DeserializeObject); } - public static string GetXml(this HttpClient client, string requestUri, Action logger) - { - client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/xml")); - return GetRawBody(client, requestUri, logger, XmlUtilities.TryFormatXml); - } - - public static T GetXml(this HttpClient client, string requestUri, Action logger) - where T: class, new() - { - client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/xml")); - return GetFormat(client, requestUri, logger, XmlUtilities.TryFormatXml, XmlUtilities.DeserializeXmlString); - } - public static T PostJson( this HttpClient client, string requestUri, @@ -179,48 +146,5 @@ public static T PutJson( { return CallRestApiWithJsonPayload(client, requestUri, json, logger, WebRequestMethods.Http.Put); } - - public static void Delete(this HttpClient client, string requestUri, Action logger) - { - AddUserAgent(client); - LogRequest( - HttpMethod.Delete.Method, - client.BaseAddress + requestUri, - client.DefaultRequestHeaders, - string.Empty, - logger); - HttpResponseMessage response = client.DeleteAsync(requestUri).Result; - string content = response.EnsureSuccessStatusCode().Content.ReadAsStringAsync().Result; - LogResponse(response.StatusCode.ToString(), response.Headers, content, logger); - } - - public static Task GetAsync(this HttpClient client, string requestUri, Action Logger) - { - AddUserAgent(client); - LogRequest( - HttpMethod.Get.Method, - client.BaseAddress + requestUri, - client.DefaultRequestHeaders, - string.Empty, - Logger); - return client.GetAsync(requestUri); - } - - public static Task PostAsJsonAsyncWithoutEnsureSuccessStatusCode( - this HttpClient client, - string requestUri, - JObject json, - Action Logger) - { - AddUserAgent(client); - - LogRequest( - HttpMethod.Post.Method, - client.BaseAddress + requestUri, - client.DefaultRequestHeaders, - JsonConvert.SerializeObject(json, Formatting.Indented), - Logger); - return client.PostAsJsonAsync(requestUri, json); - } } } diff --git a/src/Common/Commands.Common/Common/IdnHelper.cs b/src/Common/Commands.Common/Common/IdnHelper.cs index 5b54755bc9d8..8e06ab3330c6 100644 --- a/src/Common/Commands.Common/Common/IdnHelper.cs +++ b/src/Common/Commands.Common/Common/IdnHelper.cs @@ -102,15 +102,5 @@ public static string GetAsciiForUserName(string name) return name; } - - public static bool IsPunyCodeName(string name) - { - if (!string.IsNullOrWhiteSpace(name) && name.Contains(idnHostNamePrefix)) - { - return true; - } - - return false; - } } } diff --git a/src/Common/Commands.Common/Common/ManagementConstants.cs b/src/Common/Commands.Common/Common/ManagementConstants.cs index 4f52d98ddf79..3b79dca0460f 100644 --- a/src/Common/Commands.Common/Common/ManagementConstants.cs +++ b/src/Common/Commands.Common/Common/ManagementConstants.cs @@ -23,16 +23,10 @@ public static class ApiConstants public const string BasicAuthorization = "Basic"; - public const string TracingEventResponseHeaderPrefix = "TracingEvent_"; - - public const string RunningState = "Running"; - public const string StoppedState = "Stopped"; - - public const string CustomDomainsEnabledSettingsName = "CustomDomainsEnabled"; - public const string SslSupportSettingsName = "SslSupport"; - public const string UserAgentHeaderName = "User-Agent"; + public const string UserAgentHeaderValue = "AzurePowershell/v" + AzurePowerShell.AssemblyVersion; + public static ProductInfoHeaderValue UserAgentValue = new ProductInfoHeaderValue( "AzurePowershell", string.Format("v{0}", AzurePowerShell.AssemblyVersion)); @@ -110,18 +104,6 @@ public static class AzureEnvironmentConstants public const string ChinaStorageEndpointSuffix = "core.chinacloudapi.cn"; - public const string AzureStorageBlobEndpointFormat = "{0}://{1}.blob.core.windows.net/"; - - public const string AzureStorageQueueEndpointFormat = "{0}://{1}.queue.core.windows.net/"; - - public const string AzureStorageTableEndpointFormat = "{0}://{1}.table.core.windows.net/"; - - public const string ChinaStorageBlobEndpointFormat = "{0}://{1}.blob.core.chinacloudapi.cn/"; - - public const string ChinaStorageQueueEndpointFormat = "{0}://{1}.queue.core.chinacloudapi.cn/"; - - public const string ChinaStorageTableEndpointFormat = "{0}://{1}.table.core.chinacloudapi.cn/"; - public const string AzureSqlDatabaseDnsSuffix = ".database.windows.net"; public const string ChinaSqlDatabaseDnsSuffix = ".database.chinacloudapi.cn"; diff --git a/src/Common/Commands.Common/Common/Parameters.cs b/src/Common/Commands.Common/Common/Parameters.cs index f2fb3c6fa3bf..087a3842d9dc 100644 --- a/src/Common/Commands.Common/Common/Parameters.cs +++ b/src/Common/Commands.Common/Common/Parameters.cs @@ -29,15 +29,5 @@ public class Parameters public const string PackagePath = "PackagePath"; public const string Path = "Path"; - - public const string EnvironmentName = "EnvironmentName"; - - public const string ServiceEndpoint = "ServiceEndpoint"; - - public const string ResourceManagerEndpoint = "ResourceManagerEndpoint"; - - public const string PublishSettingsFileUrl = "PublishSettingsFileUrl"; - - public const string GalleryEndpoint = "GalleryEndpoint"; } } diff --git a/src/Common/Commands.Common/Common/ProfileClient.cs b/src/Common/Commands.Common/Common/ProfileClient.cs index def786c29abe..e34d4a590ab6 100644 --- a/src/Common/Commands.Common/Common/ProfileClient.cs +++ b/src/Common/Commands.Common/Common/ProfileClient.cs @@ -60,33 +60,74 @@ private void WriteWarningMessage(string message) private static void UpgradeProfile() { string oldProfileFilePath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile); + string oldProfileFilePathBackup = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFileBackup); string newProfileFilePath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.ProfileFile); if (DataStore.FileExists(oldProfileFilePath)) { string oldProfilePath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile); - AzureProfile oldProfile = new AzureProfile(DataStore, oldProfilePath); - if (DataStore.FileExists(newProfileFilePath)) + try { - // Merge profile files - AzureProfile newProfile = new AzureProfile(DataStore, newProfileFilePath); - foreach (var environment in newProfile.Environments.Values) + // Try to backup old profile + try { - oldProfile.Environments[environment.Name] = environment; + DataStore.CopyFile(oldProfilePath, oldProfileFilePathBackup); } - foreach (var subscription in newProfile.Subscriptions.Values) + catch { - oldProfile.Subscriptions[subscription.Id] = subscription; + // Ignore any errors here + } + + AzureProfile oldProfile = new AzureProfile(DataStore, oldProfilePath); + + if (DataStore.FileExists(newProfileFilePath)) + { + // Merge profile files + AzureProfile newProfile = new AzureProfile(DataStore, newProfileFilePath); + foreach (var environment in newProfile.Environments.Values) + { + oldProfile.Environments[environment.Name] = environment; + } + foreach (var subscription in newProfile.Subscriptions.Values) + { + oldProfile.Subscriptions[subscription.Id] = subscription; + } + DataStore.DeleteFile(newProfileFilePath); + } + + // If there were no load errors - delete backup file + if (oldProfile.ProfileLoadErrors.Count == 0) + { + try + { + DataStore.DeleteFile(oldProfileFilePathBackup); + } + catch + { + // Give up + } } - DataStore.DeleteFile(newProfileFilePath); - } - // Save the profile to the disk - oldProfile.Save(); + // Save the profile to the disk + oldProfile.Save(); - // Rename WindowsAzureProfile.xml to WindowsAzureProfile.json - DataStore.RenameFile(oldProfilePath, newProfileFilePath); + // Rename WindowsAzureProfile.xml to WindowsAzureProfile.json + DataStore.RenameFile(oldProfilePath, newProfileFilePath); + + } + catch + { + // Something really bad happened - try to delete the old profile + try + { + DataStore.DeleteFile(oldProfilePath); + } + catch + { + // Ignore any errors + } + } } } @@ -103,9 +144,16 @@ public ProfileClient() public ProfileClient(string profilePath) { - ProfileClient.UpgradeProfile(); + try + { + ProfileClient.UpgradeProfile(); - Profile = new AzureProfile(DataStore, profilePath); + Profile = new AzureProfile(DataStore, profilePath); + } + catch + { + // Should never fail in constructor + } WarningLog = (s) => Debug.WriteLine(s); } @@ -124,10 +172,12 @@ public AzureAccount AddAccountAndLoadSubscriptions(AzureAccount account, AzureEn throw new ArgumentNullException("account"); } - var subscriptionsFromServer = ListSubscriptionsFromServer(ref account, environment, password, ShowDialog.Always).ToList(); - - Debug.Assert(account != null); - + var subscriptionsFromServer = ListSubscriptionsFromServer( + account, + environment, + password, + password == null ? ShowDialog.Always : ShowDialog.Never).ToList(); + // If account id is null the login failed if (account.Id != null) { @@ -387,7 +437,7 @@ public AzureSubscription RemoveSubscription(Guid id) { if (!Profile.Subscriptions.ContainsKey(id)) { - throw new ArgumentException(Resources.SubscriptionIdNotFoundMessage, "name"); + throw new ArgumentException(string.Format(Resources.SubscriptionIdNotFoundMessage, id), "id"); } var subscription = Profile.Subscriptions[id]; @@ -452,7 +502,7 @@ public AzureSubscription GetSubscription(Guid id) } else { - throw new ArgumentException(Resources.SubscriptionIdNotFoundMessage, "id"); + throw new ArgumentException(string.Format(Resources.SubscriptionIdNotFoundMessage, id), "id"); } } @@ -467,8 +517,20 @@ public AzureSubscription GetSubscription(string name) } else { - throw new ArgumentException(Resources.SubscriptionIdNotFoundMessage, "name"); + throw new ArgumentException(string.Format(Resources.SubscriptionNameNotFoundMessage, name), "name"); + } + } + + public AzureSubscription SetSubscriptionAsCurrent(Guid id, string accountName) + { + var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Id == id); + + if (subscription == null) + { + throw new ArgumentException(string.Format(Resources.InvalidSubscriptionId, id), "id"); } + + return SetSubscriptionAsCurrent(subscription.Name, accountName); } public AzureSubscription SetSubscriptionAsCurrent(string name, string accountName) @@ -499,6 +561,18 @@ public AzureSubscription SetSubscriptionAsCurrent(string name, string accountNam return currentSubscription; } + public AzureSubscription SetSubscriptionAsDefault(Guid id, string accountName) + { + var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Id == id); + + if (subscription == null) + { + throw new ArgumentException(string.Format(Resources.InvalidSubscriptionId, id), "id"); + } + + return SetSubscriptionAsDefault(subscription.Name, accountName); + } + public AzureSubscription SetSubscriptionAsDefault(string name, string accountName) { AzureSubscription subscription = SetSubscriptionAsCurrent(name, accountName); @@ -580,7 +654,7 @@ private IEnumerable ListSubscriptionsFromServerForAllAccounts if (account.Type != AzureAccount.AccountType.Certificate) { - subscriptions.AddRange(ListSubscriptionsFromServer(ref account, environment, null, ShowDialog.Never)); + subscriptions.AddRange(ListSubscriptionsFromServer(account, environment, null, ShowDialog.Never)); } AddOrSetAccount(account); @@ -596,13 +670,13 @@ private IEnumerable ListSubscriptionsFromServerForAllAccounts } } - private IEnumerable ListSubscriptionsFromServer(ref AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) + private IEnumerable ListSubscriptionsFromServer(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) { try { if (!account.IsPropertySet(AzureAccount.Property.Tenants)) { - LoadAccountTenants(ref account, environment, password, promptBehavior); + LoadAccountTenants(account, environment, password, promptBehavior); } } catch (AadAuthenticationException aadEx) @@ -614,8 +688,8 @@ private IEnumerable ListSubscriptionsFromServer(ref AzureAcco try { List mergedSubscriptions = MergeSubscriptions( - ListServiceManagementSubscriptions(ref account, environment, password, ShowDialog.Never).ToList(), - ListResourceManagerSubscriptions(ref account, environment, password, ShowDialog.Never).ToList()); + ListServiceManagementSubscriptions(account, environment, password, ShowDialog.Never).ToList(), + ListResourceManagerSubscriptions(account, environment, password, ShowDialog.Never).ToList()); // Set user ID foreach (var subscription in mergedSubscriptions) @@ -641,9 +715,9 @@ private IEnumerable ListSubscriptionsFromServer(ref AzureAcco } } - private void LoadAccountTenants(ref AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) + private void LoadAccountTenants(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) { - var commonTenantToken = AzureSession.AuthenticationFactory.Authenticate(ref account, environment, + var commonTenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, AuthenticationFactory.CommonAdTenant, password, promptBehavior); if (environment.IsEndpointSet(AzureEnvironment.Endpoint.ResourceManager)) @@ -821,7 +895,7 @@ private AzureAccount MergeAccountProperties(AzureAccount account1, AzureAccount return mergeAccount; } - private IEnumerable ListResourceManagerSubscriptions(ref AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) + private IEnumerable ListResourceManagerSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) { List result = new List(); @@ -834,7 +908,7 @@ private IEnumerable ListResourceManagerSubscriptions(ref Azur { try { - var tenantToken = AzureSession.AuthenticationFactory.Authenticate(ref account, environment, tenant, password, ShowDialog.Never); + var tenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, tenant, password, ShowDialog.Never); using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient( new TokenCloudCredentials(tenantToken.AccessToken), @@ -852,8 +926,6 @@ private IEnumerable ListResourceManagerSubscriptions(ref Azur psSubscription.SetProperty(AzureSubscription.Property.SupportedModes, AzureModule.AzureResourceManager.ToString()); psSubscription.SetProperty(AzureSubscription.Property.Tenants, tenant); - AzureSession.SubscriptionTokenCache[Tuple.Create(psSubscription.Id, account.Id)] = tenantToken; - result.Add(psSubscription); } } @@ -871,7 +943,7 @@ private IEnumerable ListResourceManagerSubscriptions(ref Azur return result; } - private IEnumerable ListServiceManagementSubscriptions(ref AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) + private IEnumerable ListServiceManagementSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) { List result = new List(); @@ -884,7 +956,7 @@ private IEnumerable ListServiceManagementSubscriptions(ref Az { try { - var tenantToken = AzureSession.AuthenticationFactory.Authenticate(ref account, environment, tenant, password, ShowDialog.Never); + var tenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, tenant, password, ShowDialog.Never); using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient( new TokenCloudCredentials(tenantToken.AccessToken), @@ -902,8 +974,6 @@ private IEnumerable ListServiceManagementSubscriptions(ref Az psSubscription.Properties[AzureSubscription.Property.SupportedModes] = AzureModule.AzureServiceManagement.ToString(); psSubscription.SetProperty(AzureSubscription.Property.Tenants, subscription.ActiveDirectoryTenantId); - AzureSession.SubscriptionTokenCache[Tuple.Create(psSubscription.Id, account.Id)] = tenantToken; - result.Add(psSubscription); } } diff --git a/src/Common/Commands.Common/Common/ProfileClientExtensions.cs b/src/Common/Commands.Common/Common/ProfileClientExtensions.cs index 378542b9548e..795eec2bcc99 100644 --- a/src/Common/Commands.Common/Common/ProfileClientExtensions.cs +++ b/src/Common/Commands.Common/Common/ProfileClientExtensions.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using Microsoft.WindowsAzure.Commands.Common.Models; -using System.Linq; namespace Microsoft.WindowsAzure.Commands.Common { diff --git a/src/Common/Commands.Common/Common/ProfileData.cs b/src/Common/Commands.Common/Common/ProfileData.cs index d81bae538cb2..2ce005aefbaa 100644 --- a/src/Common/Commands.Common/Common/ProfileData.cs +++ b/src/Common/Commands.Common/Common/ProfileData.cs @@ -47,13 +47,6 @@ public class ProfileData [DataContract] public class AzureEnvironmentData { - /// - /// Constructor used by data contract serializer - /// - public AzureEnvironmentData() - { - } - public AzureEnvironment ToAzureEnvironment() { return new AzureEnvironment @@ -127,12 +120,17 @@ public AzureSubscriptionData() public AzureSubscription ToAzureSubscription(List envs) { - AzureSubscription subscription = new AzureSubscription() + AzureSubscription subscription = new AzureSubscription(); + try { - Id = new Guid(this.SubscriptionId), - Name = Name - }; - + subscription.Id = new Guid(this.SubscriptionId); + } + catch (Exception ex) + { + throw new ArgumentException("Subscription ID is not a valid GUID.", ex); + } + subscription.Name = Name; + // Logic to detect what is the subscription environment rely's on having ManagementEndpoint (i.e. RDFE endpoint) set already on the subscription List allEnvs = envs.Union(AzureEnvironment.PublicEnvironments.Values).ToList(); AzureEnvironment env = allEnvs.FirstOrDefault(e => e.IsEndpointSetToValue(AzureEnvironment.Endpoint.ServiceManagement, this.ManagementEndpoint)); diff --git a/src/Common/Commands.Common/Common/PublishSettingsImporter.cs b/src/Common/Commands.Common/Common/PublishSettingsImporter.cs index 2164e657e30d..22d6825b56ea 100644 --- a/src/Common/Commands.Common/Common/PublishSettingsImporter.cs +++ b/src/Common/Commands.Common/Common/PublishSettingsImporter.cs @@ -92,18 +92,5 @@ private static X509Certificate2 GetCertificate(PublishDataPublishProfile profile return certificate; } - - private static Uri GetManagementUri(PublishDataPublishProfile profile, PublishDataPublishProfileSubscription s) - { - if (!string.IsNullOrEmpty(s.ServiceManagementUrl)) - { - return new Uri(s.ServiceManagementUrl); - } - else if (!string.IsNullOrEmpty(profile.Url)) - { - return new Uri(profile.Url); - } - return null; - } } } diff --git a/src/Common/Commands.Common/Common/RequiredResourceLookup.cs b/src/Common/Commands.Common/Common/RequiredResourceLookup.cs index a068e93cbcce..cef962cafef4 100644 --- a/src/Common/Commands.Common/Common/RequiredResourceLookup.cs +++ b/src/Common/Commands.Common/Common/RequiredResourceLookup.cs @@ -52,9 +52,18 @@ internal static IList RequiredProvidersForResourceManager() where T : "microsoft.visualstudio", "microsoft.insights", "successbricks.cleardb", - "microsoft.batch", "microsoft.cache" }; } + if (typeof(T).FullName.EndsWith("BatchManagementClient")) + { + return new[] { "microsoft.batch" }; + } + + if (typeof(T).FullName.EndsWith("DataPipelineManagementClient")) + { + return new[] { "Microsoft.DataFactory" }; + } + return new string[0]; } diff --git a/src/Common/Commands.Common/Common/ServiceManagementTypes.cs b/src/Common/Commands.Common/Common/ServiceManagementTypes.cs index 9cf4e8863d29..fe274f3e3221 100644 --- a/src/Common/Commands.Common/Common/ServiceManagementTypes.cs +++ b/src/Common/Commands.Common/Common/ServiceManagementTypes.cs @@ -35,26 +35,11 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model #region Constants public static class Constants { - public const string ContinuationTokenHeaderName = "x-ms-continuation-token"; - public const string SubscriptionIdsHeaderName = "x-ms-subscription-ids"; - public const string ClientRequestIdHeader = "x-ms-client-id"; - public const string OperationTrackingIdHeader = "x-ms-request-id"; - public const string PrincipalHeader = "x-ms-principal-id"; public const string ServiceManagementNS = "http://schemas.microsoft.com/windowsazure"; - public const string VersionHeaderName = "x-ms-version"; public readonly static string StandardTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"; // Please put the newest version outside the #endif.MSFTINTERNAL We only want the newest version to show up in what we ship publically. // Also, update rdfe\Utilities\Common\VersionHeaders.cs StaticSupportedVersionsList. public const string VersionHeaderContent20130801 = "2013-08-01"; - public const string VersionHeaderContentLatest = VersionHeaderContent20130801; - } - - - public static class PrincipalConstants - { - public const string AccountAdministrator = "AccountAdministrator"; - public const string ServiceAdministrator = "ServiceAdministrator"; - public const string CoAdministrator = "CoAdministrator"; } public static class DeploymentStatus @@ -878,6 +863,31 @@ public AssignPublicIPCollection PublicIPs this.SetValue("PublicIPs", value); } } + [DataMember(Name = "NetworkSecurityGroup", EmitDefaultValue = false, Order = 7)] + public string NetworkSecurityGroup + { + get + { + return this.GetValue("NetworkSecurityGroup"); + } + set + { + this.SetValue("NetworkSecurityGroup", value); + } + } + + [DataMember(Name = "NetworkInterfaces", EmitDefaultValue = false, Order = 7)] + public AssignNetworkInterfaceCollection NetworkInterfaces + { + get + { + return this.GetValue("NetworkInterfaces"); + } + set + { + this.SetValue("NetworkInterfaces", value); + } + } } [CollectionDataContract(Name = "PublicIPs", ItemName = "PublicIP", Namespace = Constants.ServiceManagementNS)] @@ -904,6 +914,63 @@ public class AssignPublicIP } + [CollectionDataContract(Name = "NetworkInterfaces", ItemName = "NetworkInterface", Namespace = Constants.ServiceManagementNS)] + public class AssignNetworkInterfaceCollection : List + { + public AssignNetworkInterfaceCollection() + { + } + + public AssignNetworkInterfaceCollection(IEnumerable assignNetworkInterface) + : base(assignNetworkInterface) + { + } + } + + [DataContract(Name = "NetworkInterface", Namespace = Constants.ServiceManagementNS)] + public class AssignNetworkInterface : Mergable + { + [DataMember(Name = "Name", EmitDefaultValue = false, Order = 1)] + public string Name { get; set; } + + [DataMember(Name = "IPConfigurations", EmitDefaultValue = false, Order = 2)] + public AssignIPConfigurationCollection IPConfigurations + { + get + { + return this.GetValue("IPConfigurations"); + } + set + { + this.SetValue("IPConfigurations", value); + } + } + + } + + [CollectionDataContract(Name = "IPConfigurations", ItemName = "IPConfiguration", Namespace = Constants.ServiceManagementNS)] + public class AssignIPConfigurationCollection : List + { + public AssignIPConfigurationCollection() + { + } + + public AssignIPConfigurationCollection(IEnumerable assignIPConfigurations) + : base(assignIPConfigurations) + { + } + } + + [DataContract(Name = "IPConfiguration", Namespace = Constants.ServiceManagementNS)] + public class AssignIPConfiguration + { + [DataMember(Name = "SubnetName", EmitDefaultValue = false, Order = 1)] + public string SubnetName { get; set; } + + [DataMember(Name = "StaticVirtualNetworkIPAddress", EmitDefaultValue = false, Order = 2)] + public string StaticVirtualNetworkIPAddress { get; set; } + } + [CollectionDataContract(Name = "LoadBalancedEndpointList", Namespace = Constants.ServiceManagementNS)] public class LoadBalancedEndpointList : List { @@ -1073,6 +1140,19 @@ public int? IdleTimeoutInMinutes base.SetValue("IdleTimeoutInMinutes", value); } } + + [DataMember(Name = "LoadBalancerDistribution", EmitDefaultValue = false, Order = 11)] + public string LoadBalancerDistribution + { + get + { + return base.GetValue("LoadBalancerDistribution"); + } + set + { + base.SetValue("LoadBalancerDistribution", value); + } + } } [DataContract(Namespace = Constants.ServiceManagementNS)] @@ -1424,6 +1504,20 @@ public Uri SourceMediaLink this.SetValue("SourceMediaLink", value); } } + + + [DataMember(Name = "IOType", EmitDefaultValue = false, Order = 7)] + public string IOType + { + get + { + return this.GetValue("IOType"); + } + set + { + this.SetValue("IOType", value); + } + } } #endregion @@ -1508,6 +1602,19 @@ public string OS this.SetValue("OS", value); } } + + [DataMember(Name = "IOType", EmitDefaultValue = false, Order = 5)] + public string IOType + { + get + { + return this.GetValue("IOType"); + } + set + { + this.SetValue("IOType", value); + } + } } #endregion @@ -2405,6 +2512,45 @@ public class InstanceEndpoint : IExtensibleDataObject public ExtensionDataObject ExtensionData { get; set; } } + [CollectionDataContract(Namespace = Constants.ServiceManagementNS, Name = "NetworkInterfaces", ItemName = "NetworkInterface")] + public class NetworkInterfaceList : List, IExtensibleDataObject + { + public ExtensionDataObject ExtensionData { get; set; } + } + + [DataContract(Namespace = Constants.ServiceManagementNS)] + public class NetworkInterface : IExtensibleDataObject + { + [DataMember(EmitDefaultValue = false, Order = 1)] + public string Name { get; set; } + + [DataMember(EmitDefaultValue = false, Order = 2)] + public string MacAddress { get; set; } + + [DataMember(EmitDefaultValue = false, Order = 3)] + public IPConfigurationList IpConfigurations { get; set; } + + public ExtensionDataObject ExtensionData { get; set; } + } + + [CollectionDataContract(Namespace = Constants.ServiceManagementNS, Name = "IPConfigurations", ItemName = "IPConfiguration")] + public class IPConfigurationList : List, IExtensibleDataObject + { + public ExtensionDataObject ExtensionData { get; set; } + } + + [DataContract(Namespace = Constants.ServiceManagementNS)] + public class IPConfiguration : IExtensibleDataObject + { + [DataMember(EmitDefaultValue = false, Order = 1)] + public string SubnetName { get; set; } + + [DataMember(EmitDefaultValue = false, Order = 2)] + public string Address { get; set; } + + public ExtensionDataObject ExtensionData { get; set; } + } + [CollectionDataContract(Namespace = Constants.ServiceManagementNS, Name = "AvailableServices", ItemName = "AvailableService")] public class AvailableServicesList : List, IExtensibleDataObject { @@ -2457,6 +2603,13 @@ public int LogicalDiskSizeInGB set; } + [DataMember(EmitDefaultValue = false, Order = 6)] + public string IOType + { + get; + set; + } + public ExtensionDataObject ExtensionData { get; set; } } @@ -2498,6 +2651,13 @@ public int LogicalDiskSizeInGB set; } + [DataMember(EmitDefaultValue = false, Order = 5)] + public string IOType + { + get; + set; + } + public ExtensionDataObject ExtensionData { get; set; } } @@ -4062,6 +4222,9 @@ public class DeploymentInputEndpoint : IExtensibleDataObject [DataMember(Order = 4)] public int? IdleTimeoutInMinutes { get; set; } + [DataMember(Order = 5)] + public string LoadBalancerDistribution { get; set; } + public ExtensionDataObject ExtensionData { get; set; } } diff --git a/src/Common/Commands.Common/Common/Validate.cs b/src/Common/Commands.Common/Common/Validate.cs index bf39041a8cf8..0d3c74ae25c4 100644 --- a/src/Common/Commands.Common/Common/Validate.cs +++ b/src/Common/Commands.Common/Common/Validate.cs @@ -163,15 +163,6 @@ public static void ValidateInternetConnection() } } - public static void IsGuid(string candidate) - { - if (candidate != null) - { - try { new Guid(candidate); } - catch { throw new ArgumentException(Resources.SubscriptionIdNotFoundMessage); } - } - } - public static void HasWhiteCharacter(string text, string exceptionMessage = null) { if (text.Any(char.IsWhiteSpace)) diff --git a/src/Common/Commands.Common/Factories/AuthenticationFactory.cs b/src/Common/Commands.Common/Factories/AuthenticationFactory.cs index 4b17ebfccce4..a897f4fe3b7e 100644 --- a/src/Common/Commands.Common/Factories/AuthenticationFactory.cs +++ b/src/Common/Commands.Common/Factories/AuthenticationFactory.cs @@ -17,9 +17,7 @@ using System.Security; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; -using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; -using System.Diagnostics; namespace Microsoft.WindowsAzure.Commands.Common.Factories { @@ -34,8 +32,7 @@ public AuthenticationFactory() public ITokenProvider TokenProvider { get; set; } - public IAccessToken Authenticate(ref AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, - ShowDialog promptBehavior) + public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior) { var token = TokenProvider.GetAccessToken(GetAdalConfiguration(environment, tenant), promptBehavior, account.Id, password, account.Type); account.Id = token.UserId; @@ -48,57 +45,36 @@ public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext { throw new ApplicationException(Resources.InvalidCurrentSubscription); } - - var account = context.Account; - - if (!AzureSession.SubscriptionTokenCache.ContainsKey(Tuple.Create(context.Subscription.Id, context.Account.Id))) + + if (context.Account == null) { - // Try to re-authenticate - var tenants = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants) - .Intersect(context.Account.GetPropertyAsArray(AzureAccount.Property.Tenants)); - - foreach (var tenant in tenants) - { - try - { - AzureSession.SubscriptionTokenCache[Tuple.Create(context.Subscription.Id, context.Account.Id)] = Authenticate(ref account, context.Environment, tenant, null, ShowDialog.Never); - break; - } - catch - { - // Skip - } - } + throw new ArgumentException(Resources.InvalidSubscriptionState); } - if (AzureSession.SubscriptionTokenCache.ContainsKey(Tuple.Create(context.Subscription.Id, context.Account.Id))) + if (context.Account.Type == AzureAccount.AccountType.Certificate) { - return new AccessTokenCredential(context.Subscription.Id, AzureSession.SubscriptionTokenCache[Tuple.Create(context.Subscription.Id, context.Account.Id)]); + var certificate = ProfileClient.DataStore.GetCertificate(context.Account.Id); + return new CertificateCloudCredentials(context.Subscription.Id.ToString(), certificate); } - else if (account != null) - { - switch (account.Type) - { - case AzureAccount.AccountType.User: - case AzureAccount.AccountType.ServicePrincipal: - if (!AzureSession.SubscriptionTokenCache.ContainsKey(Tuple.Create(context.Subscription.Id, account.Id))) - { - throw new ArgumentException(Resources.InvalidSubscriptionState); - } - return new AccessTokenCredential(context.Subscription.Id, AzureSession.SubscriptionTokenCache[Tuple.Create(context.Subscription.Id, account.Id)]); - case AzureAccount.AccountType.Certificate: - var certificate = ProfileClient.DataStore.GetCertificate(account.Id); - return new CertificateCloudCredentials(context.Subscription.Id.ToString(), certificate); + var tenant = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants) + .Intersect(context.Account.GetPropertyAsArray(AzureAccount.Property.Tenants)) + .FirstOrDefault(); - default: - throw new NotImplementedException("Error: couldn't do whatever it is we're trying to do here"); - } - } - else + if (tenant == null) { throw new ArgumentException(Resources.InvalidSubscriptionState); } + + try + { + var token = Authenticate(context.Account, context.Environment, tenant, null, ShowDialog.Never); + return new AccessTokenCredential(context.Subscription.Id, token); + } + catch (Exception ex) + { + throw new ArgumentException(Resources.InvalidSubscriptionState, ex); + } } private AdalConfiguration GetAdalConfiguration(AzureEnvironment environment, string tenantId) diff --git a/src/Common/Commands.Common/Factories/ClientFactory.cs b/src/Common/Commands.Common/Factories/ClientFactory.cs index fef5bfa1765e..f5aca60d816d 100644 --- a/src/Common/Commands.Common/Factories/ClientFactory.cs +++ b/src/Common/Commands.Common/Factories/ClientFactory.cs @@ -14,16 +14,12 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Net; using System.Net.Http; -using Microsoft.Azure.Management.Resources; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Common; -using System.Diagnostics; -using Microsoft.WindowsAzure.Management; namespace Microsoft.WindowsAzure.Commands.Common.Factories { @@ -90,15 +86,10 @@ public virtual TClient CreateCustomClient(params object[] parameters) w public virtual HttpClient CreateHttpClient(string endpoint, ICredentials credentials) { - return CreateHttpClientBase(endpoint, CreateHttpClientHandler(endpoint, credentials)); + return CreateHttpClient(endpoint, CreateHttpClientHandler(endpoint, credentials)); } public virtual HttpClient CreateHttpClient(string endpoint, HttpMessageHandler effectiveHandler) - { - return CreateHttpClientBase(endpoint, effectiveHandler); - } - - public static HttpClient CreateHttpClientBase(string endpoint, HttpMessageHandler effectiveHandler) { if (endpoint == null) { diff --git a/src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs b/src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs index 9a8341986466..9e052857a09d 100644 --- a/src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs +++ b/src/Common/Commands.Common/Interfaces/IAuthenticationFactory.cs @@ -23,13 +23,13 @@ public interface IAuthenticationFactory /// /// Returns IAccessToken if authentication succeeds or throws an exception if authentication fails. /// - /// /// + /// /// /// /// /// - IAccessToken Authenticate(ref AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior); + IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior); SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context); } diff --git a/src/Common/Commands.Common/Interfaces/IDataStore.cs b/src/Common/Commands.Common/Interfaces/IDataStore.cs index c233e69b12e9..0e1133b55d89 100644 --- a/src/Common/Commands.Common/Interfaces/IDataStore.cs +++ b/src/Common/Commands.Common/Interfaces/IDataStore.cs @@ -14,6 +14,7 @@ using System.IO; using System.Security.Cryptography.X509Certificates; +using System.Text; namespace Microsoft.WindowsAzure.Commands.Common.Interfaces { @@ -21,6 +22,8 @@ public interface IDataStore { void WriteFile(string path, string contents); + void WriteFile(string path, string content, Encoding encoding); + void WriteFile(string path, byte[] contents); string ReadFileAsText(string path); @@ -58,5 +61,7 @@ public interface IDataStore X509Certificate2 GetCertificate(string thumbprint); void AddCertificate(X509Certificate2 cert); + + void RemoveCertificate(string thumbprint); } } diff --git a/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs b/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs index daa1b0ffadaf..e9e296e95e6a 100644 --- a/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs +++ b/src/Common/Commands.Common/Interfaces/IProfileSerializer.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections.Generic; using Microsoft.WindowsAzure.Commands.Common.Models; namespace Microsoft.WindowsAzure.Commands.Common.Interfaces @@ -20,6 +21,8 @@ public interface IProfileSerializer { string Serialize(AzureProfile profile); - void Deserialize(string contents, AzureProfile profile); + bool Deserialize(string contents, AzureProfile profile); + + IList DeserializeErrors { get; } } } diff --git a/src/Common/Commands.Common/Models/AzureAccount.cs b/src/Common/Commands.Common/Models/AzureAccount.cs index bcac0811748d..74f8db7fe841 100644 --- a/src/Common/Commands.Common/Models/AzureAccount.cs +++ b/src/Common/Commands.Common/Models/AzureAccount.cs @@ -12,10 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; namespace Microsoft.WindowsAzure.Commands.Common.Models { diff --git a/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs b/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs index c63c450a1f29..a4d3d0fee987 100644 --- a/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs +++ b/src/Common/Commands.Common/Models/AzureEnvironment.Methods.cs @@ -150,7 +150,11 @@ public bool IsEndpointSet(AzureEnvironment.Endpoint endpoint) public bool IsEndpointSetToValue(AzureEnvironment.Endpoint endpoint, string url) { - if (Endpoints.IsPropertySet(endpoint)) + if (url == null && !Endpoints.IsPropertySet(endpoint)) + { + return true; + } + if (url != null && Endpoints.IsPropertySet(endpoint)) { return GetEndpoint(endpoint) .Trim(new[] {'/'}) diff --git a/src/Common/Commands.Common/Models/AzureProfile.cs b/src/Common/Commands.Common/Models/AzureProfile.cs index 3d07b4e01e52..f7f8c77c80fd 100644 --- a/src/Common/Commands.Common/Models/AzureProfile.cs +++ b/src/Common/Commands.Common/Models/AzureProfile.cs @@ -49,6 +49,7 @@ private void Load() Environments = new Dictionary(StringComparer.InvariantCultureIgnoreCase); Subscriptions = new Dictionary(); Accounts = new Dictionary(StringComparer.InvariantCultureIgnoreCase); + ProfileLoadErrors = new List(); if (!store.DirectoryExists(AzurePowerShell.ProfileDirectory)) { @@ -60,15 +61,22 @@ private void Load() string contents = store.ReadFileAsText(profilePath); IProfileSerializer serializer; + if (ParserHelper.IsXml(contents)) { serializer = new XmlProfileSerializer(); - serializer.Deserialize(contents, this); + if (!serializer.Deserialize(contents, this)) + { + ProfileLoadErrors.AddRange(serializer.DeserializeErrors); + } } else if (ParserHelper.IsJson(contents)) { serializer = new JsonProfileSerializer(); - serializer.Deserialize(contents, this); + if (!serializer.Deserialize(contents, this)) + { + ProfileLoadErrors.AddRange(serializer.DeserializeErrors); + } } } @@ -102,7 +110,7 @@ public void Save() } } - public IDataStore DataStore { get { return store; } } + public List ProfileLoadErrors { get; private set; } public Dictionary Environments { get; set; } @@ -139,25 +147,5 @@ public AzureSubscription DefaultSubscription } } } - - public X509Certificate2 GetCertificate(string thumbprint) - { - return store.GetCertificate(thumbprint); - } - - public void AddCertificate(X509Certificate2 cert) - { - store.AddCertificate(cert); - } - - public void SaveTokenCache(byte[] data) - { - store.WriteFile(tokenCacheFile, data); - } - - public byte[] LoadTokenCache() - { - return store.ReadFileAsBytes(tokenCacheFile); - } } } diff --git a/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs b/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs index 4164a9a442d4..18025d898ad7 100644 --- a/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs +++ b/src/Common/Commands.Common/Models/AzureSubscription.Methods.cs @@ -12,9 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using System.Collections.Generic; -using System.Linq; using Microsoft.WindowsAzure.Commands.Common.Utilities; namespace Microsoft.WindowsAzure.Commands.Common.Models diff --git a/src/Common/Commands.Common/Models/DiskDataStore.cs b/src/Common/Commands.Common/Models/DiskDataStore.cs index 8c5f6fa9a99f..8cc5e29b9e00 100644 --- a/src/Common/Commands.Common/Models/DiskDataStore.cs +++ b/src/Common/Commands.Common/Models/DiskDataStore.cs @@ -12,9 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using System.IO; using System.Security.Cryptography.X509Certificates; +using System.Text; using Microsoft.WindowsAzure.Commands.Common.Interfaces; +using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.WindowsAzure.Commands.Common.Models @@ -26,6 +29,11 @@ public void WriteFile(string path, string contents) File.WriteAllText(path, contents); } + public void WriteFile(string path, string contents, Encoding encoding) + { + File.WriteAllText(path, contents, encoding); + } + public void WriteFile(string path, byte[] contents) { File.WriteAllBytes(path, contents); @@ -102,13 +110,53 @@ public X509Certificate2 GetCertificate(string thumbprint) } else { - return GeneralUtilities.GetCertificateFromStore(thumbprint); + Validate.ValidateStringIsNullOrEmpty(thumbprint, "certificate thumbprint"); + X509Certificate2Collection certificates; + if (TryFindCertificatesInStore(thumbprint, StoreLocation.CurrentUser, out certificates) || + TryFindCertificatesInStore(thumbprint, StoreLocation.LocalMachine, out certificates)) + { + return certificates[0]; + } + else + { + throw new ArgumentException(string.Format(Resources.CertificateNotFoundInStore, thumbprint)); + } } } - public void AddCertificate(X509Certificate2 cert) + private static bool TryFindCertificatesInStore(string thumbprint, + StoreLocation location, out X509Certificate2Collection certificates) + { + X509Store store = new X509Store(StoreName.My, location); + store.Open(OpenFlags.ReadOnly); + certificates = store.Certificates.Find(X509FindType.FindByThumbprint, thumbprint, false); + store.Close(); + + return certificates.Count > 0; + } + + public void AddCertificate(X509Certificate2 certificate) + { + Validate.ValidateNullArgument(certificate, Resources.InvalidCertificate); + X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); + store.Open(OpenFlags.ReadWrite); + store.Add(certificate); + store.Close(); + } + + public void RemoveCertificate(string thumbprint) { - GeneralUtilities.AddCertificateToStore(cert); + if (thumbprint != null) + { + var certificate = GetCertificate(thumbprint); + if (certificate != null) + { + X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); + store.Open(OpenFlags.ReadWrite); + store.Remove(certificate); + store.Close(); + } + } } public bool DirectoryExists(string path) diff --git a/src/Common/Commands.Common/Models/JsonProfileSerializer.cs b/src/Common/Commands.Common/Models/JsonProfileSerializer.cs index 4a570d47ff2c..ea0a6a272f59 100644 --- a/src/Common/Commands.Common/Models/JsonProfileSerializer.cs +++ b/src/Common/Commands.Common/Models/JsonProfileSerializer.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Linq; using Microsoft.WindowsAzure.Commands.Common.Interfaces; using Newtonsoft.Json; @@ -32,24 +33,60 @@ public string Serialize(AzureProfile profile) }, Formatting.Indented); } - public void Deserialize(string contents, AzureProfile profile) + public bool Deserialize(string contents, AzureProfile profile) { - var jsonProfile = JObject.Parse(contents); + DeserializeErrors = new List(); - foreach (var env in jsonProfile["Environments"]) + try { - profile.Environments[(string)env["Name"]] = JsonConvert.DeserializeObject(env.ToString()); - } + var jsonProfile = JObject.Parse(contents); - foreach (var subscription in jsonProfile["Subscriptions"]) - { - profile.Subscriptions[new Guid((string)subscription["Id"])] = JsonConvert.DeserializeObject(subscription.ToString()); - } + foreach (var env in jsonProfile["Environments"]) + { + try + { + profile.Environments[(string) env["Name"]] = + JsonConvert.DeserializeObject(env.ToString()); + } + catch (Exception ex) + { + DeserializeErrors.Add(ex.Message); + } + } - foreach (var account in jsonProfile["Accounts"]) + foreach (var subscription in jsonProfile["Subscriptions"]) + { + try + { + profile.Subscriptions[new Guid((string) subscription["Id"])] = + JsonConvert.DeserializeObject(subscription.ToString()); + } + catch (Exception ex) + { + DeserializeErrors.Add(ex.Message); + } + } + + foreach (var account in jsonProfile["Accounts"]) + { + try + { + profile.Accounts[(string) account["Id"]] = + JsonConvert.DeserializeObject(account.ToString()); + } + catch (Exception ex) + { + DeserializeErrors.Add(ex.Message); + } + } + } + catch (Exception ex) { - profile.Accounts[(string)account["Id"]] = JsonConvert.DeserializeObject(account.ToString()); + DeserializeErrors.Add(ex.Message); } + return DeserializeErrors.Count == 0; } + + public IList DeserializeErrors { get; private set; } } } diff --git a/src/Common/Commands.Common/Models/XmlProfileSerializer.cs b/src/Common/Commands.Common/Models/XmlProfileSerializer.cs index 22431cb0b747..eed2616eacd9 100644 --- a/src/Common/Commands.Common/Models/XmlProfileSerializer.cs +++ b/src/Common/Commands.Common/Models/XmlProfileSerializer.cs @@ -33,28 +33,30 @@ public string Serialize(AzureProfile obj) throw new NotImplementedException(); } - public void Deserialize(string contents, AzureProfile profile) + public bool Deserialize(string contents, AzureProfile profile) { ProfileData data = null; Debug.Assert(profile != null); - try + DeserializeErrors = new List(); + + DataContractSerializer serializer = new DataContractSerializer(typeof(ProfileData)); + using (MemoryStream s = new MemoryStream(Encoding.UTF8.GetBytes(contents ?? ""))) + { + data = (ProfileData)serializer.ReadObject(s); + } + + if (data != null) { - DataContractSerializer serializer = new DataContractSerializer(typeof(ProfileData)); - using (MemoryStream s = new MemoryStream(Encoding.UTF8.GetBytes(contents ?? ""))) + foreach (AzureEnvironmentData oldEnv in data.Environments) { - data = (ProfileData)serializer.ReadObject(s); + profile.Environments[oldEnv.Name] = oldEnv.ToAzureEnvironment(); } - if (data != null) + List envs = profile.Environments.Values.ToList(); + foreach (AzureSubscriptionData oldSubscription in data.Subscriptions) { - foreach (AzureEnvironmentData oldEnv in data.Environments) - { - profile.Environments[oldEnv.Name] = oldEnv.ToAzureEnvironment(); - } - - List envs = profile.Environments.Values.ToList(); - foreach (AzureSubscriptionData oldSubscription in data.Subscriptions) + try { var newSubscription = oldSubscription.ToAzureSubscription(envs); if (newSubscription.Account == null) @@ -80,9 +82,17 @@ public void Deserialize(string contents, AzureProfile profile) profile.Subscriptions[newSubscription.Id] = newSubscription; } + catch (Exception ex) + { + // Skip subscription if failed to load + DeserializeErrors.Add(ex.Message); + } } } - catch (XmlException) { /* The profile XML was malformed ignore parsing the file */ } + + return DeserializeErrors.Count == 0; } + + public IList DeserializeErrors { get; private set; } } } diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs index 5e0def5224b0..63897df8ccde 100644 --- a/src/Common/Commands.Common/Properties/Resources.Designer.cs +++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18444 +// Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -69,6 +69,15 @@ public static string AccessDeniedExceptionMessage { } } + /// + /// Looks up a localized string similar to Account id doesn't match one in subscription.. + /// + public static string AccountIdDoesntMatchSubscription { + get { + return ResourceManager.GetString("AccountIdDoesntMatchSubscription", resourceCulture); + } + } + /// /// Looks up a localized string similar to Account "{0}" has been added.. /// @@ -1024,6 +1033,15 @@ public static string EnvironmentExists { } } + /// + /// Looks up a localized string similar to Environment name doesn't match one in subscription.. + /// + public static string EnvironmentNameDoesntMatchSubscription { + get { + return ResourceManager.GetString("EnvironmentNameDoesntMatchSubscription", resourceCulture); + } + } + /// /// Looks up a localized string similar to The environment name '{0}' is not found.. /// @@ -1651,7 +1669,7 @@ public static string InvalidSubscription { } /// - /// Looks up a localized string similar to The provided subscription if {0} is not valid. + /// Looks up a localized string similar to The provided subscription id {0} is not valid. /// public static string InvalidSubscriptionId { get { @@ -2658,7 +2676,7 @@ public static string PythonScaffolding { } /// - /// Looks up a localized string similar to Reploy deployment with {0} Id ?. + /// Looks up a localized string similar to Replace current deployment with '{0}' Id ?. /// public static string RedeployCommit { get { @@ -3910,7 +3928,7 @@ public static string SubscriptionDataFileNotFound { } /// - /// Looks up a localized string similar to The provided subscription name doesn't exist in the imported publish profile. If subscriptions have changed for the hosted service, retrieve an updated profile by using Get-AzurePublishSettingsFile then import the profile using Import-AzurePublishSettingsFile. + /// Looks up a localized string similar to The subscription id {0} doesn't exist.. /// public static string SubscriptionIdNotFoundMessage { get { diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx index 76c187aa4216..bd8f67014d8d 100644 --- a/src/Common/Commands.Common/Properties/Resources.resx +++ b/src/Common/Commands.Common/Properties/Resources.resx @@ -650,7 +650,7 @@ Please follow these steps in the portal: The subscription named '{0}' cannot be found. Use Set-AzureSubscription to initialize the subscription data. - The provided subscription if {0} is not valid + The provided subscription id {0} is not valid Must specify a non-null subscription name. @@ -1001,7 +1001,7 @@ Please follow these steps in the portal: Resources\Scaffolding\Python - Reploy deployment with {0} Id ? + Replace current deployment with '{0}' Id ? Are you sure you want to regenerate key? @@ -1392,7 +1392,7 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf The subscription data file {0} does not exist. - The provided subscription name doesn't exist in the imported publish profile. If subscriptions have changed for the hosted service, retrieve an updated profile by using Get-AzurePublishSettingsFile then import the profile using Import-AzurePublishSettingsFile + The subscription id {0} doesn't exist. The subscription name {0} doesn't exist. @@ -1558,6 +1558,12 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf There is no subscription associated with account {0}. + + Account id doesn't match one in subscription. + + + Environment name doesn't match one in subscription. + Unable to retrieve service key for ServicePrincipal account {0}. Please run the Add-AzureAccount cmdlet to supply the credentials for this service principal. diff --git a/src/Common/Commands.Common/Utilities/ConversionUtilities.cs b/src/Common/Commands.Common/Utilities/ConversionUtilities.cs index 99433a153a1a..464ebd4f59ea 100644 --- a/src/Common/Commands.Common/Utilities/ConversionUtilities.cs +++ b/src/Common/Commands.Common/Utilities/ConversionUtilities.cs @@ -47,12 +47,12 @@ public static Dictionary ToDictionary(this Hashtable hashtable, if (entry.Value is SecureString) { - value = ConversionUtilities.SecureStringToString(entry.Value as SecureString); + value = SecureStringToString(entry.Value as SecureString); } if (addValueLayer) { - dictionary[(string)entry.Key] = new Hashtable() { { "value", value } }; + dictionary[(string)entry.Key] = new Hashtable { { "value", value } }; } else { @@ -64,23 +64,6 @@ public static Dictionary ToDictionary(this Hashtable hashtable, } } - public static Dictionary ToStringDictionary(this Hashtable hashtable) - { - if (hashtable == null) - { - return null; - } - else - { - var dictionary = new Dictionary(); - foreach (var entry in hashtable.Cast()) - { - dictionary[entry.Key.ToString()] = entry.Value == null ? null : entry.Value.ToString(); - } - return dictionary; - } - } - public static Hashtable ToHashtable(this IDictionary dictionary) { if (dictionary == null) diff --git a/src/Common/Commands.Common/Utilities/FileUtilities.cs b/src/Common/Commands.Common/Utilities/FileUtilities.cs index 8e44b4b1eaf1..33ce3f25c731 100644 --- a/src/Common/Commands.Common/Utilities/FileUtilities.cs +++ b/src/Common/Commands.Common/Utilities/FileUtilities.cs @@ -24,7 +24,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common { - public static class FileUtilities { static FileUtilities() @@ -50,15 +49,15 @@ public static string GetContentFilePath(string startDirectory, string fileName) string path = Path.Combine(startDirectory, fileName); // Try search in the subdirectories in case that the file path does not exist in root path - if (!FileUtilities.DataStore.FileExists(path) && !FileUtilities.DataStore.DirectoryExists(path)) + if (!DataStore.FileExists(path) && !DataStore.DirectoryExists(path)) { try { - path = FileUtilities.DataStore.GetDirectories(startDirectory, fileName, SearchOption.AllDirectories).FirstOrDefault(); + path = DataStore.GetDirectories(startDirectory, fileName, SearchOption.AllDirectories).FirstOrDefault(); if (string.IsNullOrEmpty(path)) { - path = FileUtilities.DataStore.GetFiles(startDirectory, fileName, SearchOption.AllDirectories).First(); + path = DataStore.GetFiles(startDirectory, fileName, SearchOption.AllDirectories).First(); } } catch @@ -73,13 +72,13 @@ public static string GetContentFilePath(string startDirectory, string fileName) public static string GetWithProgramFilesPath(string directoryName, bool throwIfNotFound) { string programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); - if (FileUtilities.DataStore.DirectoryExists(Path.Combine(programFilesPath, directoryName))) + if (DataStore.DirectoryExists(Path.Combine(programFilesPath, directoryName))) { return Path.Combine(programFilesPath, directoryName); } else { - if (programFilesPath.IndexOf(Resources.x86InProgramFiles) == -1) + if (programFilesPath.IndexOf(Resources.x86InProgramFiles, StringComparison.InvariantCultureIgnoreCase) == -1) { programFilesPath += Resources.x86InProgramFiles; if (throwIfNotFound) @@ -108,20 +107,20 @@ public static string GetWithProgramFilesPath(string directoryName, bool throwIfN /// Should the copy be recursive public static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs) { - var dirs = FileUtilities.DataStore.GetDirectories(sourceDirName); + var dirs = DataStore.GetDirectories(sourceDirName); - if (!FileUtilities.DataStore.DirectoryExists(sourceDirName)) + if (!DataStore.DirectoryExists(sourceDirName)) { throw new DirectoryNotFoundException(String.Format(Resources.PathDoesNotExist, sourceDirName)); } - FileUtilities.DataStore.CreateDirectory(destDirName); + DataStore.CreateDirectory(destDirName); - var files = FileUtilities.DataStore.GetFiles(sourceDirName); + var files = DataStore.GetFiles(sourceDirName); foreach (var file in files) { string tempPath = Path.Combine(destDirName, Path.GetFileName(file)); - FileUtilities.DataStore.CopyFile(file, tempPath); + DataStore.CopyFile(file, tempPath); } if (copySubDirs) @@ -142,9 +141,9 @@ public static void EnsureDirectoryExists(string pathName) { Validate.ValidateStringIsNullOrEmpty(pathName, "Settings directory"); string directoryPath = Path.GetDirectoryName(pathName); - if (!FileUtilities.DataStore.DirectoryExists(directoryPath)) + if (!DataStore.DirectoryExists(directoryPath)) { - FileUtilities.DataStore.CreateDirectory(directoryPath); + DataStore.CreateDirectory(directoryPath); } } @@ -154,14 +153,14 @@ public static void EnsureDirectoryExists(string pathName) /// Path to the temp directory. public static string CreateTempDirectory() { - string tempPath = null; + string tempPath; do { tempPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); } - while (FileUtilities.DataStore.DirectoryExists(tempPath) || FileUtilities.DataStore.FileExists(tempPath)); + while (DataStore.DirectoryExists(tempPath) || DataStore.FileExists(tempPath)); - FileUtilities.DataStore.CreateDirectory(tempPath); + DataStore.CreateDirectory(tempPath); return tempPath; } @@ -177,7 +176,7 @@ public static void CopyDirectory(string sourceDirectory, string destinationDirec Debug.Assert(!String.IsNullOrEmpty(destinationDirectory), "destinationDirectory cannot be null or empty!"); Debug.Assert(!Directory.Exists(destinationDirectory), "destinationDirectory must not exist!"); - foreach (string file in FileUtilities.DataStore.GetFiles(sourceDirectory, "*", SearchOption.AllDirectories)) + foreach (string file in DataStore.GetFiles(sourceDirectory, "*", SearchOption.AllDirectories)) { string relativePath = file.Substring( sourceDirectory.Length + 1, @@ -185,12 +184,12 @@ public static void CopyDirectory(string sourceDirectory, string destinationDirec string destinationPath = Path.Combine(destinationDirectory, relativePath); string destinationDir = Path.GetDirectoryName(destinationPath); - if (!FileUtilities.DataStore.DirectoryExists(destinationDir)) + if (!DataStore.DirectoryExists(destinationDir)) { - FileUtilities.DataStore.CreateDirectory(destinationDir); + DataStore.CreateDirectory(destinationDir); } - FileUtilities.DataStore.CopyFile(file, destinationPath); + DataStore.CopyFile(file, destinationPath); } } @@ -199,9 +198,9 @@ public static Encoding GetFileEncoding(string path) Encoding encoding; - if (FileUtilities.DataStore.FileExists(path)) + if (DataStore.FileExists(path)) { - using (StreamReader r = new StreamReader(FileUtilities.DataStore.ReadFileAsStream(path))) + using (StreamReader r = new StreamReader(DataStore.ReadFileAsStream(path))) { encoding = r.CurrentEncoding; } @@ -233,7 +232,7 @@ public static bool IsValidDirectoryPath(string path) try { - FileAttributes attributes = FileUtilities.DataStore.GetFileAttributes(path); + FileAttributes attributes = DataStore.GetFileAttributes(path); if ((attributes & FileAttributes.Directory) == FileAttributes.Directory) { @@ -252,12 +251,12 @@ public static bool IsValidDirectoryPath(string path) public static void RecreateDirectory(string dir) { - if (FileUtilities.DataStore.DirectoryExists(dir)) + if (DataStore.DirectoryExists(dir)) { - FileUtilities.DataStore.DeleteDirectory(dir); + DataStore.DeleteDirectory(dir); } - FileUtilities.DataStore.CreateDirectory(dir); + DataStore.CreateDirectory(dir); } /// diff --git a/src/Common/Commands.Common/Utilities/GeneralUtilities.cs b/src/Common/Commands.Common/Utilities/GeneralUtilities.cs index 8d07ed900eb3..02189364034e 100644 --- a/src/Common/Commands.Common/Utilities/GeneralUtilities.cs +++ b/src/Common/Commands.Common/Utilities/GeneralUtilities.cs @@ -28,6 +28,7 @@ using System.Text; using System.Xml; using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.WindowsAzure.Common.Internals; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { @@ -48,47 +49,17 @@ private static bool TryFindCertificatesInStore(string thumbprint, return certificates != null && certificates.Count > 0; } - private static string TryGetEnvironmentVariable(string environmentVariableName, string defaultValue) - { - string value = Environment.GetEnvironmentVariable(environmentVariableName); - return (string.IsNullOrEmpty(value)) ? defaultValue : value; - } - public static string GetNodeModulesPath() { return Path.Combine(FileUtilities.GetAssemblyDirectory(), Resources.NodeModulesPath); } - public static byte[] GetResourceContents(string resourceName) - { - Stream stream = assembly.GetManifestResourceStream(resourceName); - byte[] contents = new byte[stream.Length]; - stream.Read(contents, (int)stream.Position, (int)stream.Length); - return contents; - } - [PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust")] public static void LaunchWebPage(string target) { ProcessHelper.Start(target); } - public static int GetRandomFromTwo(int first, int second) - { - return (new Random(DateTime.Now.Millisecond).Next(2) == 0) ? first : second; - } - - public static string[] GetResourceNames(string resourcesFullFolderName) - { - return assembly.GetManifestResourceNames().Where(item => item.StartsWith(resourcesFullFolderName)).ToArray(); - } - - public static TResult InvokeMethod(string methodName, object instance, params object[] arguments) - { - MethodInfo info = typeof(T).GetMethod(methodName); - return (TResult)info.Invoke(instance, arguments); - } - public static X509Certificate2 GetCertificateFromStore(string thumbprint) { Validate.ValidateStringIsNullOrEmpty(thumbprint, "certificate thumbprint"); @@ -104,38 +75,6 @@ public static X509Certificate2 GetCertificateFromStore(string thumbprint) } } - public static void AddCertificateToStore(X509Certificate2 certificate) - { - Validate.ValidateNullArgument(certificate, Resources.InvalidCertificate); - X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); - store.Open(OpenFlags.ReadWrite); - store.Add(certificate); - store.Close(); - } - - public static void RemoveCertificateFromStore(X509Certificate2 certificate) - { - if (certificate != null) - { - X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); - store.Open(OpenFlags.ReadWrite); - store.Remove(certificate); - store.Close(); - } - } - - /// - /// Gets the value of blob endpoint uri from environment if set, otherwise returns the default value. - /// - /// The storage account name - /// The full blob endpoint uri including the storage account name - public static string BlobEndpointUri(string accountName) - { - return string.Format(CultureInfo.InvariantCulture, - TryGetEnvironmentVariable(Resources.BlobEndpointUriEnv, Resources.BlobEndpointUri), - accountName); - } - /// /// Compares two strings with handling special case that base string can be empty. /// @@ -389,11 +328,11 @@ public static string GetLog(HttpRequestMessage request) public static string FormatString(string content) { - if (XmlUtilities.IsXml(content)) + if (ParserHelper.IsXml(content)) { return XmlUtilities.TryFormatXml(content); } - else if (JsonUtilities.IsJson(content)) + else if (ParserHelper.IsJson(content)) { return JsonUtilities.TryFormatJson(content); } @@ -451,11 +390,6 @@ public static Uri CreateHttpsEndpoint(string endpointUri) return new Uri(endpoint); } - public static string GetNonEmptyValue(string oldValue, string newValue) - { - return string.IsNullOrEmpty(newValue) ? oldValue : newValue; - } - public static string DownloadFile(string uri) { string contents = null; @@ -475,24 +409,6 @@ public static string DownloadFile(string uri) return contents; } - public static string ToUpperFirstLetter(string word) - { - return string.IsNullOrEmpty(word) ? word : word.Substring(0, 1).ToUpper() + word.Substring(1); - } - - public static object GetValue(dynamic variable, string property) - { - object value = null; - IDictionary expanded = (IDictionary)variable; - - if (expanded.ContainsKey(property)) - { - value = expanded[property]; - } - - return value; - } - public static string GenerateSeparator(int amount, string separator) { StringBuilder result = new StringBuilder(); diff --git a/src/Common/Commands.Common/Utilities/JsonUtilities.cs b/src/Common/Commands.Common/Utilities/JsonUtilities.cs index 5f840ee119d1..fda8d38e39d9 100644 --- a/src/Common/Commands.Common/Utilities/JsonUtilities.cs +++ b/src/Common/Commands.Common/Utilities/JsonUtilities.cs @@ -39,29 +39,7 @@ public static string TryFormatJson(string str) } } - public static bool IsJson(string content) - { - content = content.Trim(); - return content.StartsWith("{") && content.EndsWith("}") - || content.StartsWith("[") && content.EndsWith("]"); - } - - public static void SerializeJsonFile(T data, string path) - { - JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer(); - javaScriptSerializer.MaxJsonLength = Int32.MaxValue; - FileUtilities.DataStore.WriteFile(path, TryFormatJson(javaScriptSerializer.Serialize(data))); - } - - public static T DeserializeJsonFile(string path) - { - string json = FileUtilities.DataStore.ReadFileAsText(path); - JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer(); - javaScriptSerializer.MaxJsonLength = Int32.MaxValue; - return javaScriptSerializer.Deserialize(json); - } - - public static Dictionary DeserializeJson(string jsonString) + public static Dictionary DeserializeJson(string jsonString, bool throwExceptionOnFailure = false) { Dictionary result = new Dictionary(); if (jsonString == null) @@ -84,6 +62,10 @@ public static Dictionary DeserializeJson(string jsonString) } catch { + if (throwExceptionOnFailure) + { + throw; + } result = null; } return result; diff --git a/src/Common/Commands.Common/Utilities/PowerShellUtilities.cs b/src/Common/Commands.Common/Utilities/PowerShellUtilities.cs index d9edb307dd04..4d99e250b3a0 100644 --- a/src/Common/Commands.Common/Utilities/PowerShellUtilities.cs +++ b/src/Common/Commands.Common/Utilities/PowerShellUtilities.cs @@ -35,7 +35,7 @@ private static void ChangeForTargetEnvironment(Func, IEnumer IEnumerable paths = psModulePath.Split(';'); paths = job(paths); - if (paths.Count() == 0) + if (!paths.Any()) { Environment.SetEnvironmentVariable(PSModulePathName, null, target); } @@ -93,30 +93,5 @@ public static IEnumerable GetUsedDynamicParameters(Runt { return dynamicParameters.Values.Where(dp => MyInvocation.BoundParameters.Keys.Any(bp => bp.Equals(dp.Name))); } - - /// - /// Gets the current AzureMode valid values are AzureServiceManagement and AzureResourceManager only. - /// - /// Returns AzureServiceManagement if in RDFE and AzureResourceManager if in CSM - public static AzureModule GetCurrentMode() - { - return GetCurrentModeOverride(); - } - - private static AzureModule GetCurrentModuleFromEnvironment() - { - string PSModulePathEnv = Environment.GetEnvironmentVariable(PSModulePathName); - - if (PSModulePathEnv.Contains(FileUtilities.GetModuleFolderName(AzureModule.AzureResourceManager))) - { - return AzureModule.AzureResourceManager; - } - else - { - return AzureModule.AzureServiceManagement; - } - } - - public static Func GetCurrentModeOverride = GetCurrentModuleFromEnvironment; } } diff --git a/src/Common/Commands.Common/Utilities/XmlUtilities.cs b/src/Common/Commands.Common/Utilities/XmlUtilities.cs index 3604b0fcf7f3..9d2af2753947 100644 --- a/src/Common/Commands.Common/Utilities/XmlUtilities.cs +++ b/src/Common/Commands.Common/Utilities/XmlUtilities.cs @@ -62,7 +62,7 @@ public static void SerializeXmlFile(T obj, string fileName) { xmlSerializer.Serialize(writer, obj); } - FileUtilities.DataStore.WriteFile(fileName, sBuilder.ToString()); + FileUtilities.DataStore.WriteFile(fileName, sBuilder.ToString(), Encoding.Unicode); } public static string SerializeXmlString(T obj) @@ -78,28 +78,6 @@ public static string SerializeXmlString(T obj) return sBuilder.ToString(); } - public static T DeserializeXmlStream(Stream stream) - { - XmlSerializer xmlSerializer = new XmlSerializer(typeof(T)); - T obj = (T)xmlSerializer.Deserialize(stream); - stream.Close(); - - return obj; - } - - public static T DeserializeXmlString(string contents) - { - XmlSerializer xmlSerializer = new XmlSerializer(typeof(T)); - T obj; - - using (StringReader reader = new StringReader(contents)) - { - obj = (T)xmlSerializer.Deserialize(reader); - } - - return obj; - } - /// /// Formats the given XML into indented way. /// @@ -118,24 +96,6 @@ public static string TryFormatXml(string content) } } - /// - /// Checks if the content is valid XML or not. - /// - /// The text to check - /// True if XML, false otherwise - public static bool IsXml(string content) - { - try - { - XDocument.Parse(content); - return true; - } - catch (Exception) - { - return false; - } - } - /// /// Formats given string into well formatted XML. /// diff --git a/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs b/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs index 1876e52277db..c042fe750f10 100644 --- a/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs +++ b/src/Common/Commands.Common/XmlSchema/ServiceConfigurationSchema.cs @@ -13,11 +13,8 @@ // /c /namespace:Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema // /language:cs - namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema { - - /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] [System.SerializableAttribute()] @@ -27,7 +24,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConf [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration", IsNullable = false)] public partial class ServiceConfiguration { - private RoleSettings[] roleField; private NetworkConfigurationElement networkConfigurationField; @@ -1221,10 +1217,9 @@ public string value [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration")] public enum SchemaVersion { - /// - [System.Xml.Serialization.XmlEnumAttribute("2014-01.2.3")] - Item20140123, + [System.Xml.Serialization.XmlEnumAttribute("2014-06.2.4")] + Item20140624, /// unspecified, diff --git a/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs b/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs index 83c2401ff7a6..ace1e4cee3e3 100644 --- a/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs +++ b/src/Common/Commands.Common/XmlSchema/ServiceDefinitionSchema.cs @@ -15,8 +15,6 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema { - - /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] [System.SerializableAttribute()] @@ -2750,13 +2748,12 @@ public TopologyChangeDiscovery topologyChangeDiscovery [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition")] public enum SchemaVersion { - /// unspecified, /// - [System.Xml.Serialization.XmlEnumAttribute("2014-01.2.3")] - Item20140123, + [System.Xml.Serialization.XmlEnumAttribute("2014-06.2.4")] + Item20140624, } /// diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config index d45b4ef060f7..df2b72a265a8 100644 --- a/src/Common/Commands.Common/packages.config +++ b/src/Common/Commands.Common/packages.config @@ -8,11 +8,11 @@ - - - + + + - + \ No newline at end of file diff --git a/src/Common/Commands.Profile/Account/AddAzureAccount.cs b/src/Common/Commands.Profile/Account/AddAzureAccount.cs index ca6b604459be..99027ed9630d 100644 --- a/src/Common/Commands.Profile/Account/AddAzureAccount.cs +++ b/src/Common/Commands.Profile/Account/AddAzureAccount.cs @@ -18,7 +18,6 @@ using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Profile; namespace Microsoft.WindowsAzure.Commands.Profile diff --git a/src/Common/Commands.Profile/Account/GetAzureAccount.cs b/src/Common/Commands.Profile/Account/GetAzureAccount.cs index b45610955aa6..5af5642e9b3a 100644 --- a/src/Common/Commands.Profile/Account/GetAzureAccount.cs +++ b/src/Common/Commands.Profile/Account/GetAzureAccount.cs @@ -37,7 +37,7 @@ public GetAzureAccount() : base(false) public override void ExecuteCmdlet() { - IEnumerable accounts = defaultProfileClient.ListAccounts(Name); + IEnumerable accounts = DefaultProfileClient.ListAccounts(Name); List output = new List(); foreach (AzureAccount account in accounts) { output.Add(account.ToPSAzureAccount()); diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj index d802f44aede7..a043edf1bbcf 100644 --- a/src/Common/Commands.Profile/Commands.Profile.csproj +++ b/src/Common/Commands.Profile/Commands.Profile.csproj @@ -49,13 +49,13 @@ - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -73,16 +73,17 @@ False ..\lib\Microsoft.Web.Deployment.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -96,13 +97,13 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs index f437388817a7..0ad23b085004 100644 --- a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs +++ b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs @@ -47,7 +47,7 @@ public override void ExecuteCmdlet() } output.Add(base.ConstructPSObject(null, args.ToArray())); } - WriteObject(output); + WriteObject(output, true); } } } \ No newline at end of file diff --git a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 new file mode 100644 index 000000000000..acb022d51649 --- /dev/null +++ b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\Package\Debug\ServiceManagement\Azure\Services\Microsoft.WindowsAzure.Commands.Profile.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml index 38afcd38f94c..ddf948e55556 100644 --- a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml +++ b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml @@ -1,605 +1,567 @@ - - - - - Add-AzureAccount - - Adds the Azure account to Windows PowerShell - - - - - Add - AzureAccount - - - + + + + + Add-AzureAccount + + Adds the Azure account to Windows PowerShell + + + + + Add + AzureAccount + + + The Add-AzureAccount cmdlet makes your Azure account and its subscriptions available in Windows PowerShell. It's like logging into your Azure account in Windows PowerShell. To log out of the account, use the Remove-AzureAccount cmdlet. Add-AzureAccount downloads information about your Azure account and saves it in a subscription data file in your roaming user profile. It also gets an access token that allows Windows PowerShell to access your Azure account on your behalf. When the command completes, you can manage your Azure account in Windows PowerShell. There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see "How to: Connect to your subscription" (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect). When you run Add-AzureAccount, it displays an interactive window that prompts you to sign into your Azure account. This sign-in is valid until the access token expires. When it expires, cmdlets that require access to your account prompt you to run Add-AzureAccount again. If you have a Microsoft Organizational account, you can use the -Credential parameter to add the subscriptions associated with your account to Windows PowerShell without an interactive dialog. When specifying -ServicePrincipal switch a -Credential parameter is used to authenticate a Service Principal. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Add-AzureAccount - - Credential - - The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account and not another kind of Microsoft account. - - PSCredential - - - Environment - - Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack. - To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. - - String - - - SubscriptionDataFile - - Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile. - If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. - - String - - - - Add-AzureAccount - - Credential - - The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account and not another kind of Microsoft account. - - PSCredential - - - Tenant - - Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id. - - String - - - ServicePrincipal - - Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password. - - SwitchParameter - - - Environment - - Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack. - To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. - - String - - - SubscriptionDataFile - - Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile. - If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. - - String - - - - - - Credential - - The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account. - - PSCredential - - PSCredential - - - - - - - Environment - - Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack. - To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. - - String - - String - - - - - - - SubscriptionDataFile - - Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile. - If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. - - String - - String - - - - - - - ServicePrincipal - - Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password. - - SwitchParameter - - name>SwitchParameter - - - - - - Tenant - - Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet - - - - - - - None - - - - - - - - This cmdlet does not return any output. - - - - - - - - - Add-AzureAccount (and the Azure AD authentication method) takes precedence over Import-AzurePublishSettings (and the management certificate method). If you use Add-AzureAccount even once on your account, the Azure AD authentication method is used and the management certificate is ignored. To remove the Azure AD token and restore the management certificate method, use the Remove-AzureAccount cmdlet. For more information, type: Get-Help Remove-AzureAccount. - - - The error, "Your credentials have expired. Please use Add-AzureAccount to log in again." indicates that your access token is expired and Windows PowerShell cannot access your Azure account. To restore access to your account, run Add-AzureAccount again. - - - The Azure PowerShell account and subscription cmdlets get their data from the subscription data file, not from the live Azure account. If you change your account or subscriptions outside of Windows PowerShell, such as by using the Azure Management Portal, run Add-AzureAccount again to refresh the subscription data file. - - - - - ---------- Example 1: Add an account ---------- - - - - - PS C:\>Add-AzureAccount - - - - This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account. - - - - - - - - - ---------- Example 2: Use an alternate subscription data file ---------- - - - - - PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml - - - This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file. - - - - - - - - - ---------- Example 3: Add a Microsoft Organizational account using -Credential ---------- - - - - - - PS C:\>$credential = Get-Credential -PS C:\>Add-AzureAccount -Credential $credential - - - This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication. - - - - - - - - - ---------- Example 4: Add a Service Principal account using -Credential and -ServicePrincipal ---------- - - - - - - PS C:\>$credential = Get-Credential -PS C:\>Add-AzureAccount -Credential $credential -ServicePrincipal -Tenant "3EB32C56-E1E5-46A6-9410-F4A0572B3998" - - - This command uses the Credential parameter to provide AAD authentication information of the Service Principal in the tenant 3EB32C56-E1E5-46A6-9410-F4A0572B3998. - - - - - - - - - ---------- Example 5: Add an account in Azure China ---------- - - - - - - PS C:\>Add-AzureAccount -Environment AzureChinaCloud - - - This command uses the Environment parameter to add an Azure China account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397618 - - - Add-AzureEnvironment - - - - Get-AzureEnvironment - - - - Import-AzurePublishSettingsFile - - - - Get-AzureAccount - - - - Remove-AzureAccount - - - - - - - Add-AzureEnvironment - - Creates an Azure environment - - - - - Add - AzureEnvironment - - - + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Add-AzureAccount + + Environment + + Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. + + String + + + Credential + + The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account. + + PSCredential + + + SubscriptionDataFile + + Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile.If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. + + String + + + + Add-AzureAccount + + Environment + + Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. + + String + + + Credential + + The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account. + + PSCredential + + + ServicePrincipal + + Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password. + + SwitchParameter + + + Tenant + + Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id. + + String + + + SubscriptionDataFile + + Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile.If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. + + String + + + + + + Environment + + Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. + + String + + String + + + + + + Credential + + The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account. + + PSCredential + + PSCredential + + + + + + SubscriptionDataFile + + Specifies an alternate location for the subscription data file. This parameter is optional. By default, the subscription data file is saved in your roaming user profile.If you use this parameter to specify an alternate location for the subscription data file, be sure to use the SubscriptionDataFile parameters of cmdlets that access your account. Otherwise, the cmdlets look for your account data in the default location. + + String + + String + + + + + + ServicePrincipal + + Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password. + + SwitchParameter + + SwitchParameter + + + + + + Tenant + + Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id. + + String + + String + + + + + + + + + None + + + + + + + + + + + + None + + + + + + + + + + + + + + Add-AzureAccount (and the Azure AD authentication method) takes precedence over Import-AzurePublishSettings (and the management certificate method). If you use Add-AzureAccount even once on your account, the Azure AD authentication method is used and the management certificate is ignored. To remove the Azure AD token and restore the management certificate method, use the Remove-AzureAccount cmdlet. For more information, type: Get-Help Remove-AzureAccount. + + + + + -------------------------- Example 1: Add an account -------------------------- + + + + PS C:\>Add-AzureAccount + + This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account. + + + + + + + + + -------------------------- Example 2: Use an alternate subscription data file -------------------------- + + + + PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml + + This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file. + + + + + + + + + -------------------------- Example 3: Add a Microsoft Organizational account using Credential -------------------------- + + + + PS C:\>$credential = Get-Credential +PS C:\>Add-AzureAccount -Credential $credential + + This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication. + + + + + + + + + -------------------------- Example 4: Add a Service Principal account using Credential and ServicePrincipal -------------------------- + + + + PS C:\>$credential = Get-Credential +PS C:\>Add-AzureAccount -Credential $credential -ServicePrincipal -Tenant "3EB32C56-E1E5-46A6-9410-F4A0572B3998" + + This command uses the Credential parameter to provide AAD authentication information of the Service Principal in the tenant 3EB32C56-E1E5-46A6-9410-F4A0572B3998. + + + + + + + + + -------------------------- Example 5: Add an account in Azure China -------------------------- + + + + PS C:\>Add-AzureAccount -Environment AzureChinaCloud + + This command uses the Environment parameter to add an Azure China account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Add-AzureEnvironment + + + + Get-AzureEnvironment + + + + Import-AzurePublishSettingsFile + + + + Get-AzureAccount + + + + Remove-AzureAccount + + + + + + + + Add-AzureEnvironment + + Creates an Azure environment + + + + + Add + AzureEnvironment + + + The Add-AzureEnvironment cmdlet creates a new custom Azure account environment and saves it in your roaming user profile. The cmdlet returns an object that represents the new environment. When the command completes, you can use the environment in Windows PowerShell. An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). Only the Name parameter of this cmdlet is mandatory. If you omit a parameter, its value is null ($null), and the service that uses that endpoint might not function properly. To add or change the value of an environment property, use the Set-AzureEnvironment cmdlet. NOTE: Changing your environment can cause your account to fail. Typically, environments are added only for testing or troubleshooting. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Add-AzureEnvironment - - Name - - Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud. - - String - - - PublishSettingsFileUrl - - Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. - - String - - - ServiceEndpoint - - Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. - - String - - - ManagementPortalUrl - - Specifies the URL of the Azure Management Portal in the new environment. - - String - - - StorageEndpoint - - Specifies the default endpoint of storage services in the new environment. - - String - - - ActiveDirectoryEndpoint - - Specifies the endpoint for Azure Active Directory authentication in the new environment. - - String - - - ResourceManagerEndpoint - - Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - - GalleryEndpoint - - Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. - - String - - - ActiveDirectoryServiceEndpointResourceId - - Specifies the resource ID of a management API whose access is managed by Azure Active Directory. - - String - - - ActiveDirectoryServiceEndpointResourceId - - Specifies the resource ID of a management API whose access is managed by Azure Active Directory. - - String - - - GraphEndpoint - - Changes the endpoint for Azure Active Directory Graph API to the specified value. - - String - - - - - - ActiveDirectoryEndpoint - - Specifies the endpoint for Azure Active Directory authentication in the new environment. - - String - - String - - - - - - - ActiveDirectoryServiceEndpointResourceId - - Specifies the resource ID of a management API whose access is managed by Azure Active Directory. - - String - - String - - - - - - - GraphEndpoint - - Changes the endpoint for Azure Active Directory Graph API to the specified value. - - String - - String - - - - - - - GalleryEndpoint - - Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. - - String - - String - - - - - - - ManagementPortalUrl - - Specifies the URL of the Azure Management Portal in the new environment. - - String - - String - - - - - - - Name - - Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud. - - String - - String - - - - - - - PublishSettingsFileUrl - - Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. - - String - - String - - - - - - - ResourceManagerEndpoint - - Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - String - - - - - - - ServiceEndpoint - - Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. - - String - - String - - - - - - - StorageEndpoint - - Specifies the default endpoint of storage services in the new environment. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment - - - - - - - - - - - - - - - - - Example 1: Add an Azure environment - - - - - PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102 + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Add-AzureEnvironment + + Name + + Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud. + + String + + + PublishSettingsFileUrl + + Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. + + String + + + ServiceEndpoint + + Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. + + String + + + ManagementPortalUrl + + Specifies the URL of the Azure Management Portal in the new environment. + + String + + + StorageEndpoint + + Specifies the default endpoint of storage services in the new environment. + + String + + + ActiveDirectoryEndpoint + + Specifies the endpoint for Azure Active Directory authentication in the new environment. + + String + + + ResourceManagerEndpoint + + Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + + GalleryEndpoint + + Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + String + + + ActiveDirectoryServiceEndpointResourceId + + Specifies the resource ID of a management API whose access is managed by Azure Active Directory. + + String + + + GraphEndpoint + + Changes the endpoint for Azure Active Directory Graph API to the specified value. + + String + + + SubscriptionDataFile + + + + String + + + + + + Name + + Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud. + + String + + String + + + + + + PublishSettingsFileUrl + + Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. + + String + + String + + + + + + ServiceEndpoint + + Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. + + String + + String + + + + + + ManagementPortalUrl + + Specifies the URL of the Azure Management Portal in the new environment. + + String + + String + + + + + + StorageEndpoint + + Specifies the default endpoint of storage services in the new environment. + + String + + String + + + + + + ActiveDirectoryEndpoint + + Specifies the endpoint for Azure Active Directory authentication in the new environment. + + String + + String + + + + + + ResourceManagerEndpoint + + Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + String + + + + + + GalleryEndpoint + + Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + String + + String + + + + + + ActiveDirectoryServiceEndpointResourceId + + Specifies the resource ID of a management API whose access is managed by Azure Active Directory. + + String + + String + + + + + + GraphEndpoint + + Changes the endpoint for Azure Active Directory Graph API to the specified value. + + String + + String + + + + + + SubscriptionDataFile + + + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Add an Azure environment -------------------------- + + + + PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102 Name : ContosoEnv PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101 @@ -622,339 +584,330 @@ StorageQueueEndpointFormat : StorageTableEndpointFormat : -GalleryEndpoint : - - - This command creates the ContosoEnv Azure environment. - - - - - - - - - Example 2: Add an Azure environment with Parameters - - - - - PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com/fwlink/?LinkID=101" -ServiceEndpoint "https://contoso.com/fwlink/?LinkID=102" -ResourceManagerEndpoint "https://contoso.com/fwlink/?LinkID=103" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104" - - This command creates the ContosoEnv Azure environment with PublishSettingsFileUrl, ServiceEndpoint, ResourceManagerEndpoint, and GraphEndpoint specified. All other endpoints are ignored. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397619 - - - Get-AzureEnvironment - - - - Remove-AzureEnvironment - - - - Set-AzureEnvironment - - - - - - - Get-AzureAccount - - Gets Azure accounts that are available to Azure PowerShell. - - - - - Get - AzureAccount - - - - The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets. - - - - Get-AzureAccount - - Name - - Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted. - - String - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Get-AzureAccount gets account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) subscription data file. - - String - - - - - - Name - - Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted. - - String - - String - - - - - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Get-AzureAccount gets account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) subscription data file. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - None - - - - - - - - This cmdlet does not return any output. - - - - - - - - Example 1: Get all accounts - - - - - PS C:\>Get-AzureAccount +GalleryEndpoint : + + This command creates the ContosoEnv Azure environment. + + + + + + + + + -------------------------- Example 2: Add an Azure environment with Parameters -------------------------- + + + + PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com/fwlink/?LinkID=101" -ServiceEndpoint "https://contoso.com/fwlink/?LinkID=102" -ResourceManagerEndpoint "https://contoso.com/fwlink/?LinkID=103" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104" + + This command creates the ContosoEnv Azure environment with PublishSettingsFileUrl, ServiceEndpoint, ResourceManagerEndpoint, and GraphEndpoint specified. All other endpoints are ignored. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397619 + + + Get-AzureEnvironment + + + + Remove-AzureEnvironment + + + + Set-AzureEnvironment + + + + + + + + Get-AzureAccount + + Gets Azure accounts that are available to Azure PowerShell. + + + + + Get + AzureAccount + + + + + The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets. + + + + Get-AzureAccount + + Name + + Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted. + + String + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Get-AzureAccount gets account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) subscription data file. + + String + + + + + + Name + + Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted. + + String + + String + + + + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Get-AzureAccount gets account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) subscription data file. + + String + + String + + + + + + + + + None + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get all accounts -------------------------- + + + + PS C:\>Get-AzureAccount Name ActiveDirectories ---- ----------------- contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... -contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794... - - - - - This command gets all accounts associated with the specified user. - - - - - - - - - Example 2: Get an account by name - - - - - PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com +contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794... + + This command gets all accounts associated with the specified user. + + + + + + + + + -------------------------- Example 2: Get an account by name -------------------------- + + + + PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com Name ActiveDirectories ---- ----------------- -contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... - - - - This command gets the ContosoAdmin account. - - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397620 - - - Add-AzureAccount - - - - Get-AzurePublishSettingsFile - - - - Import-AzurePublishSettingsFile - - - - Remove-AzureAccount - - - - - - - Get-AzureEnvironment - - Gets Azure environments - - - - - Get - AzureEnvironment - - - - The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). - The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureEnvironment - - Name - - Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - - - - Name - - Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - System.Management.Automation.PSCustomObject - - - - - - - - By default, Get-AzureEnvironment returns a custom object. - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment - - - - - - - - When you run Get-AzureEnvironment with the Name parameter, it returns a WindowsAzureEnvironment object. - - - - - - - - Example 1: Get all environments - - - - - PS C:\>Get-AzureEnvironment +contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... + + This command gets the ContosoAdmin account. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397620 + + + Add-AzureAccount + + + + Get-AzurePublishSettingsFile + + + + Import-AzurePublishSettingsFile + + + + Remove-AzureAccount + + + + + + + + Get-AzureEnvironment + + Gets Azure environments + + + + + Get + AzureEnvironment + + + + + The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it.This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureEnvironment + + Name + + Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + SubscriptionDataFile + + + + String + + + + + + Name + + Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + SubscriptionDataFile + + + + String + + String + + + + + + + + + None + + + + + + + + + + + + System.Management.Automation.PSCustomObject + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get all environments -------------------------- + + + + PS C:\>Get-AzureEnvironment EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl --------------- --------------- ----------------------- ---------------------- AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw... -AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw... - - - This command gets all environments that are available to Windows PowerShell. - - - - - - - - - Example 2: Get an environment by name - - - - - PS C:\>Get-AzureEnvironment -Name AzureCloud +AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw... + + This command gets all environments that are available to Windows PowerShell. + + + + + + + + + -------------------------- Example 2: Get an environment by name -------------------------- + + + + PS C:\>Get-AzureEnvironment -Name AzureCloud Name : AzureCloud PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775 @@ -977,2568 +930,2674 @@ StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/ StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/ -GalleryEndpoint : https://gallery.azure.com/ - - - - This example gets the AzureCloud environment. - - - - - - - - - Example 3: Get all properties of all environments - - - - - PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName} - - - - This command gets all properties of all environments. - The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment. - Without parameters, Get-AzureEnvironment gets only selected properties of an environment. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397621 - - - Add-AzureAccount - - - - Add-AzureEnvironment - - - - Get-AzurePublishSettingsFile - - - - Import-AzurePublishSettingsFile - - - - Remove-AzureEnvironment - - - - Set-AzureEnvironment - - - - - - - Get-AzurePublishSettingsFile - - Downloads the publish settings file for an Azure subscription. - - - - - Get - AzurePublishSettingsFile - - - - The Get-AzurePublishSettingsFile cmdlet downloads a publish settings file for a subscription in your account. When the command completes, you can use the Import-PublishSettingsFile cmdlet to make the settings in the file available to Windows PowerShell. - To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files. - When you run Get-AzurePublishSettingsFile, it opens your default browser and prompts you to sign into your Azure account, select a subscription, and select a file system location for the publish settings file. Then, it downloads the publish settings file for your subscription into the file that you selected. - A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. - Security Note: Publish settings files contains credentials that are used to administer your Azure subscriptions and services. If malicious users access your publish settings file, they can edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzurePublishSettingsFile - - Environment - - Specifies an Azure environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). - - String - - - Realm - - Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account. - - String - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts. - - - - - - - Environment - - Specifies an Azure environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). - - String - - String - - - - - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts. - - SwitchParameter - - SwitchParameter - - - - - - - Realm - - Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or System.Boolean - - - - - - - - When you use the PassThru parameter, this cmdlet returns a Boolean value. Otherwise, this cmdlet does not return any output - - - - - - - - Example 1: Download a publish settings file - - - - - PS C:\>Get-AzurePublishSettingsFile - - - - This command opens your default browser, connects to your Microsoft Azure account, and then downloads the .publishsettings file for your account. - - - - - - - - - Example 2: Specify a realm - - - - - PS C:\>Get-AzurePublishSettingsFile -Realm contoso.com -Passthru - - - - This command downloads the publish settings file for an account in the contoso.com domain. Use a command with the Realm parameter when you sign into Azure with an organizational account, instead of a Microsoft account. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397622 - - - Add-AzureAccount - - - - Import-AzurePublishSettingsFile - - - - - - - Get-AzureSubscription - - Gets Azure subscriptions in Azure account. - - - - - Get - AzureSubscription - - - - The Get-AzureSubscription cmdlet gets the subscriptions in your Azure account. You can use this cmdlet to get information about the subscription and to pipe the subscription to other cmdlets. - Get-AzureSubscription requires access to your Azure accounts. Before you run Get-AzureSubscription, you must run the Add-AzureAccount cmdlet or the cmdlets that download and install a publish settings file (Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureSubscription - - SubscriptionName - - Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. - - String - - - ExtendedDetails - - Returns quota information for the subscription, in addition to the standard settings. - - - - SubscriptionDataFile - - Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. - - String - - - - Get-AzureSubscription - - Current - - Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet. - - - - ExtendedDetails - - Returns quota information for the subscription, in addition to the standard settings. - - - - - Get-AzureSubscription - - Default - - Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet. - - - - ExtendedDetails - - Returns quota information for the subscription, in addition to the standard settings. - - - - SubscriptionDataFile - - Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. - - String - - - - - - Current - - Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet. - - SwitchParameter - - SwitchParameter - - - - - - - Default - - Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet. - - SwitchParameter - - SwitchParameter - - - - - - - ExtendedDetails - - Returns quota information for the subscription, in addition to the standard settings. - - SwitchParameter - - SwitchParameter - - - - - - - SubscriptionDataFile - - Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. - - String - - String - - - - - - - SubscriptionName - - Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to the SubscriptionName property by name, but not by value. - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSubscription - - - - - - - - - - - - - - - - Get-AzureSubscription gets data from the subscription data file that the Add-AzureAccount and Import-PublishSettingsFile cmdlets create. - - - - - Example 1: Get all subscriptions - - - - - C:\PS>Get-AzureSubscription - - - This command gets all subscriptions in the account. - - - - - - - - - Example 2: Get a subscription by name - - - - - C:\PS>Get-AzureSubscription –SubscriptionName "MyProdSubscription" - - - This command gets only the "MyProdSubsciption" subscription. - - - - - - - - - Example 3: Get the default subscription - - - - - C:\PS>(Get-AzureSubscription -Default).SubscriptionName - - - This command gets only the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription. - - - - - - - - - Example 4: Get selected subscription properties - - - - - C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate - - - This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list. - - - - - - - - - Example 5: Use an alternate subscription data file - - - - - C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml" - - - - This command gets subscriptions from the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397623 - - - Add-AzureAccount - - - - Get-AzurePublishSettingsFile - - - - Import-AzurePublishSettingsFile - - - - Remove-AzureSubscription - - - - Set-AzureSubscription - - - - - - - Import-AzurePublishSettingsFile - - Imports a publish settings file that lets you manage your Azure accounts in Windows PowerShell. - - - - - Import - AzurePublishSettingsFile - - - - The Import-AzurePublishSettingsFile cmdlet imports a publish settings file (*.publishsettings) that contains information about your Azure accounts and saves a subscription data file on your computer. When the cmdlet completes, you can manage your Azure accounts in Windows PowerShell. - Before running Import-AzurePublishSettingsFile, run Get-AzurePublishSettingsFile, which downloads and saves the publish settings file so you can import it. - To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files. - Security Note: Publish settings files contain a management certificate that is encoded, but not encrypted. If malicious users access your publish settings file, they might be able to edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings. - - - - Import-AzurePublishSettingsFile - - PublishSettingsFile - - Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile. - - String - - - SubscriptionDataFile - - Specifies the path to a file where the subscription data is stored. This parameter is optional. If it is not provided, the subscription data is imported into a default file in the user's profile. - - String - - - Environment - - Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file. - - String - - - - - - PublishSettingsFile - - Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile. - - String - - String - - - - - - - SubscriptionDataFile - - Specifies the path to a file where the subscription data is stored. This parameter is optional. If it is not provided, the subscription data is imported into a default file in the user's profile. - - String - - String - - - - - - - Environment - - Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None - - - - - - - - This cmdlet does not generate any output. - - - - - - - - - A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. After you import this file, delete it to avoid security risks. - - - A "subscription data file" is an XML file that can be saved on your computer safely. By default, it's saved in your roaming user profile ($home/AppData/Roaming) - - - - - --------------- Example 1 -------------- - - - - - PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings - - - - This command imports the "C:\Temp\MyAccount.publishsettings" file. - - - - - - - - - --------------- Example 2 -------------- - - - - - PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml - - - - This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml. - When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount. - - - - - - - - - --------------- Example 3 -------------- - - - - - - - PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud - - - - This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397624 - - - How to Install and Configure Azure PowerShell - - - - - Add-AzureAccount - - - - Get-AzurePublishSettingsFile - - - - - - - Remove-AzureAccount - - Deletes an Azure account from Windows PowerShell. - - - - - Remove - AzureAccount - - - +GalleryEndpoint : https://gallery.azure.com/ + + This example gets the AzureCloud environment. + + + + + + + + + -------------------------- Example 3: Get all properties of all environments -------------------------- + + + + PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName} + + This command gets all properties of all environments. + + + + The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment.Without parameters, Get-AzureEnvironment gets only selected properties of an environment. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397621 + + + Add-AzureAccount + + + + Add-AzureEnvironment + + + + Get-AzurePublishSettingsFile + + + + Import-AzurePublishSettingsFile + + + + Remove-AzureEnvironment + + + + Set-AzureEnvironment + + + + + + + + Get-AzurePublishSettingsFile + + Downloads the publish settings file for an Azure subscription. + + + + + Get + AzurePublishSettingsFile + + + + + The Get-AzurePublishSettingsFile cmdlet downloads a publish settings file for a subscription in your account. When the command completes, you can use the Import-PublishSettingsFile cmdlet to make the settings in the file available to Windows PowerShell.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.When you run Get-AzurePublishSettingsFile, it opens your default browser and prompts you to sign into your Azure account, select a subscription, and select a file system location for the publish settings file. Then, it downloads the publish settings file for your subscription into the file that you selected.A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions.Security Note: Publish settings files contains credentials that are used to administer your Azure subscriptions and services. If malicious users access your publish settings file, they can edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzurePublishSettingsFile + + Environment + + Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + String + + + Realm + + Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account. + + String + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts. + + SwitchParameter + + + SubscriptionDataFile + + + + String + + + + + + Environment + + Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + String + + String + + + + + + Realm + + Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account. + + String + + String + + + + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + + + String + + String + + + + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Download a publish settings file -------------------------- + + + + PS C:\>Get-AzurePublishSettingsFile + + This command opens your default browser, connects to your Microsoft Azure account, and then downloads the .publishsettings file for your account. + + + + + + + + + -------------------------- Example 2: Specify a realm -------------------------- + + + + PS C:\>Get-AzurePublishSettingsFile -Realm contoso.com -Passthru + + This command downloads the publish settings file for an account in the contoso.com domain. Use a command with the Realm parameter when you sign into Azure with an organizational account, instead of a Microsoft account. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397622 + + + Add-AzureAccount + + + + Import-AzurePublishSettingsFile + + + + + + + + Get-AzureSubscription + + Gets Azure subscriptions in Azure account. + + + + + Get + AzureSubscription + + + + + The Get-AzureSubscription cmdlet gets the subscriptions in your Azure account. You can use this cmdlet to get information about the subscription and to pipe the subscription to other cmdlets.Get-AzureSubscription requires access to your Azure accounts. Before you run Get-AzureSubscription, you must run the Add-AzureAccount cmdlet or the cmdlets that download and install a publish settings file (Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile.This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureSubscription + + SubscriptionName + + Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. + + String + + + ExtendedDetails + + Returns quota information for the subscription, in addition to the standard settings. + + SwitchParameter + + + SubscriptionDataFile + + Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Get-AzureSubscription + + SubscriptionId + + + + String + + + ExtendedDetails + + Returns quota information for the subscription, in addition to the standard settings. + + SwitchParameter + + + SubscriptionDataFile + + Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Get-AzureSubscription + + Default + + Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet. + + SwitchParameter + + + ExtendedDetails + + Returns quota information for the subscription, in addition to the standard settings. + + SwitchParameter + + + SubscriptionDataFile + + Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Get-AzureSubscription + + Current + + Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet. + + SwitchParameter + + + ExtendedDetails + + Returns quota information for the subscription, in addition to the standard settings. + + SwitchParameter + + + SubscriptionDataFile + + Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. + + String + + + + + + SubscriptionName + + Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. + + String + + String + + + + + + ExtendedDetails + + Returns quota information for the subscription, in addition to the standard settings. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + Gets a subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile. By default, your subscription data file is saved in your roaming user profile. + + String + + String + + + + + + SubscriptionId + + + + String + + String + + + + + + Default + + Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet. + + SwitchParameter + + SwitchParameter + + + + + + Current + + Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSubscription + + + + + + + + + + + + + + Get-AzureSubscription gets data from the subscription data file that the Add-AzureAccount and Import-PublishSettingsFile cmdlets create. + + + + + -------------------------- Example 1: Get all subscriptions -------------------------- + + + + PS C:\> C:\PS>Get-AzureSubscription + + This command gets all subscriptions in the account. + + + + + + + + + -------------------------- Example 2: Get a subscription by name -------------------------- + + + + PS C:\> C:\PS>Get-AzureSubscription –SubscriptionName "MyProdSubscription" + + This command gets only the "MyProdSubsciption" subscription. + + + + + + + + + -------------------------- Example 3: Get the default subscription -------------------------- + + + + PS C:\> C:\PS>(Get-AzureSubscription -Default).SubscriptionName + + This command gets only the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription. + + + + + + + + + -------------------------- Example 4: Get selected subscription properties -------------------------- + + + + PS C:\> C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate + + This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list. + + + + + + + + + -------------------------- Example 5: Use an alternate subscription data file -------------------------- + + + + PS C:\> C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml" + + This command gets subscriptions from the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397623 + + + Add-AzureAccount + + + + Get-AzurePublishSettingsFile + + + + Import-AzurePublishSettingsFile + + + + Remove-AzureSubscription + + + + Set-AzureSubscription + + + + + + + + Import-AzurePublishSettingsFile + + Imports a publish settings file that lets you manage your Azure accounts in Windows PowerShell. + + + + + Import + AzurePublishSettingsFile + + + + + The Import-AzurePublishSettingsFile cmdlet imports a publish settings file (*.publishsettings) that contains information about your Azure accounts and saves a subscription data file on your computer. When the cmdlet completes, you can manage your Azure accounts in Windows PowerShell.Before running Import-AzurePublishSettingsFile, run Get-AzurePublishSettingsFile, which downloads and saves the publish settings file so you can import it.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.Security Note: Publish settings files contain a management certificate that is encoded, but not encrypted. If malicious users access your publish settings file, they might be able to edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings. + + + + Import-AzurePublishSettingsFile + + PublishSettingsFile + + Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile. + + String + + + Environment + + Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file. + + String + + + SubscriptionDataFile + + Specifies the path to a file where the subscription data is stored. This parameter is optional. If it is not provided, the subscription data is imported into a default file in the user's profile. + + String + + + + + + PublishSettingsFile + + Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile. + + String + + String + + + + + + Environment + + Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file. + + String + + String + + + + + + SubscriptionDataFile + + Specifies the path to a file where the subscription data is stored. This parameter is optional. If it is not provided, the subscription data is imported into a default file in the user's profile. + + String + + String + + + + + + + + + None + + + + + + + + + + + + None + + + + + + + + + + + + + + A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. After you import this file, delete it to avoid security risks. + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings + + This command imports the "C:\Temp\MyAccount.publishsettings" file. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml + + This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml. + + + + When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount. + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud + + This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397624 + + + How to Install and Configure Azure PowerShell + + + + Add-AzureAccount + + + + Get-AzurePublishSettingsFile + + + + + + + + Remove-AzureAccount + + Deletes an Azure account from Windows PowerShell. + + + + + Remove + AzureAccount + + + The Remove-AzureAccount cmdlet deletes an Azure account and its subscriptions from the subscription data file in your roaming user profile. It does not delete the account from Microsoft Azure, or change the actual account in any way. Using this cmdlet is a lot like logging out of your Azure account. And, if you want to log into the account again, use the Add-AzureAccount or Import-AzurePublishSettingsFile to add the account to Windows PowerShell again. You can also use Remove-AzureAccount cmdlet to change the way the Azure PowerShell cmdlets sign into your Azure account. If your account has both a management certificate from Import-AzurePublishSettingsFile and an access token from Add-AzureAccount, the Azure PowerShell cmdlets use only the access token; they ignore the management certificate. To use the management certificate, run Remove-AzureAccount. When Remove-AzureAccount finds both a management certificate and an access token, it deletes only the access token, instead of deleting the account. The management certificate is still there, so account is still available to Windows PowerShell. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Remove-AzureAccount - - Name - - Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported. - - String - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell. - - - - PassThru - - Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output. - - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Remove-AzureAccount deletes account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) file. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported. - - String - - String - - - - - - - PassThru - - Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - - - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Remove-AzureAccount deletes account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) file. - - - String - - String - - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or System.Boolean - - - - - - - - If you use the PassThru parameter, this cmdlet returns a Boolean value. Otherwise, it does not return any output. - - - - - - - - Example 1: Remove an account - - - - - PS C:\>Remove-AzureAccount -Name admin@contoso.com - - - - This command removes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397625 - - - Add-AzureAccount - - - - Get-AzureAccount - - - - - - - Remove-AzureEnvironment - - Deletes an Azure environment from Windows PowerShell - - - - - Remove - AzureEnvironment - - - - The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). - - - - Remove-AzureEnvironment - - Name - - Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - String - - - - - - Name - - Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or System.Boolean - - - - - - - - If you use the PassThru parameter, this cmdlet returns a Boolean value. Otherwise, it does not return any output. - - - - - - - - Example 1: Delete an environment - - - - - PS C:\>Remove-AzureEnvironment -Name ContosoEnv - - - - This command deletes the ContosoEnv environment from Windows PowerShell. - - - - - - - - - Example 2: Delete multiple environments - - - - - PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName } - - - - This command deletes environments whose names begin with "Contoso" from Windows PowerShell. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397626 - - - Add-AzureEnvironment - - - - Get-AzureEnvironment - - - - Set-AzureEnvironment - - - - - - - Remove-AzureSubscription - - Deletes an Azure subscription from Windows PowerShell. - - - - - Remove - AzureSubscription - - - + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Remove-AzureAccount + + Name + + Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported. + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell. + + SwitchParameter + + + PassThru + + Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Remove-AzureAccount deletes account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) file. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Remove-AzureAccount deletes account and subscription information from the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) file. + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove an account -------------------------- + + + + PS C:\>Remove-AzureAccount -Name admin@contoso.com + + This command removes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397625 + + + Add-AzureAccount + + + + Get-AzureAccount + + + + + + + + Remove-AzureEnvironment + + Deletes an Azure environment from Windows PowerShell + + + + + Remove + AzureEnvironment + + + + + The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + + + Remove-AzureEnvironment + + Name + + Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Force + + + + SwitchParameter + + + SubscriptionDataFile + + + + String + + + + + + Name + + Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + + + String + + String + + + + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + string + + string + + + + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Delete an environment -------------------------- + + + + PS C:\>Remove-AzureEnvironment -Name ContosoEnv + + This command deletes the ContosoEnv environment from Windows PowerShell. + + + + + + + + + -------------------------- Example 2: Delete multiple environments -------------------------- + + + + PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName } + + This command deletes environments whose names begin with "Contoso" from Windows PowerShell. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397626 + + + Add-AzureEnvironment + + + + Get-AzureEnvironment + + + + Set-AzureEnvironment + + + + + + + + Remove-AzureSubscription + + Deletes an Azure subscription from Windows PowerShell. + + + + + Remove + AzureSubscription + + + The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Remove-AzureSubscription - - SubscriptionName - - Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription. - - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - - - - SubscriptionDataFile - - Deletes the subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription. - - SwitchParameter - - SwitchParameter - - - - - - - PassThru - - Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - - SwitchParameter - - SwitchParameter - - - - - - - SubscriptionDataFile - - Deletes the subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - String - - - - - - - SubscriptionName - - Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - - None or System.Boolean - - - - - - - - If you use the PassThru parameter, this cmdlet returns a Boolean value. Otherwise, it does not return any output. - - - - - - - - - Example 1: Delete a subscription - - - - - C:\PS> Remove-AzureSubscription -SubscriptionName Test + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Remove-AzureSubscription + + SubscriptionName + + Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription. + + SwitchParameter + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Deletes the subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureSubscription + + SubscriptionId + + + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription. + + SwitchParameter + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Deletes the subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + SubscriptionName + + Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + Deletes the subscription from an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + SubscriptionId + + + + String + + String + + + + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Delete a subscription -------------------------- + + + + PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test Confirm Are you sure you want to perform this action? -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): - - - - This command deletes the "Test" subscription from the default subscription data file. - - - - - - - - - Example 2: Delete from an alternate subscription data file - - - - - C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force - - - This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt. - - - - - - - - - Example 3: Delete a subscription in a script - - - - - C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...} - - - - This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed. - - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397627 - - - Get-AzureSubscription - - - - Select-AzureSubscription - - - - Set-AzureSubscription - - - - - - - Select-AzureSubscription - - Changes the current and default Azure subscriptions - - - - - Select - AzureSubscription - - - +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + + This command deletes the "Test" subscription from the default subscription data file. + + + + + + + + + -------------------------- Example 2: Delete from an alternate subscription data file -------------------------- + + + + PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force + + This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt. + + + + + + + + + -------------------------- Example 3: Delete a subscription in a script -------------------------- + + + + PS C:\> C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...} + + This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397627 + + + Get-AzureSubscription + + + + Select-AzureSubscription + + + + Set-AzureSubscription + + + + + + + + Select-AzureSubscription + + Changes the current and default Azure subscriptions + + + + + Select + AzureSubscription + + + The Select-AzureSubscription cmdlet sets and clears the current and default Azure subscriptions. The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. The "default subscription" is used by default in all Windows PowerShell sessions. The "current subscription" label lets you specify a different subscription to be used by default for the current session without changing the "default subscription" for all other sessions. The "default" subscription designation is saved in your subscription data file. The session-specific "current" designation is not saved. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Select-AzureSubscription - - SubscriptionName - - Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Account - - Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Current - - Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription. - The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. - - - - PassThru - - Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. - - - - - SubscriptionDataFile - - Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - - - Select-AzureSubscription - - SubscriptionName - - Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Account - - Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Default - - Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription. - The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current". - - - - PassThru - - Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. - - - - - SubscriptionDataFile - - Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - - - Select-AzureSubscription - - PassThru - - Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. - - - - - SubscriptionDataFile - - Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - - NoCurrent - - Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription. - - - - - Select-AzureSubscription - - PassThru - - Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. - - - - - SubscriptionDataFile - - Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - - NoDefault - - Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail. - - - - - - - SubscriptionName - - Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - Account - - Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - Current - - Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription. - The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. - - SwitchParameter - - SwitchParameter - - - - - - - Default - - Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription. - The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current". - - SwitchParameter - - SwitchParameter - - - - - - - NoCurrent - - Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription. - - SwitchParameter - - SwitchParameter - - - - - - - NoDefault - - Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail. - - SwitchParameter - - SwitchParameter - - - - - - - PassThru - - Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. - - - SwitchParameter - - SwitchParameter - - - - - - - SubscriptionDataFile - - Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - - None or System.Boolean - - - - - - - - If you use the PassThru parameter, this cmdlet returns a Boolean value. By default, it does not generate any output. - - - - - - - - - Example 1: Set the current subscription - - - - - C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering - - - This command makes "ContosoEngineering" the current subscription. - - - - - - - - - Example 2: Set the current subscription with account - - - - - C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering -Account user@mail.contoso.com - - - This command makes "ContosoEngineering" the current subscription and user@mail.contoso.com the current user. - - - - - - - - - Example 3: Set the default description - - - - - C:\PS> Select-AzureSubscription -Default -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml" - - - - This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file, instead of the default subscription data file. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397628 - - - Get-AzureSubscription - - - - Remove-AzureSubscription - - - - Set-AzureSubscription - - - - - - - Set-AzureEnvironment - - Changes the properties of an Azure environment - - - - - Set - AzureEnvironment - - - - The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). - NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create. - - - - Set-AzureEnvironment - - Name - - Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - PublishSettingsFileUrl - - Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. - - String - - - ServiceEndpoint - - Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. - - String - - - ManagementPortalUrl - - Changes the URL of the Azure Management Portal to the specified value. - - String - - - StorageEndpoint - - Changes the default endpoint of storage services in the specified environment. - - String - - - ActiveDirectoryEndpoint - - Changes the endpoint for Azure Active Directory authentication to the specified value. - - String - - - ResourceManagerEndpoint - - Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - - GalleryEndpoint - - Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. - - String - - - ActiveDirectoryServiceEndpointResourceId - - Specifies the resource ID of a management API whose access is managed by Azure Active Directory. - - String - - - GraphEndpoint - - Changes the endpoint for Azure Active Directory Graph API to the specified value. - - String - - - - - - ActiveDirectoryEndpoint - - Changes the endpoint for Azure Active Directory authentication to the specified value. - - String - - String - - - - - - - ActiveDirectoryServiceEndpointResourceId - - Specifies the resource ID of a management API whose access is managed by Azure Active Directory. - - String - - String - - - - - - - GraphEndpoint - - Changes the endpoint for Azure Active Directory Graph API to the specified value. - - String - - String - - - - - - - GalleryEndpoint - - Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. - - String - - String - - - - - - - ManagementPortalUrl - - Changes the URL of the Azure Management Portal to the specified value. - - String - - String - - - - - - - Name - - Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - PublishSettingsFileUrl - - Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. - - String - - String - - - - - - - ResourceManagerEndpoint - - Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - String - - - - - - - ServiceEndpoint - - Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. - - String - - String - - - - - - - StorageEndpoint - - Changes the default endpoint of storage services in the specified environment. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment - - - - - - - - - - - - - - - - - Example 1: Change environment properties - - - - - PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104" - - - - This command changes the values of the PublishSettingsFileUrl, StorageEndpoint, and GraphEndpoint properties of the ContosoEnv environment. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397629 - - - Add-AzureEnvironment - - - - Get-AzureEnvironment - - - - Remove-AzureEnvironment - - - - - - - Set-AzureSubscription - - Creates or changes an Azure subscription - - - - - Set - AzureSubscription - - - + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Select-AzureSubscription + + SubscriptionName + + Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Account + + Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Current + + Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. + + SwitchParameter + + + PassThru + + Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Select-AzureSubscription + + SubscriptionName + + Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Account + + Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Default + + Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current". + + SwitchParameter + + + PassThru + + Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Select-AzureSubscription + + NoCurrent + + Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription. + + SwitchParameter + + + PassThru + + Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + + Select-AzureSubscription + + NoDefault + + Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail. + + SwitchParameter + + + PassThru + + Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + + + + + SubscriptionName + + Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + Account + + Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + Current + + Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + Specifies an alternate subscription data file. Use this parameter if you used the SubscriptionDataFile parameter of Add-AzureAccount or Import-PublishSettingsFile to specify an alternate location for the subscription data file. By default, your subscription data file is saved in your roaming user profile. + + String + + String + + + + + + Default + + Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current". + + SwitchParameter + + SwitchParameter + + + + + + NoCurrent + + Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription. + + SwitchParameter + + SwitchParameter + + + + + + NoDefault + + Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Set the current subscription -------------------------- + + + + PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering + + This command makes "ContosoEngineering" the current subscription. + + + + + + + + + -------------------------- Example 2: Set the current subscription with account -------------------------- + + + + PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering -Account user@mail.contoso.com + + This command makes "ContosoEngineering" the current subscription and user@mail.contoso.com the current user. + + + + + + + + + -------------------------- Example 3: Set the default description -------------------------- + + + + PS C:\> C:\PS> Select-AzureSubscription -Default -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml" + + This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file, instead of the default subscription data file. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397628 + + + Get-AzureSubscription + + + + Remove-AzureSubscription + + + + Set-AzureSubscription + + + + + + + + Set-AzureEnvironment + + Changes the properties of an Azure environment + + + + + Set + AzureEnvironment + + + + + The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create. + + + + Set-AzureEnvironment + + Name + + Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + PublishSettingsFileUrl + + Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. + + String + + + ServiceEndpoint + + Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. + + String + + + ManagementPortalUrl + + Changes the URL of the Azure Management Portal to the specified value. + + String + + + StorageEndpoint + + Changes the default endpoint of storage services in the specified environment. + + String + + + ActiveDirectoryEndpoint + + Changes the endpoint for Azure Active Directory authentication to the specified value. + + String + + + ResourceManagerEndpoint + + Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + + GalleryEndpoint + + Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + String + + + ActiveDirectoryServiceEndpointResourceId + + Specifies the resource ID of a management API whose access is managed by Azure Active Directory. + + String + + + GraphEndpoint + + Changes the endpoint for Azure Active Directory Graph API to the specified value. + + String + + + SubscriptionDataFile + + + + String + + + + + + Name + + Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + PublishSettingsFileUrl + + Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf. + + String + + String + + + + + + ServiceEndpoint + + Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation. + + String + + String + + + + + + ManagementPortalUrl + + Changes the URL of the Azure Management Portal to the specified value. + + String + + String + + + + + + StorageEndpoint + + Changes the default endpoint of storage services in the specified environment. + + String + + String + + + + + + ActiveDirectoryEndpoint + + Changes the endpoint for Azure Active Directory authentication to the specified value. + + String + + String + + + + + + ResourceManagerEndpoint + + Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + String + + + + + + GalleryEndpoint + + Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + String + + String + + + + + + ActiveDirectoryServiceEndpointResourceId + + Specifies the resource ID of a management API whose access is managed by Azure Active Directory. + + String + + String + + + + + + GraphEndpoint + + Changes the endpoint for Azure Active Directory Graph API to the specified value. + + String + + String + + + + + + SubscriptionDataFile + + + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Change environment properties -------------------------- + + + + PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104" + + This command changes the values of the PublishSettingsFileUrl, StorageEndpoint, and GraphEndpoint properties of the ContosoEnv environment. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397629 + + + Add-AzureEnvironment + + + + Get-AzureEnvironment + + + + Remove-AzureEnvironment + + + + + + + + Set-AzureSubscription + + Creates or changes an Azure subscription + + + + + Set + AzureSubscription + + + The Set-AzureSubscription cmdlet establishes and changes the properties of an Azure subscription. You can use this cmdlet to create a new subscription or change the properties of an existing subscription. To create a new subscription, select a unique name for the value of the SubscriptionName parameter. To change an existing subscription, use the SubscriptionName parameter to identify the subscription. This cmdlet changes the data in the subscription data file that you create when you use the Add-AzureAccount or Import-AzurePublishSettingsFile cmdlet to add an Azure account to Windows PowerShell. - This topic describes the cmdlet in the 0.8.8 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Set-AzureSubscription - - SubscriptionName - - Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it. - To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. - - String - - - Certificate - - Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. - - X509Certificate2 - - - CurrentStorageAccountName - - Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted. - This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. - - String - - - PassThru - - Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - - - ResourceManagerEndpoint - - Sets or changes the endpoint for Azure Resource Manager data to the specified value. - For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - - ServiceEndpoint - - Sets or changes the custom service endpoint for the management service to the specified value. - The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. - - String - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. - - String - - - SubscriptionId - - Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet. - - String - - - - Set-AzureSubscription - - SubscriptionName - - Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it. - To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. - - String - - - PassThru - - Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. - - String - - - - - - Certificate - - Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. - - X509Certificate2 - - X509Certificate2 - - - - - - - CurrentStorageAccountName - - Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted. - This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. - - String - - String - - - - - - - PassThru - - Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceManagerEndpoint - - Sets or changes the endpoint for Azure Resource Manager data to the specified value. - For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). - - String - - String - - - - - - - ServiceEndpoint - - Sets or changes the custom service endpoint for the management service to the specified value. - The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. - - String - - String - - - - - - - SubscriptionDataFile - - Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. - - String - - String - - - - - - - SubscriptionId - - Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet. - - String - - String - - - - - - - SubscriptionName - - Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it. - To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or System.Boolean - - - - - - - - When you use the PassThru parameter, this cmdlet returns a Boolean value. By default, this cmdlet does not return any output. - - - - - - - - Example 1: Create a new subscription - - - - - PS C:\>$thumbprint = <Certificate Thumbprint> + This topic describes the cmdlet in the 0.8.10.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Set-AzureSubscription + + SubscriptionName + + Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. + + String + + + Certificate + + Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. + + X509Certificate2 + + + ServiceEndpoint + + Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. + + String + + + ResourceManagerEndpoint + + Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + + CurrentStorageAccountName + + Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. + + String + + + Environment + + + + String + + + PassThru + + Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. + + String + + + + Set-AzureSubscription + + SubscriptionName + + Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. + + String + + + SubscriptionId + + Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet. + + String + + + Certificate + + Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. + + X509Certificate2 + + + ServiceEndpoint + + Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. + + String + + + ResourceManagerEndpoint + + Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + + CurrentStorageAccountName + + Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. + + String + + + Environment + + + + String + + + PassThru + + Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. + + String + + + + Set-AzureSubscription + + SubscriptionId + + Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet. + + String + + + Certificate + + Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. + + X509Certificate2 + + + ServiceEndpoint + + Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. + + String + + + ResourceManagerEndpoint + + Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + + CurrentStorageAccountName + + Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. + + String + + + Environment + + + + String + + + PassThru + + Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. + + String + + + + + + SubscriptionName + + Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet. + + String + + String + + + + + + Certificate + + Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store. + + X509Certificate2 + + X509Certificate2 + + + + + + ServiceEndpoint + + Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription. + + String + + String + + + + + + ResourceManagerEndpoint + + Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + String + + String + + + + + + CurrentStorageAccountName + + Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet. + + String + + String + + + + + + Environment + + + + String + + String + + + + + + PassThru + + Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionDataFile + + Specifies the path and filename of an alternate subscription data file. This parameter is optional. By default, Set-AzureSubscription gets and changes data in the default subscription data file in your roaming user profile. Use this parameter if you used the SubscriptionDataFile parameter in Add-AzureAccount or Import-AzurePublishSettingsFile to specify an alternate (non-default) location for this file. + + String + + String + + + + + + SubscriptionId + + Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet. + + String + + String + + + + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a new subscription -------------------------- + + + + PS C:\>$thumbprint = <Certificate Thumbprint> PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint -PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345 - - - - These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription. - When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values. - - - - - - - - - Example 2: Change an existing subscription - - - - - C:\PS> $thumbprint = <Thumbprint-2> +PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345 + + These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription. + + + + When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values. + + + + + -------------------------- Example 2: Change an existing subscription -------------------------- + + + + PS C:\> C:\PS> $thumbprint = <Thumbprint-2> C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint -C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -Certificate $differentCert - - - These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription - - - - - - - - - Example 2: Change the service endpoint - - - - - C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com" - - - This command adds or changes a custom service endpoint for the ContosoEngineering subscription. - - - - - - - - - Example 3: Clear property values - - - - - C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering –Certificate $null -ResourceManagerEndpoint $null - - - This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings. - - - - - - - - - Example 4: Use an alternate subscription data file - - - - - C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01 - - - This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=397630 - - - Add-AzureAccount - - - - Get-AzureSubscription - - - - Import-AzurePublishSettingsFile - - - - Remove-AzureSubscription - - - - Select-AzureSubscription - - - - - - - Switch-AzureMode - - Switches between the Azure and Azure Resource Manager modules - - - - - Switch - AzureMode - - - - The Switch-AzureMode cmdlet switches between the Azure and Azure Resource Manager (AzureResourceManager) modules. These modules are not designed to be used in the same session. To determine which module is in your current session, use the Get-Module cmdlet. - NOTE: The AzureResourceManager module is currently in preview. It might not provide the same management capabilities as the Azure module. - Beginning in version 0.8,0, the Azure PowerShell installation includes both Azure modules and Azure Profile, a module of commands common to both modules. When you use the Azure PowerShell cmdlets, the Azure and Azure Profile modules are imported into the session by default. To remove the Azure module from the session and import the Azure Resource Manager module, use Switch-AzureMode. And, to switch back to the Azure module, just use Switch-AzureMode again. - The Azure module includes cmdlets that help you to manage your Azure account in the traditional way. The cmdlets get, create, change, and remove individual resources such as storage accounts, virtual machines, SQL databases, web sites, media services, and cloud services. - The new Azure Resource Manager module, introduced in Azure PowerShell version 0.8.0, lets you manage your resources in an entirely new way. Instead of creating individual resources and trying to use them together, begin by imagining the service you want to create, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. Select a resource group template, including one of dozens in the Azure template gallery, or create your own. Each template provides a model of a complex service, complete with the resources that you need to support the service. Then use the template to create a resource group and its resources, and deploy and manage the related resources as a unit. - You can use Switch-AzureMode to switch between Azure modules as often as you like. To set an Azure module as the default for all sessions, use the Global parameter when switching between modes. - - - - Switch-AzureMode - - Name - - Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required. - - String - - - Global - - Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session. - This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option. - - - - - - - Global - - Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session. - This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - None - - - - - - - - This cmdlet does not generate any output. - - - - - - - - - Switch-AzureMode is introduced in version 0.8.0 of the Azure modules. To get the version of your module, type: (Get-Module <ModuleName>).Version - - - The Switch-AzureMode cmdlet is exported by the AzureProfile module. The AzureProfile module is compatible with both the Azure and AzureResourceManager modules and is imported automatically whenever either module is imported. - - - - - Example 1: Switch to the Azure Resource Manager module - - - - - PS C:\>Switch-AzureMode -Name AzureResourceManager -PS C:\>Switch-AzureMode -Name AzureServiceManagement - - - - - - This command shows you how to switch between modules. The first command uses the Switch-AzureMode cmdlet to switch to the Azure Resource Manager module. The second command uses the Switch-AzureMode cmdlet to switch back to the Azure module. - - When you import either module, the AzureProfile module, which includes commands common to both modules, including Add-AzureAccount, Get-AzureSubscription, and Switch-AzureMode, is imported, too. - - - - - - - - - Example 2: Switch all sessions to the Azure Resource Manager module - - - - - PS C:\>Switch-AzureMode -Name AzureResourceManager -Global - - - - - - This command uses the Global parameter of Switch-AzureMode to switch all Microsoft Azure PowerShell sessions to the Azure Resource Manager module. If you close this session and open an new one, the Azure Resource Manager module is imported by default. - The Global parameter requires administrator permissions. To run this command, start Windows PowerShell with the "Run as administrator" option. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=394398 - - - Azure Resource Manager Cmdlets - - - - - Azure Service Management Cmdlets - - - - - Azure Profile Cmdlets - - - - - - +C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -Certificate $differentCert + + These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription + + + + + + + + + -------------------------- Example 2: Change the service endpoint -------------------------- + + + + PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com" + + This command adds or changes a custom service endpoint for the ContosoEngineering subscription. + + + + + + + + + -------------------------- Example 3: Clear property values -------------------------- + + + + PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering –Certificate $null -ResourceManagerEndpoint $null + + This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings. + + + + + + + + + -------------------------- Example 4: Use an alternate subscription data file -------------------------- + + + + PS C:\> C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01 + + This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397630 + + + Add-AzureAccount + + + + Get-AzureSubscription + + + + Import-AzurePublishSettingsFile + + + + Remove-AzureSubscription + + + + Select-AzureSubscription + + + + + + + + Switch-AzureMode + + Switches between the Azure and Azure Resource Manager modules + + + + + Switch + AzureMode + + + + + The Switch-AzureMode cmdlet switches between the Azure and Azure Resource Manager (AzureResourceManager) modules. These modules are not designed to be used in the same session. To determine which module is in your current session, use the Get-Module cmdlet.NOTE: The AzureResourceManager module is currently in preview. It might not provide the same management capabilities as the Azure module. Beginning in version 0.8,0, the Azure PowerShell installation includes both Azure modules and Azure Profile, a module of commands common to both modules. When you use the Azure PowerShell cmdlets, the Azure and Azure Profile modules are imported into the session by default. To remove the Azure module from the session and import the Azure Resource Manager module, use Switch-AzureMode. And, to switch back to the Azure module, just use Switch-AzureMode again. The Azure module includes cmdlets that help you to manage your Azure account in the traditional way. The cmdlets get, create, change, and remove individual resources such as storage accounts, virtual machines, SQL databases, web sites, media services, and cloud services.The new Azure Resource Manager module, introduced in Azure PowerShell version 0.8.0, lets you manage your resources in an entirely new way. Instead of creating individual resources and trying to use them together, begin by imagining the service you want to create, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. Select a resource group template, including one of dozens in the Azure template gallery, or create your own. Each template provides a model of a complex service, complete with the resources that you need to support the service. Then use the template to create a resource group and its resources, and deploy and manage the related resources as a unit.You can use Switch-AzureMode to switch between Azure modules as often as you like. To set an Azure module as the default for all sessions, use the Global parameter when switching between modes. + + + + Switch-AzureMode + + Name + + Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required. + + String + + + Global + + Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option. + + SwitchParameter + + + + + + Name + + Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required. + + String + + String + + + + + + Global + + Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + None + + + + + + + + + + + + + + Switch-AzureMode is introduced in version 0.8.0 of the Azure modules. To get the version of your module, type: (Get-Module <ModuleName>).Version + + + + + -------------------------- Example 1: Switch to the Azure Resource Manager module -------------------------- + + + + PS C:\>Switch-AzureMode -Name AzureResourceManager +PS C:\>Switch-AzureMode -Name AzureServiceManagement + + This command shows you how to switch between modules. The first command uses the Switch-AzureMode cmdlet to switch to the Azure Resource Manager module. The second command uses the Switch-AzureMode cmdlet to switch back to the Azure module. + + + + When you import either module, the AzureProfile module, which includes commands common to both modules, including Add-AzureAccount, Get-AzureSubscription, and Switch-AzureMode, is imported, too. + + + + + -------------------------- Example 2: Switch all sessions to the Azure Resource Manager module -------------------------- + + + + PS C:\>Switch-AzureMode -Name AzureResourceManager -Global + + This command uses the Global parameter of Switch-AzureMode to switch all Microsoft Azure PowerShell sessions to the Azure Resource Manager module. If you close this session and open an new one, the Azure Resource Manager module is imported by default. + + + + The Global parameter requires administrator permissions. To run this command, start Windows PowerShell with the "Run as administrator" option. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=394398 + + + Azure Resource Manager Cmdlets + + + + Azure Service Management Cmdlets + + + + Azure Profile Cmdlets + + + + + \ No newline at end of file diff --git a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs index 2fcc130d1b68..568efb8365a6 100644 --- a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs @@ -159,7 +159,7 @@ private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSu { var response = client.Subscriptions.Get(); var environment = ProfileClient.GetEnvironmentOrDefault(subscription.Environment); - var account = defaultProfileClient.Profile.Accounts[subscription.Account]; + var account = DefaultProfileClient.Profile.Accounts[subscription.Account]; bool isCert = account.Type == AzureAccount.AccountType.Certificate; PSAzureSubscriptionExtended result = new PSAzureSubscriptionExtended(ConstructPsAzureSubscription(subscription)) @@ -168,18 +168,21 @@ private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSu ActiveDirectoryUserId = subscription.Account, CurrentCoreCount = response.CurrentCoreCount, CurrentHostedServices = response.CurrentHostedServices, - CurrentDnsServers = 0, // TODO: Add to spec - CurrentLocalNetworkSites = 0, // TODO: Add to spec + CurrentDnsServers = response.CurrentDnsServers, + CurrentLocalNetworkSites = response.CurrentLocalNetworkSites, + CurrentStorageAccounts = response.CurrentStorageAccounts, + CurrentVirtualNetworkSites = response.CurrentVirtualNetworkSites, MaxCoreCount = response.MaximumCoreCount, MaxDnsServers = response.MaximumDnsServers, MaxHostedServices = response.MaximumHostedServices, - MaxVirtualNetworkSites = response.MaximumVirtualNetworkSites, + MaxLocalNetworkSites = response.MaximumLocalNetworkSites, MaxStorageAccounts = response.MaximumStorageAccounts, + MaxVirtualNetworkSites = response.MaximumVirtualNetworkSites, ServiceAdminLiveEmailId = response.ServiceAdminLiveEmailId, SubscriptionRealName = response.SubscriptionName, SubscriptionStatus = response.SubscriptionStatus.ToString(), - ServiceEndpoint = environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement).ToString(), - ResourceManagerEndpoint = environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager).ToString(), + ServiceEndpoint = environment.GetEndpoint(AzureEnvironment.Endpoint.ServiceManagement), + ResourceManagerEndpoint = environment.GetEndpoint(AzureEnvironment.Endpoint.ResourceManager), IsDefault = subscription.GetProperty(AzureSubscription.Property.Default) != null, Account = account, Certificate = isCert ? ProfileClient.DataStore.GetCertificate(subscription.Account) : null, diff --git a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs index 8b2d1878dfc3..c2f6304e4259 100644 --- a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs @@ -12,44 +12,76 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; namespace Microsoft.WindowsAzure.Commands.Profile { - [Cmdlet(VerbsCommon.Select, "AzureSubscription", DefaultParameterSetName = "Current")] + [Cmdlet(VerbsCommon.Select, "AzureSubscription", DefaultParameterSetName = SelectSubscriptionByNameParameterSet)] [OutputType(typeof(AzureSubscription))] public class SelectAzureSubscriptionCommand : SubscriptionCmdletBase { + private const string SelectSubscriptionByIdParameterSet = "SelectSubscriptionByIdParameterSet"; + + private const string SelectSubscriptionByNameParameterSet = "SelectSubscriptionByNameParameterSet"; + + private const string SelectDefaultSubscriptionByIdParameterSet = "SelectDefaultSubscriptionByIdParameterSet"; + + private const string SelectDefaultSubscriptionByNameParameterSet = "SelectDefaultSubscriptionByNameParameterSet"; + + private const string NoCurrentSubscriptionParameterSet = "NoCurrentSubscriptionParameterSet"; + + private const string NoDefaultSubscriptionParameterSet = "NoDefaultSubscriptionParameterSet"; + + public SelectAzureSubscriptionCommand() : base(true) { } - [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "Current", HelpMessage = "Name of subscription to select")] - [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "Default", HelpMessage = "Name of subscription to select")] + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + ParameterSetName = SelectSubscriptionByNameParameterSet, HelpMessage = "Name of subscription to select")] + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + ParameterSetName = SelectDefaultSubscriptionByNameParameterSet, HelpMessage = "Name of subscription to select")] [ValidateNotNullOrEmpty] [Alias("Name")] public string SubscriptionName { get; set; } - [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = "Current", HelpMessage = "Name of account to select")] - [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = "Default", HelpMessage = "Name of account to select")] + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + ParameterSetName = SelectSubscriptionByIdParameterSet, HelpMessage = "Id of subscription to select")] + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + ParameterSetName = SelectDefaultSubscriptionByIdParameterSet, HelpMessage = "Id of subscription to select")] + [ValidateNotNullOrEmpty] + [Alias("Id")] + public string SubscriptionId { get; set; } + + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of account to select")] [ValidateNotNullOrEmpty] public string Account { get; set; } - [Parameter(Mandatory = false, ParameterSetName = "Current", HelpMessage = "Switch to set the chosen subscription as the current one")] + [Parameter(Mandatory = false, ParameterSetName = SelectSubscriptionByIdParameterSet, + HelpMessage = "Switch to set the chosen subscription as the current one")] + [Parameter(Mandatory = false, ParameterSetName = SelectSubscriptionByNameParameterSet, + HelpMessage = "Switch to set the chosen subscription as the current one")] public SwitchParameter Current { get; set; } - [Parameter(Mandatory = true, ParameterSetName = "Default", HelpMessage = "Switch to set the chosen subscription as the default one")] + [Parameter(Mandatory = true, ParameterSetName = SelectDefaultSubscriptionByIdParameterSet, + HelpMessage = "Switch to set the chosen subscription as the default one")] + [Parameter(Mandatory = true, ParameterSetName = SelectDefaultSubscriptionByNameParameterSet, + HelpMessage = "Switch to set the chosen subscription as the default one")] public SwitchParameter Default { get; set; } - [Parameter(Mandatory = true, ParameterSetName = "NoCurrent", HelpMessage = "Switch to clear the current subscription")] + [Parameter(Mandatory = true, ParameterSetName = NoCurrentSubscriptionParameterSet, + HelpMessage = "Switch to clear the current subscription")] public SwitchParameter NoCurrent { get; set; } - [Parameter(Mandatory = true, ParameterSetName = "NoDefault", HelpMessage = "Switch to clear the default subscription")] + [Parameter(Mandatory = true, ParameterSetName = NoDefaultSubscriptionParameterSet, + HelpMessage = "Switch to clear the default subscription")] public SwitchParameter NoDefault { get; set; } [Parameter(Mandatory = false)] @@ -59,19 +91,27 @@ public override void ExecuteCmdlet() { switch (ParameterSetName) { - case "Current": + case SelectSubscriptionByNameParameterSet: WriteObject(ProfileClient.SetSubscriptionAsCurrent(SubscriptionName, Account)); break; - case "Default": + case SelectSubscriptionByIdParameterSet: + WriteObject(ProfileClient.SetSubscriptionAsCurrent(SubscriptionIdAsGuid(), Account)); + break; + + case SelectDefaultSubscriptionByNameParameterSet: WriteObject(ProfileClient.SetSubscriptionAsDefault(SubscriptionName, Account)); break; - case "NoCurrent": + case SelectDefaultSubscriptionByIdParameterSet: + WriteObject(ProfileClient.SetSubscriptionAsDefault(SubscriptionIdAsGuid(), Account)); + break; + + case NoCurrentSubscriptionParameterSet: AzureSession.SetCurrentContext(null, null, null); break; - case "NoDefault": + case NoDefaultSubscriptionParameterSet: ProfileClient.ClearDefaultSubscription(); break; } @@ -81,5 +121,15 @@ public override void ExecuteCmdlet() WriteObject(true); } } + + private Guid SubscriptionIdAsGuid() + { + Guid subscriptionIdGuid; + if (!Guid.TryParse(SubscriptionId, out subscriptionIdGuid)) + { + throw new ArgumentException(string.Format(Resources.InvalidGuid, SubscriptionId), "SubscriptionId"); + } + return subscriptionIdGuid; + } } } \ No newline at end of file diff --git a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs index 003369ac429a..3b93419e6e2c 100644 --- a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs @@ -106,7 +106,7 @@ public override void ExecuteCmdlet() AzureEnvironment environment = ProfileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); if (environment == null) { - environment = defaultProfileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); + environment = DefaultProfileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); } if (environment == null) diff --git a/src/Common/Commands.Profile/packages.config b/src/Common/Commands.Profile/packages.config index 8e04ec75e822..8a52e19c1d2d 100644 --- a/src/Common/Commands.Profile/packages.config +++ b/src/Common/Commands.Profile/packages.config @@ -3,10 +3,10 @@ - - - + + + - + \ No newline at end of file diff --git a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs index cdec2f1850f1..2031c893319a 100644 --- a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs +++ b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs @@ -52,19 +52,17 @@ public void TestAutomationConfigureRunbook() [Fact] [Trait(Category.Service, Category.Automation)] + [Trait(Category.RunType, Category.LiveOnly)] public void TestAutomationSuspendAndResumeJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-AutomationSuspendAndResumeJob -runbookPath Resources\\Automation\\Use-WorkflowCheckpointSample.ps1"); } [Fact] [Trait(Category.Service, Category.Automation)] + [Trait(Category.RunType, Category.LiveOnly)] public void TestAutomationStartRunbookOnASchedule() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-AutomationStartRunbookOnASchedule -runbookPath Resources\\Automation\\Test-Workflow.ps1"); } diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj index 3f6db184f558..9ee988dbe225 100644 --- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj +++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj @@ -38,9 +38,9 @@ pdbonly - + False - ..\..\packages\Hydra.HttpRecorder.1.0.5359.24167-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + ..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll ..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -51,13 +51,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -77,39 +77,38 @@ ..\lib\Microsoft.Web.Deployment.dll - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll - False - ..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.1.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll + ..\..\packages\Microsoft.WindowsAzure.Management.WebSites.4.0.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll True False ..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll - - False - ..\..\packages\Hydra.SpecTestSupport.1.0.5359.24167-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + ..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll False @@ -123,13 +122,13 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -171,6 +170,12 @@ + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -261,6 +266,9 @@ PreserveNewest + + + True diff --git a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs index 9dcefadb1e4a..121bba1156f6 100644 --- a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs +++ b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs @@ -49,7 +49,7 @@ public AzurePowerShellCertificateTest(params string[] modules) TestMockSupport.RunningMocked = this.runningMocked; if (this.runningMocked) { - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); string dummyCredentialFile = Path.Combine(Environment.CurrentDirectory, TestCredentialHelper.DefaultCredentialFile); if (!File.Exists(dummyCredentialFile)) { diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs new file mode 100644 index 000000000000..2ccf8513cb62 --- /dev/null +++ b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.Utilities.Common; +using Xunit; +using Xunit.Extensions; + +namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests +{ + public class AddAccountForArmTests : CredentialTestBase + { + public AddAccountForArmTests() : + base(AzureModule.AzureResourceManager) + { + } + + + [Theory] + [Trait(Category.RunType, Category.LiveOnly)] + [InlineData("Test-AddOrgIdWithSingleSubscription")] + [InlineData("Test-NonInteractiveFPOLoginFails")] + [InlineData("Test-MicrosoftAccountNotSupportedForNonInteractiveLogin")] + [InlineData("Test-AddServicePrincipalToEmptyProfile")] + [InlineData("Test-LoginWithUserAndServicePrincipal")] + [InlineData("Test-LoginWithServicePrincipalAndUser")] + [InlineData("Test-ServicePrincipalExclusiveLogout")] + [InlineData("Test-ServicePrincipalLogoutWithUserOnSameSubscription")] + public void RunTests(string testScript) + { + RunPowerShellTest(testScript); + } + } +} diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs new file mode 100644 index 000000000000..fd75b199535b --- /dev/null +++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.ObjectModel; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests +{ + public abstract class CredentialTestBase + { + private readonly CredentialTestHelper helper; + private readonly AzureModule commandMode; + private const string modulePathFormat = @"Resources\CredentialTests\{0}.ps1"; + + protected CredentialTestBase(AzureModule commandMode) + { + helper = new CredentialTestHelper(); + this.commandMode = commandMode; + } + + protected virtual Collection RunPowerShellTest(params string[] scripts) + { + helper.SetupModules(commandMode, + new[] { + "Common", + GetType().Name + }.Select(m => string.Format(modulePathFormat, m)).ToArray()); + + return helper.RunPowerShellTest(scripts); + } + } +} diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs new file mode 100644 index 000000000000..04b590c9d0a0 --- /dev/null +++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs @@ -0,0 +1,113 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests +{ + internal class CredentialTestHelper + { + private List modules; + + public CredentialTestHelper() + { + ProfileClient.DataStore = new MockDataStore(); + // Ignore SSL errors + System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true; + } + + public void SetupModules(AzureModule mode, params string[] testModules) + { + modules = new List(); + switch (mode) + { + case AzureModule.AzureProfile: + modules.Add(@"ServiceManagement\Azure\Azure.psd1"); + modules.Add(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"); + break; + + case AzureModule.AzureServiceManagement: + modules.Add(@"ServiceManagement\Azure\Azure.psd1"); + break; + + case AzureModule.AzureResourceManager: + modules.Add(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"); + break; + + default: + throw new ArgumentException("Unknown command type for testing"); + } + modules.Add("Assert.ps1"); + modules.Add("Common.ps1"); + modules.AddRange(testModules); + } + + public virtual Collection RunPowerShellTest(params string[] scripts) + { + using (var powershell = System.Management.Automation.PowerShell.Create()) + { + SetupPowerShellModules(powershell); + + Collection output = null; + for (int i = 0; i < scripts.Length; ++i) + { + Console.WriteLine(scripts[i]); + powershell.AddScript(scripts[i]); + } + try + { + output = powershell.Invoke(); + + if (powershell.Streams.Error.Count > 0) + { + throw new RuntimeException( + "Test failed due to a non-empty error stream, check the error stream in the test log for more details."); + } + return output; + } + catch (Exception psException) + { + powershell.LogPowerShellException(psException); + throw; + } + finally + { + powershell.LogPowerShellResults(output); + } + } + } + + private void SetupPowerShellModules(System.Management.Automation.PowerShell powershell) + { + powershell.AddScript(string.Format("cd \"{0}\"", Environment.CurrentDirectory)); + + foreach (string moduleName in modules) + { + powershell.AddScript(string.Format("Import-Module \".\\{0}\"", moduleName)); + } + + powershell.AddScript("$VerbosePreference='Continue'"); + powershell.AddScript("$DebugPreference='Continue'"); + powershell.AddScript("$ErrorActionPreference='Stop'"); + powershell.AddScript("Write-Debug \"AZURE_TEST_MODE = $env:AZURE_TEST_MODE\""); + powershell.AddScript("Write-Debug \"TEST_HTTPMOCK_OUTPUT = $env:TEST_HTTPMOCK_OUTPUT\""); + } + } +} diff --git a/src/Common/Commands.ScenarioTest/Resources/CredentialTests/AddAccountForArmTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/CredentialTests/AddAccountForArmTests.ps1 new file mode 100644 index 000000000000..4ceb82347305 --- /dev/null +++ b/src/Common/Commands.ScenarioTest/Resources/CredentialTests/AddAccountForArmTests.ps1 @@ -0,0 +1,172 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +### Helper functions for below tests ### +function Assert-Empty-Profile +{ + Assert-True { (Get-AzureSubscription).Length -eq 0 } "Assumed no subscriptions, but there is at least one" + Assert-True { (Get-AzureAccount).Length -eq 0 } "Assumed no accounts, but there is at least one" +} + +### Add-AzureAccount Scenario Tests for CSM #### + +<# +.SYNOPSIS +Tests that single user account can be used to log in and list resource groups +#> +function Test-AddOrgIdWithSingleSubscription +{ + Assert-Empty-Profile + + # Verify that account can be added and used to access the + # expected subscription + $accountInfo = Get-UserCredentials "OrgIdOneTenantOneSubscription" + + Add-AzureAccount -Credential $accountInfo.Credential -Environment $accountInfo.Environment + + # Is expected subscription added? + $sub = (Get-AzureSubscription)[0] + + # does it have the right subscription id? + Assert-True { $sub.SubscriptionId -eq $accountInfo.ExpectedSubscription } + + # It's set as current account and as default account + Assert-True { $sub.IsCurrent } + Assert-True { $sub.IsDefault } + + # It's using the expected account + Assert-True { $sub.DefaultAccount -eq $accountInfo.UserId } + + # Can we use it to do something? If this passes then we're ok + Get-AzureResourceGroup +} + +<# +.SYNOPSIS +Login with Foreign Principal fails with non-interactive flow with reasonable error message +to output stream. +#> +function Test-NonInteractiveFPOLoginFails +{ + $accountInfo = Get-UserCredentials "OrgIdForeignPrincipal" + Add-AzureAccount -Credential $accountInfo.Credential -Environment $accountInfo.Environment + + Assert-True { (Get-AzureSubscription).Length -eq 0 } "There should be no subscription" +} + +<# +.SYNOPSIS +Attempt to login with Microsoft Account without user interaction fails with +a reasonable message to error stream. +#> +function Test-MicrosoftAccountNotSupportedForNonInteractiveLogin +{ + $accountInfo = Get-UserCredentials MicrosoftId + Assert-ThrowsContains { + Add-AzureAccount -Credential $accountInfo.Credential -Environment $accountInfo.Environment + } "-Credential parameter can only be used with Organization ID credentials" +} + +<# +.SYNOPSIS +Login with service principal with no other accounts +#> +function Test-AddServicePrincipalToEmptyProfile +{ + Assert-Empty-Profile + $accountInfo = Get-UserCredentials ServicePrincipal + Add-AzureAccount -ServicePrincipal -Credential $accountInfo.Credential -Environment $accountInfo.Environment -Tenant $accountInfo.TenantId + + Assert-True { (Get-AzureSubscription).Length -eq 1 } "Subscription was not added" +} + +<# +.SYNOPSIS +Login with user, then SP, SP should be default account +#> +function Test-LoginWithUserAndServicePrincipal +{ + Assert-Empty-Profile + $userAccount = Get-UserCredentials OrgIdOneTenantOneSubscription + $servicePrincipalAccount = Get-UserCredentials ServicePrincipal + + Add-AzureAccount -Credential $userAccount.Credential -Environment $accountInfo.Environment + Add-AzureAccount -ServicePrincipal -Credential $servicePrincipalAccount.Credential -Environment $servicePrincipalAccount.Environment -Tenant $servicePrincipalAccount.TenantId + + $sub = (Get-AzureSubscription)[0] + Assert-True { $sub.DefaultAccount -eq $servicePrincipalAccount.UserId } +} + +<# +.SYNOPSIS +Login with service principal, then user, user should be default account +#> +function Test-LoginWithServicePrincipalAndUser +{ + Assert-Empty-Profile + $userAccount = Get-UserCredentials OrgIdOneTenantOneSubscription + $servicePrincipalAccount = Get-UserCredentials ServicePrincipal + + Add-AzureAccount -ServicePrincipal -Credential $servicePrincipalAccount.Credential -Environment $servicePrincipalAccount.Environment -Tenant $servicePrincipalAccount.TenantId + Add-AzureAccount -Credential $userAccount.Credential -Environment $accountInfo.Environment + + $sub = (Get-AzureSubscription)[0] + Assert-True { $sub.DefaultAccount -eq $userAccount.UserId } +} + +<# +.SYNOPSIS +Login then logout should result in exclusive subscription being removed +#> +function Test-ServicePrincipalExclusiveLogout +{ + Assert-Empty-Profile + $servicePrincipalAccount = Get-UserCredentials ServicePrincipal + + Add-AzureAccount -ServicePrincipal -Credential $servicePrincipalAccount.Credential -Environment $servicePrincipalAccount.Environment -Tenant $servicePrincipalAccount.TenantId + + Assert-True { (Get-AzureSubscription).Length -eq 1 } + + Remove-AzureAccount $servicePrincipalAccount.UserId -Force + + Assert-True { (Get-AzureSubscription).Length -eq 0 } + Assert-True { (Get-AzureAccount).Length -eq 0 } +} + +<# +.SYNOPSIS +Login Service Principal and User, then logout Service principal. +#> +function Test-ServicePrincipalLogoutWithUserOnSameSubscription +{ + Assert-Empty-Profile + Assert-Empty-Profile + + $userAccount = Get-UserCredentials OrgIdOneTenantOneSubscription + $servicePrincipalAccount = Get-UserCredentials ServicePrincipal + + Add-AzureAccount -Credential $userAccount.Credential -Environment $accountInfo.Environment + Add-AzureAccount -ServicePrincipal -Credential $servicePrincipalAccount.Credential -Environment $servicePrincipalAccount.Environment -Tenant $servicePrincipalAccount.TenantId + + $sub = (Get-AzureSubscription)[0] + Assert-True { (Get-AzureSubscription).Length -eq 1 } + Assert-True { $sub.DefaultAccount -eq $servicePrincipalAccount.UserId } + + Remove-AzureAccount $servicePrincipalAccount.UserId -Force + + $sub = (Get-AzureSubscription)[0] + Assert-True { (Get-AzureSubscription).Length -eq 1 } + Assert-True { $sub.DefaultAccount -eq $userAccount.UserId } + Assert-True { (Get-AzureAccount).Length -eq 1 } +} diff --git a/src/Common/Commands.ScenarioTest/Resources/CredentialTests/Common.ps1 b/src/Common/Commands.ScenarioTest/Resources/CredentialTests/Common.ps1 new file mode 100644 index 000000000000..12d9ed9d8de7 --- /dev/null +++ b/src/Common/Commands.ScenarioTest/Resources/CredentialTests/Common.ps1 @@ -0,0 +1,96 @@ +# ---------------------------------------------------------------------------------- +# +# 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 + +Function to get user name and password for a variety of different account types +#> + +function Get-UserCredentials ([string] $userType) +{ + # Force load of testing assembly to get connection string parser + [System.Reflection.Assembly]::Load("Microsoft.WindowsAzure.Testing") + + function get-from-environment ($varName) { + if (-not (test-path "Env:\$varName")) { + throw "Required environment variable $varName is not set" + } + (get-childitem "Env:\$varName").Value + } + + function credential-from-username-password ($user, $password) + { + $ss = ConvertTo-SecureString -String $password -AsPlainText -Force + New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $user, $ss + } + + function fields-from-connection-string ([string] $cs) + { + [Microsoft.WindowsAzure.Testing.TestEnvironmentFactory]::ParseConnectionString($cs) + } + + function credential-from-fields ($fields) + { + $user = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::UserId] + $password = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::Password] + credential-from-username-password $user $password + } + + function environment-from-fields ($fields) + { + $baseUri = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::BaseUri] + if (($baseUri -eq $null) -or ($baseUri -eq "")) { + "AzureCloud" + } else { + $envs = (Get-AzureEnvironment | ? { $_.ServiceManagement -eq $baseUri }) + if ($envs.Length -eq 1) { + $envs[0].Name + } else { + throw "Could not find environment matching $baseUri" + } + } + } + + function account-info-from-connection-string ([string] $cs) + { + $fields = fields-from-connection-string $cs + @{ + UserId = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::UserId]; + Credential = (credential-from-fields $fields); + Environment = (environment-from-fields $fields); + ExpectedSubscription = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::SubscriptionId]; + TenantId = $fields[[Microsoft.WindowsAzure.Testing.ConnectionStringFields]::AADTenant] + } + } + + function account-info-from-environment-var ([string] $envvar) { + $cs = get-from-environment $envvar + account-info-from-connection-string $cs + } + + $typeHandlers = @{ + OrgIdOneTenantOneSubscription = { account-info-from-environment-var AZURE_ORGID_ONE_TENANT_ONE_SUBSCRIPTION }; + OrgIdForeignPrincipal = { account-info-from-environment-var AZURE_ORGID_FPO }; + MicrosoftId = { account-info-from-environment-var AZURE_LIVEID }; + ServicePrincipal = { account-info-from-environment-var AZURE_SERVICE_PRINCIPAL } + } + + $handler = $typeHandlers[$userType] + if ($handler -ne $Null) { + & $handler + } else { + throw "Unknown credential type $userType" + } +} diff --git a/src/Common/Commands.ScenarioTest/Resources/RunWebsitesTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/RunWebsitesTests.ps1 index 6ea37da32147..e7c26bb39a64 100644 --- a/src/Common/Commands.ScenarioTest/Resources/RunWebsitesTests.ps1 +++ b/src/Common/Commands.ScenarioTest/Resources/RunWebsitesTests.ps1 @@ -12,8 +12,8 @@ # limitations under the License. # ---------------------------------------------------------------------------------- -.".\\Common.ps1" -.".\\Assert.ps1" +.".\\..\\Common.ps1" +.".\\..\\Assert.ps1" .".\\Websites\\Common.ps1" .".\\Websites\\WebsitesTests.ps1" $global:totalCount = 0; @@ -22,6 +22,7 @@ $global:passedTests = @() $global:failedTests = @() $global:times = @{} Add-Type -Path "..\\Microsoft.Azure.Utilities.HttpRecorder.dll" +Add-Type -Path "..\\Microsoft.WindowsAzure.Testing.dll" [Microsoft.Azure.Utilities.HttpRecorder.HttpMockServer]::Initialize("foo", "bar") function Run-TestProtected { diff --git a/src/Common/Commands.ScenarioTest/Resources/TrafficManager/TrafficManagerTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/TrafficManager/TrafficManagerTests.ps1 index 57af83430420..eb9869856fbf 100644 --- a/src/Common/Commands.ScenarioTest/Resources/TrafficManager/TrafficManagerTests.ps1 +++ b/src/Common/Commands.ScenarioTest/Resources/TrafficManager/TrafficManagerTests.ps1 @@ -256,8 +256,7 @@ function Test-AddAzureTrafficManagerEndpointNoWeightLocation Assert-AreEqual "www.microsoft.com" $updatedProfile.Endpoints[0].DomainName Assert-AreEqual Enabled $updatedProfile.Endpoints[0].Status # Test for default values - # Commented out until DNS32 is deployed in PROD. - # Assert-AreEqual 1 $updatedProfile.Endpoints[0].Weight + Assert-AreEqual 1 $updatedProfile.Endpoints[0].Weight Assert-Null $updatedProfile.Endpoints[0].Location Assert-True { $endpointMonitoringStatus -eq "CheckingEndpoint" -or $endpointMonitoringStatus -eq "Online" } "Assert failed as endpoint MonitoringStatus has an unexpected value: $endpointMonitoringStatus" } @@ -277,7 +276,7 @@ function Test-AddAzureTrafficManagerEndpointNoMinChildEndpoints # Assert Assert-AreEqual 1 $updatedProfile.Endpoints.Count - Assert-AreEqual 0 $updatedProfile.Endpoints[0].MinChildEndpoints + Assert-AreEqual $null $updatedProfile.Endpoints[0].MinChildEndpoints } <# @@ -343,8 +342,7 @@ function Test-SetAzureTrafficManagerEndpointUpdateWeightLocation $createdProfile = New-Profile $profileName | Add-AzureTrafficManagerEndpoint -DomainName "www.microsoft.com" -Type Any -Status Enabled | Set-AzureTrafficManagerProfile # Assert - # Commented out until DNS32 is deployed in PROD. - # Assert-AreEqual 1 $createdProfile.Endpoints[0].Weight + Assert-AreEqual 1 $createdProfile.Endpoints[0].Weight Assert-Null $createdProfile.Endpoints[0].Location #Test diff --git a/src/Common/Commands.ScenarioTest/Resources/Websites/Common.ps1 b/src/Common/Commands.ScenarioTest/Resources/Websites/Common.ps1 index b786d2453823..8511af66b63d 100644 --- a/src/Common/Commands.ScenarioTest/Resources/Websites/Common.ps1 +++ b/src/Common/Commands.ScenarioTest/Resources/Websites/Common.ps1 @@ -34,13 +34,14 @@ Gets a valid website location, given a preferred location function Get-WebsiteDefaultLocation { param([string] $defaultLoc = $null) + $location = $null if ($global:DefaultLocation -ne $null) { $location = $global:DefaultLocation } else { - $locations = Get-AzureWebsiteLocation + $locations = @(Get-AzureWebsiteLocation) $locations | % { if ($_.ToLower() -eq $defaultLoc) { @@ -56,6 +57,24 @@ function Get-WebsiteDefaultLocation return $location; } +<# +.SYNOPSIS +Gets a valid storage location +#> +function Get-StorageDefaultLocation +{ + $location = $null + $locations = @(Get-AzureLocation) + $locations | % { + if ($_.AvailableServices.Contains("Storage")) + { + $location = $_.Name + } + } + + return $location; +} + <# .SYNOPSIS Gets valid website job name. @@ -344,7 +363,7 @@ function Test-CreateAndRemoveAJob # Test If ($webSiteJobType -eq "Continuous") { - Write-Host "Wait and retry to work around a known limitation, that a newly created job might not be immiediately available." + Write-Host "Wait and retry to work around a known limitation, that a newly created job might not be immediately available." $waitScriptBlock = { Stop-AzureWebsiteJob -Name $webSiteName -JobName $webSiteJobName -PassThru } Wait-WebsiteFunction $waitScriptBlock $TRUE } diff --git a/src/Common/Commands.ScenarioTest/Resources/Websites/WebsitesTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/Websites/WebsitesTests.ps1 index 57a04f7a5c31..02bc4cd965d9 100644 --- a/src/Common/Commands.ScenarioTest/Resources/Websites/WebsitesTests.ps1 +++ b/src/Common/Commands.ScenarioTest/Resources/Websites/WebsitesTests.ps1 @@ -341,8 +341,7 @@ function Test-EnableApplicationDiagnosticOnTableStorage # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation @@ -408,8 +407,7 @@ function Test-ReconfigureStorageAppDiagnostics $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() $newStorageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation New-AzureStorageAccount -ServiceName $newStorageName -Location $defaultLocation @@ -453,8 +451,7 @@ function Test-DisableApplicationDiagnosticOnTableStorage # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation Enable-AzureWebsiteApplicationDiagnostic -Name $name -Storage -LogLevel Warning -StorageAccountName $storageName @@ -501,8 +498,7 @@ function Test-DisableApplicationDiagnosticOnTableStorageAndFile # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation Enable-AzureWebsiteApplicationDiagnostic -Name $name -Storage -LogLevel Warning -StorageAccountName $storageName @@ -530,8 +526,7 @@ function Test-DisablesFileOnly # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation Enable-AzureWebsiteApplicationDiagnostic -Name $name -Storage -LogLevel Warning -StorageAccountName $storageName @@ -559,8 +554,7 @@ function Test-DisablesStorageOnly # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation Enable-AzureWebsiteApplicationDiagnostic -Name $name -File -LogLevel Verbose @@ -588,8 +582,7 @@ function Test-DisablesBothByDefault # Setup $name = Get-WebsiteName $storageName = $(Get-WebsiteName).ToLower() - $locations = Get-AzureLocation - $defaultLocation = $locations[0].Name + $defaultLocation = Get-StorageDefaultLocation New-AzureWebsite $name New-AzureStorageAccount -ServiceName $storageName -Location $defaultLocation Enable-AzureWebsiteApplicationDiagnostic -Name $name -Storage -LogLevel Warning -StorageAccountName $storageName @@ -955,7 +948,9 @@ function Test-RemoveNonExistingAzureWebsiteJob New-AzureWebsite $webSiteName # Test - Assert-ThrowsContains {Remove-AzureWebsiteJob -Name $webSiteName -JobName $nonExistingWebSiteJobName -JobType Triggered –Force} "not found." + Remove-AzureWebsiteJob -Name $webSiteName -JobName $nonExistingWebSiteJobName -JobType Triggered –Force + + Assert-True { $true } } ########################################################################### Get-AzureWebsiteJob Scenario Tests ########################################################################### @@ -996,8 +991,8 @@ function Test-GettingWebsiteJobs Assert-AreEqual $job1 $webjob.JobName - # Test does not throw exception with non-existing job - Get-AzureWebsiteJob -Name $webSiteName -JobType Triggered -JobName "foo" + # Test throws exception with non-existing job + Assert-Throws { Get-AzureWebsiteJob -Name $webSiteName -JobType Triggered -JobName "foo" } "Not Found" Assert-True { $true } } diff --git a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTests.cs b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTests.cs index a7ddcc97d865..c428cf0427cd 100644 --- a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTests.cs +++ b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTests.cs @@ -22,49 +22,45 @@ public class WebsitesTests : WebsitesTestsBase #region Remove-AzureWebsite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestRemoveAzureWebsiteWithInvalidCredentials() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-WithInvalidCredentials {Remove-AzureWebsite $(Get-WebsiteName) -Force }} 'TestRemoveAzureWebsiteWithInvalidCredentials'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestRemoveAzureServiceWithValidName() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveAzureServiceWithValidName} 'TestRemoveAzureServiceWithValidName'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestRemoveAzureServiceWithNonExistingName() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveAzureServiceWithNonExistingName} 'TestRemoveAzureServiceWithNonExistingName'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestRemoveAzureServiceWithWhatIf() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveAzureServiceWithWhatIf} 'TestRemoveAzureServiceWithWhatIf'"); } @@ -73,53 +69,48 @@ public void TestRemoveAzureServiceWithWhatIf() #region Get-AzureWebsiteLog Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLogWithInvalidCredentials() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-WithInvalidCredentials { Get-AzureWebsiteLog -Tail -Name $(Get-WebsiteName) }} 'TestGetAzureWebsiteLogWithInvalidCredentials'"); } [Fact(Skip = "TODO: Fix the failing tests.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLogTail() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-GetAzureWebsiteLogTail"); } [Fact(Skip = "TODO: Fix the failing tests.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLogTailPath() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-GetAzureWebsiteLogTailPath"); } [Fact(Skip = "TODO: Fix the failing tests.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLogTailUriEncoding() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-GetAzureWebsiteLogTailUriEncoding"); } [Fact(Skip = "TODO: Fix the failing tests.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLogListPath() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-GetAzureWebsiteLogListPath"); } @@ -128,26 +119,24 @@ public void TestGetAzureWebsiteLogListPath() #region Get-AzureWebsite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GetAzureWebsite} 'TestGetAzureWebsite'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteWithStoppedSite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GetAzureWebsiteWithStoppedSite} 'TestGetAzureWebsiteWithStoppedSite'"); } @@ -156,14 +145,13 @@ public void TestGetAzureWebsiteWithStoppedSite() #region Start-AzureWebsite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestStartAzureWebsite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-StartAzureWebsite} 'TestStartAzureWebsite'"); } @@ -172,14 +160,13 @@ public void TestStartAzureWebsite() #region Stop-AzureWebsite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestStopAzureWebsite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-StopAzureWebsite} 'TestStopAzureWebsite'"); } @@ -188,14 +175,13 @@ public void TestStopAzureWebsite() #region Restart-AzureWebsite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestRestartAzureWebsite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RestartAzureWebsite} 'TestRestartAzureWebsite'"); } @@ -204,54 +190,50 @@ public void TestRestartAzureWebsite() #region Enable-AzureWebsiteApplicationDiagnostic Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestEnableApplicationDiagnosticOnTableStorage() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-EnableApplicationDiagnosticOnTableStorage} 'TestEnableApplicationDiagnosticOnTableStorage'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Environment, Category.WAPack)] public void TestEnableApplicationDiagnosticOnFileSystem() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-EnableApplicationDiagnosticOnFileSystem} 'TestEnableApplicationDiagnosticOnFileSystem'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestUpdateTheDiagnositicLogLevel() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-UpdateTheDiagnositicLogLevel} 'TestUpdateTheDiagnositicLogLevel'"); } + [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestReconfigureStorageAppDiagnostics() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-ReconfigureStorageAppDiagnostics} 'TestReconfigureStorageAppDiagnostics'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestThrowsForInvalidStorageAccountName() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-ThrowsForInvalidStorageAccountName} 'TestThrowsForInvalidStorageAccountName'"); } @@ -260,63 +242,57 @@ public void TestThrowsForInvalidStorageAccountName() #region Disable-AzureWebsiteApplicationDiagnostic Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestDisableApplicationDiagnosticOnTableStorage() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisableApplicationDiagnosticOnTableStorage} 'TestDisableApplicationDiagnosticOnTableStorage'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestDisableApplicationDiagnosticOnFileSystem() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisableApplicationDiagnosticOnFileSystem} 'TestDisableApplicationDiagnosticOnFileSystem'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestDisableApplicationDiagnosticOnTableStorageAndFile() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisableApplicationDiagnosticOnTableStorageAndFile} 'TestDisableApplicationDiagnosticOnTableStorageAndFile'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestDisablesFileOnly() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisablesFileOnly} 'TestDisablesFileOnly'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestDisablesStorageOnly() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisablesStorageOnly} 'TestDisablesStorageOnly'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestDisablesBothByDefault() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-DisablesBothByDefault} 'TestDisablesBothByDefault'"); } @@ -325,61 +301,56 @@ public void TestDisablesBothByDefault() #region Get-AzureWebsiteLocation Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebsiteLocation() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GetAzureWebsiteLocation} 'TestGetAzureWebsiteLocation'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestKuduAppsExpressApp() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-KuduAppsExpressApp} 'TestKuduAppsExpressApp'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestGetAzureWebSiteListNone() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GetAzureWebSiteListNone} 'TestGetAzureWebSiteListNone'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestAzureWebSiteListAll() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-AzureWebSiteListAll} 'TestAzureWebSiteListAll'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestAzureWebSiteShowSingleSite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-AzureWebSiteShowSingleSite} 'TestAzureWebSiteShowSingleSite'"); } @@ -388,34 +359,31 @@ public void TestAzureWebSiteShowSingleSite() #region AzureWebSiteGitHubAllParms Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestNewAzureWebSiteMultipleCreds() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-NewAzureWebSiteMultipleCreds} 'TestNewAzureWebSiteMultipleCreds'"); } [Fact (Skip = "TODO: Fix failing test.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestNewAzureWebSiteGitHubAllParms() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Test-NewAzureWebSiteGitHubAllParms"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestNewAzureWebSiteUpdateGit() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-NewAzureWebSiteUpdateGit} 'TestNewAzureWebSiteUpdateGit'"); } #endregion @@ -423,14 +391,13 @@ public void TestNewAzureWebSiteUpdateGit() #region Set-AzureWebSite Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] [Trait(Category.Environment, Category.WAPack)] public void TestSetAzureWebsite() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-SetAzureWebsite} 'TestSetAzureWebsite'"); } @@ -439,72 +406,65 @@ public void TestSetAzureWebsite() #region WebJob Scenario Tests [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestRemoveAzureWebsiteTriggeredJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveAzureWebsiteTriggeredJob} 'TestRemoveAzureWebsiteTriggeredJob'"); } [Fact (Skip = "TODO: Fix failing test.")] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestRemoveAzureWebsiteContinuousJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveAzureWebsiteContinuousJob} 'TestRemoveAzureWebsiteContinuousJob'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestRemoveNonExistingAzureWebsiteJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-RemoveNonExistingAzureWebsiteJob} 'TestRemoveNonExistingAzureWebsiteJob'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestStartAzureWebsiteTriggeredJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-StartAzureWebsiteTriggeredJob} 'TestStartAzureWebsiteTriggeredJob'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestStartAndStopAzureWebsiteContinuousJob() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-StartAndStopAzureWebsiteContinuousJob} 'TestStartAndStopAzureWebsiteContinuousJob'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void GettingWebsiteJobs() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GettingWebsiteJobs} 'GettingWebsiteJobs'"); } [Fact] + [Trait(Category.RunType, Category.LiveOnly)] [Trait(Category.AcceptanceType, Category.BVT)] [Trait(Category.Service, Category.Websites)] public void TestGetsJobHistory() { - if (XUnitHelper.IsCheckin()) return; - RunPowerShellTest("Run-WebsiteTest {Test-GettingJobHistory} 'TestGetsJobHistory'"); } diff --git a/src/Common/Commands.ScenarioTest/packages.config b/src/Common/Commands.ScenarioTest/packages.config index 1454eaf51df2..7220e774f145 100644 --- a/src/Common/Commands.ScenarioTest/packages.config +++ b/src/Common/Commands.ScenarioTest/packages.config @@ -1,22 +1,22 @@  - - + + - - - + + + - - - - + + + + diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj index a1f56142a4cd..d49787ff0e15 100644 --- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj +++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj @@ -38,16 +38,15 @@ - False - ..\..\packages\Hydra.HttpRecorder.1.0.5359.24167-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + ..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -61,17 +60,17 @@ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - + False - ..\..\packages\Hydra.SpecTestSupport.1.0.5359.24167-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + ..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -85,14 +84,13 @@ - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll - True + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/Common/Commands.ScenarioTests.Common/Constants.cs b/src/Common/Commands.ScenarioTests.Common/Constants.cs index d79b4462c0d7..8bbf163f0c4f 100644 --- a/src/Common/Commands.ScenarioTests.Common/Constants.cs +++ b/src/Common/Commands.ScenarioTests.Common/Constants.cs @@ -50,6 +50,8 @@ public class Category public const string Scheduler = "Scheduler"; + public const string Network = "Network"; + // Owners public const string OneSDK = "OneSDK"; @@ -62,6 +64,12 @@ public class Category public const string CheckIn = "CheckIn"; + // Run Type + public const string RunType = "RunType"; + public const string LiveOnly = "LiveOnly"; + //Uncomment when we need to tag on only run under mock + //public const string MockedOnly = "MockedOnly"; + // Environment public const string Environment = "Environment"; diff --git a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs index 04b9d9aff4ae..e0839b2350cd 100644 --- a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs +++ b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs @@ -16,6 +16,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Management.Automation; +using System.Security.Cryptography.X509Certificates; using Microsoft.Azure.Utilities.HttpRecorder; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; @@ -80,45 +81,18 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) TestEnvironment csmEnvironment = new CSMTestEnvironmentFactory().GetTestEnvironment(); TestEnvironment currentEnvironment = (mode == AzureModule.AzureResourceManager ? csmEnvironment : rdfeEnvironment); - string jwtToken; - - if (mode == AzureModule.AzureResourceManager) - { - jwtToken = csmEnvironment.Credentials != null ? - ((TokenCloudCredentials)csmEnvironment.Credentials).Token : null; - } - else if (mode == AzureModule.AzureServiceManagement) - { - jwtToken = rdfeEnvironment.Credentials != null ? - ((TokenCloudCredentials)rdfeEnvironment.Credentials).Token : null; - } - else + if (currentEnvironment.UserName == null) { - throw new ArgumentException("Invalid module mode."); + currentEnvironment.UserName = "fakeuser@microsoft.com"; } - SetEndpointsToDefaults(rdfeEnvironment, csmEnvironment); - - /* - WindowsAzureProfile.Instance.TokenProvider = new FakeAccessTokenProvider( - jwtToken, - csmEnvironment.UserName, - csmEnvironment.AuthorizationContext == null ? null : csmEnvironment.AuthorizationContext.TenatId); - */ - if (HttpMockServer.GetCurrentMode() == HttpRecorderMode.Playback) - { - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); - } - else - { - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(currentEnvironment.UserName, jwtToken); - } + SetAuthenticationFactory(mode, rdfeEnvironment, csmEnvironment); AzureEnvironment environment = new AzureEnvironment { Name = testEnvironmentName }; Debug.Assert(currentEnvironment != null); - environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory] = currentEnvironment.ActiveDirectoryEndpoint.AbsoluteUri; - environment.Endpoints[AzureEnvironment.Endpoint.Gallery] = currentEnvironment.GalleryUri.AbsoluteUri; + environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory] = currentEnvironment.Endpoints.AADAuthUri.AbsoluteUri; + environment.Endpoints[AzureEnvironment.Endpoint.Gallery] = currentEnvironment.Endpoints.GalleryUri.AbsoluteUri; if (csmEnvironment != null) { @@ -130,87 +104,96 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) environment.Endpoints[AzureEnvironment.Endpoint.ServiceManagement] = rdfeEnvironment.BaseUri.AbsoluteUri; } - if (currentEnvironment.UserName == null) - { - currentEnvironment.UserName = "fakeuser@microsoft.com"; - } - if (!client.Profile.Environments.ContainsKey(testEnvironmentName)) { client.AddOrSetEnvironment(environment); } - testSubscription = new AzureSubscription() + if (currentEnvironment.SubscriptionId != null) { - Id = new Guid(currentEnvironment.SubscriptionId), - Name = testSubscriptionName, - Environment = testEnvironmentName, - Account = currentEnvironment.UserName, - Properties = new Dictionary + testSubscription = new AzureSubscription() { - { AzureSubscription.Property.Default, "True"}, - { AzureSubscription.Property.StorageAccount, Environment.GetEnvironmentVariable("AZURE_STORAGE_ACCOUNT")}, - } - }; + Id = new Guid(currentEnvironment.SubscriptionId), + Name = testSubscriptionName, + Environment = testEnvironmentName, + Account = currentEnvironment.UserName, + Properties = new Dictionary + { + {AzureSubscription.Property.Default, "True"}, + { + AzureSubscription.Property.StorageAccount, + Environment.GetEnvironmentVariable("AZURE_STORAGE_ACCOUNT") + }, + } + }; - testAccount = new AzureAccount() - { - Id = currentEnvironment.UserName, - Type = AzureAccount.AccountType.User, - Properties = new Dictionary + testAccount = new AzureAccount() { - { AzureAccount.Property.Subscriptions, currentEnvironment.SubscriptionId}, - } - }; + Id = currentEnvironment.UserName, + Type = AzureAccount.AccountType.User, + Properties = new Dictionary + { + {AzureAccount.Property.Subscriptions, currentEnvironment.SubscriptionId}, + } + }; - client.Profile.Subscriptions[testSubscription.Id] = testSubscription; - client.Profile.Accounts[testAccount.Id] = testAccount; - client.SetSubscriptionAsCurrent(testSubscription.Name, testSubscription.Account); + client.Profile.Subscriptions[testSubscription.Id] = testSubscription; + client.Profile.Accounts[testAccount.Id] = testAccount; + client.SetSubscriptionAsCurrent(testSubscription.Name, testSubscription.Account); + } } - private void SetEndpointsToDefaults(TestEnvironment rdfeEnvironment, TestEnvironment csmEnvironment) + private void SetAuthenticationFactory(AzureModule mode, TestEnvironment rdfeEnvironment, TestEnvironment csmEnvironment) { - if (rdfeEnvironment != null) - { - if (rdfeEnvironment.BaseUri == null) - { - rdfeEnvironment.BaseUri = new Uri(AzureEnvironmentConstants.AzureServiceEndpoint); - } + string jwtToken = null; + X509Certificate2 certificate = null; + TestEnvironment currentEnvironment = (mode == AzureModule.AzureResourceManager ? csmEnvironment : rdfeEnvironment); - if (rdfeEnvironment.GalleryUri == null) + if (mode == AzureModule.AzureServiceManagement) + { + if (rdfeEnvironment.Credentials is TokenCloudCredentials) { - rdfeEnvironment.GalleryUri = new Uri(AzureEnvironmentConstants.GalleryEndpoint); + jwtToken = ((TokenCloudCredentials)rdfeEnvironment.Credentials).Token; } - - if (rdfeEnvironment.ActiveDirectoryEndpoint == null) + if (rdfeEnvironment.Credentials is CertificateCloudCredentials) { - rdfeEnvironment.ActiveDirectoryEndpoint = new Uri(AzureEnvironmentConstants.AzureActiveDirectoryEndpoint); + certificate = ((CertificateCloudCredentials)rdfeEnvironment.Credentials).ManagementCertificate; } } - - if (csmEnvironment != null) + else { - if (csmEnvironment.BaseUri == null) + if (csmEnvironment.Credentials is TokenCloudCredentials) { - csmEnvironment.BaseUri = new Uri(AzureEnvironmentConstants.AzureResourceManagerEndpoint); + jwtToken = ((TokenCloudCredentials)csmEnvironment.Credentials).Token; } - - if (csmEnvironment.GalleryUri == null) + if (csmEnvironment.Credentials is CertificateCloudCredentials) { - csmEnvironment.GalleryUri = new Uri(AzureEnvironmentConstants.GalleryEndpoint); + certificate = ((CertificateCloudCredentials)csmEnvironment.Credentials).ManagementCertificate; } + } - if (csmEnvironment.ActiveDirectoryEndpoint == null) - { - csmEnvironment.ActiveDirectoryEndpoint = new Uri(AzureEnvironmentConstants.AzureActiveDirectoryEndpoint); - } + + if (jwtToken != null) + { + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(currentEnvironment.UserName, + jwtToken); + } + else if (certificate != null) + { + AzureSession.AuthenticationFactory = new MockCertificateAuthenticationFactory(currentEnvironment.UserName, + certificate); } } public void SetupModules(AzureModule mode, params string[] modules) { this.modules = new List(); - if (mode == AzureModule.AzureServiceManagement) + if (mode == AzureModule.AzureProfile) + { + this.modules.Add(@"ServiceManagement\Azure\Azure.psd1"); + this.modules.Add(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"); + } + else if (mode == AzureModule.AzureServiceManagement) { this.modules.Add(@"ServiceManagement\Azure\Azure.psd1"); } diff --git a/src/Common/Commands.ScenarioTests.Common/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config index 5a3080d3db01..74b7e84aa470 100644 --- a/src/Common/Commands.ScenarioTests.Common/packages.config +++ b/src/Common/Commands.ScenarioTests.Common/packages.config @@ -1,13 +1,13 @@  - - + + - - - + + + diff --git a/src/Local.testsettings b/src/Local.testsettings index b644595dd705..9a47a8448f48 100644 --- a/src/Local.testsettings +++ b/src/Local.testsettings @@ -4,6 +4,7 @@ + diff --git a/src/Local.x64.testsettings b/src/Local.x64.testsettings index f0ea158dda69..23d9aa57b88e 100644 --- a/src/Local.x64.testsettings +++ b/src/Local.x64.testsettings @@ -3,6 +3,7 @@ These are default test settings for a local test run under x64 architecture. + diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln index f188d1ea3bd9..2d9218889c15 100644 --- a/src/ResourceManager.sln +++ b/src/ResourceManager.sln @@ -29,6 +29,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.Comm EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Sql", "ResourceManager\Sql\Commands.Sql\Commands.Sql.csproj", "{69ED499E-6F3C-488F-86B8-B74CFDA4D47E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.DataFactories", "ResourceManager\DataFactories\Commands.DataFactories\Commands.DataFactories.csproj", "{9577252E-0A6B-4D61-86E8-95F7F309A987}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.DataFactories.Test", "ResourceManager\DataFactories\Commands.DataFactories.Test\Commands.DataFactories.Test.csproj", "{D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache", "ResourceManager\RedisCache\Commands.RedisCache\Commands.RedisCache.csproj", "{C972E3EF-4461-4758-BA31-93E0947B1253}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache.Test", "ResourceManager\RedisCache\Commands.RedisCache.Test\Commands.RedisCache.Test.csproj", "{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -71,6 +79,22 @@ Global {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Debug|Any CPU.Build.0 = Debug|Any CPU {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Release|Any CPU.ActiveCfg = Release|Any CPU {69ED499E-6F3C-488F-86B8-B74CFDA4D47E}.Release|Any CPU.Build.0 = Release|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9577252E-0A6B-4D61-86E8-95F7F309A987}.Release|Any CPU.Build.0 = Release|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B}.Release|Any CPU.Build.0 = Release|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C972E3EF-4461-4758-BA31-93E0947B1253}.Release|Any CPU.Build.0 = Release|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -79,5 +103,7 @@ Global {3B48A77B-5956-4A62-9081-92BA04B02B27} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {4C2FE49A-09E1-4979-AD46-CD64FD04C8F7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {C1BDA476-A5CC-4394-914D-48B0EC31A710} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs new file mode 100644 index 000000000000..bb477cdcd0cd --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class GetBatchAccountCommandTests + { + private GetBatchAccountCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchAccountCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchAccountCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchAccountsTest() + { + List pipelineOutput = new List(); + + string accountName01 = "account01"; + string resourceGroup = "resourceGroup"; + AccountResource accountResource01 = BatchTestHelpers.CreateAccountResource(accountName01, resourceGroup); + string accountName02 = "account02"; + AccountResource accountResource02 = BatchTestHelpers.CreateAccountResource(accountName02, resourceGroup); + BatchAccountContext expected01 = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource01); + BatchAccountContext expected02 = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource02); + + batchClientMock.Setup(b => b.ListAccounts(resourceGroup, null)).Returns(new List() { expected01, expected02 }); + + cmdlet.AccountName = null; + cmdlet.ResourceGroupName = resourceGroup; + cmdlet.Tag = null; + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected01), Times.Once()); + commandRuntimeMock.Verify(r => r.WriteObject(expected02), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchAccountTest() + { + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup); + BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource); + batchClientMock.Setup(b => b.GetAccount(resourceGroup, accountName)).Returns(expected); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once()); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs new file mode 100644 index 000000000000..8aa149ab7dd0 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class GetBatchAccountKeysCommandTests + { + private GetBatchAccountKeysCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchAccountKeysCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchAccountKeysCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchAccountKeysTest() + { + string primaryKey = "pKey"; + string secondaryKey = "sKey"; + + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup); + BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource); + expected.PrimaryAccountKey = primaryKey; + expected.SecondaryAccountKey = secondaryKey; + + batchClientMock.Setup(b => b.ListKeys(resourceGroup, accountName)).Returns(expected); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once()); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs new file mode 100644 index 000000000000..0d53433eccb9 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs @@ -0,0 +1,63 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class NewBatchAccountCommandTests + { + private NewBatchAccountCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public NewBatchAccountCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new NewBatchAccountCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NewBatchAccountTest() + { + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + string location = "location"; + AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup); + BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource); + + batchClientMock.Setup(b => b.CreateAccount(resourceGroup, accountName, location, null)).Returns(expected); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + cmdlet.Location = location; + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once()); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs new file mode 100644 index 000000000000..1f827ea59cdb --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs @@ -0,0 +1,66 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class RegenBatchAccountKeyCommandTests + { + private RegenBatchAccountKeyCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public RegenBatchAccountKeyCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new RegenBatchAccountKeyCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RegenBatchAccountKeysTest() + { + string newPrimaryKey = "newPrimaryKey"; + string newSecondaryKey = "newSecondaryKey"; + + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + AccountKeyType keyType = AccountKeyType.Primary; + AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup); + BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource); + expected.PrimaryAccountKey = newPrimaryKey; + expected.SecondaryAccountKey = newSecondaryKey; + + batchClientMock.Setup(b => b.RegenerateKeys(resourceGroup, accountName, keyType)).Returns(expected); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + cmdlet.KeyType = keyType.ToString(); + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once()); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs new file mode 100644 index 000000000000..85c40610b5d9 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class RemoveBatchAccountCommandTests + { + private RemoveBatchAccountCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public RemoveBatchAccountCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new RemoveBatchAccountCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RemoveBatchAccountTest() + { + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + + OperationResponse deleteResponse = new OperationResponse(); + batchClientMock.Setup(b => b.DeleteAccount(resourceGroup, accountName)).Returns(deleteResponse); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + + cmdlet.Force = true; + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())).Returns(true); + cmdlet.ExecuteCmdlet(); + + batchClientMock.Verify(b => b.DeleteAccount(resourceGroup, accountName), Times.Once()); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs new file mode 100644 index 000000000000..f4895d51d87f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.Accounts +{ + public class SetBatchAccountCommandTests + { + private SetBatchAccountCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public SetBatchAccountCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new SetBatchAccountCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void UpdateAccountTest() + { + string accountName = "account01"; + string resourceGroup = "resourceGroup"; + Hashtable[] tags = new[] + { + new Hashtable + { + {"Name", "tagName"}, + {"Value", "tagValue"} + } + }; + AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup, tags); + BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource); + + batchClientMock.Setup(b => b.UpdateAccount(resourceGroup, accountName, tags)).Returns(expected); + + cmdlet.AccountName = accountName; + cmdlet.ResourceGroupName = resourceGroup; + cmdlet.Tag = tags; + + cmdlet.ExecuteCmdlet(); + + commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once()); + } + + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs b/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs new file mode 100644 index 000000000000..8bf7040956d3 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using System.Collections; +using System.Collections.Generic; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test +{ + public static class BatchTestHelpers + { + public static AccountResource CreateAccountResource(string accountName, string resourceGroupName, Hashtable[] tags = null) + { + string tenantUrlEnding = "batch-test.windows-int.net"; + string endpoint = string.Format("{0}.{1}", accountName, tenantUrlEnding); + string subscription = "00000000-0000-0000-0000-000000000000"; + string resourceGroup = resourceGroupName; + + AccountResource resource = new AccountResource() + { + Id = string.Format("id/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Batch/batchAccounts/abc", subscription, resourceGroup), + Location = "location", + Properties = new AccountProperties() { AccountEndpoint = endpoint, ProvisioningState = AccountProvisioningState.Succeeded }, + Type = "type" + }; + if (tags != null) + { + resource.Tags = Microsoft.Azure.Commands.Batch.Helpers.CreateTagDictionary(tags, true); + } + return resource; + } + + public static void AssertBatchAccountContextsAreEqual(BatchAccountContext context1, BatchAccountContext context2) + { + if (context1 == null) + { + Assert.Null(context2); + return; + } + if (context2 == null) + { + Assert.Null(context1); + return; + } + + Assert.Equal(context1.AccountEndpoint, context2.AccountEndpoint); + Assert.Equal(context1.AccountName, context2.AccountName); + Assert.Equal(context1.Id, context2.Id); + Assert.Equal(context1.Location, context2.Location); + Assert.Equal(context1.PrimaryAccountKey, context2.PrimaryAccountKey); + Assert.Equal(context1.ResourceGroupName, context2.ResourceGroupName); + Assert.Equal(context1.SecondaryAccountKey, context2.SecondaryAccountKey); + Assert.Equal(context1.State, context2.State); + Assert.Equal(context1.Subscription, context2.Subscription); + Assert.Equal(context1.TagsTable, context2.TagsTable); + Assert.Equal(context1.TaskTenantUrl, context2.TaskTenantUrl); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj new file mode 100644 index 000000000000..f33ccc3bb18c --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj @@ -0,0 +1,202 @@ + + + + + Debug + AnyCPU + {F4ABAD68-64A5-4B23-B09C-42559A7524DE} + Library + Properties + Microsoft.Azure.Commands.Batch.Test + Microsoft.Azure.Commands.Batch.Test + v4.5 + 512 + ..\ + true + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + true + MSSharedLibKey.snk + true + pdbonly + true + bin\Release\ + TRACE;SIGN + prompt + 4 + false + + + + ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.11.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + + + ..\..\..\packages\Microsoft.Azure.Management.Batch.1.1.2-preview\lib\net40\Microsoft.Azure.Management.Batch.dll + + + False + ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.0-preview\lib\net40\Microsoft.Azure.Monitoring.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.6.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + True + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + + + + False + D:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + + + + + + + + + + + + + + + Designer + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {d470e50a-9607-48d6-a924-4f9f86502704} + Commands.Batch + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/MSSharedLibKey.snk b/src/ResourceManager/Batch/Commands.Batch.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/Batch/Commands.Batch.Test/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Models/BatchAccountContextTest.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Models/BatchAccountContextTest.cs new file mode 100644 index 000000000000..149e9ffaacac --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Models/BatchAccountContextTest.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch; +using Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using System; +using Xunit; + +namespace Microsoft.Azure.Commands.BatchManager.Test +{ + public class BatchAccountContextTest + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void BatchAccountContextConstructorTest() + { + string endpoint = new UriBuilder(Uri.UriSchemeHttps, "account.batch-test.windows-int.net").Uri.AbsoluteUri.ToString(); + var acctContext = new BatchAccountContext(endpoint); + + Assert.Equal(endpoint, acctContext.AccountEndpoint); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void BatchAccountContextFromResourceTest() + { + string account = "account"; + string tenantUrlEnding = "batch-test.windows-int.net"; + string endpoint = string.Format("{0}.{1}", account, tenantUrlEnding); + string subscription = "00000000-0000-0000-0000-000000000000"; + string resourceGroup = "resourceGroup"; + + AccountResource resource = new AccountResource() + { + Id = string.Format("id/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Batch/batchAccounts/abc", subscription, resourceGroup), + Location = "location", + Properties = new AccountProperties() { AccountEndpoint = endpoint, ProvisioningState = AccountProvisioningState.Succeeded }, + Type = "type" + }; + BatchAccountContext context = BatchAccountContext.ConvertAccountResourceToNewAccountContext(resource); + + Assert.Equal(context.Id, resource.Id); + Assert.Equal(context.AccountEndpoint, resource.Properties.AccountEndpoint); + Assert.Equal(context.Location, resource.Location); + Assert.Equal(context.State, resource.Properties.ProvisioningState.ToString()); + Assert.Equal(context.AccountName, account); + Assert.Equal(context.TaskTenantUrl, string.Format("https://{0}", tenantUrlEnding)); + Assert.Equal(context.Subscription, subscription); + Assert.Equal(context.ResourceGroupName, resourceGroup); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..245fb590e01b --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +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("Commands.Batch.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Commands.Batch.Test")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("e599e021-9541-4c3b-9f5b-b1cd382b5b44")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs new file mode 100644 index 000000000000..4f1c81bce9a1 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class BatchAccountTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetNonExistingBatchAccount() + { + BatchController.NewInstance.RunPsTest("Test-GetNonExistingBatchAccount"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreatesNewBatchAccount() + { + BatchController.NewInstance.RunPsTest("Test-CreatesNewBatchAccount"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateExistingBatchAccount() + { + BatchController.NewInstance.RunPsTest("Test-CreateExistingBatchAccount"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestUpdatesExistingBatchAccount() + { + BatchController.NewInstance.RunPsTest("Test-UpdatesExistingBatchAccount"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetBatchAccountsUnderResourceGroups() + { + BatchController.NewInstance.RunPsTest("Test-GetBatchAccountsUnderResourceGroups"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateAndRemoveBatchAccountViaPiping() + { + BatchController.NewInstance.RunPsTest("Test-CreateAndRemoveBatchAccountViaPiping"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestBatchAccountKeys() + { + BatchController.NewInstance.RunPsTest("Test-BatchAccountKeys"); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 new file mode 100644 index 000000000000..47188e0ac903 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 @@ -0,0 +1,243 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Tests querying for a Batch account that does not exist throws +#> +function Test-GetNonExistingBatchAccount +{ + Assert-Throws { Get-AzureBatchAccount -Name "accountthatdoesnotexist" } +} + +<# +.SYNOPSIS +Tests creating new Batch account. +#> +function Test-CreatesNewBatchAccount +{ + # Setup + $account = Get-BatchAccountName + $resourceGroup = Get-ResourceGroupName + $location = Get-BatchAccountProviderLocation + + try + { + New-AzureResourceGroup -Name $resourceGroup -Location $location + + # Test + $actual = New-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + $expected = Get-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup + + # Assert + Assert-AreEqual $expected.AccountName $actual.AccountName + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.Location $actual.Location + Assert-AreEqual $expected.Tags[0]["Name"] $actual.Tags[0]["Name"] + Assert-AreEqual $expected.Tags[0]["Value"] $actual.Tags[0]["Value"] + } + finally + { + # Cleanup + Clean-BatchAccountAndResourceGroup $account $resourceGroup + } +} + +<# +.SYNOPSIS +Tests creating an account that already exists throws +#> +function Test-CreateExistingBatchAccount +{ + # Setup + $account = Get-BatchAccountName + $resourceGroup = Get-ResourceGroupName + $location = Get-BatchAccountProviderLocation + + try + { + New-AzureResourceGroup -Name $resourceGroup -Location $location + + # Test + New-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + + Assert-Throws { New-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location } + } + finally + { + # Cleanup + Clean-BatchAccountAndResourceGroup $account $resourceGroup + } +} + +<# +.SYNOPSIS +Tests updating existing Batch account +#> +function Test-UpdatesExistingBatchAccount +{ + # Setup + $account = Get-BatchAccountName + $resourceGroup = Get-ResourceGroupName + $location = Get-BatchAccountProviderLocation + + $tagName1 = "testtag1" + $tagValue1 = "testval1" + $tagName2 = "testtag2" + $tagValue2 = "testval2" + + try + { + New-AzureResourceGroup -Name $resourceGroup -Location $location + + #Test + $new = New-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = $tagName1; Value = $tagValue1} + Assert-AreEqual 1 $new.Tags.Count + + # Update Tag + $actual = Set-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Tag @{Name = $tagName2; Value = $tagValue2} + $expected = Get-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup + + # Assert + Assert-AreEqual $expected.AccountName $actual.AccountName + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.Location $actual.Location + Assert-AreEqual 1 $expected.Tags.Count + Assert-AreEqual $tagName2 $expected.Tags[0]["Name"] + Assert-AreEqual $tagValue2 $expected.Tags[0]["Value"] + Assert-AreEqual $expected.Tags[0]["Name"] $actual.Tags[0]["Name"] + Assert-AreEqual $expected.Tags[0]["Value"] $actual.Tags[0]["Value"] + } + finally + { + # Cleanup + Clean-BatchAccountAndResourceGroup $account $resourceGroup + } +} + +<# +.SYNOPSIS +Tests getting Batch accounts under resource groups +#> +function Test-GetBatchAccountsUnderResourceGroups +{ + # Setup + $resourceGroup1 = Get-ResourceGroupName + $resourceGroup2 = Get-ResourceGroupName + $account11 = Get-BatchAccountName + $account12 = Get-BatchAccountName + $account21 = Get-BatchAccountName + $location = Get-BatchAccountProviderLocation + + try + { + New-AzureResourceGroup -Name $resourceGroup1 -Location $location + New-AzureResourceGroup -Name $resourceGroup2 -Location $location + New-AzureBatchAccount -Name $account11 -ResourceGroupName $resourceGroup1 -Location $location + New-AzureBatchAccount -Name $account12 -ResourceGroupName $resourceGroup1 -Location $location + New-AzureBatchAccount -Name $account21 -ResourceGroupName $resourceGroup2 -Location $location + + # Test + $allAccounts = Get-AzureBatchAccount | Where-Object {$_.ResourceGroupName -eq $resourceGroup1 -or $_.ResourceGroupName -eq $resourceGroup2} + $resourceGroup1Accounts = Get-AzureBatchAccount -ResourceGroupName $resourceGroup1 + + # Assert + Assert-AreEqual 3 $allAccounts.Count + Assert-AreEqual 2 $resourceGroup1Accounts.Count + Assert-AreEqual 2 ($resourceGroup1Accounts | Where-Object {$_.ResourceGroupName -eq $resourceGroup1}).Count + } + finally + { + # Cleanup + Clean-BatchAccount $account11 $resourceGroup1 + Clean-BatchAccountAndResourceGroup $account12 $resourceGroup1 + Clean-BatchAccountAndResourceGroup $account21 $resourceGroup2 + } +} + + +<# +.SYNOPSIS +Tests creating a new Batch account and deleting it via piping. +#> +function Test-CreateAndRemoveBatchAccountViaPiping +{ + # Setup + $account1 = Get-BatchAccountName + $account2 = Get-BatchAccountName + $resourceGroup = Get-ResourceGroupName + $location = Get-BatchAccountProviderLocation + + try + { + New-AzureResourceGroup -Name $resourceGroup -Location $location + + # Test + New-AzureBatchAccount -Name $account1 -ResourceGroupName $resourceGroup -Location $location + New-AzureBatchAccount -Name $account2 -ResourceGroupName $resourceGroup -Location $location + Get-AzureBatchAccount | where {$_.AccountName -eq $account1 -or $_.AccountName -eq $account2} | Remove-AzureBatchAccount -Force + + # Assert + Assert-Throws { Get-AzureBatchAccount -Name $account1 } + Assert-Throws { Get-AzureBatchAccount -Name $account2 } + } + finally + { + Clean-ResourceGroup $resourceGroup + } +} + +<# +.SYNOPSIS +Tests getting/setting Batch account keys +#> +function Test-BatchAccountKeys +{ + # Setup + $account = Get-BatchAccountName + $resourceGroup = Get-ResourceGroupName + $location = Get-BatchAccountProviderLocation + + try + { + New-AzureResourceGroup -Name $resourceGroup -Location $location + + # Test + $new = New-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + $originalKeys = Get-AzureBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup + $originalPrimaryKey = $originalKeys.PrimaryAccountKey + $originalSecondaryKey = $originalKeys.SecondaryAccountKey + $newPrimary = New-AzureBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Primary + $newSecondary = New-AzureBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Secondary + $finalKeys = Get-AzureBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup + $getAccountResult = Get-AzureBatchAccount -Name $account -ResourceGroupName $resourceGroup + + # Assert + Assert-AreEqual $null $new.PrimaryAccountKey + Assert-AreEqual $null $new.SecondaryAccountKey + Assert-AreEqual $originalSecondaryKey $newPrimary.SecondaryAccountKey + Assert-AreEqual $newPrimary.PrimaryAccountKey $newSecondary.PrimaryAccountKey + Assert-AreEqual $newPrimary.PrimaryAccountKey $finalKeys.PrimaryAccountKey + Assert-AreEqual $newSecondary.SecondaryAccountKey $finalKeys.SecondaryAccountKey + Assert-AreNotEqual $originalPrimaryKey $newPrimary.PrimaryAccountKey + Assert-AreNotEqual $originalSecondaryKey $newSecondary.SecondaryAccountKey + Assert-AreEqual $null $getAccountResult.PrimaryAccountKey + Assert-AreEqual $null $getAccountResult.SecondaryAccountKey + } + finally + { + # Cleanup + Clean-BatchAccountAndResourceGroup $account $resourceGroup + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs new file mode 100644 index 000000000000..6e7703f939da --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs @@ -0,0 +1,174 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Gallery; +using Microsoft.Azure.Management.Authorization; +using Microsoft.Azure.Management.Batch; +using Microsoft.Azure.Management.Resources; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Monitoring.Events; +using Microsoft.WindowsAzure.Testing; +using System; +using System.Linq; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class BatchController + { + private const string AADTenant = @"de371010-e80c-4257-8fdc-4bfa4d6efe08"; + + private CSMTestEnvironmentFactory csmTestFactory; + private EnvironmentSetupHelper helper; + + public AuthorizationManagementClient AuthorizationManagementClient { get; private set; } + + public GalleryClient GalleryClient { get; private set; } + + public EventsClient EventsClient { get; private set; } + + public ResourceManagementClient ResourceManagementClient { get; private set; } + + public BatchManagementClient BatchManagementClient { get; private set; } + + public static BatchController NewInstance + { + get + { + return new BatchController(); + } + } + + public BatchController() + { + helper = new EnvironmentSetupHelper(); + } + + public void RunPsTest(params string[] scripts) + { + var callingClassType = TestUtilities.GetCallingClass(2); + var mockName = TestUtilities.GetCurrentMethodName(2); + + RunPsTestWorkflow( + () => scripts, + // no custom initializer + null, + // no custom cleanup + null, + callingClassType, + mockName); + } + + public void RunPsTestWorkflow( + Func scriptBuilder, + Action initialize, + Action cleanup, + string callingClassType, + string mockName) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(callingClassType, mockName); + + this.csmTestFactory = SetupCSMTestEnvironmentFactory(); + + if (initialize != null) + { + initialize(this.csmTestFactory); + } + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureResourceManager); + + var callingClassName = callingClassType + .Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries) + .Last(); + helper.SetupModules( + AzureModule.AzureResourceManager, + "ScenarioTests\\Common.ps1", + "ScenarioTests\\" + callingClassName + ".ps1"); + + try + { + if (scriptBuilder != null) + { + var psScripts = scriptBuilder(); + + if (psScripts != null) + { + helper.RunPowerShellTest(psScripts); + } + } + } + finally + { + if (cleanup != null) + { + cleanup(); + } + } + } + } + + private CSMTestEnvironmentFactory SetupCSMTestEnvironmentFactory() + { + CSMTestEnvironmentFactory factory = new CSMTestEnvironmentFactory(); + // to set test environment to Current add Environment=Current in TEST_CSM_ORGID_AUTHENTICATION env. variable + // available configurations are: Prod/Dogfood/Next/Current + factory.CustomEnvValues[TestEnvironment.AADTenantKey] = AADTenant; + return factory; + } + + private void SetupManagementClients() + { + AuthorizationManagementClient = GetAuthorizationManagementClient(); + GalleryClient = GetGalleryClient(); + EventsClient = GetEventsClient(); + ResourceManagementClient = GetResourceManagementClient(); + BatchManagementClient = GetBatchManagementClient(); + + helper.SetupManagementClients(AuthorizationManagementClient, + GalleryClient, + EventsClient, + ResourceManagementClient, + BatchManagementClient); + } + + private AuthorizationManagementClient GetAuthorizationManagementClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private GalleryClient GetGalleryClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private EventsClient GetEventsClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private ResourceManagementClient GetResourceManagementClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private BatchManagementClient GetBatchManagementClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 new file mode 100644 index 000000000000..73e2eb12b1f2 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 @@ -0,0 +1,82 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Gets a Batch account name for testing. +#> +function Get-BatchAccountName +{ + return getAssetName +} + +<# +.SYNOPSIS +Gets a resource group name for testing. +#> +function Get-ResourceGroupName +{ + return getAssetName +} + +<# +.SYNOPSIS +Gets the location for the Batch account provider. Default to West US if none found. +#> +function Get-BatchAccountProviderLocation +{ + $location = Get-AzureLocation | where {$_.Name -eq "Microsoft.Batch/batchAccounts"} + if ($location -eq $null) + { + "West US" + } + else + { + $location.Locations[0] + } +} + +<# +.SYNOPSIS +Cleans the created Batch account and resource group +#> +function Clean-BatchAccountAndResourceGroup($accountName,$resourceGroup) +{ + Clean-BatchAccount $accountName $resourceGroup + Clean-ResourceGroup $resourceGroup +} + +<# +.SYNOPSIS +Cleans the created Batch account +#> +function Clean-BatchAccount($accountName,$resourceGroup) +{ + if ([Microsoft.Azure.Utilities.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Utilities.HttpRecorder.HttpRecorderMode]::Playback) + { + Remove-AzureBatchAccount -Name $accountName -ResourceGroupName $resourceGroup -Force + } +} + +<# +.SYNOPSIS +Cleans the created resource group +#> +function Clean-ResourceGroup($resourceGroup) +{ + if ([Microsoft.Azure.Utilities.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Utilities.HttpRecorder.HttpRecorderMode]::Playback) + { + Remove-AzureResourceGroup -Name $resourceGroup -Force + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json new file mode 100644 index 000000000000..3277cd972be5 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json @@ -0,0 +1,1441 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-request-id": [ + "9466a22d-9953-4d96-ba1d-48e4efbb0f9d" + ], + "x-ms-correlation-request-id": [ + "9466a22d-9953-4d96-ba1d-48e4efbb0f9d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022252Z:9466a22d-9953-4d96-ba1d-48e4efbb0f9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-request-id": [ + "f342e4ef-03a7-466a-99d4-eb150fa59f27" + ], + "x-ms-correlation-request-id": [ + "f342e4ef-03a7-466a-99d4-eb150fa59f27" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022253Z:f342e4ef-03a7-466a-99d4-eb150fa59f27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:52 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/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": [ + "31938" + ], + "x-ms-request-id": [ + "23e2b0f7-39b5-4138-8956-c01e18767d91" + ], + "x-ms-correlation-request-id": [ + "23e2b0f7-39b5-4138-8956-c01e18767d91" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022300Z:23e2b0f7-39b5-4138-8956-c01e18767d91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673\",\r\n \"name\": \"onesdk6673\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-request-id": [ + "fd053c3b-5ff1-4300-bb2f-7fbe20609e32" + ], + "x-ms-correlation-request-id": [ + "fd053c3b-5ff1-4300-bb2f-7fbe20609e32" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022253Z:fd053c3b-5ff1-4300-bb2f-7fbe20609e32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:53 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31947" + ], + "x-ms-request-id": [ + "7cece720-8384-4268-a52e-92478a780999" + ], + "x-ms-correlation-request-id": [ + "7cece720-8384-4268-a52e-92478a780999" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022253Z:7cece720-8384-4268-a52e-92478a780999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:24e63c87-3e4d-4766-9561-a82d77d0fd47" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-correlation-request-id": [ + "c72e23ef-1885-4a37-a4c5-0ae87c195c21" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022254Z:c72e23ef-1885-4a37-a4c5-0ae87c195c21" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31946" + ], + "x-ms-request-id": [ + "fa637187-9d6c-4307-bd58-9b2d43ddf0c1" + ], + "x-ms-correlation-request-id": [ + "fa637187-9d6c-4307-bd58-9b2d43ddf0c1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022254Z:fa637187-9d6c-4307-bd58-9b2d43ddf0c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "74" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1177" + ], + "request-id": [ + "29791b0d-87a8-4977-acd9-d7a97c41497b" + ], + "x-ms-request-id": [ + "0e861885-9505-4bc3-84af-2ea294663864" + ], + "x-ms-correlation-request-id": [ + "0e861885-9505-4bc3-84af-2ea294663864" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022255Z:0e861885-9505-4bc3-84af-2ea294663864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/29791b0d-87a8-4977-acd9-d7a97c41497b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/29791b0d-87a8-4977-acd9-d7a97c41497b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvb3BlcmF0aW9uUmVzdWx0cy8yOTc5MWIwZC04N2E4LTQ5NzctYWNkOS1kN2E5N2M0MTQ5N2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e3c0e176-484c-40e8-818c-5614e7ebba66" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31945" + ], + "x-ms-request-id": [ + "af6c5434-b546-46c2-81e7-124efc9b2365" + ], + "x-ms-correlation-request-id": [ + "af6c5434-b546-46c2-81e7-124efc9b2365" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022256Z:af6c5434-b546-46c2-81e7-124efc9b2365" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:55 GMT" + ], + "ETag": [ + "0x8D1B63610F1D8CD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8b6be129-3f4b-4e65-a9f0-be8b4e878e1b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31944" + ], + "x-ms-request-id": [ + "d0048a9a-01aa-4266-bd86-98d7a600ca2c" + ], + "x-ms-correlation-request-id": [ + "d0048a9a-01aa-4266-bd86-98d7a600ca2c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022256Z:d0048a9a-01aa-4266-bd86-98d7a600ca2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:55 GMT" + ], + "ETag": [ + "0x8D1B636112A74A2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8f4e26f6-65bc-4c6e-8e66-57f6c9f68d60" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "a58e5a33-b90e-4825-b86c-fffc2b2de06f" + ], + "x-ms-correlation-request-id": [ + "a58e5a33-b90e-4825-b86c-fffc2b2de06f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022257Z:a58e5a33-b90e-4825-b86c-fffc2b2de06f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:57 GMT" + ], + "ETag": [ + "0x8D1B636118C68FE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ffca1258-dacf-489e-aa69-5510e9ef3be6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "55b3dd6c-4c45-49d4-8afd-69871498e477" + ], + "x-ms-correlation-request-id": [ + "55b3dd6c-4c45-49d4-8afd-69871498e477" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022258Z:55b3dd6c-4c45-49d4-8afd-69871498e477" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:58 GMT" + ], + "ETag": [ + "0x8D1B636121CACB6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e9703fe2-5564-4bbb-800f-0bfbb069f20a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "ac771981-2887-4046-af62-cc351a397e92" + ], + "x-ms-correlation-request-id": [ + "ac771981-2887-4046-af62-cc351a397e92" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022259Z:ac771981-2887-4046-af62-cc351a397e92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:59 GMT" + ], + "ETag": [ + "0x8D1B63612A38653" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:22:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2e686038-a07b-4b3b-960a-56acab327a1e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "fb2cbb03-374c-411d-9afd-6ab3d591f813" + ], + "x-ms-correlation-request-id": [ + "fb2cbb03-374c-411d-9afd-6ab3d591f813" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022259Z:fb2cbb03-374c-411d-9afd-6ab3d591f813" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:59 GMT" + ], + "ETag": [ + "0x8D1B63612FAA1BB" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"FkyrWwhUkpAuOar0WAlUK75yEe5J+vlM1ss3HblX0U5jmV6ahuP5X3TsYq+L6v1meqgpL7SizK71bL2NuohBBw==\",\r\n \"secondary\": \"BMSi4im2fRmZJ9uSJ0ag3TQxgvlsRhNfDrcX2t/FVKVYMsCZE2R+jN5P1M9Qw4TW9bHFHGqP1YEz8DR/5bAQAw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "9badef60-d5ac-45fe-b938-35ef3da1e8f1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1176" + ], + "x-ms-request-id": [ + "4a1bd51a-de71-4494-852d-43fd6fc10484" + ], + "x-ms-correlation-request-id": [ + "4a1bd51a-de71-4494-852d-43fd6fc10484" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022257Z:4a1bd51a-de71-4494-852d-43fd6fc10484" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"6kGALTixxIvtdrfRSkJi2DHudeWwT2LPgCX4XO5a9ee0IY/qMJ7pHnayYgbbtBa5JoiEMJM2Yj5dwEuIuYteUQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2e3f8bca-3889-44fc-bc9b-fae5a398821d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1173" + ], + "x-ms-request-id": [ + "963800de-cc9c-4e1d-8332-25ad1cc9efda" + ], + "x-ms-correlation-request-id": [ + "963800de-cc9c-4e1d-8332-25ad1cc9efda" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022259Z:963800de-cc9c-4e1d-8332-25ad1cc9efda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/regenerateKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvcmVnZW5lcmF0ZUtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyName\": \"Primary\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"BMSi4im2fRmZJ9uSJ0ag3TQxgvlsRhNfDrcX2t/FVKVYMsCZE2R+jN5P1M9Qw4TW9bHFHGqP1YEz8DR/5bAQAw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "38a74051-d130-4bf9-ad18-3424c953c754" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1175" + ], + "x-ms-request-id": [ + "9daac50d-6d91-4d42-8109-bf3708eb79cf" + ], + "x-ms-correlation-request-id": [ + "9daac50d-6d91-4d42-8109-bf3708eb79cf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022258Z:9daac50d-6d91-4d42-8109-bf3708eb79cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/regenerateKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvcmVnZW5lcmF0ZUtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyName\": \"Secondary\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "30" + ], + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"6kGALTixxIvtdrfRSkJi2DHudeWwT2LPgCX4XO5a9ee0IY/qMJ7pHnayYgbbtBa5JoiEMJM2Yj5dwEuIuYteUQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d3f4a599-24e6-453c-b769-621464bd02dc" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1174" + ], + "x-ms-request-id": [ + "d050214c-a83a-422f-b8af-80c4eb46391f" + ], + "x-ms-correlation-request-id": [ + "d050214c-a83a-422f-b8af-80c4eb46391f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022258Z:d050214c-a83a-422f-b8af-80c4eb46391f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:22:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "19" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3026bba7-0b40-4024-b7b9-53ae618b5b67" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1172" + ], + "x-ms-request-id": [ + "fc57426d-99bc-40a4-857c-fc68f5c1c0d1" + ], + "x-ms-correlation-request-id": [ + "fc57426d-99bc-40a4-857c-fc68f5c1c0d1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022300Z:fc57426d-99bc-40a4-857c-fc68f5c1c0d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/3026bba7-0b40-4024-b7b9-53ae618b5b67?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/3026bba7-0b40-4024-b7b9-53ae618b5b67?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvb3BlcmF0aW9uUmVzdWx0cy8zMDI2YmJhNy0wYjQwLTQwMjQtYjdiOS01M2FlNjE4YjViNjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "19" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8a933aeb-463a-4ef5-a826-9d2f5ca788d8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "7e633171-77c6-458c-9f56-f1d8fdc0e2db" + ], + "x-ms-correlation-request-id": [ + "7e633171-77c6-458c-9f56-f1d8fdc0e2db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022300Z:7e633171-77c6-458c-9f56-f1d8fdc0e2db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ], + "ETag": [ + "0x8D1B63613A3163A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1171" + ], + "x-ms-request-id": [ + "a567e893-256a-465f-b8a1-9772088910bf" + ], + "x-ms-correlation-request-id": [ + "a567e893-256a-465f-b8a1-9772088910bf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022301Z:a567e893-256a-465f-b8a1-9772088910bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "283931f1-4603-421c-bbdb-1a23c5711a34" + ], + "x-ms-correlation-request-id": [ + "283931f1-4603-421c-bbdb-1a23c5711a34" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022301Z:283931f1-4603-421c-bbdb-1a23c5711a34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:00 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-request-id": [ + "3a61f56f-c924-444a-a3e5-9efd07d1ec67" + ], + "x-ms-correlation-request-id": [ + "3a61f56f-c924-444a-a3e5-9efd07d1ec67" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022316Z:3a61f56f-c924-444a-a3e5-9efd07d1ec67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:15 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-request-id": [ + "fb6427df-c96e-4581-bc6d-8c5cf83830b0" + ], + "x-ms-correlation-request-id": [ + "fb6427df-c96e-4581-bc6d-8c5cf83830b0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022331Z:fb6427df-c96e-4581-bc6d-8c5cf83830b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:30 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-request-id": [ + "b71a153b-c92f-42ac-85ea-82b14bd1c7f6" + ], + "x-ms-correlation-request-id": [ + "b71a153b-c92f-42ac-85ea-82b14bd1c7f6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022346Z:b71a153b-c92f-42ac-85ea-82b14bd1c7f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:23:46 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-BatchAccountKeys": [ + "onesdk9870", + "onesdk6673" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json new file mode 100644 index 000000000000..547aa0ba6e48 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json @@ -0,0 +1,1589 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-request-id": [ + "e5316358-4ba7-4f6b-bda7-8acd16a182c2" + ], + "x-ms-correlation-request-id": [ + "e5316358-4ba7-4f6b-bda7-8acd16a182c2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022418Z:e5316358-4ba7-4f6b-bda7-8acd16a182c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-request-id": [ + "6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" + ], + "x-ms-correlation-request-id": [ + "6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022419Z:6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:18 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/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": [ + "31875" + ], + "x-ms-request-id": [ + "ae01dfa8-ce72-4dda-a775-59ea27074ed6" + ], + "x-ms-correlation-request-id": [ + "ae01dfa8-ce72-4dda-a775-59ea27074ed6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022512Z:ae01dfa8-ce72-4dda-a775-59ea27074ed6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788\",\r\n \"name\": \"onesdk2788\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1170" + ], + "x-ms-request-id": [ + "1830fe95-4184-4c31-8e18-905ef5054d81" + ], + "x-ms-correlation-request-id": [ + "1830fe95-4184-4c31-8e18-905ef5054d81" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022419Z:1830fe95-4184-4c31-8e18-905ef5054d81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31889" + ], + "x-ms-request-id": [ + "a15b95c6-bbbb-40f9-b3af-536a0c5b9130" + ], + "x-ms-correlation-request-id": [ + "a15b95c6-bbbb-40f9-b3af-536a0c5b9130" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022419Z:a15b95c6-bbbb-40f9-b3af-536a0c5b9130" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:be3cf3ce-629a-438e-aa7d-55dea0461cfe" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-correlation-request-id": [ + "28fc95ce-7f32-4d65-b601-c0d0c1b796b7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022419Z:28fc95ce-7f32-4d65-b601-c0d0c1b796b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-request-id": [ + "ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" + ], + "x-ms-correlation-request-id": [ + "ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022419Z:ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31885" + ], + "x-ms-request-id": [ + "b11d4b96-afab-42fd-9030-3c02be30cd41" + ], + "x-ms-correlation-request-id": [ + "b11d4b96-afab-42fd-9030-3c02be30cd41" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022437Z:b11d4b96-afab-42fd-9030-3c02be30cd41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"name\": \"onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12751" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31878" + ], + "x-ms-request-id": [ + "de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" + ], + "x-ms-correlation-request-id": [ + "de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022511Z:de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"name\": \"onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12751" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31876" + ], + "x-ms-request-id": [ + "af5c64ab-3b97-4fb0-ba15-119e8215c6ba" + ], + "x-ms-correlation-request-id": [ + "af5c64ab-3b97-4fb0-ba15-119e8215c6ba" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022512Z:af5c64ab-3b97-4fb0-ba15-119e8215c6ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1169" + ], + "request-id": [ + "3aa0e339-1de9-4c21-b29f-6cde4e079e48" + ], + "x-ms-request-id": [ + "5e25d3b2-1220-4bc6-86e5-a4eed65724db" + ], + "x-ms-correlation-request-id": [ + "5e25d3b2-1220-4bc6-86e5-a4eed65724db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022421Z:5e25d3b2-1220-4bc6-86e5-a4eed65724db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:21 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy8zYWEwZTMzOS0xZGU5LTRjMjEtYjI5Zi02Y2RlNGUwNzllNDg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "24a33c96-67b2-48fc-b105-15773248337e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "125e050c-6177-49c5-9c5e-86c93f45e958" + ], + "x-ms-correlation-request-id": [ + "125e050c-6177-49c5-9c5e-86c93f45e958" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022421Z:125e050c-6177-49c5-9c5e-86c93f45e958" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:21 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy8zYWEwZTMzOS0xZGU5LTRjMjEtYjI5Zi02Y2RlNGUwNzllNDg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9323\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9323.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:24:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "829bdca4-8832-4bfa-ad3c-e70a99ff88d8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "d0a87b30-a1ff-4218-af44-f1be46c1f686" + ], + "x-ms-correlation-request-id": [ + "d0a87b30-a1ff-4218-af44-f1be46c1f686" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022437Z:d0a87b30-a1ff-4218-af44-f1be46c1f686" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:36 GMT" + ], + "ETag": [ + "0x8D1B6364CD70828" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1168" + ], + "request-id": [ + "2311946e-d1d5-4745-b936-0c07cc1afb20" + ], + "x-ms-request-id": [ + "6622dba6-7c24-45cb-9b19-0ba9ac446ca7" + ], + "x-ms-correlation-request-id": [ + "6622dba6-7c24-45cb-9b19-0ba9ac446ca7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022438Z:6622dba6-7c24-45cb-9b19-0ba9ac446ca7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8yMzExOTQ2ZS1kMWQ1LTQ3NDUtYjkzNi0wYzA3Y2MxYWZiMjA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e3169de6-3ec3-4aa8-8251-fddd455aad95" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], + "x-ms-request-id": [ + "a898f85f-ace0-409f-9111-765244ffccde" + ], + "x-ms-correlation-request-id": [ + "a898f85f-ace0-409f-9111-765244ffccde" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022438Z:a898f85f-ace0-409f-9111-765244ffccde" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8yMzExOTQ2ZS1kMWQ1LTQ3NDUtYjkzNi0wYzA3Y2MxYWZiMjA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6039\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6039.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:24:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1e89e67b-9aae-4222-9832-cdc7c2484a1d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31883" + ], + "x-ms-request-id": [ + "868a8c6f-0e0f-4ad9-a7c8-815e342fed19" + ], + "x-ms-correlation-request-id": [ + "868a8c6f-0e0f-4ad9-a7c8-815e342fed19" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022454Z:868a8c6f-0e0f-4ad9-a7c8-815e342fed19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:54 GMT" + ], + "ETag": [ + "0x8D1B6365701FC47" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"adnanzh1\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"ppp\": \"kkkk\",\r\n \"abcd\": \"efgh\",\r\n \"abcde\": \"efgh\",\r\n \"cd\": \"efgh\",\r\n \"cde\": \"efgh\",\r\n \"aefgh\": \"acde\",\r\n \"adnan\": \"ped\",\r\n \"Ped\": \"Pune\",\r\n \"loc\": \"unknown\",\r\n \"jhsdgfjhabcd\": \"csfndhh\",\r\n \"segdfgkjdfjk\": \"jashdgfjshdf\",\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"adnanzh1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"azbacjnkyz\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"azbacjnkyz.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/default-azurebatch-westus/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"clw789\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"clw789.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk6039\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6039.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk916\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk916.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk9323\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9323.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007a1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007a1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2974" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c8c74df7-a94e-499e-b61f-41ecf33eea70" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31882" + ], + "x-ms-request-id": [ + "9caa0e15-f625-4e66-9270-5bbc38f1bb1c" + ], + "x-ms-correlation-request-id": [ + "9caa0e15-f625-4e66-9270-5bbc38f1bb1c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022454Z:9caa0e15-f625-4e66-9270-5bbc38f1bb1c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1d9864c5-4fb1-45a6-8766-f8990fad44cb" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1167" + ], + "x-ms-request-id": [ + "18d88cd2-b14a-41c9-b509-bab2137637e6" + ], + "x-ms-correlation-request-id": [ + "18d88cd2-b14a-41c9-b509-bab2137637e6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022455Z:18d88cd2-b14a-41c9-b509-bab2137637e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8xZDk4NjRjNS00ZmIxLTQ1YTYtODc2Ni1mODk5MGZhZDQ0Y2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7766e200-b279-4540-817e-1b4ae09e93a0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31881" + ], + "x-ms-request-id": [ + "6406cdb6-3764-4052-bee0-1d7a6686690c" + ], + "x-ms-correlation-request-id": [ + "6406cdb6-3764-4052-bee0-1d7a6686690c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022455Z:6406cdb6-3764-4052-bee0-1d7a6686690c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8xZDk4NjRjNS00ZmIxLTQ1YTYtODc2Ni1mODk5MGZhZDQ0Y2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:25:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "24d5cd14-0523-4ccc-b99d-397baf22d03d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" + ], + "x-ms-request-id": [ + "8de1cfda-60bb-49d8-8948-246e7d5a0c24" + ], + "x-ms-correlation-request-id": [ + "8de1cfda-60bb-49d8-8948-246e7d5a0c24" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022510Z:8de1cfda-60bb-49d8-8948-246e7d5a0c24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:10 GMT" + ], + "ETag": [ + "0x8D1B63660E42FF8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "51" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9e9210df-a82d-48ab-9b40-70d88797321c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1166" + ], + "x-ms-request-id": [ + "ded32df1-095c-4fa8-b4b8-385aade0446d" + ], + "x-ms-correlation-request-id": [ + "ded32df1-095c-4fa8-b4b8-385aade0446d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022511Z:ded32df1-095c-4fa8-b4b8-385aade0446d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:10 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/9e9210df-a82d-48ab-9b40-70d88797321c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/9e9210df-a82d-48ab-9b40-70d88797321c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy85ZTkyMTBkZi1hODJkLTQ4YWItOWI0MC03MGQ4ODc5NzMyMWM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "51" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ff6efa46-eb5e-47bc-ab64-0ac14458f5c2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31879" + ], + "x-ms-request-id": [ + "1f226a8b-6ad0-453e-a0b2-8be29d8dd311" + ], + "x-ms-correlation-request-id": [ + "1f226a8b-6ad0-453e-a0b2-8be29d8dd311" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022511Z:1f226a8b-6ad0-453e-a0b2-8be29d8dd311" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:10 GMT" + ], + "ETag": [ + "0x8D1B63661796EEC" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"code\": \"AccountNotFound\",\r\n \"message\": \"The specified account does not exist.\\nRequestId:aa37c165-3139-4228-a02e-8f3bd2c3cc55\\nTime:2014-10-15T02:25:11.9688800Z\",\r\n \"target\": \"BatchAccount\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "aa37c165-3139-4228-a02e-8f3bd2c3cc55" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31877" + ], + "x-ms-request-id": [ + "864caebb-55b4-40a2-bf40-99022be012e8" + ], + "x-ms-correlation-request-id": [ + "864caebb-55b4-40a2-bf40-99022be012e8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022512Z:864caebb-55b4-40a2-bf40-99022be012e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1165" + ], + "x-ms-request-id": [ + "e242bad9-52bd-4ee1-baa8-dcc530f40bdd" + ], + "x-ms-correlation-request-id": [ + "e242bad9-52bd-4ee1-baa8-dcc530f40bdd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022512Z:e242bad9-52bd-4ee1-baa8-dcc530f40bdd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31874" + ], + "x-ms-request-id": [ + "173a236f-c711-425b-ae83-b42b29b30527" + ], + "x-ms-correlation-request-id": [ + "173a236f-c711-425b-ae83-b42b29b30527" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022512Z:173a236f-c711-425b-ae83-b42b29b30527" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31873" + ], + "x-ms-request-id": [ + "3003e95c-5b7c-4a17-8df5-fa4bd867583f" + ], + "x-ms-correlation-request-id": [ + "3003e95c-5b7c-4a17-8df5-fa4bd867583f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022527Z:3003e95c-5b7c-4a17-8df5-fa4bd867583f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:27 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31872" + ], + "x-ms-request-id": [ + "4eaaa24c-fdff-4b02-bb04-74a077c6769c" + ], + "x-ms-correlation-request-id": [ + "4eaaa24c-fdff-4b02-bb04-74a077c6769c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022542Z:4eaaa24c-fdff-4b02-bb04-74a077c6769c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31871" + ], + "x-ms-request-id": [ + "74afefc7-b802-42e2-96b6-0b48848939de" + ], + "x-ms-correlation-request-id": [ + "74afefc7-b802-42e2-96b6-0b48848939de" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022557Z:74afefc7-b802-42e2-96b6-0b48848939de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:25:57 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreateAndRemoveBatchAccountViaPiping": [ + "onesdk9323", + "onesdk6039", + "onesdk2788" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json new file mode 100644 index 000000000000..5e1c44ff7cbe --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json @@ -0,0 +1,997 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31824" + ], + "x-ms-request-id": [ + "73d8c3da-e101-4beb-985d-bb1cf261eee0" + ], + "x-ms-correlation-request-id": [ + "73d8c3da-e101-4beb-985d-bb1cf261eee0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023347Z:73d8c3da-e101-4beb-985d-bb1cf261eee0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31823" + ], + "x-ms-request-id": [ + "f7006c6e-2a02-439a-9727-10f78e236319" + ], + "x-ms-correlation-request-id": [ + "f7006c6e-2a02-439a-9727-10f78e236319" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023347Z:f7006c6e-2a02-439a-9727-10f78e236319" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:47 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/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": [ + "31816" + ], + "x-ms-request-id": [ + "4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" + ], + "x-ms-correlation-request-id": [ + "4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023508Z:4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:07 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067\",\r\n \"name\": \"onesdk4067\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1145" + ], + "x-ms-request-id": [ + "86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" + ], + "x-ms-correlation-request-id": [ + "86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023348Z:86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:47 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31822" + ], + "x-ms-request-id": [ + "2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" + ], + "x-ms-correlation-request-id": [ + "2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023348Z:2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:9f13483f-6cec-4000-8c7f-addf5d9b91b6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31915" + ], + "x-ms-correlation-request-id": [ + "efae2de8-61fd-421c-bcc7-32dff6ca2aa1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023348Z:efae2de8-61fd-421c-bcc7-32dff6ca2aa1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31821" + ], + "x-ms-request-id": [ + "3fdd223b-0d2b-40e4-8a96-59a07d38f190" + ], + "x-ms-correlation-request-id": [ + "3fdd223b-0d2b-40e4-8a96-59a07d38f190" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023348Z:3fdd223b-0d2b-40e4-8a96-59a07d38f190" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725\",\r\n \"name\": \"onesdk1725\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12780" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31818" + ], + "x-ms-request-id": [ + "daffd917-8b8c-43b1-9e08-88b85fad9181" + ], + "x-ms-correlation-request-id": [ + "daffd917-8b8c-43b1-9e08-88b85fad9181" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023505Z:daffd917-8b8c-43b1-9e08-88b85fad9181" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "74" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1144" + ], + "request-id": [ + "2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d" + ], + "x-ms-request-id": [ + "0ba5169a-637d-4099-baad-7091cb206e13" + ], + "x-ms-correlation-request-id": [ + "0ba5169a-637d-4099-baad-7091cb206e13" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023350Z:0ba5169a-637d-4099-baad-7091cb206e13" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:49 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8yYzViOWEyNS0yZGRmLTQ2ZjYtOWYwZS05N2RkZDFhYzBhMWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "dbb87b0b-a151-4951-b81c-828590282b68" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31820" + ], + "x-ms-request-id": [ + "9b73aae9-94c4-4a44-85ff-5cb74f0c982f" + ], + "x-ms-correlation-request-id": [ + "9b73aae9-94c4-4a44-85ff-5cb74f0c982f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023350Z:9b73aae9-94c4-4a44-85ff-5cb74f0c982f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:49 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8yYzViOWEyNS0yZGRmLTQ2ZjYtOWYwZS05N2RkZDFhYzBhMWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk1725\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1725.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:34:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3636c17a-39eb-4bdb-96a4-c44bb30f4182" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31819" + ], + "x-ms-request-id": [ + "45bdc4f6-03d7-416c-ba69-397e7fa769fa" + ], + "x-ms-correlation-request-id": [ + "45bdc4f6-03d7-416c-ba69-397e7fa769fa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023405Z:45bdc4f6-03d7-416c-ba69-397e7fa769fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:34:05 GMT" + ], + "ETag": [ + "0x8D1B6379FB4A9D3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "177" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "33c3f26e-0487-4092-8adc-9ae4095682b4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1143" + ], + "x-ms-request-id": [ + "34b2b7aa-2f50-484e-9e88-ba0446298515" + ], + "x-ms-correlation-request-id": [ + "34b2b7aa-2f50-484e-9e88-ba0446298515" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023507Z:34b2b7aa-2f50-484e-9e88-ba0446298515" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:07 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/33c3f26e-0487-4092-8adc-9ae4095682b4?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/33c3f26e-0487-4092-8adc-9ae4095682b4?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8zM2MzZjI2ZS0wNDg3LTQwOTItOGFkYy05YWU0MDk1NjgyYjQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "177" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:35:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "08a4b7e3-6ba7-4089-b6a5-cb9d0e454552" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31817" + ], + "x-ms-request-id": [ + "31968d64-7a4b-460b-8a8e-325ca51451b1" + ], + "x-ms-correlation-request-id": [ + "31968d64-7a4b-460b-8a8e-325ca51451b1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023507Z:31968d64-7a4b-460b-8a8e-325ca51451b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:07 GMT" + ], + "ETag": [ + "0x8D1B637C503EEF1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1142" + ], + "x-ms-request-id": [ + "16340b0b-a119-4181-a1aa-ba5e439fe23e" + ], + "x-ms-correlation-request-id": [ + "16340b0b-a119-4181-a1aa-ba5e439fe23e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023508Z:16340b0b-a119-4181-a1aa-ba5e439fe23e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:07 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31815" + ], + "x-ms-request-id": [ + "7a524daa-9dc1-406d-ade9-2d68e64b36a8" + ], + "x-ms-correlation-request-id": [ + "7a524daa-9dc1-406d-ade9-2d68e64b36a8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023508Z:7a524daa-9dc1-406d-ade9-2d68e64b36a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:07 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31814" + ], + "x-ms-request-id": [ + "4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" + ], + "x-ms-correlation-request-id": [ + "4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023523Z:4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:23 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31813" + ], + "x-ms-request-id": [ + "6ae71746-b515-442b-8923-1b390491353c" + ], + "x-ms-correlation-request-id": [ + "6ae71746-b515-442b-8923-1b390491353c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023538Z:6ae71746-b515-442b-8923-1b390491353c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:37 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31812" + ], + "x-ms-request-id": [ + "c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" + ], + "x-ms-correlation-request-id": [ + "c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023553Z:c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:35:52 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreateExistingBatchAccount": [ + "onesdk1725", + "onesdk4067" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json new file mode 100644 index 000000000000..ade22750bc28 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json @@ -0,0 +1,1075 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-request-id": [ + "a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" + ], + "x-ms-correlation-request-id": [ + "a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022652Z:a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-request-id": [ + "13a18930-ae1f-40ef-ab0a-db5b67493b35" + ], + "x-ms-correlation-request-id": [ + "13a18930-ae1f-40ef-ab0a-db5b67493b35" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022652Z:13a18930-ae1f-40ef-ab0a-db5b67493b35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:52 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/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": [ + "31923" + ], + "x-ms-request-id": [ + "0f73e67d-8556-4fad-8a30-ba846de21500" + ], + "x-ms-correlation-request-id": [ + "0f73e67d-8556-4fad-8a30-ba846de21500" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022727Z:0f73e67d-8556-4fad-8a30-ba846de21500" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:26 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630\",\r\n \"name\": \"onesdk4630\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1169" + ], + "x-ms-request-id": [ + "2950efa7-b634-4e65-bdb6-025d7ad6b2b2" + ], + "x-ms-correlation-request-id": [ + "2950efa7-b634-4e65-bdb6-025d7ad6b2b2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022653Z:2950efa7-b634-4e65-bdb6-025d7ad6b2b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:53 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31930" + ], + "x-ms-request-id": [ + "cb8dac8a-5829-4863-91f8-945cf14c6a41" + ], + "x-ms-correlation-request-id": [ + "cb8dac8a-5829-4863-91f8-945cf14c6a41" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022653Z:cb8dac8a-5829-4863-91f8-945cf14c6a41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:0bbad039-2597-432e-84af-1b46d71e8ce8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31870" + ], + "x-ms-correlation-request-id": [ + "6374c415-fee5-49ba-be69-d4498907da64" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022653Z:6374c415-fee5-49ba-be69-d4498907da64" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-request-id": [ + "69ebda7a-303b-42f9-ac87-77e88a7bfa05" + ], + "x-ms-correlation-request-id": [ + "69ebda7a-303b-42f9-ac87-77e88a7bfa05" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022653Z:69ebda7a-303b-42f9-ac87-77e88a7bfa05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "74" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1168" + ], + "request-id": [ + "33f2c7d3-9a40-4a54-a1c5-6b1228f68005" + ], + "x-ms-request-id": [ + "21d7b486-a50f-4793-98e0-9c2aa53e58fc" + ], + "x-ms-correlation-request-id": [ + "21d7b486-a50f-4793-98e0-9c2aa53e58fc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022655Z:21d7b486-a50f-4793-98e0-9c2aa53e58fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zM2YyYzdkMy05YTQwLTRhNTQtYTFjNS02YjEyMjhmNjgwMDU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9a8f148f-e9b7-400e-84ba-29ce64998b1f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], + "x-ms-request-id": [ + "f13157de-fcca-4e91-8400-3d077152d68e" + ], + "x-ms-correlation-request-id": [ + "f13157de-fcca-4e91-8400-3d077152d68e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022655Z:f13157de-fcca-4e91-8400-3d077152d68e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zM2YyYzdkMy05YTQwLTRhNTQtYTFjNS02YjEyMjhmNjgwMDU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk4107\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4107.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:27:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "33fce9aa-e9a3-495d-895a-31ecf3453170" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31927" + ], + "x-ms-request-id": [ + "3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" + ], + "x-ms-correlation-request-id": [ + "3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022710Z:3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:10 GMT" + ], + "ETag": [ + "0x8D1B636A8B6BE0F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk4107\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4107.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "350" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:27:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "55a94aa6-11a3-4737-8551-bc194f9cd92d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "995a241c-c571-43fe-ae19-96bcf78c9d4a" + ], + "x-ms-correlation-request-id": [ + "995a241c-c571-43fe-ae19-96bcf78c9d4a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022711Z:995a241c-c571-43fe-ae19-96bcf78c9d4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:10 GMT" + ], + "ETag": [ + "0x8D1B636A8E34FA6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "333ca3df-89bf-43cb-8b7e-91a1bd391f46" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1167" + ], + "x-ms-request-id": [ + "7f735a55-b298-4af0-a966-27569c4ffe78" + ], + "x-ms-correlation-request-id": [ + "7f735a55-b298-4af0-a966-27569c4ffe78" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022711Z:7f735a55-b298-4af0-a966-27569c4ffe78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:11 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zMzNjYTNkZi04OWJmLTQzY2ItOGI3ZS05MWExYmQzOTFmNDY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "659a9f71-dcfc-4726-8693-07ab05a26721" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" + ], + "x-ms-request-id": [ + "ca36518e-0e0d-4518-a35d-569cc75cb20e" + ], + "x-ms-correlation-request-id": [ + "ca36518e-0e0d-4518-a35d-569cc75cb20e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022712Z:ca36518e-0e0d-4518-a35d-569cc75cb20e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:11 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zMzNjYTNkZi04OWJmLTQzY2ItOGI3ZS05MWExYmQzOTFmNDY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:27:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "96be1e4d-d24b-4949-9b94-1332b9160191" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31924" + ], + "x-ms-request-id": [ + "a3650292-3db7-44bb-9385-3d39b70ea3df" + ], + "x-ms-correlation-request-id": [ + "a3650292-3db7-44bb-9385-3d39b70ea3df" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022727Z:a3650292-3db7-44bb-9385-3d39b70ea3df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:26 GMT" + ], + "ETag": [ + "0x8D1B636B28057FE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1166" + ], + "x-ms-request-id": [ + "fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" + ], + "x-ms-correlation-request-id": [ + "fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022727Z:fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:27 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31922" + ], + "x-ms-request-id": [ + "33c21537-b91e-43a7-876e-d69d3e667dbd" + ], + "x-ms-correlation-request-id": [ + "33c21537-b91e-43a7-876e-d69d3e667dbd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022727Z:33c21537-b91e-43a7-876e-d69d3e667dbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:27 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31921" + ], + "x-ms-request-id": [ + "4e3f38a9-b924-4fdb-b8d1-16219a83e78d" + ], + "x-ms-correlation-request-id": [ + "4e3f38a9-b924-4fdb-b8d1-16219a83e78d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022742Z:4e3f38a9-b924-4fdb-b8d1-16219a83e78d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31920" + ], + "x-ms-request-id": [ + "1cbf168d-72b2-44a7-834b-326a7246ff65" + ], + "x-ms-correlation-request-id": [ + "1cbf168d-72b2-44a7-834b-326a7246ff65" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022757Z:1cbf168d-72b2-44a7-834b-326a7246ff65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:57 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31919" + ], + "x-ms-request-id": [ + "aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" + ], + "x-ms-correlation-request-id": [ + "aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022813Z:aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:13 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreatesNewBatchAccount": [ + "onesdk4107", + "onesdk4630" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json new file mode 100644 index 000000000000..f37fea3ddba7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json @@ -0,0 +1,2383 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31854" + ], + "x-ms-request-id": [ + "df714c85-281e-4da1-baa2-319375e07a56" + ], + "x-ms-correlation-request-id": [ + "df714c85-281e-4da1-baa2-319375e07a56" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023022Z:df714c85-281e-4da1-baa2-319375e07a56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31853" + ], + "x-ms-request-id": [ + "59da3808-264a-401a-a012-5a3c4850ed70" + ], + "x-ms-correlation-request-id": [ + "59da3808-264a-401a-a012-5a3c4850ed70" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023022Z:59da3808-264a-401a-a012-5a3c4850ed70" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/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": [ + "31836" + ], + "x-ms-request-id": [ + "04f6f9bd-a76f-4ae0-a3c6-9ac982269999" + ], + "x-ms-correlation-request-id": [ + "04f6f9bd-a76f-4ae0-a3c6-9ac982269999" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023118Z:04f6f9bd-a76f-4ae0-a3c6-9ac982269999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761\",\r\n \"name\": \"onesdk6761\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1157" + ], + "x-ms-request-id": [ + "6470c42f-c41f-4d2e-8716-84ade7b39adb" + ], + "x-ms-correlation-request-id": [ + "6470c42f-c41f-4d2e-8716-84ade7b39adb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023022Z:6470c42f-c41f-4d2e-8716-84ade7b39adb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31852" + ], + "x-ms-request-id": [ + "15b7e8d2-fbf5-4f66-bc2f-d017744078a3" + ], + "x-ms-correlation-request-id": [ + "15b7e8d2-fbf5-4f66-bc2f-d017744078a3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023022Z:15b7e8d2-fbf5-4f66-bc2f-d017744078a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:42c8839e-c020-403a-bbc3-3fc373ce79b2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31917" + ], + "x-ms-correlation-request-id": [ + "d1908d9a-7f79-4578-90db-e87bfc78119c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:d1908d9a-7f79-4578-90db-e87bfc78119c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31851" + ], + "x-ms-request-id": [ + "6add3aa7-3534-4d0b-9fde-667aeb07a6ff" + ], + "x-ms-correlation-request-id": [ + "6add3aa7-3534-4d0b-9fde-667aeb07a6ff" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:6add3aa7-3534-4d0b-9fde-667aeb07a6ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:22 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/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": [ + "31829" + ], + "x-ms-request-id": [ + "15e79a12-8d77-448c-a834-2dfa7e4777d2" + ], + "x-ms-correlation-request-id": [ + "15e79a12-8d77-448c-a834-2dfa7e4777d2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023220Z:15e79a12-8d77-448c-a834-2dfa7e4777d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:19 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390\",\r\n \"name\": \"onesdk1390\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1156" + ], + "x-ms-request-id": [ + "5ee4df9b-e40b-4f94-b60c-c9f7178a5945" + ], + "x-ms-correlation-request-id": [ + "5ee4df9b-e40b-4f94-b60c-c9f7178a5945" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:5ee4df9b-e40b-4f94-b60c-c9f7178a5945" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:23 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31850" + ], + "x-ms-request-id": [ + "a94af083-22e2-423e-a834-c72ec0039aff" + ], + "x-ms-correlation-request-id": [ + "a94af083-22e2-423e-a834-c72ec0039aff" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:a94af083-22e2-423e-a834-c72ec0039aff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:ba3fb959-5062-4eba-b243-018946cf5ded" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31916" + ], + "x-ms-correlation-request-id": [ + "ec9a8c47-f25b-4ca8-8473-3821a83fe84b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:ec9a8c47-f25b-4ca8-8473-3821a83fe84b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31849" + ], + "x-ms-request-id": [ + "d9c81b87-16a2-4af1-9b3e-4aa68013810b" + ], + "x-ms-correlation-request-id": [ + "d9c81b87-16a2-4af1-9b3e-4aa68013810b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023023Z:d9c81b87-16a2-4af1-9b3e-4aa68013810b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31846" + ], + "x-ms-request-id": [ + "69f4b134-08cd-4801-8b0e-661e2d1c4175" + ], + "x-ms-correlation-request-id": [ + "69f4b134-08cd-4801-8b0e-661e2d1c4175" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023041Z:69f4b134-08cd-4801-8b0e-661e2d1c4175" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"name\": \"onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12751" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31843" + ], + "x-ms-request-id": [ + "b8ac4d79-d215-478a-8834-486b961ade90" + ], + "x-ms-correlation-request-id": [ + "b8ac4d79-d215-478a-8834-486b961ade90" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023058Z:b8ac4d79-d215-478a-8834-486b961ade90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1155" + ], + "request-id": [ + "1ba9964c-fc4b-438d-aacb-11c2599c7442" + ], + "x-ms-request-id": [ + "d2ee41b6-ac67-458e-9571-aedef0a03ada" + ], + "x-ms-correlation-request-id": [ + "d2ee41b6-ac67-458e-9571-aedef0a03ada" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023025Z:d2ee41b6-ac67-458e-9571-aedef0a03ada" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:25 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy8xYmE5OTY0Yy1mYzRiLTQzOGQtYWFjYi0xMWMyNTk5Yzc0NDI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1eecdf94-5247-4592-928a-5ca68a556c6d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], + "x-ms-request-id": [ + "3f319ea1-888d-41f2-8798-2a9c8f4bed73" + ], + "x-ms-correlation-request-id": [ + "3f319ea1-888d-41f2-8798-2a9c8f4bed73" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023025Z:3f319ea1-888d-41f2-8798-2a9c8f4bed73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:25 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy8xYmE5OTY0Yy1mYzRiLTQzOGQtYWFjYi0xMWMyNTk5Yzc0NDI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:30:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3ea44084-025e-4be3-8736-f7141d7ecb77" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31847" + ], + "x-ms-request-id": [ + "b64a14a2-290a-4818-a5c1-24544c8f7efd" + ], + "x-ms-correlation-request-id": [ + "b64a14a2-290a-4818-a5c1-24544c8f7efd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023041Z:b64a14a2-290a-4818-a5c1-24544c8f7efd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:41 GMT" + ], + "ETag": [ + "0x8D1B63725B801A0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1154" + ], + "request-id": [ + "8aa6ce46-ab51-4c19-890c-ec0035fb944f" + ], + "x-ms-request-id": [ + "aee3a36f-1df8-406f-bbca-4953c7e37a99" + ], + "x-ms-correlation-request-id": [ + "aee3a36f-1df8-406f-bbca-4953c7e37a99" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023042Z:aee3a36f-1df8-406f-bbca-4953c7e37a99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy84YWE2Y2U0Ni1hYjUxLTRjMTktODkwYy1lYzAwMzVmYjk0NGY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d2c7b6ca-3d68-4b83-9e28-40e38e95ddab" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], + "x-ms-request-id": [ + "979e75eb-7eb2-4fed-ab89-60b5c1b64be1" + ], + "x-ms-correlation-request-id": [ + "979e75eb-7eb2-4fed-ab89-60b5c1b64be1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023043Z:979e75eb-7eb2-4fed-ab89-60b5c1b64be1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy84YWE2Y2U0Ni1hYjUxLTRjMTktODkwYy1lYzAwMzVmYjk0NGY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:30:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a26011dd-af07-4e0f-b106-8b9c8ca515ea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31844" + ], + "x-ms-request-id": [ + "bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" + ], + "x-ms-correlation-request-id": [ + "bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023058Z:bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:57 GMT" + ], + "ETag": [ + "0x8D1B637301192ED" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "134" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1153" + ], + "request-id": [ + "d46a42b7-9c9d-4306-96dd-530fd50b8693" + ], + "x-ms-request-id": [ + "ed9617e3-9584-4ae2-be64-1e78391baae1" + ], + "x-ms-correlation-request-id": [ + "ed9617e3-9584-4ae2-be64-1e78391baae1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023100Z:ed9617e3-9584-4ae2-be64-1e78391baae1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:00 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/d46a42b7-9c9d-4306-96dd-530fd50b8693?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/d46a42b7-9c9d-4306-96dd-530fd50b8693?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy9kNDZhNDJiNy05YzlkLTQzMDYtOTZkZC01MzBmZDUwYjg2OTM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "134" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk1163\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1163.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:31:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "949d8f35-16ee-4104-bca8-76f71b7ea581" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31842" + ], + "x-ms-request-id": [ + "e9cae999-b416-4c1c-adee-f7d08d10eda8" + ], + "x-ms-correlation-request-id": [ + "e9cae999-b416-4c1c-adee-f7d08d10eda8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023100Z:e9cae999-b416-4c1c-adee-f7d08d10eda8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:00 GMT" + ], + "ETag": [ + "0x8D1B637313FBE6F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"adnanzh1\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"ppp\": \"kkkk\",\r\n \"abcd\": \"efgh\",\r\n \"abcde\": \"efgh\",\r\n \"cd\": \"efgh\",\r\n \"cde\": \"efgh\",\r\n \"aefgh\": \"acde\",\r\n \"adnan\": \"ped\",\r\n \"Ped\": \"Pune\",\r\n \"loc\": \"unknown\",\r\n \"jhsdgfjhabcd\": \"csfndhh\",\r\n \"segdfgkjdfjk\": \"jashdgfjshdf\",\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"adnanzh1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"azbacjnkyz\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"azbacjnkyz.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/default-azurebatch-westus/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"clw789\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"clw789.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk1163\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1163.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk916\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk916.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007a1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007a1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "3296" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8d58ee0c-77c2-4ebb-8542-1c848b2d9956" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31841" + ], + "x-ms-request-id": [ + "496ccdfd-f301-45bc-813a-ff120e794eff" + ], + "x-ms-correlation-request-id": [ + "496ccdfd-f301-45bc-813a-ff120e794eff" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023100Z:496ccdfd-f301-45bc-813a-ff120e794eff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2bb766cd-da13-4ff8-8e2e-b9bce1c3c64d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31840" + ], + "x-ms-request-id": [ + "48570702-ab0b-43d4-84a0-fd6cbba00aa4" + ], + "x-ms-correlation-request-id": [ + "48570702-ab0b-43d4-84a0-fd6cbba00aa4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023101Z:48570702-ab0b-43d4-84a0-fd6cbba00aa4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "855fad74-0228-4f8f-a400-7982b85f0162" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1152" + ], + "x-ms-request-id": [ + "b977801a-3236-4ddd-9fa5-bd331969f252" + ], + "x-ms-correlation-request-id": [ + "b977801a-3236-4ddd-9fa5-bd331969f252" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023101Z:b977801a-3236-4ddd-9fa5-bd331969f252" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:01 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy84NTVmYWQ3NC0wMjI4LTRmOGYtYTQwMC03OTgyYjg1ZjAxNjI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d39cd12a-8f7e-423e-acff-9a170ea4fa7e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" + ], + "x-ms-request-id": [ + "eda41be7-c46d-44a2-990c-92351c124f8d" + ], + "x-ms-correlation-request-id": [ + "eda41be7-c46d-44a2-990c-92351c124f8d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023102Z:eda41be7-c46d-44a2-990c-92351c124f8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:01 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy84NTVmYWQ3NC0wMjI4LTRmOGYtYTQwMC03OTgyYjg1ZjAxNjI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:31:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "849dd7fc-f7f2-4c1b-a5d9-10f33f3c504d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31838" + ], + "x-ms-request-id": [ + "c336d625-cbf9-4216-aaa8-adcfe1a907b4" + ], + "x-ms-correlation-request-id": [ + "c336d625-cbf9-4216-aaa8-adcfe1a907b4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023117Z:c336d625-cbf9-4216-aaa8-adcfe1a907b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:16 GMT" + ], + "ETag": [ + "0x8D1B6373B5CB2A0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "143" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d04fcd33-8e98-4549-b331-0be3e2712d8c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1151" + ], + "x-ms-request-id": [ + "f12ff0a7-c202-4818-8fe2-0a8fd330d031" + ], + "x-ms-correlation-request-id": [ + "f12ff0a7-c202-4818-8fe2-0a8fd330d031" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023118Z:f12ff0a7-c202-4818-8fe2-0a8fd330d031" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/d04fcd33-8e98-4549-b331-0be3e2712d8c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/d04fcd33-8e98-4549-b331-0be3e2712d8c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy9kMDRmY2QzMy04ZTk4LTQ1NDktYjMzMS0wYmUzZTI3MTJkOGM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "143" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c6a87987-2b90-45cc-983e-10bf8e86bfc1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31837" + ], + "x-ms-request-id": [ + "e87b56f3-6577-46e5-9273-100c3dd032a6" + ], + "x-ms-correlation-request-id": [ + "e87b56f3-6577-46e5-9273-100c3dd032a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023118Z:e87b56f3-6577-46e5-9273-100c3dd032a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ], + "ETag": [ + "0x8D1B6373BF4D918" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1150" + ], + "x-ms-request-id": [ + "4ee8c3c2-bbba-4edc-be07-fb770e05fde2" + ], + "x-ms-correlation-request-id": [ + "4ee8c3c2-bbba-4edc-be07-fb770e05fde2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023118Z:4ee8c3c2-bbba-4edc-be07-fb770e05fde2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31835" + ], + "x-ms-request-id": [ + "f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" + ], + "x-ms-correlation-request-id": [ + "f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023118Z:f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:18 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31834" + ], + "x-ms-request-id": [ + "df7a2815-da37-4489-963f-bb2af8ddf476" + ], + "x-ms-correlation-request-id": [ + "df7a2815-da37-4489-963f-bb2af8ddf476" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023133Z:df7a2815-da37-4489-963f-bb2af8ddf476" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:32 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31833" + ], + "x-ms-request-id": [ + "55211f66-38d5-4c7f-bf4b-67e3562b2840" + ], + "x-ms-correlation-request-id": [ + "55211f66-38d5-4c7f-bf4b-67e3562b2840" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023148Z:55211f66-38d5-4c7f-bf4b-67e3562b2840" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:48 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31832" + ], + "x-ms-request-id": [ + "0bcb3f97-c40d-4a61-8f83-38a199ea6347" + ], + "x-ms-correlation-request-id": [ + "0bcb3f97-c40d-4a61-8f83-38a199ea6347" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023203Z:0bcb3f97-c40d-4a61-8f83-38a199ea6347" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "61037464-13cb-4dc3-b4c6-71e855f67eaf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1149" + ], + "x-ms-request-id": [ + "e3a2fc9a-9285-47a9-8853-c0af735a630b" + ], + "x-ms-correlation-request-id": [ + "e3a2fc9a-9285-47a9-8853-c0af735a630b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023204Z:e3a2fc9a-9285-47a9-8853-c0af735a630b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:03 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy82MTAzNzQ2NC0xM2NiLTRkYzMtYjRjNi03MWU4NTVmNjdlYWY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e3336b17-afe6-40bb-a624-428c96018f44" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31831" + ], + "x-ms-request-id": [ + "9ec8cf31-589c-4d2a-9302-4d166419f178" + ], + "x-ms-correlation-request-id": [ + "9ec8cf31-589c-4d2a-9302-4d166419f178" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023204Z:9ec8cf31-589c-4d2a-9302-4d166419f178" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:04 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy82MTAzNzQ2NC0xM2NiLTRkYzMtYjRjNi03MWU4NTVmNjdlYWY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:32:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8e3f4259-5abd-4d2e-9561-066a48b47de1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31830" + ], + "x-ms-request-id": [ + "f68c7e7e-9436-4f0a-bf83-e2942382b651" + ], + "x-ms-correlation-request-id": [ + "f68c7e7e-9436-4f0a-bf83-e2942382b651" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023219Z:f68c7e7e-9436-4f0a-bf83-e2942382b651" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:19 GMT" + ], + "ETag": [ + "0x8D1B63760AFC825" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1148" + ], + "x-ms-request-id": [ + "c453159f-9c94-4ded-b9bb-b7217e14afa8" + ], + "x-ms-correlation-request-id": [ + "c453159f-9c94-4ded-b9bb-b7217e14afa8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023220Z:c453159f-9c94-4ded-b9bb-b7217e14afa8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:19 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31828" + ], + "x-ms-request-id": [ + "438e2dac-d34d-40ee-800e-43a22f8fb717" + ], + "x-ms-correlation-request-id": [ + "438e2dac-d34d-40ee-800e-43a22f8fb717" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023220Z:438e2dac-d34d-40ee-800e-43a22f8fb717" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:19 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31827" + ], + "x-ms-request-id": [ + "7c28cf11-559a-4124-989f-4a6dd11f193f" + ], + "x-ms-correlation-request-id": [ + "7c28cf11-559a-4124-989f-4a6dd11f193f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023235Z:7c28cf11-559a-4124-989f-4a6dd11f193f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:35 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31826" + ], + "x-ms-request-id": [ + "9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" + ], + "x-ms-correlation-request-id": [ + "9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023250Z:9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:50 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31825" + ], + "x-ms-request-id": [ + "6d068225-bc88-418c-b2c6-ac1a9b582ca1" + ], + "x-ms-correlation-request-id": [ + "6d068225-bc88-418c-b2c6-ac1a9b582ca1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023305Z:6d068225-bc88-418c-b2c6-ac1a9b582ca1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:05 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetBatchAccountsUnderResourceGroups": [ + "onesdk6761", + "onesdk1390", + "onesdk4680", + "onesdk3775", + "onesdk1163" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json new file mode 100644 index 000000000000..2d2dadadd81c --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-request-id": [ + "363a283b-c30c-4b4c-aad5-c9e84f890aff" + ], + "x-ms-correlation-request-id": [ + "363a283b-c30c-4b4c-aad5-c9e84f890aff" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022411Z:363a283b-c30c-4b4c-aad5-c9e84f890aff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:11 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json new file mode 100644 index 000000000000..781a38d316eb --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json @@ -0,0 +1,1207 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31869" + ], + "x-ms-request-id": [ + "9960a075-5e7d-45dd-8495-eeed8d403d7a" + ], + "x-ms-correlation-request-id": [ + "9960a075-5e7d-45dd-8495-eeed8d403d7a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022836Z:9960a075-5e7d-45dd-8495-eeed8d403d7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31868" + ], + "x-ms-request-id": [ + "f757668c-90a1-40bf-8783-990e015480c2" + ], + "x-ms-correlation-request-id": [ + "f757668c-90a1-40bf-8783-990e015480c2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022836Z:f757668c-90a1-40bf-8783-990e015480c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:36 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "31859" + ], + "x-ms-request-id": [ + "0579a7e2-a3af-4093-b46f-275c6ab4dfac" + ], + "x-ms-correlation-request-id": [ + "0579a7e2-a3af-4093-b46f-275c6ab4dfac" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022912Z:0579a7e2-a3af-4093-b46f-275c6ab4dfac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:12 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764\",\r\n \"name\": \"onesdk764\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "181" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1162" + ], + "x-ms-request-id": [ + "f600fd98-521d-4b69-8fe7-c0aec473e645" + ], + "x-ms-correlation-request-id": [ + "f600fd98-521d-4b69-8fe7-c0aec473e645" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022836Z:f600fd98-521d-4b69-8fe7-c0aec473e645" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:36 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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": [ + "31867" + ], + "x-ms-request-id": [ + "3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" + ], + "x-ms-correlation-request-id": [ + "3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022837Z:3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:7b7d27e9-2698-4010-afb3-10537c404c14" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31918" + ], + "x-ms-correlation-request-id": [ + "fb764e28-36e8-4f0e-af3c-28d064f38f12" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022837Z:fb764e28-36e8-4f0e-af3c-28d064f38f12" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31866" + ], + "x-ms-request-id": [ + "f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" + ], + "x-ms-correlation-request-id": [ + "f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022837Z:f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "76" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1161" + ], + "request-id": [ + "773d87a1-b969-4264-85c4-e86d681420cf" + ], + "x-ms-request-id": [ + "b050a9c2-6d92-44f5-9fe9-13ebd1efc625" + ], + "x-ms-correlation-request-id": [ + "b050a9c2-6d92-44f5-9fe9-13ebd1efc625" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022839Z:b050a9c2-6d92-44f5-9fe9-13ebd1efc625" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "99" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:28:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "dcf760fa-b4ea-46e7-8426-863fc42852e4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1160" + ], + "x-ms-request-id": [ + "0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" + ], + "x-ms-correlation-request-id": [ + "0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022856Z:0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:56 GMT" + ], + "ETag": [ + "0x8D1B636E759EFBD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvNzczZDg3YTEtYjk2OS00MjY0LTg1YzQtZTg2ZDY4MTQyMGNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "34f31333-4a01-4958-9fee-49e1aff92a1c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-request-id": [ + "1415d364-afa6-4223-afea-0e001cd67681" + ], + "x-ms-correlation-request-id": [ + "1415d364-afa6-4223-afea-0e001cd67681" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022839Z:1415d364-afa6-4223-afea-0e001cd67681" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvNzczZDg3YTEtYjk2OS00MjY0LTg1YzQtZTg2ZDY4MTQyMGNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:28:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6a892784-caa9-4455-91d3-377c4930c0b7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31864" + ], + "x-ms-request-id": [ + "0339522f-725c-4464-899a-e2b60fa5257a" + ], + "x-ms-correlation-request-id": [ + "0339522f-725c-4464-899a-e2b60fa5257a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022854Z:0339522f-725c-4464-899a-e2b60fa5257a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:54 GMT" + ], + "ETag": [ + "0x8D1B636E6753CAC" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:28:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c29f2803-fde6-4950-b20a-49ee5ad8118d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31863" + ], + "x-ms-request-id": [ + "d7bfe2c0-586d-4493-a406-47ec15867bc2" + ], + "x-ms-correlation-request-id": [ + "d7bfe2c0-586d-4493-a406-47ec15867bc2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022855Z:d7bfe2c0-586d-4493-a406-47ec15867bc2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:54 GMT" + ], + "ETag": [ + "0x8D1B636E6A80F34" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:28:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4c88dce8-e510-4071-9e7d-755929ae7dc7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31862" + ], + "x-ms-request-id": [ + "2ce3e95e-afe3-48cb-a494-659a87146248" + ], + "x-ms-correlation-request-id": [ + "2ce3e95e-afe3-48cb-a494-659a87146248" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022856Z:2ce3e95e-afe3-48cb-a494-659a87146248" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:56 GMT" + ], + "ETag": [ + "0x8D1B636E7A0357E" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "156ce073-e10d-41db-ba97-3cd2df1e5046" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1159" + ], + "x-ms-request-id": [ + "f3ff98ed-8341-48f5-b9fe-3ec973422eca" + ], + "x-ms-correlation-request-id": [ + "f3ff98ed-8341-48f5-b9fe-3ec973422eca" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022857Z:f3ff98ed-8341-48f5-b9fe-3ec973422eca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:56 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvMTU2Y2UwNzMtZTEwZC00MWRiLWJhOTctM2NkMmRmMWU1MDQ2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "73eb703c-5de0-4606-ba24-6705c21f00b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31861" + ], + "x-ms-request-id": [ + "bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" + ], + "x-ms-correlation-request-id": [ + "bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022857Z:bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:57 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvMTU2Y2UwNzMtZTEwZC00MWRiLWJhOTctM2NkMmRmMWU1MDQ2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:29:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3ad0e717-84e5-495b-ae33-70bf0419a80c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31860" + ], + "x-ms-request-id": [ + "1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" + ], + "x-ms-correlation-request-id": [ + "1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022912Z:1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:12 GMT" + ], + "ETag": [ + "0x8D1B636F134C0E6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1158" + ], + "x-ms-request-id": [ + "03f9a797-a4be-4fca-8979-3fd354171d9c" + ], + "x-ms-correlation-request-id": [ + "03f9a797-a4be-4fca-8979-3fd354171d9c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022913Z:03f9a797-a4be-4fca-8979-3fd354171d9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:13 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31858" + ], + "x-ms-request-id": [ + "ccfe4c14-6bb0-4c47-9380-fe4654ecae76" + ], + "x-ms-correlation-request-id": [ + "ccfe4c14-6bb0-4c47-9380-fe4654ecae76" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022913Z:ccfe4c14-6bb0-4c47-9380-fe4654ecae76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:13 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31857" + ], + "x-ms-request-id": [ + "3fecc4be-96da-46e6-bb76-d26b850458f3" + ], + "x-ms-correlation-request-id": [ + "3fecc4be-96da-46e6-bb76-d26b850458f3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022928Z:3fecc4be-96da-46e6-bb76-d26b850458f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:28 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "x-ms-correlation-request-id": [ + "7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022943Z:7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31855" + ], + "x-ms-request-id": [ + "ae679df8-d434-4dc6-89a4-e87ea7bf199b" + ], + "x-ms-correlation-request-id": [ + "ae679df8-d434-4dc6-89a4-e87ea7bf199b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022958Z:ae679df8-d434-4dc6-89a4-e87ea7bf199b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:58 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-UpdatesExistingBatchAccount": [ + "onesdk631", + "onesdk764" + ] + }, + "Variables": { + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config new file mode 100644 index 000000000000..3383e0669202 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountCommand.cs new file mode 100644 index 000000000000..c6cd3f3195eb --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountCommand.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch.Models; +using System.Collections; +using System.Collections.Generic; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchAccount"), OutputType(typeof(BatchAccountContext))] + public class GetBatchAccountCommand : BatchCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account name to query.")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group associated with the account being queried.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Filter list of accounts using the key and optional value of the specified tag.")] + public Hashtable Tag { get; set; } + + public override void ExecuteCmdlet() + { + if (string.IsNullOrEmpty(this.AccountName)) + { + foreach (BatchAccountContext context in BatchClient.ListAccounts(this.ResourceGroupName, Tag)) + { + WriteObject(context); + } + } + else + { + BatchAccountContext context = BatchClient.GetAccount(this.ResourceGroupName, this.AccountName); + WriteObject(context); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs new file mode 100644 index 000000000000..04c51763a574 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchAccountKeys"), OutputType(typeof(BatchAccountContext))] + public class GetBatchAccountKeysCommand : BatchCmdletBase + { + internal const string ParameterSetContext = "Use Context"; + internal const string ParameterSetNames = "Use Names"; + + [Parameter(ParameterSetName = ParameterSetNames, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account to query keys for.")] + [Alias("Name")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(ParameterSetName = ParameterSetNames, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the account.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + /// + /// Get the keys associated with the specified account. If only the account name is passed in, then + /// look up its resource group and construct a new BatchAccountContext to hold everything. + /// + public override void ExecuteCmdlet() + { + BatchAccountContext context = BatchClient.ListKeys(this.ResourceGroupName, this.AccountName); + WriteObject(context); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/Helpers.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/Helpers.cs new file mode 100644 index 000000000000..7fbacc8e85d7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/Helpers.cs @@ -0,0 +1,192 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Microsoft.Azure.Commands.Batch +{ + internal class Helpers + { + // copied from Resources\Commands.Resources + + private const string ExcludedTagPrefix = "hidden-related:/"; + + public static PSTagValuePair Create(Hashtable hashtable) + { + if (hashtable == null || + !hashtable.ContainsKey("Name")) + { + return null; + } + + PSTagValuePair tagValue = new PSTagValuePair(); + tagValue.Name = hashtable["Name"].ToString(); + + if (hashtable.ContainsKey("Value")) + { + tagValue.Value = hashtable["Value"].ToString(); + } + + return tagValue; + } + + public static Dictionary CreateTagDictionary(Hashtable[] hashtableArray, bool validate) + { + Dictionary tagDictionary = null; + if (hashtableArray != null && hashtableArray.Length > 0) + { + tagDictionary = new Dictionary(); + foreach (var tag in hashtableArray) + { + var tagValuePair = Create(tag); + if (tagValuePair != null) + { + if (tagValuePair.Value != null) + { + tagDictionary[tagValuePair.Name] = tagValuePair.Value; + } + else + { + tagDictionary[tagValuePair.Name] = ""; + } + } + } + } + + if (validate) + { + if (hashtableArray != null && hashtableArray.Length > 0 && hashtableArray[0].Count > 0 && + (tagDictionary == null || tagDictionary.Count == 0)) + { + throw new ArgumentException(Resources.InvalidTagFormat); + } + if (hashtableArray != null && hashtableArray.Length > 0 && hashtableArray[0].Count > 0 && + (tagDictionary == null || hashtableArray.Length != tagDictionary.Count)) + { + throw new ArgumentException(Resources.InvalidTagFormatNotUniqueName); + } + } + + return tagDictionary; + } + + public static Hashtable[] CreateTagHashtable(IDictionary dictionary) + { + List tagHashtable = new List(); + foreach (string key in dictionary.Keys) + { + tagHashtable.Add(new Hashtable + { + {"Name", key}, + {"Value", dictionary[key]} + }); + } + return tagHashtable.ToArray(); + } + + public static string FormatTagsTable(Hashtable[] tags) + { + if (tags == null) + { + return null; + } + + Hashtable emptyHashtable = new Hashtable + { + {"Name", string.Empty}, + {"Value", string.Empty} + }; + StringBuilder resourcesTable = new StringBuilder(); + + if (tags.Length > 0) + { + int maxNameLength = Math.Max("Name".Length, tags.Where(ht => ht.ContainsKey("Name")).DefaultIfEmpty(emptyHashtable).Max(ht => ht["Name"].ToString().Length)); + int maxValueLength = Math.Max("Value".Length, tags.Where(ht => ht.ContainsKey("Value")).DefaultIfEmpty(emptyHashtable).Max(ht => ht["Value"].ToString().Length)); + + string rowFormat = "{0, -" + maxNameLength + "} {1, -" + maxValueLength + "}\r\n"; + resourcesTable.AppendLine(); + resourcesTable.AppendFormat(rowFormat, "Name", "Value"); + resourcesTable.AppendFormat(rowFormat, + GeneralUtilities.GenerateSeparator(maxNameLength, "="), + GeneralUtilities.GenerateSeparator(maxValueLength, "=")); + + foreach (Hashtable tag in tags) + { + PSTagValuePair tagValuePair = Helpers.Create(tag); + if (tagValuePair != null) + { + if (tagValuePair.Name.StartsWith(ExcludedTagPrefix)) + { + continue; + } + + if (tagValuePair.Value == null) + { + tagValuePair.Value = string.Empty; + } + resourcesTable.AppendFormat(rowFormat, tagValuePair.Name, tagValuePair.Value); + } + } + } + + return resourcesTable.ToString(); + } + + /// + /// Filters the subscription's accounts. + /// + /// The account name. + /// The tag to filter on. + /// The filtered accounts + public static List FilterAccounts(IListaccounts, Hashtable tag) + { + List result = new List(); + + if (tag != null && tag.Count >= 1) + { + PSTagValuePair tagValuePair = Helpers.Create(tag); + if (tagValuePair == null) + { + throw new ArgumentException(Resources.InvalidTagFormat); + } + if (string.IsNullOrEmpty(tagValuePair.Value)) + { + accounts = + accounts.Where(acct => acct.Tags != null + && acct.Tags.Keys.Contains(tagValuePair.Name, StringComparer.OrdinalIgnoreCase)) + .Select(acct => acct).ToList(); + } + else + { + accounts = + accounts.Where(acct => acct.Tags != null && acct.Tags.Keys.Contains(tagValuePair.Name, StringComparer.OrdinalIgnoreCase)) + .Where(rg => rg.Tags.Values.Contains(tagValuePair.Value, StringComparer.OrdinalIgnoreCase)) + .Select(acct => acct).ToList(); + } + } + + result.AddRange(accounts); + return result; + } + + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountCommand.cs new file mode 100644 index 000000000000..7234c5a5112f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountCommand.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch.Models; +using Microsoft.WindowsAzure; +using System.Collections; +using System.Collections.Generic; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.New, "AzureBatchAccount"), OutputType(typeof(BatchAccountContext))] + public class NewBatchAccountCommand : BatchCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account to create.")] + [Alias("Name")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The region where the account will be created.")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the resource group where the account will be created.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Alias("Tags")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "An array of hashtables which represents account tags.")] + public Hashtable[] Tag { get; set; } + + public override void ExecuteCmdlet() + { + BatchAccountContext context = BatchClient.CreateAccount(this.ResourceGroupName, this.AccountName, this.Location, this.Tag); + WriteObject(context); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs new file mode 100644 index 000000000000..de86fe450f73 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Batch.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.New, "AzureBatchAccountKey"), OutputType(typeof(BatchAccountContext))] + public class RegenBatchAccountKeyCommand : BatchCmdletBase + { + internal const string ParameterSetContext = "Use Context"; + internal const string ParameterSetCmdLine = "Use Command Line"; + + [Parameter(ParameterSetName = ParameterSetCmdLine, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account to regenerate the specified key for.")] + [Alias("Name")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(ParameterSetName = ParameterSetCmdLine, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the account.")] + public string ResourceGroupName { get; set; } + + private AccountKeyType keyType; + //[Parameter(ParameterSetName = ParameterSetContext, Mandatory = true, ValueFromPipeline = false, + // HelpMessage = "The type of key (primary or secondary) to regenerate.")] + [Parameter(ParameterSetName = ParameterSetCmdLine, Mandatory = true, ValueFromPipeline = false, HelpMessage = "The type of key (primary or secondary) to regenerate.")] + [ValidateSet("Primary", "Secondary")] + public string KeyType + { + get { return keyType.ToString(); } + set + { + if (value == "Primary") + { + keyType = AccountKeyType.Primary; + } + else if (value == "Secondary") + { + keyType = AccountKeyType.Secondary; + } + } + } + + public override void ExecuteCmdlet() + { + BatchAccountContext context = BatchClient.RegenerateKeys(this.ResourceGroupName, this.AccountName, this.keyType); + WriteObject(context); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs new file mode 100644 index 000000000000..2ce88ab52b9f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Remove, "AzureBatchAccount")] + public class RemoveBatchAccountCommand : BatchCmdletBase + { + private static string mamlCall = "RemoveAccount"; + + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account to remove.")] + [Alias("Name")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the account being removed.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RBA_RemoveConfirm, this.AccountName), + Resources.RBA_RemoveResource, + this.AccountName, + () => DeleteAction(this.ResourceGroupName, this.AccountName)); + } + + private void DeleteAction(string resGroupName, string accountName) + { + WriteVerboseWithTimestamp(Resources.BeginMAMLCall, mamlCall); + BatchClient.DeleteAccount(resGroupName, accountName); + WriteVerboseWithTimestamp(Resources.EndMAMLCall, mamlCall); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/SetBatchAccountCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Accounts/SetBatchAccountCommand.cs new file mode 100644 index 000000000000..5f6177caf739 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Accounts/SetBatchAccountCommand.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch.Models; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Set, "AzureBatchAccount"), OutputType(typeof(BatchAccountContext))] + public class SetBatchAccountCommand : BatchCmdletBase + { + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Batch service account to update.")] + [Alias("Name")] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Alias("Tags")] + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "An array of hashtables which represents the account tags to be replaced or updated.")] + public Hashtable[] Tag { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the account being updated.")] + public string ResourceGroupName { get; set; } + + public override void ExecuteCmdlet() + { + BatchAccountContext context = BatchClient.UpdateAccount(this.ResourceGroupName, this.AccountName, this.Tag); + WriteObject(context); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs b/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs new file mode 100644 index 000000000000..ba26940632e8 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs @@ -0,0 +1,307 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch; +using Microsoft.Azure.Management.Batch.Models; +using Microsoft.Azure.Management.Resources; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Models; +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch +{ + public class BatchClient + { + public IBatchManagementClient BatchManagementClient{ get; private set; } + + public IResourceManagementClient ResourceManagementClient { get; private set; } + + private static string batchProvider = "Microsoft.Batch"; + private static string accountObject = "batchAccounts"; + private static string accountSearch = batchProvider + "/" + accountObject; + + public BatchClient() + { } + + /// + /// Creates new BatchClient instance + /// + /// The IBatchManagementClient instance + public BatchClient(IBatchManagementClient batchManagementClient, IResourceManagementClient resourceManagementClient) + { + BatchManagementClient = batchManagementClient; + ResourceManagementClient = resourceManagementClient; + } + + /// + /// Creates new ResourceManagementClient + /// + /// Context with subscription containing a batch account to manipulate + public BatchClient(AzureContext context) + : this(AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager), + AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager)) + { + } + + #region Account verbs + /// + /// Creates a new Batch account + /// + /// The name of the resource group in which to create the account + /// The account name + /// The location to use when creating the account + /// The tags to associate with the account + /// A BatchAccountContext object representing the new account + public virtual BatchAccountContext CreateAccount(string resourceGroupName, string accountName, string location, Hashtable[] tags) + { + // use the group lookup to validate whether account already exists. We don't care about the returned + // group name nor the exception + if (GetGroupForAccountNoThrow(accountName) != null) + { + throw new CloudException(Resources.NBA_AccountAlreadyExists); + } + + Dictionary tagDictionary = Helpers.CreateTagDictionary(tags, validate: true); + + var response = BatchManagementClient.Accounts.Create(resourceGroupName, accountName, new BatchAccountCreateParameters() + { + Location = location, + Tags = tagDictionary + }); + + var context = BatchAccountContext.ConvertAccountResourceToNewAccountContext(response.Resource); + return context; + } + + /// + /// Updates an existing Batch account + /// + /// The name of the resource group the account is under. If unspecified, it will be looked up. + /// The account name + /// New tags to associate with the account + /// A BatchAccountContext object representing the updated account + public virtual BatchAccountContext UpdateAccount(string resourceGroupName, string accountName, Hashtable[] tags) + { + if (string.IsNullOrEmpty(resourceGroupName)) + { + // use resource mgr to see if account exists and then use resource group name to do the actual lookup + resourceGroupName = GetGroupForAccount(accountName); + } + + Dictionary tagDictionary = Helpers.CreateTagDictionary(tags, validate: true); + + + // need to the location in order to call + var getResponse = BatchManagementClient.Accounts.Get(resourceGroupName, accountName); + + var response = BatchManagementClient.Accounts.Create(resourceGroupName, accountName, new BatchAccountCreateParameters() + { + Location = getResponse.Resource.Location, + Tags = tagDictionary + }); + + BatchAccountContext context = BatchAccountContext.ConvertAccountResourceToNewAccountContext(response.Resource); + + return context; + } + + /// + /// Get details about the Batch account + /// + /// The name of the resource group the account is under. If unspecified, it will be looked up. + /// The account name + /// A BatchAccountContext object representing the account + public virtual BatchAccountContext GetAccount(string resourceGroupName, string accountName) + { + // single account lookup - find its resource group if not specified + if (string.IsNullOrEmpty(resourceGroupName)) + { + resourceGroupName = GetGroupForAccount(accountName); + } + var response = BatchManagementClient.Accounts.Get(resourceGroupName, accountName); + + return BatchAccountContext.ConvertAccountResourceToNewAccountContext(response.Resource); + } + + /// + /// Gets the keys associated with the Batch account + /// + /// The name of the resource group the account is under. If unspecified, it will be looked up. + /// The account name + /// A BatchAccountContext object with the account keys + public virtual BatchAccountContext ListKeys(string resourceGroupName, string accountName) + { + if (string.IsNullOrEmpty(resourceGroupName)) + { + // use resource mgr to see if account exists and then use resource group name to do the actual lookup + resourceGroupName = GetGroupForAccount(accountName); + } + + var context = GetAccount(resourceGroupName, accountName); + var keysResponse = BatchManagementClient.Accounts.ListKeys(resourceGroupName, accountName); + context.PrimaryAccountKey = keysResponse.PrimaryKey; + context.SecondaryAccountKey = keysResponse.SecondaryKey; + + return context; + } + + /// + /// Lists all accounts in a subscription or in a resource group if its name is specified + /// + /// The name of the resource group to search under for accounts. If unspecified, all accounts will be looked up. + /// The tag to filter accounts on + /// A collection of BatchAccountContext objects + public virtual IEnumerable ListAccounts(string resourceGroupName, Hashtable tag) + { + List accounts = new List(); + + // no account name so we're doing some sort of list. If no resource group, then list all accounts under the + // subscription otherwise all accounts in the resource group. + var response = BatchManagementClient.Accounts.List(new AccountListParameters { ResourceGroupName = resourceGroupName }); + + // filter out the accounts if a tag was specified + IList accountResources = new List(); + if (tag != null && tag.Count > 0) + { + accountResources = Helpers.FilterAccounts(response.Accounts, tag); + } + else + { + accountResources = response.Accounts; + } + + foreach (AccountResource resource in accountResources) + { + accounts.Add(BatchAccountContext.ConvertAccountResourceToNewAccountContext(resource)); + } + + var nextLink = response.NextLink; + + while (nextLink != null) + { + response = ListNextAccounts(nextLink); + + foreach (AccountResource resource in response.Accounts) + { + accounts.Add(BatchAccountContext.ConvertAccountResourceToNewAccountContext(resource)); + } + + nextLink = response.NextLink; + } + + return accounts; + } + + /// + /// Generates new key for the Batch account + /// + /// The name of the resource group the account is under. If unspecified, it will be looked up. + /// The account name + /// The type of key to regenerate + /// The BatchAccountContext object with the regenerated keys + public virtual BatchAccountContext RegenerateKeys(string resourceGroupName, string accountName, AccountKeyType keyType) + { + if (string.IsNullOrEmpty(resourceGroupName)) + { + // use resource mgr to see if account exists and then use resource group name to do the actual lookup + resourceGroupName = GetGroupForAccount(accountName); + } + + // build a new context to put the keys into + var context = GetAccount(resourceGroupName, accountName); + + var regenResponse = BatchManagementClient.Accounts.RegenerateKey(resourceGroupName, accountName, new BatchAccountRegenerateKeyParameters + { + KeyName = keyType + }); + + context.PrimaryAccountKey = regenResponse.PrimaryKey; + context.SecondaryAccountKey = regenResponse.SecondaryKey; + return context; + } + + /// + /// Deletes the specified account + /// + /// The name of the resource group the account is under. If unspecified, it will be looked up. + /// The account name + /// The status of delete account operation + public virtual OperationResponse DeleteAccount(string resourceGroupName, string accountName) + { + if (string.IsNullOrEmpty(resourceGroupName)) + { + // use resource mgr to see if account exists and then use resource group name to do the actual lookup + resourceGroupName = GetGroupForAccount(accountName); + } + return BatchManagementClient.Accounts.Delete(resourceGroupName, accountName); + } + #endregion + + /// + /// Lists all accounts in a subscription or in a resource group if its name is specified + /// + /// Next link to use when querying for accounts + /// The status of list operation + internal BatchAccountListResponse ListNextAccounts(string NextLink) + { + return BatchManagementClient.Accounts.ListNext(NextLink); + } + + internal string GetGroupForAccountNoThrow(string accountName) + { + var response = ResourceManagementClient.Resources.List(new Management.Resources.Models.ResourceListParameters() + { + ResourceType = accountSearch + }); + + string groupName = null; + + foreach (var res in response.Resources) + { + if (res.Name == accountName) + { + groupName = ExtractResourceGroupName(res.Id); + } + } + + return groupName; + } + + internal string GetGroupForAccount(string accountName) + { + var groupName = GetGroupForAccountNoThrow(accountName); + if (groupName == null) + { + throw new CloudException(Resources.ResourceNotFound); + } + + return groupName; + } + + private string ExtractResourceGroupName(string id) + { + var idParts = id.Split('/'); + if (idParts.Length < 4) + { + throw new CloudException(String.Format(Resources.MissingResGroupName, id)); + } + + return idParts[4]; + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs new file mode 100644 index 000000000000..09a2cca6a9cc --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs @@ -0,0 +1,120 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Common.Internals; +using Newtonsoft.Json.Linq; +using System; + +namespace Microsoft.Azure.Commands.Batch +{ + public class BatchCmdletBase : AzurePSCmdlet + { + private BatchClient batchClient; + + public BatchClient BatchClient + { + get + { + if (batchClient == null) + { + batchClient = new BatchClient(CurrentContext); + } + return batchClient; + } + + set { batchClient = value; } + } + + protected virtual void OnProcessRecord() + { + // Intentionally left blank + } + + protected override void ProcessRecord() + { + try + { + Validate.ValidateInternetConnection(); + ExecuteCmdlet(); + OnProcessRecord(); + } + catch (CloudException ex) + { + var updatedEx = ex; + + if (ex.Response != null && ex.Response.Content != null) + { + var message = FindDetailedMessage(ex.Response.Content); + + if (message != null) + { + updatedEx = new CloudException(message, ex); + } + } + + WriteExceptionError(updatedEx); + } + catch (Exception ex) + { + WriteExceptionError(ex); + } + } + + /// + /// For now, the 2nd message KVP inside "details" contains useful info about the failure. Eventually, a code KVP + /// will be added such that we can search on that directly. + /// + /// + /// + internal static string FindDetailedMessage(string content) + { + string message = null; + + if (ParserHelper.IsJson(content)) + { + var response = JObject.Parse(content); + + // check that we have a details section + var detailsToken = response["details"]; + + if (detailsToken != null) + { + var details = detailsToken as JArray; + if (details != null && details.Count > 1) + { + // for now, 2nd entry in array is the one we're interested in. Need a better way of identifying the + // detailed error message + var dObj = detailsToken[1] as JObject; + var code = dObj.GetValue("code", StringComparison.CurrentCultureIgnoreCase); + if (code != null) + { + message = code.ToString() + ": "; + } + + var detailedMsg = dObj.GetValue("message", StringComparison.CurrentCultureIgnoreCase); + if (detailedMsg != null) + { + message += detailedMsg.ToString(); + + } + } + } + } + + return message; + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchManagementClient.Customization.cs b/src/ResourceManager/Batch/Commands.Batch/BatchManagementClient.Customization.cs new file mode 100644 index 000000000000..9941d79cf5a2 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/BatchManagementClient.Customization.cs @@ -0,0 +1,62 @@ +// +// Copyright (c) Microsoft. All rights reserved. +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Net.Http; +using Microsoft.WindowsAzure.Common; +using Microsoft.WindowsAzure.Common.Internals; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Management.BatchManager +{ + public partial class BatchManagementClient + { + public static BatchManagementClient Create(IDictionary settings) + { + if (settings == null) + { + throw new ArgumentNullException("settings"); + } + + SubscriptionCloudCredentials credentials = ConfigurationHelper.GetCredentials(settings); + + Uri baseUri = ConfigurationHelper.GetUri(settings, "BaseUri", false); + + return baseUri != null ? + new BatchManagementClient(credentials, baseUri) : + new BatchManagementClient(credentials); + } + + protected override void Clone(ServiceClient client) + { + base.Clone(client); + BatchManagementClient batchClient = client as BatchManagementClient; + if (batchClient != null) + { + batchClient._credentials = Credentials; + batchClient._baseUri = BaseUri; + batchClient.Credentials.InitializeServiceClient(batchClient); + } + } + + public override BatchManagementClient WithHandler(DelegatingHandler handler) + { + return (BatchManagementClient)WithHandler(new BatchManagementClient(), handler); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj new file mode 100644 index 000000000000..945fd24095dd --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj @@ -0,0 +1,157 @@ + + + + + Debug + AnyCPU + {D470E50A-9607-48D6-A924-4F9F86502704} + Library + Properties + Microsoft.Azure.Commands.Batch + Microsoft.Azure.Commands.Batch + v4.5 + 512 + ..\ + true + + + + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Batch\ + TRACE;DEBUG;CODE_ANALYSIS + prompt + 4 + true + false + true + + + pdbonly + true + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\Batch\ + TRACE;SIGN + prompt + 4 + true + true + MSSharedLibKey.snk + true + false + + + + ..\..\..\packages\Microsoft.Azure.Management.Batch.1.1.2-preview\lib\net40\Microsoft.Azure.Management.Batch.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.6.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + 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\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + D:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + Always + Designer + + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + Always + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/MSSharedLibKey.snk b/src/ResourceManager/Batch/Commands.Batch/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/Batch/Commands.Batch/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml b/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml new file mode 100644 index 000000000000..18a717115adc --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml @@ -0,0 +1,751 @@ + + + + + Get-AzureBatchAccount + + + + + + + Get + AzureBatchAccount + + + + + Returns object representing the details of the batch account under current subscription. + + + + Get-AzureBatchAccount + + AccountName + + Name of the account - if specified, only return the specified account. + + String + + + ResourceGroupName + + Name of the resource group. If specified, only list the accounts under the specified resource group. + + String + + + + Get-AzureBatchAccount + + ResourceGroupName + + Name of the resource group. If specified, only list the accounts under the specified resource group. + + String + + + + + + AccountName + + Name of the account - if specified, only return the specified account. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. If specified, only list the accounts under the specified resource group. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureBatchAccountKeys + + + + + + + Get + AzureBatchAccountKeys + + + + + Returns the keys to the account specified. + + + + Get-AzureBatchAccountKeys + + AccountName + + The name of the Batch account to retrieve key with. + + String + + + ResourceGroupName + + Name of the resource group. If specified, only search the keys of the accounts under the specified resource group. + + String + + + + Get-AzureBatchAccountKeys + + Context + + Batch account object. Either specify the account name or use this parameter to specify the account. + + BatchAccountContext + + + + + + AccountName + + The name of the Batch account to retrieve key with. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. If specified, only search the keys of the accounts under the specified resource group. + + String + + String + + + + + + Context + + Batch account object. Either specify the account name or use this parameter to specify the account. + + BatchAccountContext + + BatchAccountContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureBatchAccount + + + + + + + New + AzureBatchAccount + + + + + Create a new Azure Batch account. + + + + New-AzureBatchAccount + + AccountName + + Specifies a name for the batch account. The batch account name must be unique to Windows Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. + + String + + + Location + + Specifies the Windows Azure data center location where the batch account is created. + + String + + + ResourceGroupName + + Specifies the name of an existing resource group in the current subscription. + + String + + + WhatIf + + + + SwitchParameter + + + Tags + + + + String[] + + + + + + AccountName + + Specifies a name for the batch account. The batch account name must be unique to Windows Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. + + String + + String + + + + + + Location + + Specifies the Windows Azure data center location where the batch account is created. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an existing resource group in the current subscription. + + String + + String + + + + + + WhatIf + + + + SwitchParameter + + SwitchParameter + + + + + + Tags + + + + String[] + + String[] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureBatchAccountKey + + + + + + + New + AzureBatchAccountKey + + + + + Regenerate the key of specified Batch account. + + + + New-AzureBatchAccountKey + + AccountName + + Name of the account to get key. + + String + + + ResourceGroupName + + Name of the resource group. If specified, only regenerate the keys of the accounts under the specified resource group. + + String + + + KeyType + + Specify which key to regenerate. Primary vs. secondary. + + String + + + + New-AzureBatchAccountKey + + Context + + Batch account object. Either specify the account name or use this parameter to specify the account. + + BatchAccountContext + + + + + + AccountName + + Name of the account to get key. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. If specified, only regenerate the keys of the accounts under the specified resource group. + + String + + String + + + + + + KeyType + + Specify which key to regenerate. Primary vs. secondary. + + String + + String + + + + + + Context + + Batch account object. Either specify the account name or use this parameter to specify the account. + + BatchAccountContext + + BatchAccountContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureBatchAccount + + + + + + + Remove + AzureBatchAccount + + + + + Delete specified Batch account. + + + + Remove-AzureBatchAccount + + AccountName + + The name of the Batch account to be removed. + + String + + + ResourceGroupName + + + + String + + + + + + AccountName + + The name of the Batch account to be removed. + + String + + String + + + + + + ResourceGroupName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureBatchAccount + + + + + + + Set + AzureBatchAccount + + + + + Update specified Batch Account. Currently, only tag can be updated. + + + + Set-AzureBatchAccount + + AccountName + + The name of the Batch account to be updated. + + String + + + ResourceGroupName + + Name of the resource group. If specified, search the accounts under the resource group only + + String + + + Tags + + + + String[] + + + + + + AccountName + + The name of the Batch account to be updated. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. If specified, search the accounts under the resource group only + + String + + String + + + + + + Tags + + + + String[] + + String[] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.format.ps1xml b/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.format.ps1xml new file mode 100644 index 000000000000..3ccf251fdc78 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.format.ps1xml @@ -0,0 +1,56 @@ + + + + + Microsoft.Azure.Commands.Batch.BatchAccountContext + + Microsoft.Azure.Commands.Batch.BatchAccountContext + + + + + + 20 + + + + 15 + + + + 17 + + + + 18 + + + + + + + + + + + $_.AccountName + + + $_.Location + + + $_.ResourceGroupName + + + $_.Tags + + + $_.TaskTenantUrl + + + + + + + + diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs new file mode 100644 index 000000000000..311dd493c442 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs @@ -0,0 +1,109 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Batch.Properties; +using Microsoft.Azure.Management.Batch.Models; +using System; +using System.Collections; + +namespace Microsoft.Azure.Commands.Batch +{ + /// + /// very simple account context class for getting things started + /// + public class BatchAccountContext + { + public string Id { get; private set; } + + public string AccountEndpoint { get; private set; } + + public string PrimaryAccountKey { get; internal set; } + + public string SecondaryAccountKey { get; internal set; } + + public string AccountName { get; private set; } + + public string Location { get; private set; } + + public string ResourceGroupName { get; private set; } + + public string Subscription { get; private set; } + + public string State { get; private set; } + + public string TaskTenantUrl { get; private set; } + + public Hashtable[] Tags { get; private set; } + + public string TagsTable + { + get { return Helpers.FormatTagsTable(Tags); } + } + + internal BatchAccountContext() { } + + internal BatchAccountContext(string accountEndpoint) + { + this.AccountEndpoint = accountEndpoint; + } + + /// + /// Take an AccountResource and turn it into a BatchAccountContext + /// + /// Resource info returned by RP + /// Void + internal void ConvertAccountResourceToAccountContext(AccountResource resource) + { + var accountEndpoint = resource.Properties.AccountEndpoint; + if (Uri.CheckHostName(accountEndpoint) != UriHostNameType.Dns) + { + throw new ArgumentException(String.Format(Resources.InvalidEndpointType, accountEndpoint), "AccountEndpoint"); + } + + this.Id = resource.Id; + this.AccountEndpoint = accountEndpoint; + this.Location = resource.Location; + this.State = resource.Properties.ProvisioningState.ToString(); + this.Tags = Helpers.CreateTagHashtable(resource.Tags); + + // extract the host and strip off the account name for the TaskTenantUrl and AccountName + var hostParts = accountEndpoint.Split('.'); + this.AccountName = hostParts[0]; + this.TaskTenantUrl = Uri.UriSchemeHttps + Uri.SchemeDelimiter + String.Join(".", hostParts, 1, hostParts.Length - 1); + + // get remaining fields from Id which looks like: + // /subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw + var idParts = resource.Id.Split('/'); + if (idParts.Length < 5) + { + throw new ArgumentException(String.Format(Resources.InvalidResourceId, resource.Id), "Id"); + } + + this.Subscription = idParts[2]; + this.ResourceGroupName = idParts[4]; + } + + /// + /// Create a new BAC and fill it in + /// + /// Resource info returned by RP + /// new instance of BatchAccountContext + internal static BatchAccountContext ConvertAccountResourceToNewAccountContext(AccountResource resource) + { + var baContext = new BatchAccountContext(); + baContext.ConvertAccountResourceToAccountContext(resource); + return baContext; + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTagValuePair.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTagValuePair.cs new file mode 100644 index 000000000000..1a6f78607452 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTagValuePair.cs @@ -0,0 +1,22 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Batch.Models +{ + public class PSTagValuePair + { + public string Name { get; set; } + public string Value { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/Properties/AssemblyInfo.cs b/src/ResourceManager/Batch/Commands.Batch/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..a543048bbdfc --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Properties/AssemblyInfo.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - Batch Service Manager")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("ed102280-3577-49bf-93dd-11b6e3a44a57")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.Batch.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.Batch.Test")] +#endif diff --git a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..dae98c3cc5fa --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs @@ -0,0 +1,225 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Batch.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Begin {0} call to RP. + /// + internal static string BeginMAMLCall { + get { + return ResourceManager.GetString("BeginMAMLCall", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to End {0} call to RP. + /// + internal static string EndMAMLCall { + get { + return ResourceManager.GetString("EndMAMLCall", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting all accounts in subscription. + /// + internal static string GBA_AllAccounts { + get { + return ResourceManager.GetString("GBA_AllAccounts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting accounts in resource group {0}. + /// + internal static string GBA_ResGroupAccounts { + get { + return ResourceManager.GetString("GBA_ResGroupAccounts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting account keys for {0}. + /// + internal static string GBAK_GettingKeys { + get { + return ResourceManager.GetString("GBAK_GettingKeys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The endpoint is not recognized as valid: {0}. + /// + internal static string InvalidEndpointType { + get { + return ResourceManager.GetString("InvalidEndpointType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The resource ID is not recognized as valid: {0}. + /// + internal static string InvalidResourceId { + get { + return ResourceManager.GetString("InvalidResourceId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid tag format. Expect @{Name = "tagName"} or @{Name = "tagName"; Value = "tagValue"}. + /// + internal static string InvalidTagFormat { + get { + return ResourceManager.GetString("InvalidTagFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = "tagName1"; Value = "tagValue1"}, @{Name = "tagName2"; Value = "tagValue2"}. + /// + internal static string InvalidTagFormatNotUniqueName { + get { + return ResourceManager.GetString("InvalidTagFormatNotUniqueName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot find resource group name in ID property: {0}. + /// + internal static string MissingResGroupName { + get { + return ResourceManager.GetString("MissingResGroupName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AccountAlreadyExists: Account already exists.. + /// + internal static string NBA_AccountAlreadyExists { + get { + return ResourceManager.GetString("NBA_AccountAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Checking if account already exists. + /// + internal static string NBA_LookupAccount { + get { + return ResourceManager.GetString("NBA_LookupAccount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Performing name availability check for account {0}. + /// + internal static string NBA_NameAvailability { + get { + return ResourceManager.GetString("NBA_NameAvailability", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove batch account {0}. + /// + internal static string RBA_RemoveConfirm { + get { + return ResourceManager.GetString("RBA_RemoveConfirm", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing batch account .... + /// + internal static string RBA_RemoveResource { + get { + return ResourceManager.GetString("RBA_RemoveResource", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Looking up resource group for account {0}. + /// + internal static string ResGroupLookup { + get { + return ResourceManager.GetString("ResGroupLookup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ResourceNotFound: Resource not found.. + /// + internal static string ResourceNotFound { + get { + return ResourceManager.GetString("ResourceNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Updating account {0}. + /// + internal static string SBA_Updating { + get { + return ResourceManager.GetString("SBA_Updating", resourceCulture); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx new file mode 100644 index 000000000000..73fbc2ec451e --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Begin {0} call to RP + + + End {0} call to RP + + + Getting account keys for {0} + + + Getting all accounts in subscription + + + Getting accounts in resource group {0} + + + The endpoint is not recognized as valid: {0} + + + The resource ID is not recognized as valid: {0} + + + Invalid tag format. Expect @{Name = "tagName"} or @{Name = "tagName"; Value = "tagValue"} + + + Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = "tagName1"; Value = "tagValue1"}, @{Name = "tagName2"; Value = "tagValue2"} + + + Cannot find resource group name in ID property: {0} + + + AccountAlreadyExists: Account already exists. + + + Checking if account already exists + + + Performing name availability check for account {0} + + + Are you sure you want to remove batch account {0} + + + Removing batch account ... + + + Looking up resource group for account {0} + + + ResourceNotFound: Resource not found. + emulate exception generated by RP + + + Updating account {0} + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/packages.config b/src/ResourceManager/Batch/Commands.Batch/packages.config new file mode 100644 index 000000000000..a5eb80a5f148 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj new file mode 100644 index 000000000000..61bbc83f702a --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj @@ -0,0 +1,339 @@ + + + + + Debug + AnyCPU + {D4EDAD6F-6A1D-4295-9A88-CD3F69EAD42B} + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + Microsoft.Azure.Commands.DataFactories.Test + Microsoft.Azure.Commands.DataFactories.Test + v4.5 + 512 + ..\..\..\ + true + + 236d7f52 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + true + MSSharedLibKey.snk + true + true + false + bin\Release\ + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + false + + + + ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll + True + + + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.11.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + + + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.11.2-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + + + ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.0-preview\lib\net40\Microsoft.Azure.Monitoring.dll + True + + + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + True + + + False + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + + + ..\..\..\packages\Microsoft.DataFactories.Runtime.0.11.1-preview\lib\net45\Microsoft.DataFactories.Runtime.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + + + False + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + True + + + + + + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {65c3a86a-716d-4e7d-ab67-1db00b3bf72d} + Commands.Common.Storage + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {bc420543-c04e-4bf3-96e1-cd81b823bdd7} + Commands.Test.Utilities + + + {9577252e-0a6b-4d61-86e8-95f7f309a987} + Commands.DataFactories + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/MSSharedLibKey.snk b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..b820f65d78dd --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.DataFactories.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Azure.Commands.DataFactories.Test")] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("8E86B542-B22F-44B6-8053-3F5118E04DEA")] + +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_CuratedWikiData.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_CuratedWikiData.json new file mode 100644 index 000000000000..e57174182c58 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_CuratedWikiData.json @@ -0,0 +1,27 @@ +{ + name: "DA_CuratedWikiData", + properties: + { + structure: + [ + { name: "slicetimestamp", position: 0, type: "String"}, + { name: "projectname", position: 1, type: "String"}, + { name: "pageviews", position: 2, type: "Decimal"} + ], + location: + { + type: "AzureBlobLocation", + folderPath: "wikidatagateway/wikisampledataout/{Slice}", + partitionedBy: + [ + { name: "Slice", value: { type: "DateTime", date: "SliceStart", format: "yyyyMMddHH" } }, + ], + linkedServiceName: "LinkedService-CuratedWikiData" + }, + availability: + { + frequency: "Hour", + interval: 1 + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikiAggregatedData.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikiAggregatedData.json new file mode 100644 index 000000000000..1143fbd445ef --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikiAggregatedData.json @@ -0,0 +1,30 @@ +{ + name: "DA_WikiAggregatedData", + properties: + { + structure: + [ + { name: "slicetimestamp", position: 0, type: "String" }, + { name: "projectname", position: 1, type: "String" }, + { name: "hits", position: 2, type: "Decimal" } + ], + location: + { + type: "AzureSqlTableLocation", + tableName: "wikiaggregateddata", + linkedServiceName: "LinkedService-WikiAggregatedData" + }, + availability: + { + frequency: "Hour", + interval: 1 + }, + policy: + { + validation: + { + minimumRows: 10 + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikipediaClickEvents.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikipediaClickEvents.json new file mode 100644 index 000000000000..c65c1050c037 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DA_WikipediaClickEvents.json @@ -0,0 +1,29 @@ +{ + name: "DA_WikipediaClickEvents", + properties: + { + location: + { + type: "AzureBlobLocation", + folderPath: "wikidatagateway/wikisampledatain/", + linkedServiceName: "LinkedService-WikipediaClickEvents" + }, + availability: { + frequency: "Hour", + interval: 1, + waitOnExternal: + { + retryInterval: "00:01:00", + retryTimeout: "00:10:00", + maximumRetry: 3 + } + }, + policy: + { + validation: + { + minimumSizeMB: 1.0 + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DP_Wikisamplev2json.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DP_Wikisamplev2json.json new file mode 100644 index 000000000000..2cc8fc353b5a --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/DP_Wikisamplev2json.json @@ -0,0 +1,57 @@ +{ + name: "DP_WikipediaSamplePipeline", + properties: + { + description : "DP Wikipedia Sample Pipelines", + activities: + [ + { + name: "WikiHiveActivity", + inputs: [ {name: "DA_WikipediaClickEvents"} ], + outputs: [ {name: "DA_CuratedWikiData"} ], + linkedServiceName: "HDILinkedService", + type: "HDInsightActivity", + transformation: + { + type: "Hive", + script: "$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\' \\' LINES TERMINATED BY \\'10\\' STORED AS TEXTFILE LOCATION \\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\',\\' LINES TERMINATED BY \\'10\\' STORED AS TEXTFILE LOCATION \\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\'2014/02/25\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\'[.]\\'))=1 THEN \\'wikipedia\\' ELSE CASE split(projectname, \\'[.]\\')[1] WHEN \\'b\\' THEN \\'wikibooks\\' WHEN \\'d\\' THEN \\'wiktionary\\' WHEN \\'m\\' THEN \\'wikimedia\\' WHEN \\'mv\\' THEN \\'wikipedia mobile\\' WHEN \\'n\\' THEN \\'wikinews\\' WHEN \\'q\\' THEN \\'wikiquote\\' WHEN \\'s\\' THEN \\'wikisource\\' WHEN \\'v\\' THEN \\'wikiversity\\' WHEN \\'w\\' THEN \\'mediawiki\\' ELSE \\'n/a\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)" + }, + policy: + { + concurrency: 1, + executionPriorityOrder: "NewestFirst", + retry: 2, + timeout: "01:00:00" + } + }, + { + name: "BlobToSqlCopyActivity", + inputs: [ {name: "DA_CuratedWikiData"} ], + outputs: [ {name: "DA_WikiAggregatedData"} ], + linkedServiceName: "HDILinkedService", + type: "CopyActivity", + transformation: + { + source: + { + type: "BlobSource", + blobColumnSeparators: "," + }, + sink: + { + type: "SqlSink", + writeBatchSize: 1000000, + writeBatchTimeout: "01:00:00" + } + }, + policy: + { + concurrency: 1, + executionPriorityOrder: "NewestFirst", + retry: 2, + timeout: "01:00:00" + } + } + ] + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_CuratedWikiData.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_CuratedWikiData.json new file mode 100644 index 000000000000..6fe323600b4b --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_CuratedWikiData.json @@ -0,0 +1,8 @@ +{ + name: "LinkedService-CuratedWikiData", + properties: + { + type: "AzureStorageLinkedService", + connectionString: "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_HDIBYOC.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_HDIBYOC.json new file mode 100644 index 000000000000..9478092966f4 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_HDIBYOC.json @@ -0,0 +1,11 @@ +{ + "name": "HDILinkedService", + "properties": + { + "type": "HDInsightBYOCLinkedService", + "clusterUri": "https://myhadoopcluster.azurehdinsight.net/", + "userName": "admin", + "password": "mypassword", + "linkedServiceName": "LinkedService-CuratedWikiData" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikiAggregatedData.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikiAggregatedData.json new file mode 100644 index 000000000000..c5b95efc0e81 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikiAggregatedData.json @@ -0,0 +1,8 @@ +{ + name: "LinkedService-WikiAggregatedData", + properties: + { + type: "AzureSqlLinkedService", + connectionString: "Server=tcp:mytest.database.windows.net,1499;Database=wikitest;User ID=myaccount;Password=somepassword;Trusted_Connection=False;Encrypt=True;Connection Timeout=30" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikipediaClickEvents.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikipediaClickEvents.json new file mode 100644 index 000000000000..1efc5a89dace --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/WikiSamplePipeline/LinkedService_WikipediaClickEvents.json @@ -0,0 +1,8 @@ +{ + name: "LinkedService-WikipediaClickEvents", + properties: + { + type: "AzureStorageLinkedService", + connectionString: "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/hub.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/hub.json new file mode 100644 index 000000000000..c991b31e7ecf --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/hub.json @@ -0,0 +1,9 @@ +{ + "name": "SampleHub", + "properties": { + "defaultCompute": "SampleDefaultCompute", + "type": "Hub", + "hubId": "00000000-0000-0000-0000-000000000001", + "provisioningState": "Succeeded" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/linkedService.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/linkedService.json new file mode 100644 index 000000000000..cd6b9d6f8938 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/linkedService.json @@ -0,0 +1,8 @@ +{ + name: "foo2", + properties: + { + type: "AzureStorageLinkedService", + connectionString: "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/pipeline.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/pipeline.json new file mode 100644 index 000000000000..05e15ab3a5e0 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/pipeline.json @@ -0,0 +1,16 @@ +{ + name: "foo", + properties: + { + description : "sample", + activities: + [ + { + name: "foo", + inputs: [ {name: "foo1"} ], + outputs: [ {name: "foo1"} ], + linkedServiceName: "foo2", + } + ] + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/table.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/table.json new file mode 100644 index 000000000000..437344527f93 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Resources/table.json @@ -0,0 +1,23 @@ +{ + name: "foo1", + properties: + { + structure: + [ + { name: "slicetimestamp", position: 0, type: "String"}, + { name: "projectname", position: 1, type: "String"}, + { name: "pageviews", position: 2, type: "Decimal"} + ], + location: + { + type: "AzureBlobLocation", + blobPath: "$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)", + linkedServiceName: "foo2" + }, + availability: + { + frequency: "Hour", + interval: 1 + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 new file mode 100644 index 000000000000..bd2adaf4dd13 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 @@ -0,0 +1,65 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Gets valid resource group name +#> +function Get-ResourceGroupName +{ + return getAssetName +} + +<# +.SYNOPSIS +Gets valid data factory name +#> +function Get-DataFactoryName +{ + return getAssetName +} + +<# +.SYNOPSIS +Gets the default location for a provider +#> +function Get-ProviderLocation($provider) +{ + $location = Get-AzureLocation | where {$_.Name -eq $provider} + if ($location -eq $null) { + "West US" + } else { + $location.Locations[0] + } +} + +<# +.SYNOPSIS +Cleans the created data factory +#> +function Clean-DataFactory($rgname, $dfname) +{ + if ([Microsoft.Azure.Utilities.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Utilities.HttpRecorder.HttpRecorderMode]::Playback) { + Remove-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Force + } +} + +<# +.SYNOPSIS +Cleans the created tags +#> +function Clean-Tags +{ + Get-AzureTag | Remove-AzureTag -Force +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesTestsBase.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs similarity index 80% rename from src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesTestsBase.cs rename to src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs index ed660b9c57b5..0f8a9700bda4 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesTestsBase.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs @@ -13,6 +13,8 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Gallery; +using Microsoft.Azure.Management.Authorization; +using Microsoft.Azure.Management.DataFactories; using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Subscriptions; using Microsoft.WindowsAzure.Commands.ScenarioTest; @@ -20,39 +22,35 @@ using Microsoft.WindowsAzure.Management.Monitoring.Events; using Microsoft.WindowsAzure.Management.Storage; using Microsoft.WindowsAzure.Testing; -using Microsoft.Azure.Management.Authorization; -namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +namespace Microsoft.Azure.Commands.DataFactories.Test { - public abstract class ResourcesTestsBase + public abstract class DataFactoriesScenarioTestsBase { private EnvironmentSetupHelper helper; - protected ResourcesTestsBase() + protected DataFactoriesScenarioTestsBase() { helper = new EnvironmentSetupHelper(); } protected void SetupManagementClients() { + var dataPipelineManagementClient = GetDataPipelineManagementClient(); var resourceManagementClient = GetResourceManagementClient(); var subscriptionsClient = GetSubscriptionClient(); var galleryClient = GetGalleryClient(); var eventsClient = GetEventsClient(); var authorizationManagementClient = GetAuthorizationManagementClient(); - helper.SetupManagementClients(resourceManagementClient, + helper.SetupManagementClients(dataPipelineManagementClient, + resourceManagementClient, subscriptionsClient, galleryClient, eventsClient, authorizationManagementClient); } - protected AuthorizationManagementClient GetAuthorizationManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - protected void RunPowerShellTest(params string[] scripts) { using (UndoContext context = UndoContext.Current) @@ -69,6 +67,11 @@ protected void RunPowerShellTest(params string[] scripts) } } + protected DataPipelineManagementClient GetDataPipelineManagementClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } + protected ResourceManagementClient GetResourceManagementClient() { return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); @@ -79,6 +82,11 @@ protected SubscriptionClient GetSubscriptionClient() return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); } + protected StorageManagementClient GetStorageManagementClient() + { + return TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); + } + protected GalleryClient GetGalleryClient() { return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); @@ -89,5 +97,9 @@ protected EventsClient GetEventsClient() return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); } + protected AuthorizationManagementClient GetAuthorizationManagementClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } } } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.cs new file mode 100644 index 000000000000..1eb76da6e6a2 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class DataFactoryGatewayTests : DataFactoriesScenarioTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetNonExistingDataFactoryGateway() + { + RunPowerShellTest("Test-GetNonExistingDataFactoryGateway"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateDataFactoryGateway() + { + RunPowerShellTest("Test-DataFactoryGateway"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateDataFactoryGatewayWithDataFactoryParameter() + { + RunPowerShellTest("Test-DataFactoryGatewayWithDataFactoryParameter"); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 new file mode 100644 index 000000000000..b7a9786859db --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 @@ -0,0 +1,112 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Nagative test. Get gateway from an non-existing empty group. +#> +function Test-GetNonExistingDataFactoryGateway +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureDataFactory -Name $dfname -Location $rglocation -ResourceGroup $rgname -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name "gwname" } "GatewayNotFound" +} + +<# +.SYNOPSIS +Create a gateway and then do a Get to compare the result are identical. +Delete the created gateway after test finishes. +#> +function Test-DataFactoryGateway +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $gwname = "foo" + $description = "description" + + $actual = New-AzureDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Location $dflocation + $expected = Get-AzureDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname + Assert-AreEqual $actual.Name $expected.Name + Assert-AreEqual $actual.Location $expected.Location + + $key = New-AzureDataFactoryGatewayKey -ResourceGroupName $rgname -DataFactoryName $dfname -GatewayName $gwname + Assert-NotNull $key + Assert-NotNull $key.Gatewaykey + + $result = Set-AzureDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Description $description + Assert-AreEqual $result.Description $description + + Remove-AzureDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Use the datafactory parameter to create a gateway and then do a Get to compare the result are identical. +Delete the created gateway after test finishes. +#> +function Test-DataFactoryGatewayWithDataFactoryParameter +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + $datafactory = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $gwname = "foo" + $description = "description" + + $actual = New-AzureDataFactoryGateway -DataFactory $datafactory -Name $gwname -Location $dflocation + $expected = Get-AzureDataFactoryGateway -DataFactory $datafactory -Name $gwname + Assert-AreEqual $actual.Name $expected.Name + Assert-AreEqual $actual.Location $expected.Location + + $key = New-AzureDataFactoryGatewayKey -DataFactory $datafactory -GatewayName $gwname + Assert-NotNull $key + Assert-NotNull $key.Gatewaykey + + $result = Set-AzureDataFactoryGateway -DataFactory $datafactory -Name $gwname -Description $description + Assert-AreEqual $result.Description $description + + Remove-AzureDataFactoryGateway -DataFactory $datafactory -Name $gwname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.cs new file mode 100644 index 000000000000..040aceb38546 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class DataFactoryTests : DataFactoriesScenarioTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetNonExistingDataFactory() + { + RunPowerShellTest("Test-GetNonExistingDataFactory"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateDataFactory() + { + RunPowerShellTest("Test-CreateDataFactory"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDeleteDataFactoryWithDataFactoryParameter() + { + RunPowerShellTest("Test-DeleteDataFactoryWithDataFactoryParameter"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetDataFactoryWithEmptyName() + { + RunPowerShellTest("Test-GetDataFactoryWithEmptyName"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetDataFactoryWithWhiteSpaceName() + { + RunPowerShellTest("Test-GetDataFactoryWithWhiteSpaceName"); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 new file mode 100644 index 000000000000..096d78647284 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 @@ -0,0 +1,106 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Nagative test. Get resources from an non-existing empty group. +#> +function Test-GetNonExistingDataFactory +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound" +} + +<# +.SYNOPSIS +Create a data factory and then do a Get to compare the result are identical. +The datafactory will be removed when the test finishes. +#> +function Test-CreateDataFactory +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + $actual = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $expected = Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Create a data factory and then delete it with -DataFactory parameter. +#> +function Test-DeleteDataFactoryWithDataFactoryParameter +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + $df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + Remove-AzureDataFactory -DataFactory $df -Force +} + +<# +.SYNOPSIS +Nagative test. Get resources with an empty data factory name. +#> +function Test-GetDataFactoryWithEmptyName +{ + $dfname = "" + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfname } "empty" +} + +<# +.SYNOPSIS +Nagative test. Get resources with a data factory name which only contains white space. +#> +function Test-GetDataFactoryWithWhiteSpaceName +{ + $dfname = " " + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfname } "Value cannot be null" +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/StandardHeadersHandler.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.cs similarity index 56% rename from src/ServiceManagement/Services/Commands.Utilities/Common/StandardHeadersHandler.cs rename to src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.cs index 65e58bc6f5d7..4c92a4b11a96 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/StandardHeadersHandler.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.cs @@ -12,26 +12,25 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; -namespace Microsoft.WindowsAzure.Commands.Utilities.Common +namespace Microsoft.Azure.Commands.DataFactories.Test { - public class StandardHeadersHandler : DelegatingHandler + public class HubTests : DataFactoriesScenarioTestsBase { - public StandardHeadersHandler() + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestHub() { + RunPowerShellTest("Test-Hub"); } - public StandardHeadersHandler(HttpMessageHandler innerHandler) : base(innerHandler) + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestHubWithDataFactoryParameter() { - } - - protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) - { - request.Headers.Remove(ApiConstants.VSDebuggerCausalityDataHeaderName); - return base.SendAsync(request, cancellationToken); + RunPowerShellTest("Test-HubWithDataFactoryParameter"); } } } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 new file mode 100644 index 000000000000..a61359e9e4e1 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 @@ -0,0 +1,84 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Create a hub and then do a Get to compare the results are identical. +Delete the created hub after the test finishes. +#> +function Test-Hub +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $hubname = "SampleHub" + + $actual = New-AzureDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -File .\Resources\hub.json -Force + $expected = Get-AzureDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.HubName $actual.HubName + + Remove-AzureDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Create a hub and then do a Get to compare the results are identical. +Delete the created hub after the test finishes. +Use -DataFactory parameter in all cmdlets. +#> +function Test-HubWithDataFactoryParameter +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + $df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $hubname = "SampleHub" + + $actual = New-AzureDataFactoryHub -DataFactory $df -Name $hubname -File .\Resources\hub.json -Force + $expected = Get-AzureDataFactoryHub -DataFactory $df -Name $hubname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.HubName $actual.HubName + + Remove-AzureDataFactoryHub -DataFactory $df -Name $hubname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.cs new file mode 100644 index 000000000000..ae402c9b351e --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class LinkedServiceTests : DataFactoriesScenarioTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestLinkedService() + { + RunPowerShellTest("Test-LinkedService"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestLinkedServiceWithDataFactoryParameter() + { + RunPowerShellTest("Test-LinkedServiceWithDataFactoryParameter"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetLinkedServiceWithEmptyName() + { + RunPowerShellTest("Test-GetLinkedServiceWithEmptyName"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetLinkedServiceWithWhiteSpaceName() + { + RunPowerShellTest("Test-GetLinkedServiceWithWhiteSpaceName"); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 new file mode 100644 index 000000000000..48b181410cdc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 @@ -0,0 +1,122 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Create a linked service and then do a Get to compare the result are identical. +Delete the created linked service after test finishes. +#> +function Test-LinkedService +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $lsname = "foo" + + $actual = New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force + $expected = Get-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.LinkedServiceName $actual.LinkedServiceName + + Remove-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Create a linked service and then do a Get to compare the result are identical. +Delete the created linked service after test finishes. +Use -DataFactory parameter in all cmdlets. +#> +function Test-LinkedServiceWithDataFactoryParameter +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + $df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + $lsname = "foo" + + $actual = New-AzureDataFactoryLinkedService -DataFactory $df -Name $lsname -File .\Resources\linkedService.json -Force + $expected = Get-AzureDataFactoryLinkedService -DataFactory $df -Name $lsname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.LinkedServiceName $actual.LinkedServiceName + + Remove-AzureDataFactoryLinkedService -DataFactory $df -Name $lsname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Nagative test. Get resources with an empty linked service name. +#> +function Test-GetLinkedServiceWithEmptyName +{ + $lsname = "" + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname } "null" +} + +<# +.SYNOPSIS +Nagative test. Get resources with a linked service name which only contains white space. +#> +function Test-GetLinkedServiceWithWhiteSpaceName +{ + $lsname = " " + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname } "null" +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.cs new file mode 100644 index 000000000000..b8ff14dc158e --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class PipelineTests : DataFactoriesScenarioTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestWikipediaSamplePipeline() + { + RunPowerShellTest("Test-WikipediaSamplePipeline"); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.ps1 new file mode 100644 index 000000000000..1e54935f20e3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/PipelineTests.ps1 @@ -0,0 +1,80 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +An E2E test to create and monitor a Wikipedia sample pipeline. +#> +function Test-WikipediaSamplePipeline +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + $endDate = [DateTime]::Parse("9/8/2014") + $startDate = $endDate.AddHours(-1) + $folder = ".\Resources\WikiSamplePipeline\" + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + #create datafactory + $df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation + + #create linked services + $lsCurated = New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File $folder"LinkedService_CuratedWikiData.json" + $lsHDI = New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -Name HDILinkedService -DataFactoryName $dfname -File $folder"LinkedService_HDIBYOC.json" + $lsAggregated = New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -Name LinkedService-WikiAggregatedData -DataFactoryName $dfname -File $folder"LinkedService_WikiAggregatedData.json" + $lsClicked = New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -Name LinkedService-WikipediaClickEvents -DataFactoryName $dfname -File $folder"LinkedService_WikipediaClickEvents.json" + + #create tables + $tbAggregated = New-AzureDataFactoryTable -ResourceGroupName $rgname DA_WikiAggregatedData -DataFactoryName $dfname -File $folder"DA_WikiAggregatedData.json" + $tbClick = New-AzureDataFactoryTable -ResourceGroupName $rgname -Name DA_WikipediaClickEvents -DataFactoryName $dfname -File $folder"DA_WikipediaClickEvents.json" + $tbCurated = New-AzureDataFactoryTable -ResourceGroupName $rgname -Name DA_CuratedWikiData -DataFactoryName $dfname -File $folder"DA_CuratedWikiData.json" + + #create pipeline + $actualPipeline = New-AzureDataFactoryPipeline -ResourceGroupName $rgname -Name DP_WikipediaSamplePipeline -DataFactoryName $dfname -File $folder"DP_Wikisamplev2json.json" -Force + $expectedPipeline = Get-AzureDataFactoryPipeline -ResourceGroupName $rgname -Name DP_WikipediaSamplePipeline -DataFactoryName $dfname + + Assert-AreEqual $actualPipeline.ResourceGroupName $expectedPipeline.ResourceGroupName + Assert-AreEqual $actualPipeline.DataFactoryName $expectedPipeline.DataFactoryName + Assert-AreEqual $actualPipeline.PipelineName $expectedPipeline.PipelineName + + #set pipeline active period + Set-AzureDataFactoryPipelineActivePeriod -Name DP_WikipediaSamplePipeline -ResourceGroupName $rgname -DataFactoryName $dfname -StartDateTime $startDate -EndDateTime $endDate -Force + + $slices = Get-AzureDataFactorySlice -ResourceGroupName $rgname -DataFactoryName $dfname -TableName DA_WikiAggregatedData -StartDateTime $startDate -EndDateTime $endDate + Assert-AreEqual $slices.Count 1 + + #overwrite the pipeline again with -DataFactory parameter + $actualPipeline = New-AzureDataFactoryPipeline -DataFactory $df -File $folder"DP_Wikisamplev2json.json" -Force + $expectedPipeline = Get-AzureDataFactoryPipeline -DataFactory $df -Name DP_WikipediaSamplePipeline + + Assert-AreEqual $actualPipeline.ResourceGroupName $expectedPipeline.ResourceGroupName + Assert-AreEqual $actualPipeline.DataFactoryName $expectedPipeline.DataFactoryName + Assert-AreEqual $actualPipeline.PipelineName $expectedPipeline.PipelineName + + #remove the pipeline + Remove-AzureDataFactoryPipeline -ResourceGroupName $rgname -DataFactoryName $dfname -Name DP_WikipediaSamplePipeline -Force + + #remove the pipeline again should not throw + Remove-AzureDataFactoryPipeline -DataFactory $df -Name DP_WikipediaSamplePipeline -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.cs new file mode 100644 index 000000000000..335b9edb097d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class TableTests : DataFactoriesScenarioTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestTable() + { + RunPowerShellTest("Test-Table"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestTableWithDataFactoryParameter() + { + RunPowerShellTest("Test-TableWithDataFactoryParameter"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetTableWithEmptyName() + { + RunPowerShellTest("Test-GetTableWithEmptyName"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetTableWithWhiteSpaceName() + { + RunPowerShellTest("Test-GetTableWithWhiteSpaceName"); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 new file mode 100644 index 000000000000..9a64fb542771 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 @@ -0,0 +1,124 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Create a table and the linked service which it depends on. Then do a Get to compare the result are identical. +Delete the created table after test finishes. +#> +function Test-Table +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force + + $tblname = "foo2" + $actual = New-AzureDataFactoryTable -ResourceGroupName $rgname -DataFactoryName $dfname -Name $tblname -File .\Resources\table.json -Force + $expected = Get-AzureDataFactoryTable -ResourceGroupName $rgname -DataFactoryName $dfname -Name $tblname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.TableName $actual.TableName + + Remove-AzureDataFactoryTable -ResourceGroupName $rgname -DataFactoryName $dfname -Name $tblname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Create a table and the linked service which it depends on. Then do a Get to compare the result are identical. +Delete the created table after test finishes. +Use -DataFactory parameter in all cmdlets. +#> +function Test-TableWithDataFactoryParameter +{ + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + + try + { + $df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + New-AzureDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force + + $tblname = "foo2" + $actual = New-AzureDataFactoryTable -DataFactory $df -Name $tblname -File .\Resources\table.json -Force + $expected = Get-AzureDataFactoryTable -DataFactory $df -Name $tblname + + Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName + Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName + Assert-AreEqual $expected.TableName $actual.TableName + + Remove-AzureDataFactoryTable -DataFactory $df -Name $tblname -Force + } + finally + { + Clean-DataFactory $rgname $dfname + } +} + +<# +.SYNOPSIS +Nagative test. Get resources with an empty table name. +#> +function Test-GetTableWithEmptyName +{ + $tblname = "" + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactoryTable -ResourceGroupName $rgname -DataFactoryName $dfname -Name $tblname } "null" +} + +<# +.SYNOPSIS +Nagative test. Get resources with a table name which only contains white space. +#> +function Test-GetTableWithWhiteSpaceName +{ + $tblname = " " + $dfname = Get-DataFactoryName + $rgname = Get-ResourceGroupName + $rglocation = Get-ProviderLocation ResourceManagement + $dflocation = Get-ProviderLocation DataFactoryManagement + + New-AzureResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + + # Test + Assert-ThrowsContains { Get-AzureDataFactoryTable -ResourceGroupName $rgname -DataFactoryName $dfname -Name $tblname } "null" +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json new file mode 100644 index 000000000000..afefda31106b --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGateway.json @@ -0,0 +1,1105 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799860" + ], + "x-ms-request-id": [ + "61be1a16-975a-42df-b9a0-1bdb00fe4db0" + ], + "x-ms-correlation-request-id": [ + "61be1a16-975a-42df-b9a0-1bdb00fe4db0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181205Z:61be1a16-975a-42df-b9a0-1bdb00fe4db0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799859" + ], + "x-ms-request-id": [ + "d7355475-33e2-49cf-bef9-6fdefdf14ac7" + ], + "x-ms-correlation-request-id": [ + "d7355475-33e2-49cf-bef9-6fdefdf14ac7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181205Z:d7355475-33e2-49cf-bef9-6fdefdf14ac7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799858" + ], + "x-ms-request-id": [ + "35bf2ea5-ddfe-4810-8287-8fc5a2786296" + ], + "x-ms-correlation-request-id": [ + "35bf2ea5-ddfe-4810-8287-8fc5a2786296" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181205Z:35bf2ea5-ddfe-4810-8287-8fc5a2786296" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:04 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3163\",\r\n \"name\": \"onesdk3163\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11942" + ], + "x-ms-request-id": [ + "f2f55459-dee7-4600-995a-4b985670b63e" + ], + "x-ms-correlation-request-id": [ + "f2f55459-dee7-4600-995a-4b985670b63e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181205Z:f2f55459-dee7-4600-995a-4b985670b63e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:05 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3163/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799857" + ], + "x-ms-request-id": [ + "0fd2cb1b-14e5-47ef-9320-eb8163e360f3" + ], + "x-ms-correlation-request-id": [ + "0fd2cb1b-14e5-47ef-9320-eb8163e360f3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181205Z:0fd2cb1b-14e5-47ef-9320-eb8163e360f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:5a9c14b0-3318-483d-b970-c162121dd8e0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799856" + ], + "x-ms-correlation-request-id": [ + "2fc93da0-0871-4a50-a0e6-9f7e3424963c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181206Z:2fc93da0-0871-4a50-a0e6-9f7e3424963c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk30\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "67" + ], + "x-ms-client-request-id": [ + "b88ecae3-14a7-4b74-ae15-375670bcf867" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk30\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3cbe8926-e9cc-4639-b9a0-6bca07291c8d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "474" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dedf8cbf-9ed8-4038-ad9f-a3b223c8293e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11941" + ], + "x-ms-correlation-request-id": [ + "201beecb-3ccd-4454-af2b-700824a0e1aa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181207Z:201beecb-3ccd-4454-af2b-700824a0e1aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:07 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b899427b-e8c7-4425-b0f8-0aa587f6bf6d" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk30\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3cbe8926-e9cc-4639-b9a0-6bca07291c8d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "474" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "11e81770-f543-490a-9f19-91dce7622784" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799855" + ], + "x-ms-correlation-request-id": [ + "9ba74cbd-4b32-4efa-a871-a362a897e89e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181207Z:9ba74cbd-4b32-4efa-a871-a362a897e89e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:07 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "081d7d14-2193-432b-932f-85b2e2a09dd4" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk30\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3cbe8926-e9cc-4639-b9a0-6bca07291c8d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "474" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a80e7651-58ff-41a1-8795-83e7c6287288" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799854" + ], + "x-ms-correlation-request-id": [ + "cc672f7a-c18f-483a-a1bd-a2d2f7fa2eea" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181212Z:cc672f7a-c18f-483a-a1bd-a2d2f7fa2eea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:11 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "733fe6f9-020d-4005-a8d3-90e6d1792f24" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk30\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3cbe8926-e9cc-4639-b9a0-6bca07291c8d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "468" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "63b2949e-e390-4467-971d-de453846e2a8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799853" + ], + "x-ms-correlation-request-id": [ + "eeeb6c3b-cc59-4ea1-8d0f-649545750723" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181217Z:eeeb6c3b-cc59-4ea1-8d0f-649545750723" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ee1739d6-e5c1-4a09-b445-dd8871c224c8" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Gateway foo does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "78" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "927201ab-03d3-4eae-b6c7-159b2fb35038" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799852" + ], + "x-ms-correlation-request-id": [ + "4a5dd8ee-3b04-46e8-93fc-aa89e069ee43" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181217Z:4a5dd8ee-3b04-46e8-93fc-aa89e069ee43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6cc4f385-3565-46d6-a4de-607beb6f4c2f" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk30\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:12:18.0959495Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "494" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "75dbd8a3-c6df-489a-a286-ef43875d09a9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799850" + ], + "x-ms-correlation-request-id": [ + "c736b0ec-80fb-4584-b7f6-ebec0cb90071" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181219Z:c736b0ec-80fb-4584-b7f6-ebec0cb90071" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"WESTUS\",\r\n \"properties\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "67" + ], + "x-ms-client-request-id": [ + "bece9cca-13e2-41b8-98f2-bc62cf2c7d94" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "152" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": \"ADF#8636f516-4f88-4b24-9942-82f3362e6a71@8d88dc98-ab0c-4b80-825b-123b2cf8443c@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@wu#hBWU7VMIkpVkA5PMqK2jlI2oNylduTKX4XYAPDBu/4Q=\",\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk30\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:12:18.0959495Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "95f4a32d-2e06-46d0-9fea-295d175b088e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11940" + ], + "x-ms-correlation-request-id": [ + "66ea0b98-41e4-4eb4-8fb0-73567e9d2979" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181218Z:66ea0b98-41e4-4eb4-8fb0-73567e9d2979" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd279fe3-4819-439c-9edd-3f09126d3cef" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "152" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk30\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:12:18.0959495Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "494" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b04097d7-630a-49b7-a6d3-8ff432050020" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799851" + ], + "x-ms-correlation-request-id": [ + "baa69c31-472a-474a-9a59-e1aa46ee8d47" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181218Z:baa69c31-472a-474a-9a59-e1aa46ee8d47" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo/regeneratekey?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvby9yZWdlbmVyYXRla2V5P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "942ba9fb-fa9e-4019-ae40-9ebbaf71f2a2" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"key\": \"ADF#8636f516-4f88-4b24-9942-82f3362e6a71@8d88dc98-ab0c-4b80-825b-123b2cf8443c@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@wu#jCaSYttGJoNyUiD+j8D6jIfVZHIwaPo9zxU+C20X2ZI=\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a7a6a7ba-b96b-4f08-8add-b343c5a57448" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11939" + ], + "x-ms-correlation-request-id": [ + "406ead66-8f26-4f9a-86d6-729b975c3270" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181220Z:406ead66-8f26-4f9a-86d6-729b975c3270" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "80" + ], + "x-ms-client-request-id": [ + "20141321-f632-4eca-b793-3b8b7b3897d1" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": \"description\",\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk30\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:12:18.0959495Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "503" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aff69e1c-9a99-4810-b1e2-f5923b8e0d4a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11938" + ], + "x-ms-correlation-request-id": [ + "280c89cd-62fa-416b-b9c2-5718df69f06e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181221Z:280c89cd-62fa-416b-b9c2-5718df69f06e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvbz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b0b092ac-d5d4-4ac7-9778-80b37ba81ab2" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "2cb24e3a-8674-48f5-a18e-a1db2693a1b1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11937" + ], + "x-ms-correlation-request-id": [ + "9bc7cfc7-9a0f-40f3-9e05-54043fe9f010" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181222Z:9bc7cfc7-9a0f-40f3-9e05-54043fe9f010" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:22 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo/operationresults/01D5f94e618-8048-4fb0-9de8-39b4e8d465c3?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30/gateways/foo/operationresults/01D5f94e618-8048-4fb0-9de8-39b4e8d465c3?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwL2dhdGV3YXlzL2Zvby9vcGVyYXRpb25yZXN1bHRzLzAxRDVmOTRlNjE4LTgwNDgtNGZiMC05ZGU4LTM5YjRlOGQ0NjVjMz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "158" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "eb777263-9ae2-4277-9cc0-5e9782982dd7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799849" + ], + "x-ms-correlation-request-id": [ + "bd9112ed-2d94-4323-8245-45bd3b235d41" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181223Z:bd9112ed-2d94-4323-8245-45bd3b235d41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3163/providers/Microsoft.DataFactory/datafactories/onesdk30?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMwP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "29b975dd-0f11-4c38-b314-7e8a8ec3139b" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "35d8c460-0c38-4b9f-9bf7-d12781151c3e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11936" + ], + "x-ms-correlation-request-id": [ + "755316ae-69df-4884-a750-5289c0335e49" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181223Z:755316ae-69df-4884-a750-5289c0335e49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:12:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-DataFactoryGateway": [ + "onesdk30", + "onesdk3163" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json new file mode 100644 index 000000000000..c3489cf79f27 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestCreateDataFactoryGatewayWithDataFactoryParameter.json @@ -0,0 +1,1168 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799881" + ], + "x-ms-request-id": [ + "dfa0440a-caed-47d1-b93a-ac464fe18293" + ], + "x-ms-correlation-request-id": [ + "dfa0440a-caed-47d1-b93a-ac464fe18293" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181005Z:dfa0440a-caed-47d1-b93a-ac464fe18293" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799880" + ], + "x-ms-request-id": [ + "cf7a02db-d13e-45f0-88eb-4e5418ce9937" + ], + "x-ms-correlation-request-id": [ + "cf7a02db-d13e-45f0-88eb-4e5418ce9937" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181005Z:cf7a02db-d13e-45f0-88eb-4e5418ce9937" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799879" + ], + "x-ms-request-id": [ + "8073a916-64c8-4fe9-8ec5-aac6b37a4002" + ], + "x-ms-correlation-request-id": [ + "8073a916-64c8-4fe9-8ec5-aac6b37a4002" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181005Z:8073a916-64c8-4fe9-8ec5-aac6b37a4002" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:05 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk7774\",\r\n \"name\": \"onesdk7774\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11952" + ], + "x-ms-request-id": [ + "9d395873-12d6-40d8-badb-a930f4e93b80" + ], + "x-ms-correlation-request-id": [ + "9d395873-12d6-40d8-badb-a930f4e93b80" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181005Z:9d395873-12d6-40d8-badb-a930f4e93b80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:05 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk7774/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazc3NzQvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799878" + ], + "x-ms-request-id": [ + "9d584d8e-67d1-4359-a7d0-e869c83bbe81" + ], + "x-ms-correlation-request-id": [ + "9d584d8e-67d1-4359-a7d0-e869c83bbe81" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181006Z:9d584d8e-67d1-4359-a7d0-e869c83bbe81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:8246d216-5d5d-47cb-a54f-f376fe4f4cc7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799877" + ], + "x-ms-correlation-request-id": [ + "81b62e99-ea09-48af-9c22-8579b65f750e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181006Z:81b62e99-ea09-48af-9c22-8579b65f750e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "eff01d2d-31e3-4b88-8389-2e690452c721" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "109" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3a0c44ae-865a-4c89-b772-5b8ddda430c8\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ede38cd8-9cd7-4723-a9c1-790b25f86c42" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11951" + ], + "x-ms-correlation-request-id": [ + "9f21ed8f-b0aa-4292-bc7b-85538047e865" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181007Z:9f21ed8f-b0aa-4292-bc7b-85538047e865" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:06 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "059d8dbe-6a23-4aba-beb1-3dff61992159" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "109" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3a0c44ae-865a-4c89-b772-5b8ddda430c8\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bff1c57e-5142-4883-9e1f-c52d51386f7f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799876" + ], + "x-ms-correlation-request-id": [ + "f5ec3f1e-e438-4545-8a3c-89ea2ea500d3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181007Z:f5ec3f1e-e438-4545-8a3c-89ea2ea500d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:07 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a37d49bf-dd2b-40d1-a72f-cc389c2a12d0" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "109" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3a0c44ae-865a-4c89-b772-5b8ddda430c8\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5e45092a-4443-423a-b3a1-d062e4918aa3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799875" + ], + "x-ms-correlation-request-id": [ + "498f5bf0-1135-406f-af88-060964dab024" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181012Z:498f5bf0-1135-406f-af88-060964dab024" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:11 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f7b20b31-57e8-46cb-9ccc-fa674f225a3f" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "109" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3a0c44ae-865a-4c89-b772-5b8ddda430c8\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ec53a943-8f9c-48d1-8944-40da59ce5140" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799874" + ], + "x-ms-correlation-request-id": [ + "63aa5c7b-3428-41b5-bd78-14db10617396" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181017Z:63aa5c7b-3428-41b5-bd78-14db10617396" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dd595291-2c2e-4437-9263-a81aba6054e9" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "109" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6746\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"3a0c44ae-865a-4c89-b772-5b8ddda430c8\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6085bbe6-0201-42db-beae-85675cfffadc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799873" + ], + "x-ms-correlation-request-id": [ + "ae9671f6-9ec4-4ad6-b7a1-f77aef134e4c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181022Z:ae9671f6-9ec4-4ad6-b7a1-f77aef134e4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:21 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6aec61f2-c74d-4e47-9373-508db3bc9dc8" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Gateway foo does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "78" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c87c21d7-5dc7-4a2a-a336-b16a4e8b3a8e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799872" + ], + "x-ms-correlation-request-id": [ + "f8fb9566-4b7a-4cad-bff0-3685d21d1c7b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181022Z:f8fb9566-4b7a-4cad-bff0-3685d21d1c7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a28d6f66-5bb4-42ff-8a0f-a40f20d32fc7" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk6746\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:10:23.9245014Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0a3bb64e-eea0-4b55-970a-efe4b4d4db94" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799870" + ], + "x-ms-correlation-request-id": [ + "f4affef2-222e-4bcb-85db-8f64e8e4ff15" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181024Z:f4affef2-222e-4bcb-85db-8f64e8e4ff15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"WESTUS\",\r\n \"properties\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "67" + ], + "x-ms-client-request-id": [ + "1e89be13-14dc-4ec2-84de-dceb34999097" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "116" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": \"ADF#cdd9366f-b481-4517-bb2b-f38b0bed751c@8d88dc98-ab0c-4b80-825b-123b2cf8443c@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@wu#RH1CERwi8XQ0atrYQkoWXS9nUIkW+uCxfJGCk9an75c=\",\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk6746\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:10:23.9245014Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "656" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "915f8caa-fc3f-4268-a48a-482d773b1e65" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11950" + ], + "x-ms-correlation-request-id": [ + "9b0a0366-4316-45a5-9143-52c4221a99b9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181024Z:9b0a0366-4316-45a5-9143-52c4221a99b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "48246f43-4eb5-403c-a3ed-0a1203a6dcfb" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "116" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": null,\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk6746\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:10:23.9245014Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5abd8e07-fcf2-4ad3-b2da-a663f3d37da7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799871" + ], + "x-ms-correlation-request-id": [ + "ad197109-1186-43e7-ac37-01200677f58c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181024Z:ad197109-1186-43e7-ac37-01200677f58c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo/regeneratekey?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vL3JlZ2VuZXJhdGVrZXk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5fce7999-80e4-450d-b31d-3d6b3f686269" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"key\": \"ADF#cdd9366f-b481-4517-bb2b-f38b0bed751c@8d88dc98-ab0c-4b80-825b-123b2cf8443c@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@wu#tdYy+hR/ePAOrhKpmkq8ND7Em7pNBHTqdwTNa7T0auw=\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e0a153fc-33d0-4997-adb3-ec6fc9b77e1d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11949" + ], + "x-ms-correlation-request-id": [ + "daa92af3-a3f7-492d-a8e5-bd251e209705" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181026Z:daa92af3-a3f7-492d-a8e5-bd251e209705" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:25 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"description\": \"description\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "80" + ], + "x-ms-client-request-id": [ + "471b995d-086a-4774-b94b-2fc5a76aecdc" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"gatewayName\": \"foo\",\r\n \"location\": \"West US\",\r\n \"key\": null,\r\n \"description\": \"description\",\r\n \"hostServiceUri\": null,\r\n \"dataFactoryName\": \"onesdk6746\",\r\n \"status\": \"NeedRegistration\",\r\n \"versionStatus\": \"None\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"version\": null,\r\n \"createTime\": \"2014-10-21T18:10:23.9245014Z\",\r\n \"registerTime\": null,\r\n \"lastConnectTime\": null,\r\n \"expiryTime\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "505" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3aa7884d-adc9-4731-a84a-bc4820ab2aa6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11948" + ], + "x-ms-correlation-request-id": [ + "26e770de-45ed-4153-8917-86a45168b807" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181027Z:26e770de-45ed-4153-8917-86a45168b807" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:27 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "658d0dca-e2db-461f-ae69-492f07366d76" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "122" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "3f2e3183-9bd0-49d8-9e4f-690bee14f4a0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11947" + ], + "x-ms-correlation-request-id": [ + "8bde64f0-4270-4538-b9fe-257fc6d91fb1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181029Z:8bde64f0-4270-4538-b9fe-257fc6d91fb1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:28 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo/operationresults/01De2eed86c-3f4c-419b-91b3-d30f5f188a4a?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746/gateways/foo/operationresults/01De2eed86c-3f4c-419b-91b3-d30f5f188a4a?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDYvZ2F0ZXdheXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvMDFEZTJlZWQ4NmMtM2Y0Yy00MTliLTkxYjMtZDMwZjVmMTg4YTRhP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "122" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d5c910cd-b089-4dac-b0fe-1185d5b1e153" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799869" + ], + "x-ms-correlation-request-id": [ + "80a40e55-11cf-46aa-984e-e37f867bfd08" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181029Z:80a40e55-11cf-46aa-984e-e37f867bfd08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk7774/providers/Microsoft.DataFactory/datafactories/onesdk6746?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazc3NzQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY3NDY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f6c08fa-e78e-4ad7-9d49-b16db3574992" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dcfff934-c764-4eb9-904f-df3099b8d7d7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11946" + ], + "x-ms-correlation-request-id": [ + "ba0ebfb1-8f44-4871-86fb-dcbc0ec94e48" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181030Z:ba0ebfb1-8f44-4871-86fb-dcbc0ec94e48" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:10:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-DataFactoryGatewayWithDataFactoryParameter": [ + "onesdk6746", + "onesdk7774" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json new file mode 100644 index 000000000000..453afafccb1d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests/TestGetNonExistingDataFactoryGateway.json @@ -0,0 +1,514 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799868" + ], + "x-ms-request-id": [ + "d7707dd4-6dd1-4f3c-8ba6-ad4e4e0f6425" + ], + "x-ms-correlation-request-id": [ + "d7707dd4-6dd1-4f3c-8ba6-ad4e4e0f6425" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181115Z:d7707dd4-6dd1-4f3c-8ba6-ad4e4e0f6425" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799867" + ], + "x-ms-request-id": [ + "930f05ec-0d8a-42e5-bb7a-285d46712bfe" + ], + "x-ms-correlation-request-id": [ + "930f05ec-0d8a-42e5-bb7a-285d46712bfe" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181115Z:930f05ec-0d8a-42e5-bb7a-285d46712bfe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:15 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5604\",\r\n \"name\": \"onesdk5604\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11945" + ], + "x-ms-request-id": [ + "03247946-5c41-42a8-9403-0f14c5db5ae4" + ], + "x-ms-correlation-request-id": [ + "03247946-5c41-42a8-9403-0f14c5db5ae4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181115Z:03247946-5c41-42a8-9403-0f14c5db5ae4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:15 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5604/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazU2MDQvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799866" + ], + "x-ms-request-id": [ + "c9a074fc-f92f-42e7-b98d-b3240289eadf" + ], + "x-ms-correlation-request-id": [ + "c9a074fc-f92f-42e7-b98d-b3240289eadf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181115Z:c9a074fc-f92f-42e7-b98d-b3240289eadf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:2c8ac2e5-5de5-4be7-90f8-6c7af6576714" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799865" + ], + "x-ms-correlation-request-id": [ + "4f34a29b-8bce-49dc-bafd-56e94595c22f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181116Z:4f34a29b-8bce-49dc-bafd-56e94595c22f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxOTk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk7199\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "344ff273-43c3-4879-84f8-2d754a98c391" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "133" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7199\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2a8978b9-0114-45a9-a0a4-9bb590019ba2\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e47e473a-4d7c-4c20-9589-0642d71c16f6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11944" + ], + "x-ms-correlation-request-id": [ + "074bb121-763f-4a07-b35f-7c95e825f284" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181116Z:074bb121-763f-4a07-b35f-7c95e825f284" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:16 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxOTk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "235664c0-52c8-4e02-a0e8-4aaf61418792" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "133" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7199\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2a8978b9-0114-45a9-a0a4-9bb590019ba2\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a77db981-8c04-4772-9e23-6046e40d07d4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799864" + ], + "x-ms-correlation-request-id": [ + "c749041e-2f8e-45ac-b75e-99af6139d9c8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181117Z:c749041e-2f8e-45ac-b75e-99af6139d9c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:17 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxOTk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eb060660-4a3b-4771-911b-1d85dd46ed21" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "133" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7199\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"2a8978b9-0114-45a9-a0a4-9bb590019ba2\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2b3c40c4-ad86-456c-af60-9afba0985730" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799863" + ], + "x-ms-correlation-request-id": [ + "02c463ba-b620-4a58-86da-9f69c1562f72" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181122Z:02c463ba-b620-4a58-86da-9f69c1562f72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:21 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5604/providers/Microsoft.DataFactory/datafactories/onesdk7199/gateways/gwname?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU2MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxOTkvZ2F0ZXdheXMvZ3duYW1lP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2060ee8e-464d-4439-9dca-6c2779b258b9" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Gateway gwname does not exist.\",\r\n \"code\": \"GatewayNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "81" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e84eaaf1-81aa-490d-b184-4dc5a6143a80" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799862" + ], + "x-ms-correlation-request-id": [ + "661f1810-f4f4-4a96-a8cb-38f67a1d5c49" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181122Z:661f1810-f4f4-4a96-a8cb-38f67a1d5c49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:11:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Test-GetNonExistingDataFactoryGateway": [ + "onesdk7199", + "onesdk5604" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json new file mode 100644 index 000000000000..d9c52ac6df8c --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateDataFactory.json @@ -0,0 +1,616 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799972" + ], + "x-ms-request-id": [ + "7bea3941-71a5-46bb-841e-6b5989732dcd" + ], + "x-ms-correlation-request-id": [ + "7bea3941-71a5-46bb-841e-6b5989732dcd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175811Z:7bea3941-71a5-46bb-841e-6b5989732dcd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799971" + ], + "x-ms-request-id": [ + "bba19800-be15-40da-a3cb-65dfa225451b" + ], + "x-ms-correlation-request-id": [ + "bba19800-be15-40da-a3cb-65dfa225451b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175812Z:bba19800-be15-40da-a3cb-65dfa225451b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799970" + ], + "x-ms-request-id": [ + "a9930834-940f-405a-814a-e00881804020" + ], + "x-ms-correlation-request-id": [ + "a9930834-940f-405a-814a-e00881804020" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175812Z:a9930834-940f-405a-814a-e00881804020" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:12 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3615\",\r\n \"name\": \"onesdk3615\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11988" + ], + "x-ms-request-id": [ + "a8f1ef75-058d-4439-bafd-d118ec60a9f7" + ], + "x-ms-correlation-request-id": [ + "a8f1ef75-058d-4439-bafd-d118ec60a9f7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175812Z:a8f1ef75-058d-4439-bafd-d118ec60a9f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:12 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3615/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM2MTUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799969" + ], + "x-ms-request-id": [ + "ee141074-673f-42c5-8d70-710dadc21813" + ], + "x-ms-correlation-request-id": [ + "ee141074-673f-42c5-8d70-710dadc21813" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175812Z:ee141074-673f-42c5-8d70-710dadc21813" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:6a9fa142-d1a1-4e20-8d43-698394b9fa71" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799968" + ], + "x-ms-correlation-request-id": [ + "563ba227-602d-44ea-bc09-3ba5e7a968c3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175812Z:563ba227-602d-44ea-bc09-3ba5e7a968c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxNzk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk7179\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "57f93436-975d-47a4-8ab8-417398579618" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "60" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7179\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"6adafb7f-a62b-41d5-b1c6-00ccc4dc8842\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6521ec43-2d00-43fd-83f4-10a60002ec33" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "ce4298d7-4e15-463d-85ce-5b406af883dc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175814Z:ce4298d7-4e15-463d-85ce-5b406af883dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:13 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxNzk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "30677931-8a14-4261-ba6c-25c20f1185dc" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "60" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7179\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"6adafb7f-a62b-41d5-b1c6-00ccc4dc8842\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f4065ef1-279d-44c2-9c42-72b605843c96" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799967" + ], + "x-ms-correlation-request-id": [ + "156920aa-7872-4f32-b72d-fa8a25d22dab" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175814Z:156920aa-7872-4f32-b72d-fa8a25d22dab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:13 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxNzk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3ce3c122-7561-44aa-a128-8c61691084f1" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "60" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7179\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"6adafb7f-a62b-41d5-b1c6-00ccc4dc8842\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6b2160b5-ed63-4c77-bcb5-2526aac5b2c0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799966" + ], + "x-ms-correlation-request-id": [ + "521e4d48-396b-482c-8221-87d83d6559d9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175819Z:521e4d48-396b-482c-8221-87d83d6559d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:19 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxNzk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3cb62131-0599-484b-915c-b2c836f9a620" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7179\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"6adafb7f-a62b-41d5-b1c6-00ccc4dc8842\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8f5fc282-e747-4089-9be5-ad10e28ad14e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799965" + ], + "x-ms-correlation-request-id": [ + "2c74a948-193f-4d8c-990f-e26c025e6d37" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175819Z:2c74a948-193f-4d8c-990f-e26c025e6d37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:19 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3615/providers/Microsoft.DataFactory/datafactories/onesdk7179?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcxNzk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7df2437b-0205-400e-966f-fb180475c7d2" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "33992c8c-c35e-4722-bdcb-c8794e7d2f3b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "6509edb6-01d5-41d0-a1b4-e754a5a63dc1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175820Z:6509edb6-01d5-41d0-a1b4-e754a5a63dc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:58:19 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreateDataFactory": [ + "onesdk7179", + "onesdk3615" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json new file mode 100644 index 000000000000..2f3ade2e6682 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestDeleteDataFactoryWithDataFactoryParameter.json @@ -0,0 +1,559 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799894" + ], + "x-ms-request-id": [ + "c7606a25-1f3e-4dcb-bcd0-ed714f65292c" + ], + "x-ms-correlation-request-id": [ + "c7606a25-1f3e-4dcb-bcd0-ed714f65292c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180330Z:c7606a25-1f3e-4dcb-bcd0-ed714f65292c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799893" + ], + "x-ms-request-id": [ + "33109992-2f4a-4eb2-851e-5fbca93e4071" + ], + "x-ms-correlation-request-id": [ + "33109992-2f4a-4eb2-851e-5fbca93e4071" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180330Z:33109992-2f4a-4eb2-851e-5fbca93e4071" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799892" + ], + "x-ms-request-id": [ + "b28c28bf-e6ee-4def-8eab-e9d57e7f18d5" + ], + "x-ms-correlation-request-id": [ + "b28c28bf-e6ee-4def-8eab-e9d57e7f18d5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180330Z:b28c28bf-e6ee-4def-8eab-e9d57e7f18d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk8144\",\r\n \"name\": \"onesdk8144\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11958" + ], + "x-ms-request-id": [ + "9180056b-fae5-4516-a640-ae49b905fe4d" + ], + "x-ms-correlation-request-id": [ + "9180056b-fae5-4516-a640-ae49b905fe4d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180330Z:9180056b-fae5-4516-a640-ae49b905fe4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk8144/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazgxNDQvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799891" + ], + "x-ms-request-id": [ + "f354f6cc-8d2e-4425-8e7d-72ccade823c8" + ], + "x-ms-correlation-request-id": [ + "f354f6cc-8d2e-4425-8e7d-72ccade823c8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180331Z:f354f6cc-8d2e-4425-8e7d-72ccade823c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:b72ebdbb-5050-46c6-92d1-e0a380571cca" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799964" + ], + "x-ms-correlation-request-id": [ + "02662266-0040-4cc8-84cb-e588156a9d4f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180331Z:02662266-0040-4cc8-84cb-e588156a9d4f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcwNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk707\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "68" + ], + "x-ms-client-request-id": [ + "e34fed48-c4b7-4c23-b13f-ae0acbcb2d39" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk707\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c90a5ec5-31e0-4aba-87a6-af8d4c05fa90\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "476" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f0bf3148-95c2-48e8-8ff0-2d061fad4ed5" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11957" + ], + "x-ms-correlation-request-id": [ + "2227785d-4a80-4727-b41a-3441a56f328e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180332Z:2227785d-4a80-4727-b41a-3441a56f328e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:32 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcwNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c10f38fe-0b81-43f8-85de-ed0be8c47097" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk707\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c90a5ec5-31e0-4aba-87a6-af8d4c05fa90\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "476" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2d009ee4-3fd0-4890-8a6a-3a76cbc0d604" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799890" + ], + "x-ms-correlation-request-id": [ + "e04c0f36-a0b0-4919-a305-5368455bab60" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180332Z:e04c0f36-a0b0-4919-a305-5368455bab60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:32 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcwNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4369074e-1c89-4b8c-b70f-24c31dd62619" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk707\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c90a5ec5-31e0-4aba-87a6-af8d4c05fa90\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "470" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "17a74b9f-65cc-45e1-936f-d07775aedec2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799889" + ], + "x-ms-correlation-request-id": [ + "f6883324-a3fa-4840-b7e1-01218138078d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180337Z:f6883324-a3fa-4840-b7e1-01218138078d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:36 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8144/providers/Microsoft.DataFactory/datafactories/onesdk707?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazgxNDQvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcwNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e750db24-157c-4c49-81d6-d461393fb34e" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b7d2cc3a-1233-46bd-8a7b-e5670828d038" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11956" + ], + "x-ms-correlation-request-id": [ + "6cb61c42-aeed-4e8a-921c-087c95165b5e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180338Z:6cb61c42-aeed-4e8a-921c-087c95165b5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:03:37 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-DeleteDataFactoryWithDataFactoryParameter": [ + "onesdk707", + "onesdk8144" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithEmptyName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithEmptyName.json new file mode 100644 index 000000000000..4766b6540fe0 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithEmptyName.json @@ -0,0 +1,261 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799962" + ], + "x-ms-request-id": [ + "e59c0061-698f-42e1-8ff8-dcc6426a689a" + ], + "x-ms-correlation-request-id": [ + "e59c0061-698f-42e1-8ff8-dcc6426a689a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180419Z:e59c0061-698f-42e1-8ff8-dcc6426a689a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:04:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5531?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU1MzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799961" + ], + "x-ms-request-id": [ + "40c5b370-9e27-4246-9f77-4af4ca9f1a0a" + ], + "x-ms-correlation-request-id": [ + "40c5b370-9e27-4246-9f77-4af4ca9f1a0a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180419Z:40c5b370-9e27-4246-9f77-4af4ca9f1a0a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:04:18 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5531?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU1MzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5531\",\r\n \"name\": \"onesdk5531\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11984" + ], + "x-ms-request-id": [ + "145a0d3b-14c1-444f-8fe8-5fc4031b83e9" + ], + "x-ms-correlation-request-id": [ + "145a0d3b-14c1-444f-8fe8-5fc4031b83e9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180419Z:145a0d3b-14c1-444f-8fe8-5fc4031b83e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:04:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5531/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazU1MzEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799960" + ], + "x-ms-request-id": [ + "5e7f5ffc-da21-4dc4-ab89-e9267701da7d" + ], + "x-ms-correlation-request-id": [ + "5e7f5ffc-da21-4dc4-ab89-e9267701da7d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180419Z:5e7f5ffc-da21-4dc4-ab89-e9267701da7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:04:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5531/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU1MzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:caea5a6b-8870-4a87-a193-0730b24aa89a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799959" + ], + "x-ms-correlation-request-id": [ + "0f79b4f0-97c0-4c0a-81f0-50805b84c2e3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180419Z:0f79b4f0-97c0-4c0a-81f0-50805b84c2e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:04:19 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetDataFactoryWithEmptyName": [ + "onesdk5531" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithWhiteSpaceName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithWhiteSpaceName.json new file mode 100644 index 000000000000..cb7c8a3b8dfb --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetDataFactoryWithWhiteSpaceName.json @@ -0,0 +1,261 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799957" + ], + "x-ms-request-id": [ + "3ea0bdc8-7143-4224-80d2-db5c7084ee00" + ], + "x-ms-correlation-request-id": [ + "3ea0bdc8-7143-4224-80d2-db5c7084ee00" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180502Z:3ea0bdc8-7143-4224-80d2-db5c7084ee00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk2528?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI1Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799956" + ], + "x-ms-request-id": [ + "a1059745-12af-4d4e-bde9-7c48c357f4e4" + ], + "x-ms-correlation-request-id": [ + "a1059745-12af-4d4e-bde9-7c48c357f4e4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180502Z:a1059745-12af-4d4e-bde9-7c48c357f4e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:02 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk2528?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI1Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk2528\",\r\n \"name\": \"onesdk2528\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11982" + ], + "x-ms-request-id": [ + "e21f34f7-a5f5-4efb-a78c-794cb3cee440" + ], + "x-ms-correlation-request-id": [ + "e21f34f7-a5f5-4efb-a78c-794cb3cee440" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180502Z:e21f34f7-a5f5-4efb-a78c-794cb3cee440" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:02 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk2528/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazI1MjgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799955" + ], + "x-ms-request-id": [ + "e2957332-3a9a-4cc1-a2a0-9fe1dd1103b5" + ], + "x-ms-correlation-request-id": [ + "e2957332-3a9a-4cc1-a2a0-9fe1dd1103b5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180503Z:e2957332-3a9a-4cc1-a2a0-9fe1dd1103b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk2528/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:fc267ff4-35dd-4f10-8af9-898197d10169" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799954" + ], + "x-ms-correlation-request-id": [ + "f64a56ae-52e1-47c4-95b9-299efd4c755d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180503Z:f64a56ae-52e1-47c4-95b9-299efd4c755d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:02 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetDataFactoryWithWhiteSpaceName": [ + "onesdk2528" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json new file mode 100644 index 000000000000..a92a0349410b --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestGetNonExistingDataFactory.json @@ -0,0 +1,310 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799888" + ], + "x-ms-request-id": [ + "ef032b5c-93e1-4f73-9560-3724ed722bcf" + ], + "x-ms-correlation-request-id": [ + "ef032b5c-93e1-4f73-9560-3724ed722bcf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180546Z:ef032b5c-93e1-4f73-9560-3724ed722bcf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9588?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799887" + ], + "x-ms-request-id": [ + "8977a36c-3f1c-4eb1-aaf3-17bbd5d893eb" + ], + "x-ms-correlation-request-id": [ + "8977a36c-3f1c-4eb1-aaf3-17bbd5d893eb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180546Z:8977a36c-3f1c-4eb1-aaf3-17bbd5d893eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:45 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9588?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk9588\",\r\n \"name\": \"onesdk9588\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11955" + ], + "x-ms-request-id": [ + "7b124d15-18f5-4a33-9ecf-f84cddeafca7" + ], + "x-ms-correlation-request-id": [ + "7b124d15-18f5-4a33-9ecf-f84cddeafca7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180547Z:7b124d15-18f5-4a33-9ecf-f84cddeafca7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:46 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk9588/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799886" + ], + "x-ms-request-id": [ + "dd633dc5-dcaa-4dc5-bfb5-651a26b6228f" + ], + "x-ms-correlation-request-id": [ + "dd633dc5-dcaa-4dc5-bfb5-651a26b6228f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180547Z:dd633dc5-dcaa-4dc5-bfb5-651a26b6228f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9588/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:dafc9a0a-3803-4540-ac53-96710918628c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799885" + ], + "x-ms-correlation-request-id": [ + "11534335-1850-4252-88e6-cbc0cc8f0e4c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180547Z:11534335-1850-4252-88e6-cbc0cc8f0e4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9588/providers/Microsoft.DataFactory/datafactories/onesdk1988?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazE5ODg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7d41b8dd-fcda-45be-8ae3-65e34a47f6fb" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a55f0b4a-454d-4ba5-8b4f-b171ab8737c1" + ], + "x-ms-correlation-request-id": [ + "a55f0b4a-454d-4ba5-8b4f-b171ab8737c1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180547Z:a55f0b4a-454d-4ba5-8b4f-b171ab8737c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:05:46 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Test-GetNonExistingDataFactory": [ + "onesdk1988", + "onesdk9588" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json new file mode 100644 index 000000000000..84488f016730 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHub.json @@ -0,0 +1,802 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799902" + ], + "x-ms-request-id": [ + "91471b7a-9181-4ef1-a64e-a4c8d559fb87" + ], + "x-ms-correlation-request-id": [ + "91471b7a-9181-4ef1-a64e-a4c8d559fb87" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181518Z:91471b7a-9181-4ef1-a64e-a4c8d559fb87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799901" + ], + "x-ms-request-id": [ + "c4263f6f-fd9c-4732-a0ed-a24501edd02c" + ], + "x-ms-correlation-request-id": [ + "c4263f6f-fd9c-4732-a0ed-a24501edd02c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181518Z:c4263f6f-fd9c-4732-a0ed-a24501edd02c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799900" + ], + "x-ms-request-id": [ + "e3e34117-649e-4eca-8f1c-c18c134e42c2" + ], + "x-ms-correlation-request-id": [ + "e3e34117-649e-4eca-8f1c-c18c134e42c2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181519Z:e3e34117-649e-4eca-8f1c-c18c134e42c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:18 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4933\",\r\n \"name\": \"onesdk4933\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11957" + ], + "x-ms-request-id": [ + "e4ed7508-a5d9-435c-b48b-b46407e6a56b" + ], + "x-ms-correlation-request-id": [ + "e4ed7508-a5d9-435c-b48b-b46407e6a56b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181519Z:e4ed7508-a5d9-435c-b48b-b46407e6a56b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:19 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4933/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazQ5MzMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799899" + ], + "x-ms-request-id": [ + "e53798d4-eb6a-4de8-b2aa-8f51a9ab6100" + ], + "x-ms-correlation-request-id": [ + "e53798d4-eb6a-4de8-b2aa-8f51a9ab6100" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181519Z:e53798d4-eb6a-4de8-b2aa-8f51a9ab6100" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:3d3e2d4b-5783-4d20-acd6-baa4bf93de4f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799898" + ], + "x-ms-correlation-request-id": [ + "f4c8986d-f5c0-440d-bd1d-ffe92a7e9a46" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181519Z:f4c8986d-f5c0-440d-bd1d-ffe92a7e9a46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk655\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "68" + ], + "x-ms-client-request-id": [ + "6775df67-a3ca-48b2-ba44-78d0fcbee4cd" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk655\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"7c699368-13c4-46a8-b8eb-56e33f532d54\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "476" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cfc1a22e-3e8d-4d1b-9452-672c8c2f45e0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11956" + ], + "x-ms-correlation-request-id": [ + "ef2778c9-03cc-433e-a956-d1467a8a65d2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181520Z:ef2778c9-03cc-433e-a956-d1467a8a65d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:20 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "846fb2fb-2988-458e-8da3-ff1934c764ec" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk655\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"7c699368-13c4-46a8-b8eb-56e33f532d54\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "476" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e5df167c-d99c-4c74-bbbc-5f1a29220aea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799897" + ], + "x-ms-correlation-request-id": [ + "39fdf6d7-ad37-4e12-bcea-f38867d0a6ca" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181520Z:39fdf6d7-ad37-4e12-bcea-f38867d0a6ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2e74b8ea-ca58-4b1b-9af1-effc340142cd" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk655\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"7c699368-13c4-46a8-b8eb-56e33f532d54\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "470" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "70b36337-bf43-4cf0-9eeb-637089c82c25" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799896" + ], + "x-ms-correlation-request-id": [ + "917f6315-013f-4f5c-92c4-c75a1901bfa1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181525Z:917f6315-013f-4f5c-92c4-c75a1901bfa1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"00000000-0000-0000-0000-000000000001\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "233" + ], + "x-ms-client-request-id": [ + "d26f8707-ffc2-4470-9d59-9c6d2a7a9720" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"53d160ad-b586-4587-9628-fee31f52d8f3\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "211" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1991061b-95c1-4b3c-8378-14ff5a6c3c71" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11955" + ], + "x-ms-correlation-request-id": [ + "b1704b87-2a19-45d3-8e94-5c1631e8a0c4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181526Z:b1704b87-2a19-45d3-8e94-5c1631e8a0c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:26 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d475f69f-9109-49cd-bfb0-1d2edb4e7af9" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"53d160ad-b586-4587-9628-fee31f52d8f3\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "211" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7ced70d3-6af2-4f2c-b3f3-fea4ff88d3aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799895" + ], + "x-ms-correlation-request-id": [ + "88cacb08-7a0e-4732-aa33-725b37ddaf87" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181526Z:88cacb08-7a0e-4732-aa33-725b37ddaf87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NS9odWJzL1NhbXBsZUh1Yj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "864ac675-e8f8-48b3-981d-07556d2d755a" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "221" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "6402aee2-972a-410b-9c57-2778c222ba18" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11954" + ], + "x-ms-correlation-request-id": [ + "509152b6-d8e7-4f1f-8c70-04659e7c592a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181526Z:509152b6-d8e7-4f1f-8c70-04659e7c592a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:26 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub/operationresults/33e2e765212d4f63bceaafd8be4cbd4d?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655/hubs/SampleHub/operationresults/33e2e765212d4f63bceaafd8be4cbd4d?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NS9odWJzL1NhbXBsZUh1Yi9vcGVyYXRpb25yZXN1bHRzLzMzZTJlNzY1MjEyZDRmNjNiY2VhYWZkOGJlNGNiZDRkP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "221" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "202c311e-8b2a-4b9d-a330-1400cfcb17bb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799894" + ], + "x-ms-correlation-request-id": [ + "0e59e4c6-5d61-4c70-838a-5fd25b4b6917" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181526Z:0e59e4c6-5d61-4c70-838a-5fd25b4b6917" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4933/providers/Microsoft.DataFactory/datafactories/onesdk655?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazY1NT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5f06688d-3eef-405a-b484-17c5cb0724ec" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2dbddb16-a28d-44ae-bb1a-b7d4cb419114" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11953" + ], + "x-ms-correlation-request-id": [ + "335c265e-1e6e-4e17-a467-cf5a57cb93d7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181527Z:335c265e-1e6e-4e17-a467-cf5a57cb93d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:15:27 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-Hub": [ + "onesdk655", + "onesdk4933" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json new file mode 100644 index 000000000000..27846af5a0bf --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.HubTests/TestHubWithDataFactoryParameter.json @@ -0,0 +1,802 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799911" + ], + "x-ms-request-id": [ + "f09b83bf-15ab-49be-b9ca-7aa3a4641c77" + ], + "x-ms-correlation-request-id": [ + "f09b83bf-15ab-49be-b9ca-7aa3a4641c77" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181428Z:f09b83bf-15ab-49be-b9ca-7aa3a4641c77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799910" + ], + "x-ms-request-id": [ + "26555467-152b-4c98-90f4-e9037b293da6" + ], + "x-ms-correlation-request-id": [ + "26555467-152b-4c98-90f4-e9037b293da6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181428Z:26555467-152b-4c98-90f4-e9037b293da6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799909" + ], + "x-ms-request-id": [ + "bd886bf8-2b79-4ca0-be1f-308b821ee2a6" + ], + "x-ms-correlation-request-id": [ + "bd886bf8-2b79-4ca0-be1f-308b821ee2a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181428Z:bd886bf8-2b79-4ca0-be1f-308b821ee2a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:27 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4942\",\r\n \"name\": \"onesdk4942\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11962" + ], + "x-ms-request-id": [ + "150ea463-fe89-4a65-875f-adea3db29b0a" + ], + "x-ms-correlation-request-id": [ + "150ea463-fe89-4a65-875f-adea3db29b0a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181428Z:150ea463-fe89-4a65-875f-adea3db29b0a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4942/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazQ5NDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799908" + ], + "x-ms-request-id": [ + "30e0a280-9e5e-449d-b4eb-7927017b31cb" + ], + "x-ms-correlation-request-id": [ + "30e0a280-9e5e-449d-b4eb-7927017b31cb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181429Z:30e0a280-9e5e-449d-b4eb-7927017b31cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:2bef1a11-2c18-4891-b28f-32e6e0ffa831" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799907" + ], + "x-ms-correlation-request-id": [ + "471d9e53-9dad-4a8d-8a17-6c83dbc4c688" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181429Z:471d9e53-9dad-4a8d-8a17-6c83dbc4c688" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk2398\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "a1980a67-f651-4116-ba80-d2a79a11f532" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "197" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2398\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fdbc4534-5761-4b18-a94d-4e07bc822379\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0f1b6917-77da-4410-bda9-4bd9887cbf13" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "c434faca-d795-4216-82da-de665bfc61ea" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181430Z:c434faca-d795-4216-82da-de665bfc61ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:30 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3ab06196-7e27-40df-ac44-5724e4574f57" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "197" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2398\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fdbc4534-5761-4b18-a94d-4e07bc822379\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fe186735-dffc-494a-95a6-8f78af23da57" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799906" + ], + "x-ms-correlation-request-id": [ + "d11a32d8-c408-497e-9f4a-c135759bafb6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181430Z:d11a32d8-c408-497e-9f4a-c135759bafb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:30 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1efbeb69-af6e-441b-9e9d-7aa2368a8c34" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "197" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2398\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"fdbc4534-5761-4b18-a94d-4e07bc822379\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cae2e38b-eab2-4fee-98a5-6a73e95efee3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799905" + ], + "x-ms-correlation-request-id": [ + "c98b1a64-6561-448d-ac3e-5ecc9014121b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181435Z:c98b1a64-6561-448d-ac3e-5ecc9014121b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:34 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTgvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"00000000-0000-0000-0000-000000000001\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "233" + ], + "x-ms-client-request-id": [ + "85c6633c-e2f9-4e20-b10d-027bf3fcf22d" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"4e877fa3-3e0f-452f-a832-2b3cdd925e65\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "211" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d1a173af-b172-4e0c-b8c2-a77d9daf4da7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11960" + ], + "x-ms-correlation-request-id": [ + "f8ee5fc8-674f-448c-975b-7bd962fd1873" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181436Z:f8ee5fc8-674f-448c-975b-7bd962fd1873" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:36 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTgvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0ac4239-d79f-4363-b424-ad151823fb28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"SampleHub\",\r\n \"properties\": {\r\n \"defaultCompute\": \"SampleDefaultCompute\",\r\n \"type\": \"Hub\",\r\n \"hubId\": \"4e877fa3-3e0f-452f-a832-2b3cdd925e65\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "211" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fe58c54b-9736-4520-8a56-6def9ce8b7dd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799904" + ], + "x-ms-correlation-request-id": [ + "d5b4b053-3887-44ee-b8a4-beccc27b8ab2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181436Z:d5b4b053-3887-44ee-b8a4-beccc27b8ab2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:36 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTgvaHVicy9TYW1wbGVIdWI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e95dc42-7680-4a43-a689-46bf6fc0a182" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "203" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "2c49ba71-393b-4b3b-b637-50bcca2193b6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11959" + ], + "x-ms-correlation-request-id": [ + "f2321a1a-7da2-4d65-83a2-2fe8e7ac5f10" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181437Z:f2321a1a-7da2-4d65-83a2-2fe8e7ac5f10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:36 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub/operationresults/f5f4d96612914ebda7cd224dcc6db987?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398/hubs/SampleHub/operationresults/f5f4d96612914ebda7cd224dcc6db987?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTgvaHVicy9TYW1wbGVIdWIvb3BlcmF0aW9ucmVzdWx0cy9mNWY0ZDk2NjEyOTE0ZWJkYTdjZDIyNGRjYzZkYjk4Nz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "203" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "88d10d99-f6cf-4934-a7c4-4d7983c3b753" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799903" + ], + "x-ms-correlation-request-id": [ + "8e95ddfa-bef8-41ff-be4a-c8b0016b46e2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181437Z:8e95ddfa-bef8-41ff-be4a-c8b0016b46e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:36 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4942/providers/Microsoft.DataFactory/datafactories/onesdk2398?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIzOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f935c482-2579-40ec-a533-f01c85d25101" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fd19cab4-07e9-4bfa-bd80-323c4a3acdfd" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11958" + ], + "x-ms-correlation-request-id": [ + "6c609056-add6-4de4-bdd4-4ab7e0e8e389" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181437Z:6c609056-add6-4de4-bdd4-4ab7e0e8e389" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:14:37 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-HubWithDataFactoryParameter": [ + "onesdk2398", + "onesdk4942" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithEmptyName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithEmptyName.json new file mode 100644 index 000000000000..d6b63709b4d8 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithEmptyName.json @@ -0,0 +1,505 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799952" + ], + "x-ms-request-id": [ + "884001cd-56a2-4d0e-aa52-a4f82a2133cd" + ], + "x-ms-correlation-request-id": [ + "884001cd-56a2-4d0e-aa52-a4f82a2133cd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180631Z:884001cd-56a2-4d0e-aa52-a4f82a2133cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799951" + ], + "x-ms-request-id": [ + "bd1d39d6-4535-43ab-8a3a-d5ae1067c17c" + ], + "x-ms-correlation-request-id": [ + "bd1d39d6-4535-43ab-8a3a-d5ae1067c17c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180631Z:bd1d39d6-4535-43ab-8a3a-d5ae1067c17c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799950" + ], + "x-ms-request-id": [ + "a6490e48-bcdf-44ee-b412-9b73d57e33a2" + ], + "x-ms-correlation-request-id": [ + "a6490e48-bcdf-44ee-b412-9b73d57e33a2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180631Z:a6490e48-bcdf-44ee-b412-9b73d57e33a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:31 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5132\",\r\n \"name\": \"onesdk5132\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11980" + ], + "x-ms-request-id": [ + "7b8a6dc1-3ab4-4f2f-85a9-44fa2f404f3f" + ], + "x-ms-correlation-request-id": [ + "7b8a6dc1-3ab4-4f2f-85a9-44fa2f404f3f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180632Z:7b8a6dc1-3ab4-4f2f-85a9-44fa2f404f3f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:31 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk5132/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMzIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799949" + ], + "x-ms-request-id": [ + "549a11d6-4cd1-40db-a022-3d9ccab7444f" + ], + "x-ms-correlation-request-id": [ + "549a11d6-4cd1-40db-a022-3d9ccab7444f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180632Z:549a11d6-4cd1-40db-a022-3d9ccab7444f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:c482d26f-ec3f-4fcc-aced-c8acb7ad2012" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799948" + ], + "x-ms-correlation-request-id": [ + "79440255-252a-4b74-a92f-174669759e56" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180633Z:79440255-252a-4b74-a92f-174669759e56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1MTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk9518\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "e5b19894-b1b7-433d-8af3-a166aed7c540" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9518\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d9765661-3449-4abb-9f45-fb21df2ec102\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "47f68840-0111-4c2f-ab6a-8e7c46f45755" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "1bbc009f-d3d7-483b-9eb3-9b7d5ce0bcb5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180634Z:1bbc009f-d3d7-483b-9eb3-9b7d5ce0bcb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:33 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1MTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "41401ab4-6348-490c-9945-19e4f751a0db" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9518\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d9765661-3449-4abb-9f45-fb21df2ec102\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d007b450-4c90-4631-a393-f8039e2d5814" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799947" + ], + "x-ms-correlation-request-id": [ + "8e777a56-c0e1-4680-a9b9-b6898e37366e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180634Z:8e777a56-c0e1-4680-a9b9-b6898e37366e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:33 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1MTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2f9154f3-c257-463a-8206-7fa572c01bdc" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9518\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk5132/providers/Microsoft.DataFactory/datafactories/onesdk9518\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"d9765661-3449-4abb-9f45-fb21df2ec102\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7d20c061-d0ae-4af9-8edc-e094cf06a3cf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799946" + ], + "x-ms-correlation-request-id": [ + "a1fde141-3b33-42fa-aa1f-d2342b531fd2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180639Z:a1fde141-3b33-42fa-aa1f-d2342b531fd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:06:39 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetLinkedServiceWithEmptyName": [ + "onesdk9518", + "onesdk5132" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithWhiteSpaceName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithWhiteSpaceName.json new file mode 100644 index 000000000000..1fdd526dcac7 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestGetLinkedServiceWithWhiteSpaceName.json @@ -0,0 +1,505 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799933" + ], + "x-ms-request-id": [ + "33690940-b529-46a2-80f3-0a74ba6f0d0b" + ], + "x-ms-correlation-request-id": [ + "33690940-b529-46a2-80f3-0a74ba6f0d0b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180816Z:33690940-b529-46a2-80f3-0a74ba6f0d0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799932" + ], + "x-ms-request-id": [ + "733df5b2-f2e5-4c4c-9f40-29bb4bece2b7" + ], + "x-ms-correlation-request-id": [ + "733df5b2-f2e5-4c4c-9f40-29bb4bece2b7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180816Z:733df5b2-f2e5-4c4c-9f40-29bb4bece2b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799931" + ], + "x-ms-request-id": [ + "478f9c29-8e85-4b7c-bf5f-7b1680cab323" + ], + "x-ms-correlation-request-id": [ + "478f9c29-8e85-4b7c-bf5f-7b1680cab323" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180816Z:478f9c29-8e85-4b7c-bf5f-7b1680cab323" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:16 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3816\",\r\n \"name\": \"onesdk3816\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11972" + ], + "x-ms-request-id": [ + "4bc230d4-05a9-4714-ae8f-b9f821ffee49" + ], + "x-ms-correlation-request-id": [ + "4bc230d4-05a9-4714-ae8f-b9f821ffee49" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180817Z:4bc230d4-05a9-4714-ae8f-b9f821ffee49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:16 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3816/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM4MTYvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799930" + ], + "x-ms-request-id": [ + "1ee0e7e4-9eb2-4f7a-b882-b9834d184706" + ], + "x-ms-correlation-request-id": [ + "1ee0e7e4-9eb2-4f7a-b882-b9834d184706" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180817Z:1ee0e7e4-9eb2-4f7a-b882-b9834d184706" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:e07c8141-8925-42ef-86bc-0c1a85521c3f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799929" + ], + "x-ms-correlation-request-id": [ + "ba9da085-0323-4503-ac2e-388b681f0407" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180817Z:ba9da085-0323-4503-ac2e-388b681f0407" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMyNTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk3258\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "6bb2d35e-57c5-416c-9217-958067b8ef8c" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "75" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3258\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e3f06808-af1e-48e4-81dd-4d876d9130c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "60a16d83-5fa8-4df8-99c3-fd8dca5940c1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "d59bbb11-adfa-40df-9e58-53cbb46682fe" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180818Z:d59bbb11-adfa-40df-9e58-53cbb46682fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:18 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMyNTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1ec980cb-c556-416f-966b-b0764fb50108" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "75" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3258\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e3f06808-af1e-48e4-81dd-4d876d9130c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d1014a50-0579-46d8-b945-bb74e6b7bb27" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799928" + ], + "x-ms-correlation-request-id": [ + "6589c71d-df1d-4ba0-9a0b-dac5493d9961" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180818Z:6589c71d-df1d-4ba0-9a0b-dac5493d9961" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazMyNTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cbc6a94d-e5de-4dbb-9b59-5dc63d11bc8b" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "75" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3258\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3816/providers/Microsoft.DataFactory/datafactories/onesdk3258\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"e3f06808-af1e-48e4-81dd-4d876d9130c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "60bf4d65-13e6-4961-a776-2f5bea2d0dff" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799927" + ], + "x-ms-correlation-request-id": [ + "5c6ae3cb-3260-4374-a3da-d3983ee12009" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180824Z:5c6ae3cb-3260-4374-a3da-d3983ee12009" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:08:23 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetLinkedServiceWithWhiteSpaceName": [ + "onesdk3258", + "onesdk3816" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json new file mode 100644 index 000000000000..1a980647e15f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedService.json @@ -0,0 +1,928 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799944" + ], + "x-ms-request-id": [ + "c127e883-b165-46ac-96d1-6a480bf7e3a3" + ], + "x-ms-correlation-request-id": [ + "c127e883-b165-46ac-96d1-6a480bf7e3a3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180720Z:c127e883-b165-46ac-96d1-6a480bf7e3a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799943" + ], + "x-ms-request-id": [ + "49f92053-4e59-42db-af32-d4fea0d41cc0" + ], + "x-ms-correlation-request-id": [ + "49f92053-4e59-42db-af32-d4fea0d41cc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180721Z:49f92053-4e59-42db-af32-d4fea0d41cc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799942" + ], + "x-ms-request-id": [ + "8361f61b-607f-400d-a9fb-87e99b76ad7c" + ], + "x-ms-correlation-request-id": [ + "8361f61b-607f-400d-a9fb-87e99b76ad7c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180721Z:8361f61b-607f-400d-a9fb-87e99b76ad7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:21 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk994\",\r\n \"name\": \"onesdk994\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "181" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11977" + ], + "x-ms-request-id": [ + "623fcb25-2580-4242-be82-edaf71dec365" + ], + "x-ms-correlation-request-id": [ + "623fcb25-2580-4242-be82-edaf71dec365" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180721Z:623fcb25-2580-4242-be82-edaf71dec365" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:21 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk994/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazk5NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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": [ + "799941" + ], + "x-ms-request-id": [ + "610a3539-9865-4425-be40-cb204bf95431" + ], + "x-ms-correlation-request-id": [ + "610a3539-9865-4425-be40-cb204bf95431" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180721Z:610a3539-9865-4425-be40-cb204bf95431" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:2c8aac5b-400d-4dfc-9e14-53e4511e6e0e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799940" + ], + "x-ms-correlation-request-id": [ + "0cd73816-e450-4ef2-b739-3fe89470d458" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180721Z:0cd73816-e450-4ef2-b739-3fe89470d458" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Nz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk6657\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "8ba461ca-cb58-4fcb-9868-e3fdc9acbd0a" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "54" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6657\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bc861679-07d8-47a4-bf3d-a5bda32042a5\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "477" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "99b7ff68-aaf1-45b8-b804-e9b3f42be6b5" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "9cb9a0c7-ade9-4935-8bc8-291a46f266ac" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180722Z:9cb9a0c7-ade9-4935-8bc8-291a46f266ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:22 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Nz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "82a4aa33-5d3e-40b1-9322-66c4f3bcd835" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "54" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6657\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bc861679-07d8-47a4-bf3d-a5bda32042a5\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "477" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "86dc74a8-7536-4843-8be0-5dd78c501028" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799939" + ], + "x-ms-correlation-request-id": [ + "1761308d-613f-4794-8b49-8d506999fceb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180722Z:1761308d-613f-4794-8b49-8d506999fceb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Nz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "05052b76-2d66-48c6-b1f6-db7c0ead4087" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "54" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk6657\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"bc861679-07d8-47a4-bf3d-a5bda32042a5\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "471" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bd207986-f372-4f76-b3e4-c1ee05b819b2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799938" + ], + "x-ms-correlation-request-id": [ + "d8583338-ba81-4790-b466-8ce19e72d77a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180727Z:d8583338-ba81-4790-b466-8ce19e72d77a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "283" + ], + "x-ms-client-request-id": [ + "84fbb877-c3c0-4c1d-8f91-f8d9b3051571" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "459" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "78318e09-d14f-4d67-87ad-9ee0b618b8cc" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "9f32ab6b-ba28-43ab-8759-3922dccdbad9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180727Z:9f32ab6b-ba28-43ab-8759-3922dccdbad9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:27 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b58b1249-a42e-409d-b7cc-f4596c30c900" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "459" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d368ed8a-e6cb-4572-98b6-172e99cba9c0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799937" + ], + "x-ms-correlation-request-id": [ + "8edab017-7038-4b37-a3ec-3b311d9dc6cf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180728Z:8edab017-7038-4b37-a3ec-3b311d9dc6cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:27 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f40df21c-ae34-438d-9492-94908d305d67" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "58" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fd408fd9-eabd-42a0-a357-8c6cbb3a4f7a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799936" + ], + "x-ms-correlation-request-id": [ + "0d8c07cc-9100-4bd8-8122-fae9311a5b1a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180733Z:0d8c07cc-9100-4bd8-8122-fae9311a5b1a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:32 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f2ba2ae7-1fb4-4cf6-bae2-ae0855de5588" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7cebce75-c125-4ae1-b8ce-c5d6854456b4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799935" + ], + "x-ms-correlation-request-id": [ + "f3a4b2b2-c67b-4061-afa2-4bd53129d9a4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180733Z:f3a4b2b2-c67b-4061-afa2-4bd53129d9a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:33 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9d734a9c-f45e-4453-a6d4-38f135f5dc95" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "63" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "145400f2-8f9e-4fd2-932d-3a6d50cc36a1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "f1159f54-5a2a-4c8e-917e-b8e9e8b20016" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180733Z:f1159f54-5a2a-4c8e-917e-b8e9e8b20016" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:33 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo/operationresults/dea0c71d9cdd47c5aac8514fa4363633?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657/linkedservices/foo/operationresults/dea0c71d9cdd47c5aac8514fa4363633?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Ny9saW5rZWRzZXJ2aWNlcy9mb28vb3BlcmF0aW9ucmVzdWx0cy9kZWEwYzcxZDljZGQ0N2M1YWFjODUxNGZhNDM2MzYzMz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "63" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8c6a1847-5eb1-4a2a-88bf-bd5ca5146b3f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799934" + ], + "x-ms-correlation-request-id": [ + "5c27ac22-0c76-4fae-a6ec-3437a01f2ffb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180733Z:5c27ac22-0c76-4fae-a6ec-3437a01f2ffb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:33 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk994/providers/Microsoft.DataFactory/datafactories/onesdk6657?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazk5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFGYWN0b3J5L2RhdGFmYWN0b3JpZXMvb25lc2RrNjY1Nz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ac065f75-8564-435b-b7e0-4854af92b3e2" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "778a6815-d172-4474-b0db-f897cb4148e9" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "b6685966-eda4-44c1-a37c-89af47669bc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180734Z:b6685966-eda4-44c1-a37c-89af47669bc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:07:34 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-LinkedService": [ + "onesdk6657", + "onesdk994" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json new file mode 100644 index 000000000000..c9dbf042ddcb --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.LinkedServiceTests/TestLinkedServiceWithDataFactoryParameter.json @@ -0,0 +1,991 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799925" + ], + "x-ms-request-id": [ + "219b5600-08aa-48e5-afe9-cbd6fb12871f" + ], + "x-ms-correlation-request-id": [ + "219b5600-08aa-48e5-afe9-cbd6fb12871f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180904Z:219b5600-08aa-48e5-afe9-cbd6fb12871f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799924" + ], + "x-ms-request-id": [ + "2d51f7ce-ea23-4371-9ac7-15201f5bcbb1" + ], + "x-ms-correlation-request-id": [ + "2d51f7ce-ea23-4371-9ac7-15201f5bcbb1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180904Z:2d51f7ce-ea23-4371-9ac7-15201f5bcbb1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799923" + ], + "x-ms-request-id": [ + "afee4e8e-9042-421c-a164-ef9066297bd9" + ], + "x-ms-correlation-request-id": [ + "afee4e8e-9042-421c-a164-ef9066297bd9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180904Z:afee4e8e-9042-421c-a164-ef9066297bd9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:04 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk1299\",\r\n \"name\": \"onesdk1299\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11969" + ], + "x-ms-request-id": [ + "a1495f56-36b6-4f7c-8444-295b80060d96" + ], + "x-ms-correlation-request-id": [ + "a1495f56-36b6-4f7c-8444-295b80060d96" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180905Z:a1495f56-36b6-4f7c-8444-295b80060d96" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:04 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk1299/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazEyOTkvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799922" + ], + "x-ms-request-id": [ + "bbee1a72-d85a-4b6b-82f5-2cffff1c7bfb" + ], + "x-ms-correlation-request-id": [ + "bbee1a72-d85a-4b6b-82f5-2cffff1c7bfb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180905Z:bbee1a72-d85a-4b6b-82f5-2cffff1c7bfb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:571196b6-225a-4c97-ba4b-f1fe312f0d29" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799921" + ], + "x-ms-correlation-request-id": [ + "0d8c1490-120c-4b6f-8d75-a202c5127051" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180905Z:0d8c1490-120c-4b6f-8d75-a202c5127051" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk7374\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "f8bb5c12-b85b-437e-b625-c19dc1914df7" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "87" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7374\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1e45acc3-adf4-4573-9097-43448134df00\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7a0651bd-0aab-43ad-bee5-8d19c93106e6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "3cb538c8-b526-40a0-8399-4e20dc3edc85" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180906Z:3cb538c8-b526-40a0-8399-4e20dc3edc85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:05 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "acd429a7-8fd4-437c-a697-40762816cb05" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "87" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7374\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1e45acc3-adf4-4573-9097-43448134df00\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "af485c25-94ef-4632-a2f6-81d0573520bb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799920" + ], + "x-ms-correlation-request-id": [ + "8c18fd49-e3a6-44e1-bbe4-2662a303b5e4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180906Z:8c18fd49-e3a6-44e1-bbe4-2662a303b5e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:05 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb317d8b-8e54-4dd6-b640-f56860703e86" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "87" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7374\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1e45acc3-adf4-4573-9097-43448134df00\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6a24363d-6a58-4f66-9ec8-2f28b5ef82fc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799919" + ], + "x-ms-correlation-request-id": [ + "08db7500-a589-4856-9ca6-22dd86614777" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180911Z:08db7500-a589-4856-9ca6-22dd86614777" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:11 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99b5e304-c567-4a0e-8805-e8dcafe838db" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "87" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7374\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"1e45acc3-adf4-4573-9097-43448134df00\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7ce53e04-a56b-4312-837f-b1271b8121b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799918" + ], + "x-ms-correlation-request-id": [ + "e0de0ac6-b611-4134-b5b7-237eedbd8ebb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180916Z:e0de0ac6-b611-4134-b5b7-237eedbd8ebb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:16 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "283" + ], + "x-ms-client-request-id": [ + "82ba5fcd-d0a3-4823-8ec2-4348843dfaa0" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "92" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "460" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a53d63aa-7af6-4cb8-80ec-bb3c1b83d8f7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "ecffbc2e-3f01-421f-9f9c-21d0caf41be1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180917Z:ecffbc2e-3f01-421f-9f9c-21d0caf41be1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:16 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3a9ed9d9-c683-47e8-a96b-d35f015579d8" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "92" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "460" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ba02d271-3b52-4d7c-a6de-0ca3a350031b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799917" + ], + "x-ms-correlation-request-id": [ + "968026ee-c6ae-4eb0-9c4b-6d61cc60df7a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180917Z:968026ee-c6ae-4eb0-9c4b-6d61cc60df7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:16 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c9dfde0-1263-4152-ada1-72cbc82e6a57" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "92" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "454" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "945d3adc-0f17-4c27-b362-b19fce4e1c71" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799916" + ], + "x-ms-correlation-request-id": [ + "3c483c1d-47ff-476b-a172-afa393c05dc2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180922Z:3c483c1d-47ff-476b-a172-afa393c05dc2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d1e62e5d-e4b7-44b2-8f77-0ddad465b3b7" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo\",\r\n \"name\": \"foo\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "454" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5ef1b66e-d8a5-4ace-89b8-bf4bcfc4c828" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799915" + ], + "x-ms-correlation-request-id": [ + "c702d092-d2eb-475e-91ba-99bc68f5d90f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180922Z:c702d092-d2eb-475e-91ba-99bc68f5d90f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c223ee4-c175-4233-be70-6e9ae4caae57" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "97" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "8f10fa15-149a-456b-ba3b-f7bd5c0dae93" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "65d78e33-b845-4758-b953-d4534b73711a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180922Z:65d78e33-b845-4758-b953-d4534b73711a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:22 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo/operationresults/7457142a0fab4de3a4e69f930937d0cb?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374/linkedservices/foo/operationresults/7457142a0fab4de3a4e69f930937d0cb?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQvbGlua2Vkc2VydmljZXMvZm9vL29wZXJhdGlvbnJlc3VsdHMvNzQ1NzE0MmEwZmFiNGRlM2E0ZTY5ZjkzMDkzN2QwY2I/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "97" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "20f931e8-94b1-46e2-ac1e-be15c60ca7fa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799914" + ], + "x-ms-correlation-request-id": [ + "c7981ebe-eaf5-44ac-b7e6-7ebb2a2b7046" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180923Z:c7981ebe-eaf5-44ac-b7e6-7ebb2a2b7046" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:22 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk1299/providers/Microsoft.DataFactory/datafactories/onesdk7374?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEyOTkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazczNzQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0eae1f41-39a1-4486-a5fa-521ff3a46af4" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9e913df0-0ac1-4db7-a512-1b672f702515" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "a33758cf-c611-46bb-90db-1f41e293c96a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T180924Z:a33758cf-c611-46bb-90db-1f41e293c96a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:09:23 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-LinkedServiceWithDataFactoryParameter": [ + "onesdk7374", + "onesdk1299" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.PipelineTests/TestWikipediaSamplePipeline.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.PipelineTests/TestWikipediaSamplePipeline.json new file mode 100644 index 000000000000..b75992bb66b3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.PipelineTests/TestWikipediaSamplePipeline.json @@ -0,0 +1,3466 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799955" + ], + "x-ms-request-id": [ + "4a979788-c315-48ee-b412-bc20e6f1650d" + ], + "x-ms-correlation-request-id": [ + "4a979788-c315-48ee-b412-bc20e6f1650d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175135Z:4a979788-c315-48ee-b412-bc20e6f1650d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799954" + ], + "x-ms-request-id": [ + "fc99a272-d8bd-4e16-b1f7-a4c92a4251a6" + ], + "x-ms-correlation-request-id": [ + "fc99a272-d8bd-4e16-b1f7-a4c92a4251a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175135Z:fc99a272-d8bd-4e16-b1f7-a4c92a4251a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799953" + ], + "x-ms-request-id": [ + "615d2926-db88-4a85-9d3c-b5745c8d430e" + ], + "x-ms-correlation-request-id": [ + "615d2926-db88-4a85-9d3c-b5745c8d430e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175136Z:615d2926-db88-4a85-9d3c-b5745c8d430e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:35 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk9215\",\r\n \"name\": \"onesdk9215\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11981" + ], + "x-ms-request-id": [ + "2e2c1d04-c0a4-43ec-a4c3-602fa31e7cdf" + ], + "x-ms-correlation-request-id": [ + "2e2c1d04-c0a4-43ec-a4c3-602fa31e7cdf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175136Z:2e2c1d04-c0a4-43ec-a4c3-602fa31e7cdf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:36 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk9215/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazkyMTUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799952" + ], + "x-ms-request-id": [ + "e7b95133-49d2-4d02-a4e2-26647039ec6c" + ], + "x-ms-correlation-request-id": [ + "e7b95133-49d2-4d02-a4e2-26647039ec6c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175136Z:e7b95133-49d2-4d02-a4e2-26647039ec6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:4858b0f9-eb44-47f5-a770-1a662d14b88a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799951" + ], + "x-ms-correlation-request-id": [ + "dee638d5-b615-4f0d-ab13-a86dc8df9b6a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175136Z:dee638d5-b615-4f0d-ab13-a86dc8df9b6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7a908793-dcf3-48a5-bec5-16b54652c8a1" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7754c28a-b5d4-458b-9dbc-4a9014ec61b0" + ], + "x-ms-correlation-request-id": [ + "7754c28a-b5d4-458b-9dbc-4a9014ec61b0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175137Z:7754c28a-b5d4-458b-9dbc-4a9014ec61b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:36 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk3964\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "b0a517bb-8c7f-4bcc-b698-69b24c804a03" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "8" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3964\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"edf303cf-7799-48a3-afb1-0a81c7f6388e\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "94a50fd8-06ea-49b2-b735-40c52bd35978" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "dc3d5360-fe5d-4815-856c-3dd029c0e629" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175137Z:dc3d5360-fe5d-4815-856c-3dd029c0e629" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:37 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e396d82-8527-4ac6-ae3e-3d92fe5af605" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "8" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3964\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"edf303cf-7799-48a3-afb1-0a81c7f6388e\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4a239b92-9a5d-458f-a206-2ba2d5397855" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799949" + ], + "x-ms-correlation-request-id": [ + "193ff436-0998-49f2-8ca1-4c29146f1eca" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175138Z:193ff436-0998-49f2-8ca1-4c29146f1eca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:37 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "73a5f5f2-733d-459b-a29b-07db121b4407" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "8" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3964\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"edf303cf-7799-48a3-afb1-0a81c7f6388e\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d3d1d395-84ee-4003-a381-f7574769a3c2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799948" + ], + "x-ms-correlation-request-id": [ + "fb143a88-1106-476d-9fa9-85843126bc69" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175143Z:fb143a88-1106-476d-9fa9-85843126bc69" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:43 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1DdXJhdGVkV2lraURhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed9b4be4-c36f-4fce-8d25-f8387ef5cfb9" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Linked service LinkedService-CuratedWikiData not found.\",\r\n \"code\": \"LinkedServiceNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "100" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f4e9d9bb-4bf8-4883-8f2b-27c74214b476" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799947" + ], + "x-ms-correlation-request-id": [ + "884249c4-9b9e-45e9-a3e0-93941510d259" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175143Z:884249c4-9b9e-45e9-a3e0-93941510d259" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:43 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1DdXJhdGVkV2lraURhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"LinkedService-CuratedWikiData\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "308" + ], + "x-ms-client-request-id": [ + "9562f8d6-12ca-44a1-b10d-26d40ce497f5" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "13" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData\",\r\n \"name\": \"LinkedService-CuratedWikiData\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5d418d18-09d1-4ea6-ba5f-0a1b9d85f406" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "9ea53772-4843-4ce9-a5e4-4b4917a9c34e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175144Z:9ea53772-4843-4ce9-a5e4-4b4917a9c34e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:44 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1DdXJhdGVkV2lraURhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1263534b-4514-43e8-9938-1dcaffe8701c" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "13" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData\",\r\n \"name\": \"LinkedService-CuratedWikiData\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "80c1157c-e969-4658-97cc-881d2ab0582a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799946" + ], + "x-ms-correlation-request-id": [ + "9188d9e1-b3aa-42bf-ad28-62178e05a0a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175144Z:9188d9e1-b3aa-42bf-ad28-62178e05a0a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:44 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1DdXJhdGVkV2lraURhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8608b678-429d-4305-8d64-0570777b4c3b" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "13" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-CuratedWikiData\",\r\n \"name\": \"LinkedService-CuratedWikiData\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "506" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f63acf42-6d89-4b78-a99b-c688bd193ca8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799945" + ], + "x-ms-correlation-request-id": [ + "073b0080-b98c-4128-9809-39e3cf5dd06d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175149Z:073b0080-b98c-4128-9809-39e3cf5dd06d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:49 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvSERJTGlua2VkU2VydmljZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c02b223-f4c7-4e22-a6fb-f918615cbef8" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Linked service HDILinkedService not found.\",\r\n \"code\": \"LinkedServiceNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "87" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dcfeca9b-6b55-45fe-8e22-adbe854e085e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799944" + ], + "x-ms-correlation-request-id": [ + "e3812e78-f5be-492e-b858-beec45026e4d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175150Z:e3812e78-f5be-492e-b858-beec45026e4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:49 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvSERJTGlua2VkU2VydmljZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"HDILinkedService\",\r\n \"properties\": {\r\n \"type\": \"HDInsightBYOCLinkedService\",\r\n \"clusterUri\": \"https://myhadoopcluster.azurehdinsight.net/\",\r\n \"userName\": \"admin\",\r\n \"password\": \"mypassword\",\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "323" + ], + "x-ms-client-request-id": [ + "4647a36a-c823-4a09-8e99-03a6019e866c" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "18" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService\",\r\n \"name\": \"HDILinkedService\",\r\n \"properties\": {\r\n \"clusterUri\": \"https://myhadoopcluster.azurehdinsight.net/\",\r\n \"userName\": \"admin\",\r\n \"password\": \"mypassword\",\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"location\": null,\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\",\r\n \"hubName\": \"default\",\r\n \"type\": \"HDInsightBYOCLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "539" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aaf4ced2-6d95-4e24-9081-61ce9c804442" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "af26310d-45dd-4986-b825-283f9c445d5c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175150Z:af26310d-45dd-4986-b825-283f9c445d5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:50 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvSERJTGlua2VkU2VydmljZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "01ac629a-f720-44e7-b8ed-5da9dc3447cf" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "18" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService\",\r\n \"name\": \"HDILinkedService\",\r\n \"properties\": {\r\n \"clusterUri\": \"https://myhadoopcluster.azurehdinsight.net/\",\r\n \"userName\": \"admin\",\r\n \"password\": \"mypassword\",\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"location\": null,\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\",\r\n \"hubName\": \"default\",\r\n \"type\": \"HDInsightBYOCLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "539" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d9a11686-1134-47a6-b0a6-02db501be66f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799943" + ], + "x-ms-correlation-request-id": [ + "e15e1006-2df4-4e8a-b5dd-a5cfd22c5f41" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175150Z:e15e1006-2df4-4e8a-b5dd-a5cfd22c5f41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:50 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvSERJTGlua2VkU2VydmljZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9d76405e-bbfa-484e-8647-716f5fb79b00" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "18" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/HDILinkedService\",\r\n \"name\": \"HDILinkedService\",\r\n \"properties\": {\r\n \"clusterUri\": \"https://myhadoopcluster.azurehdinsight.net/\",\r\n \"userName\": \"admin\",\r\n \"password\": \"mypassword\",\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"location\": null,\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\",\r\n \"hubName\": \"default\",\r\n \"type\": \"HDInsightBYOCLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "533" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2b1d61a4-bf26-46e3-808e-7e46925d1a0c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799942" + ], + "x-ms-correlation-request-id": [ + "d1c1c80a-5ea3-41c1-8ea2-193914be83e6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175155Z:d1c1c80a-5ea3-41c1-8ea2-193914be83e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:55 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpQWdncmVnYXRlZERhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2bb42763-3bf0-4644-84dd-0aac557798dd" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Linked service LinkedService-WikiAggregatedData not found.\",\r\n \"code\": \"LinkedServiceNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fca53f23-fc98-425f-80c4-7da33724d678" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799941" + ], + "x-ms-correlation-request-id": [ + "a3c027eb-3447-4304-b20f-5c902b0383cc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175156Z:a3c027eb-3447-4304-b20f-5c902b0383cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:55 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpQWdncmVnYXRlZERhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"LinkedService-WikiAggregatedData\",\r\n \"properties\": {\r\n \"type\": \"AzureSqlLinkedService\",\r\n \"connectionString\": \"Server=tcp:mytest.database.windows.net,1499;Database=wikitest;User ID=myaccount;Password=somepassword;Trusted_Connection=False;Encrypt=True;Connection Timeout=30\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "325" + ], + "x-ms-client-request-id": [ + "84ae501c-6062-412f-a22d-859848962538" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData\",\r\n \"name\": \"LinkedService-WikiAggregatedData\",\r\n \"properties\": {\r\n \"connectionString\": \"Server=tcp:mytest.database.windows.net,1499;Database=wikitest;User ID=myaccount;Password=somepassword;Trusted_Connection=False;Encrypt=True;Connection Timeout=30\",\r\n \"type\": \"AzureSqlLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "48b8e570-318d-490e-9c11-7034a20bce69" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "854bcc7c-34f8-4364-aa70-ca9acd611faa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175156Z:854bcc7c-34f8-4364-aa70-ca9acd611faa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:56 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpQWdncmVnYXRlZERhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6d5afcab-6a4f-49de-8ee5-00a2c100caed" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData\",\r\n \"name\": \"LinkedService-WikiAggregatedData\",\r\n \"properties\": {\r\n \"connectionString\": \"Server=tcp:mytest.database.windows.net,1499;Database=wikitest;User ID=myaccount;Password=somepassword;Trusted_Connection=False;Encrypt=True;Connection Timeout=30\",\r\n \"type\": \"AzureSqlLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0575c3cc-330c-40af-a56e-34e9395ea008" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799940" + ], + "x-ms-correlation-request-id": [ + "d0df145b-3570-4af3-a557-2e6a5fe00f59" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175156Z:d0df145b-3570-4af3-a557-2e6a5fe00f59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:51:56 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpQWdncmVnYXRlZERhdGE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e96fd29-9bfe-41e1-95c5-fd4e94320da8" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikiAggregatedData\",\r\n \"name\": \"LinkedService-WikiAggregatedData\",\r\n \"properties\": {\r\n \"connectionString\": \"Server=tcp:mytest.database.windows.net,1499;Database=wikitest;User ID=myaccount;Password=somepassword;Trusted_Connection=False;Encrypt=True;Connection Timeout=30\",\r\n \"type\": \"AzureSqlLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "506" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ebc54088-0be2-469a-9830-d56e5a254679" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799939" + ], + "x-ms-correlation-request-id": [ + "d83d72d6-1a98-4cc4-af11-9d8c031c237a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175202Z:d83d72d6-1a98-4cc4-af11-9d8c031c237a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:01 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpcGVkaWFDbGlja0V2ZW50cz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "be03c8ff-b251-4e85-b39a-455ce5866355" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Linked service LinkedService-WikipediaClickEvents not found.\",\r\n \"code\": \"LinkedServiceNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "105" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "381a8b0a-a14e-43dc-8de7-905c1707f599" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799938" + ], + "x-ms-correlation-request-id": [ + "5b5507b7-31fe-45c3-a6fc-5be0960a1c2e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175202Z:5b5507b7-31fe-45c3-a6fc-5be0960a1c2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpcGVkaWFDbGlja0V2ZW50cz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"LinkedService-WikipediaClickEvents\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "313" + ], + "x-ms-client-request-id": [ + "bba692e9-297e-42b7-993e-5df3f5496ea0" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents\",\r\n \"name\": \"LinkedService-WikipediaClickEvents\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "522" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "baddf1b9-b918-4abf-b572-49fe831a521a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "c4ac5dfa-4c55-4e6a-971f-03004200dece" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175202Z:c4ac5dfa-4c55-4e6a-971f-03004200dece" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpcGVkaWFDbGlja0V2ZW50cz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cde0b114-290f-4ecf-8736-02a942ec2490" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents\",\r\n \"name\": \"LinkedService-WikipediaClickEvents\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "522" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "06cc8bf3-97da-425e-a3eb-f4a7b97bff43" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799937" + ], + "x-ms-correlation-request-id": [ + "70ca5148-3a5c-45fc-b655-01c857eafba3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175202Z:70ca5148-3a5c-45fc-b655-01c857eafba3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvbGlua2Vkc2VydmljZXMvTGlua2VkU2VydmljZS1XaWtpcGVkaWFDbGlja0V2ZW50cz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb5f266f-5212-4365-af7d-6ae6f07d1488" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/linkedservices/LinkedService-WikipediaClickEvents\",\r\n \"name\": \"LinkedService-WikipediaClickEvents\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "516" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cc248979-5856-4696-a112-3724d1bcbae6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799936" + ], + "x-ms-correlation-request-id": [ + "e17c9a4c-9048-4246-b0fb-e5a3a45eb339" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175207Z:e17c9a4c-9048-4246-b0fb-e5a3a45eb339" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:07 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lBZ2dyZWdhdGVkRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77c696d9-2873-4075-8c70-3f73e1b22878" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Table DA_WikiAggregatedData not found.\",\r\n \"code\": \"TableNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "75" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "94a88390-c452-40bd-96e5-e0b228eb6c34" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799935" + ], + "x-ms-correlation-request-id": [ + "bf1fd3f6-d5a7-4d72-be5d-22a2ffd9ae0f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175208Z:bf1fd3f6-d5a7-4d72-be5d-22a2ffd9ae0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:07 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lBZ2dyZWdhdGVkRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"DA_WikiAggregatedData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"name\": \"slicetimestamp\",\r\n \"position\": 0,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"projectname\",\r\n \"position\": 1,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"hits\",\r\n \"position\": 2,\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"location\": {\r\n \"type\": \"AzureSqlTableLocation\",\r\n \"tableName\": \"wikiaggregateddata\",\r\n \"linkedServiceName\": \"LinkedService-WikiAggregatedData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumRows\": 10\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "746" + ], + "x-ms-client-request-id": [ + "eb372979-f5d7-4fce-be7d-93651190d0f4" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "33" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikiAggregatedData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"hits\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureSqlTableLocation\",\r\n \"tableName\": \"wikiaggregateddata\",\r\n \"linkedServiceName\": \"LinkedService-WikiAggregatedData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumRows\": 10\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:09.0096356Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "731" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "78a92798-2cd9-4dd1-b6ae-e8bd6a00e886" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "0a1debdf-b04c-46a9-94c3-1601bff7f8a1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175209Z:0a1debdf-b04c-46a9-94c3-1601bff7f8a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:08 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lBZ2dyZWdhdGVkRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c46abb94-3aab-4d56-af6f-d2076e012626" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "33" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikiAggregatedData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"hits\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureSqlTableLocation\",\r\n \"tableName\": \"wikiaggregateddata\",\r\n \"linkedServiceName\": \"LinkedService-WikiAggregatedData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumRows\": 10\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:09.0096356Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "731" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b330176c-d8ca-411f-96df-218b11eb9952" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799934" + ], + "x-ms-correlation-request-id": [ + "0088ba86-83d1-4766-8783-598d1174b219" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175209Z:0088ba86-83d1-4766-8783-598d1174b219" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:08 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lBZ2dyZWdhdGVkRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ab5e12d9-7205-40bb-9860-72e7dcda8eb0" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "33" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikiAggregatedData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"hits\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureSqlTableLocation\",\r\n \"tableName\": \"wikiaggregateddata\",\r\n \"linkedServiceName\": \"LinkedService-WikiAggregatedData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumRows\": 10\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:08.8173591Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "725" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2057b113-70b8-4e35-b658-c28ce045ba19" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799933" + ], + "x-ms-correlation-request-id": [ + "bf4445f6-e42b-4ae1-86c5-63a8c943d5e1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175214Z:bf4445f6-e42b-4ae1-86c5-63a8c943d5e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:14 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lwZWRpYUNsaWNrRXZlbnRzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e9b9dc2b-b202-4e60-afe3-17e96bd15ecf" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Table DA_WikipediaClickEvents not found.\",\r\n \"code\": \"TableNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "071741f8-f880-439c-a076-2dbc7435b7ba" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799932" + ], + "x-ms-correlation-request-id": [ + "1ae9e333-b0c5-45cb-9970-de4648b51463" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175214Z:1ae9e333-b0c5-45cb-9970-de4648b51463" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:14 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lwZWRpYUNsaWNrRXZlbnRzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"DA_WikipediaClickEvents\",\r\n \"properties\": {\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledatain/\",\r\n \"linkedServiceName\": \"LinkedService-WikipediaClickEvents\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": {\r\n \"retryInterval\": \"00:01:00\",\r\n \"retryTimeout\": \"00:10:00\",\r\n \"maximumRetry\": 3\r\n }\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumSizeMB\": 1.0\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "704" + ], + "x-ms-client-request-id": [ + "25861656-313d-4b05-a8bb-d1e5c9364b86" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "38" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikipediaClickEvents\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledatain/\",\r\n \"linkedServiceName\": \"LinkedService-WikipediaClickEvents\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": {\r\n \"retryInterval\": \"00:01:00\",\r\n \"retryTimeout\": \"00:10:00\",\r\n \"maximumRetry\": 3\r\n }\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumSizeMB\": 1.0\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:15.0616105Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "652" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "46398460-9595-48aa-a868-4bc9ec033930" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "d79e7c80-1e9b-4d9c-9c17-2727132bf6b3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175215Z:d79e7c80-1e9b-4d9c-9c17-2727132bf6b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:14 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lwZWRpYUNsaWNrRXZlbnRzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9844b6a5-af33-4423-9d98-e1cec77c0baf" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "38" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikipediaClickEvents\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledatain/\",\r\n \"linkedServiceName\": \"LinkedService-WikipediaClickEvents\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": {\r\n \"retryInterval\": \"00:01:00\",\r\n \"retryTimeout\": \"00:10:00\",\r\n \"maximumRetry\": 3\r\n }\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumSizeMB\": 1.0\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:15.0616105Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "652" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c38f98e7-062e-4e16-a602-6f040015f9bb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799931" + ], + "x-ms-correlation-request-id": [ + "d64473c0-a1c9-4d38-ac37-7f1b0249f4f9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175215Z:d64473c0-a1c9-4d38-ac37-7f1b0249f4f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:14 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lwZWRpYUNsaWNrRXZlbnRzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "34fdd0ed-6321-4773-87f8-3ce2e68b50a5" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "38" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_WikipediaClickEvents\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikipediaClickEvents\",\r\n \"properties\": {\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledatain/\",\r\n \"linkedServiceName\": \"LinkedService-WikipediaClickEvents\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": {\r\n \"retryInterval\": \"00:01:00\",\r\n \"retryTimeout\": \"00:10:00\",\r\n \"maximumRetry\": 3\r\n }\r\n },\r\n \"policy\": {\r\n \"validation\": {\r\n \"minimumSizeMB\": 1.0\r\n }\r\n },\r\n \"createTime\": \"2014-10-21T17:52:15.0323441Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "646" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2b29b178-81b1-416f-a677-64b4e64df213" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799930" + ], + "x-ms-correlation-request-id": [ + "3d987c6b-e305-4ef2-9741-3a09e9ebb98c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175220Z:3d987c6b-e305-4ef2-9741-3a09e9ebb98c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX0N1cmF0ZWRXaWtpRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d4c860c9-13ca-4db7-a13f-71bd1d32dea7" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"message\": \"Table DA_CuratedWikiData not found.\",\r\n \"code\": \"TableNotFound\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "72" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7c7847fa-d2c9-4748-893e-2076d3127cae" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799929" + ], + "x-ms-correlation-request-id": [ + "e454af18-23f8-4aef-96e4-d767fc9efd99" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175220Z:e454af18-23f8-4aef-96e4-d767fc9efd99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX0N1cmF0ZWRXaWtpRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"DA_CuratedWikiData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"name\": \"slicetimestamp\",\r\n \"position\": 0,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"projectname\",\r\n \"position\": 1,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"pageviews\",\r\n \"position\": 2,\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledataout/{Slice}\",\r\n \"partitionedBy\": [\r\n {\r\n \"name\": \"Slice\",\r\n \"value\": {\r\n \"type\": \"DateTime\",\r\n \"date\": \"SliceStart\",\r\n \"format\": \"yyyyMMddHH\"\r\n }\r\n }\r\n ],\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "770" + ], + "x-ms-client-request-id": [ + "519787de-93c9-4de8-8e0b-16d136ec1827" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "43" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_CuratedWikiData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledataout/{Slice}\",\r\n \"partitionedBy\": [\r\n {\r\n \"name\": \"Slice\",\r\n \"value\": {\r\n \"type\": \"DateTime\",\r\n \"date\": \"SliceStart\",\r\n \"format\": \"yyyyMMddHH\"\r\n }\r\n }\r\n ],\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:52:21.4311215Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "809" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "50359fea-70b2-415d-86cc-4659f06d2123" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "bfa3b67d-8276-4f58-83ec-f47b4b197306" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175221Z:bfa3b67d-8276-4f58-83ec-f47b4b197306" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:20 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX0N1cmF0ZWRXaWtpRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f32c2dc-db04-476c-9b9c-f329a21be1f5" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "43" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_CuratedWikiData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledataout/{Slice}\",\r\n \"partitionedBy\": [\r\n {\r\n \"name\": \"Slice\",\r\n \"value\": {\r\n \"type\": \"DateTime\",\r\n \"date\": \"SliceStart\",\r\n \"format\": \"yyyyMMddHH\"\r\n }\r\n }\r\n ],\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:52:21.4311215Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "809" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2ae88d48-6ae4-4827-8b9a-b43e1e7ba37a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799928" + ], + "x-ms-correlation-request-id": [ + "b92fcf73-8de0-46cf-a5f5-d7f479d2cfee" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175221Z:b92fcf73-8de0-46cf-a5f5-d7f479d2cfee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:21 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX0N1cmF0ZWRXaWtpRGF0YT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "96cf0514-7686-4e89-bb8f-a9ec1584d517" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "43" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DA_CuratedWikiData\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_CuratedWikiData\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"folderPath\": \"wikidatagateway/wikisampledataout/{Slice}\",\r\n \"partitionedBy\": [\r\n {\r\n \"name\": \"Slice\",\r\n \"value\": {\r\n \"type\": \"DateTime\",\r\n \"date\": \"SliceStart\",\r\n \"format\": \"yyyyMMddHH\"\r\n }\r\n }\r\n ],\r\n \"linkedServiceName\": \"LinkedService-CuratedWikiData\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:52:21.4197116Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "803" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9259324b-065a-4098-b5c0-acd4830ede51" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799927" + ], + "x-ms-correlation-request-id": [ + "34d723a1-ea43-412c-9680-a1213ea24846" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175226Z:34d723a1-ea43-412c-9680-a1213ea24846" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"name\": \"WikiHiveActivity\",\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"linkedServiceName\": \"HDILinkedService\",\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"type\": \"Hive\",\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\"\r\n },\r\n \"policy\": {\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2,\r\n \"timeout\": \"01:00:00\"\r\n }\r\n },\r\n {\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"linkedServiceName\": \"HDILinkedService\",\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"policy\": {\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2,\r\n \"timeout\": \"01:00:00\"\r\n }\r\n }\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "3199" + ], + "x-ms-client-request-id": [ + "c0c56947-01f1-4a19-994d-34bb29369281" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:27.8728433Z\",\r\n \"activityPeriods\": {\r\n \"wikiHiveActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n },\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingCreation\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2715" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b5ec47cc-1238-4d83-8b45-37204bfc86d7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "9f89b226-38de-4fa5-ac98-893ef1c54588" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175228Z:9f89b226-38de-4fa5-ac98-893ef1c54588" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:27 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"name\": \"WikiHiveActivity\",\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"linkedServiceName\": \"HDILinkedService\",\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"type\": \"Hive\",\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\"\r\n },\r\n \"policy\": {\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2,\r\n \"timeout\": \"01:00:00\"\r\n }\r\n },\r\n {\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"linkedServiceName\": \"HDILinkedService\",\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"policy\": {\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2,\r\n \"timeout\": \"01:00:00\"\r\n }\r\n }\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "3199" + ], + "x-ms-client-request-id": [ + "8519f557-5694-488c-b11c-8168eb66d346" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingUpdate\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7bf32afc-144c-4def-86af-c7fca017aae2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "b10c2091-cf8d-4061-8c43-dda801154318" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175241Z:b10c2091-cf8d-4061-8c43-dda801154318" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:40 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e11185b6-9d07-4fc2-9f07-bccd93c4ac77" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:27.8728433Z\",\r\n \"activityPeriods\": {\r\n \"wikiHiveActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n },\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingCreation\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2715" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "59a2fbdd-1903-4859-8fb2-b69693275b05" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799926" + ], + "x-ms-correlation-request-id": [ + "199815b4-a2f2-46c1-97ad-1b5f30cf77d4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175229Z:199815b4-a2f2-46c1-97ad-1b5f30cf77d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1206c84d-ae20-486d-a676-42c2454e47c7" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:27.8728433Z\",\r\n \"activityPeriods\": {\r\n \"wikiHiveActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n },\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingCreation\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2715" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4a418971-acf5-418e-8df7-db0610379df6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799925" + ], + "x-ms-correlation-request-id": [ + "4e84e00c-f525-443a-9032-1e22622bc06a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175234Z:4e84e00c-f525-443a-9032-1e22622bc06a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:34 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a7adb996-1e39-4e7a-b6b2-0721c471bd23" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:27.8728433Z\",\r\n \"activityPeriods\": {\r\n \"wikiHiveActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n },\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2709" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "762d60f5-898c-4d2c-9448-73e5d83a2d0a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799924" + ], + "x-ms-correlation-request-id": [ + "e774a1ed-0ddf-4991-987d-4a5d70fd3a45" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175239Z:e774a1ed-0ddf-4991-987d-4a5d70fd3a45" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:39 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2041b245-becf-4a5a-ad91-f3846829156c" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingUpdate\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "78470dc4-6461-411c-a9cc-8f3f7c2ed037" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799921" + ], + "x-ms-correlation-request-id": [ + "09ca72ec-5ce5-4f1c-8cd7-18019b94e009" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175241Z:09ca72ec-5ce5-4f1c-8cd7-18019b94e009" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:41 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d15402ed-c0a2-447d-a349-c8baa7681e82" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingUpdate\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b2d03236-2183-4ca7-a5b2-6c99ac151bef" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799920" + ], + "x-ms-correlation-request-id": [ + "0cda9be7-84f3-4597-b49f-43f328286e30" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175246Z:0cda9be7-84f3-4597-b49f-43f328286e30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:46 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "860a74f0-85c5-43ce-ab66-4000e7a6e8f7" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingUpdate\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "82007a50-6732-43c3-9fcf-cc121d7f5a4c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799919" + ], + "x-ms-correlation-request-id": [ + "228140f0-54f8-4c7f-ad47-f215b7f44e65" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175251Z:228140f0-54f8-4c7f-ad47-f215b7f44e65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:51 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a72d610d-e0fa-4e96-9dec-37e8521ca591" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"PendingUpdate\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "69eac134-690a-462d-acbd-05669eb77298" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799918" + ], + "x-ms-correlation-request-id": [ + "e3001d1f-aee3-45ee-8cc1-0babcfb0f308" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175257Z:e3001d1f-aee3-45ee-8cc1-0babcfb0f308" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:56 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "274a7e25-f8bb-45c0-9ad8-5f720b26444a" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "55" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d92832cd-9245-4a4c-abc2-56bc508be8ee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799917" + ], + "x-ms-correlation-request-id": [ + "dd5ac4d1-21be-434d-aa46-be5444fd3cbd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175302Z:dd5ac4d1-21be-434d-aa46-be5444fd3cbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5ba7cd6d-ac4e-41ac-96b5-4c7867b8765e" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:27.8728433Z\",\r\n \"activityPeriods\": {\r\n \"wikiHiveActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n },\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"1601-01-01T00:00:00Z\",\r\n \"end\": \"1601-01-01T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2709" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9f469b8c-019c-4d46-bd8d-2c4f6a31d33c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799923" + ], + "x-ms-correlation-request-id": [ + "a028fc30-efd9-4915-8fdb-587378bc084b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175239Z:a028fc30-efd9-4915-8fdb-587378bc084b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:39 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "366fd4c3-2655-4525-a39f-f052b2b48dcc" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"DP_WikipediaSamplePipeline\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline\",\r\n \"properties\": {\r\n \"description\": \"DP Wikipedia Sample Pipelines\",\r\n \"activities\": [\r\n {\r\n \"type\": \"HDInsightActivity\",\r\n \"transformation\": {\r\n \"script\": \"$$Text.Format('DROP TABLE IF EXISTS values; CREATE EXTERNAL TABLE values (projectname string, title string, pageviews string, bytestransfer string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\' \\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledatain\\\\'; DROP TABLE IF EXISTS stats; CREATE EXTERNAL TABLE stats (slicetimestamp string, projectname string, pageviews string) ROW FORMAT DELIMITED FIELDS TERMINATED BY \\\\',\\\\' LINES TERMINATED BY \\\\'10\\\\' STORED AS TEXTFILE LOCATION \\\\'wasb://wikidatagateway@mdpprodstore.blob.core.windows.net/wikisampledataout/{0:yyyyMMddHH}\\\\'; INSERT OVERWRITE TABLE Stats SELECT slicetimestamp, projectname, sum(pageviews) FROM (SELECT \\\\'2014/02/25\\\\' AS slicetimestamp, CASE WHEN size(split(projectname, \\\\'[.]\\\\'))=1 THEN \\\\'wikipedia\\\\' ELSE CASE split(projectname, \\\\'[.]\\\\')[1] WHEN \\\\'b\\\\' THEN \\\\'wikibooks\\\\' WHEN \\\\'d\\\\' THEN \\\\'wiktionary\\\\' WHEN \\\\'m\\\\' THEN \\\\'wikimedia\\\\' WHEN \\\\'mv\\\\' THEN \\\\'wikipedia mobile\\\\' WHEN \\\\'n\\\\' THEN \\\\'wikinews\\\\' WHEN \\\\'q\\\\' THEN \\\\'wikiquote\\\\' WHEN \\\\'s\\\\' THEN \\\\'wikisource\\\\' WHEN \\\\'v\\\\' THEN \\\\'wikiversity\\\\' WHEN \\\\'w\\\\' THEN \\\\'mediawiki\\\\' ELSE \\\\'n/a\\\\' END END AS projectname, pageviews FROM values) A GROUP BY slicetimestamp, projectname;', SliceStart)\",\r\n \"type\": \"Hive\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_WikipediaClickEvents\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"WikiHiveActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n },\r\n {\r\n \"type\": \"CopyActivity\",\r\n \"transformation\": {\r\n \"source\": {\r\n \"type\": \"BlobSource\",\r\n \"blobColumnSeparators\": \",\"\r\n },\r\n \"sink\": {\r\n \"type\": \"SqlSink\",\r\n \"writeBatchSize\": 1000000,\r\n \"writeBatchTimeout\": \"01:00:00\"\r\n }\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"DA_CuratedWikiData\"\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"name\": \"DA_WikiAggregatedData\"\r\n }\r\n ],\r\n \"policy\": {\r\n \"timeout\": \"01:00:00\",\r\n \"concurrency\": 1,\r\n \"executionPriorityOrder\": \"NewestFirst\",\r\n \"retry\": 2\r\n },\r\n \"name\": \"BlobToSqlCopyActivity\",\r\n \"linkedServiceName\": \"HDILinkedService\"\r\n }\r\n ],\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\",\r\n \"isPaused\": false,\r\n \"runtimeInfo\": {\r\n \"deploymentTime\": \"2014-10-21T17:52:41.1185199Z\",\r\n \"activityPeriods\": {\r\n \"blobToSqlCopyActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n },\r\n \"wikiHiveActivity\": {\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hubName\": \"default\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "423aa3cc-3ae7-4b7c-b72e-4463ea82cacf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799916" + ], + "x-ms-correlation-request-id": [ + "9ff42939-2689-46ea-a6a7-9c5bbafca15c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175302Z:9ff42939-2689-46ea-a6a7-9c5bbafca15c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline/update?start=2014-09-07T23:00:00.0000000&end=2014-09-08T00:00:00.0000000&autoResolve=false&forceRecalc=false&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZS91cGRhdGU/c3RhcnQ9MjAxNC0wOS0wN1QyMyUzQTAwJTNBMDAuMDAwMDAwMCZlbmQ9MjAxNC0wOS0wOFQwMCUzQTAwJTNBMDAuMDAwMDAwMCZhdXRvUmVzb2x2ZT1mYWxzZSZmb3JjZVJlY2FsYz1mYWxzZSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ea3a3bf5-5802-4578-8902-c63ffcac7b46" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a8a78d8e-8e72-4926-bc0b-654e8dae3571" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "9dc7c2e5-41a9-4acb-8bfa-90315a035a57" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175240Z:9dc7c2e5-41a9-4acb-8bfa-90315a035a57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:40 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/tables/DA_WikiAggregatedData/slices?start=2014-09-07T23:00:00.0000000&end=2014-09-08T00:00:00.0000000&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvdGFibGVzL0RBX1dpa2lBZ2dyZWdhdGVkRGF0YS9zbGljZXM/c3RhcnQ9MjAxNC0wOS0wN1QyMyUzQTAwJTNBMDAuMDAwMDAwMCZlbmQ9MjAxNC0wOS0wOFQwMCUzQTAwJTNBMDAuMDAwMDAwMCZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "063bd8f3-501e-4327-aa10-845dc6f3de68" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"status\": \"PendingExecution\",\r\n \"latencyStatus\": null,\r\n \"retryCount\": 0,\r\n \"longRetryCount\": 0,\r\n \"discardUntilTimestamp\": null,\r\n \"start\": \"2014-09-07T23:00:00Z\",\r\n \"end\": \"2014-09-08T00:00:00Z\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "271" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e4c012a0-58dd-4742-963b-4215134bedcc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799922" + ], + "x-ms-correlation-request-id": [ + "f290ab3a-7553-451e-af11-f0d2b1fa2545" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175240Z:f290ab3a-7553-451e-af11-f0d2b1fa2545" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:52:40 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9523fad3-dd80-4982-938d-fd656ec960fa" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "63" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "f233c938-c2b0-4969-a085-953d1deaf895" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "24270f1f-68a8-4526-a261-a93b61ab9980" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175303Z:24270f1f-68a8-4526-a261-a93b61ab9980" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:03 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline/operationresults/4e599726d83c41df913f9788a3ce1723?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "000601c6-16da-405f-9543-a331360b2085" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "67" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dff36f65-77f9-4d59-a13c-57df43b4c21d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "273a3680-76ab-49c3-8cc9-8f24cf57dd1f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175318Z:273a3680-76ab-49c3-8cc9-8f24cf57dd1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline/operationresults/4e599726d83c41df913f9788a3ce1723?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZS9vcGVyYXRpb25yZXN1bHRzLzRlNTk5NzI2ZDgzYzQxZGY5MTNmOTc4OGEzY2UxNzIzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "63" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "86424b59-e7f3-473a-ac2a-ed002b5c68e7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799915" + ], + "x-ms-correlation-request-id": [ + "3b674a39-78d0-4b91-8630-e89b77bc2d8f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175303Z:3b674a39-78d0-4b91-8630-e89b77bc2d8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:03 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline/operationresults/4e599726d83c41df913f9788a3ce1723?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964/datapipelines/DP_WikipediaSamplePipeline/operationresults/4e599726d83c41df913f9788a3ce1723?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQvZGF0YXBpcGVsaW5lcy9EUF9XaWtpcGVkaWFTYW1wbGVQaXBlbGluZS9vcGVyYXRpb25yZXN1bHRzLzRlNTk5NzI2ZDgzYzQxZGY5MTNmOTc4OGEzY2UxNzIzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "63" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "43c8b153-96ce-4e3e-b1fc-d1f7370e6aba" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799914" + ], + "x-ms-correlation-request-id": [ + "a3fd8a2a-73e1-4da9-b4a0-1cbec16e0683" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175318Z:a3fd8a2a-73e1-4da9-b4a0-1cbec16e0683" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk9215/providers/Microsoft.DataFactory/datafactories/onesdk3964?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkyMTUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM5NjQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a196d90d-566a-48b3-8e6e-3ed3223eadc4" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "96e9ed01-a918-4a50-aacc-bbdd50877c2a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "8192633a-0e3d-4893-bd08-410cd1ef8abd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175319Z:8192633a-0e3d-4893-bd08-410cd1ef8abd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:53:19 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-WikipediaSamplePipeline": [ + "onesdk3964", + "onesdk9215" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithEmptyName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithEmptyName.json new file mode 100644 index 000000000000..7c73d83d40c5 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithEmptyName.json @@ -0,0 +1,505 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799912" + ], + "x-ms-request-id": [ + "d2293df0-c23f-478f-9e9c-6eb93ac5a8c1" + ], + "x-ms-correlation-request-id": [ + "d2293df0-c23f-478f-9e9c-6eb93ac5a8c1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175627Z:d2293df0-c23f-478f-9e9c-6eb93ac5a8c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799911" + ], + "x-ms-request-id": [ + "b6f417aa-3abe-4570-96f6-3ad5b9c6eaa2" + ], + "x-ms-correlation-request-id": [ + "b6f417aa-3abe-4570-96f6-3ad5b9c6eaa2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175627Z:b6f417aa-3abe-4570-96f6-3ad5b9c6eaa2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799910" + ], + "x-ms-request-id": [ + "d99db7bf-10ec-4f24-b617-c220d0aa9b94" + ], + "x-ms-correlation-request-id": [ + "d99db7bf-10ec-4f24-b617-c220d0aa9b94" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175628Z:d99db7bf-10ec-4f24-b617-c220d0aa9b94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:27 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4169\",\r\n \"name\": \"onesdk4169\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11965" + ], + "x-ms-request-id": [ + "bdd91179-5cf3-4e2e-b52d-e07cb191c9d2" + ], + "x-ms-correlation-request-id": [ + "bdd91179-5cf3-4e2e-b52d-e07cb191c9d2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175628Z:bdd91179-5cf3-4e2e-b52d-e07cb191c9d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk4169/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazQxNjkvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799909" + ], + "x-ms-request-id": [ + "ca381477-a44b-448d-908e-04e277d35071" + ], + "x-ms-correlation-request-id": [ + "ca381477-a44b-448d-908e-04e277d35071" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175628Z:ca381477-a44b-448d-908e-04e277d35071" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:e609060f-d24e-45db-b53f-234e9955ecbf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799908" + ], + "x-ms-correlation-request-id": [ + "e9ef54ec-bb5c-4f22-82b4-d073264bd72b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175628Z:e9ef54ec-bb5c-4f22-82b4-d073264bd72b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NDg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk9548\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "ea4a260e-941c-4878-81aa-c282dcfa205d" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "35" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9548\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c281c39b-09e2-4058-9ff4-bf4bfe6ba3c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "db983bb1-9598-47fa-ac3a-01a81b6d3b4b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "272b3d7f-82df-493e-b114-5cc6602b98fc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175629Z:272b3d7f-82df-493e-b114-5cc6602b98fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:29 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NDg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2b6dc1dd-8175-4442-9f73-1c528dd1a88c" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "35" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9548\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c281c39b-09e2-4058-9ff4-bf4bfe6ba3c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "13d7b5b5-bd8c-4624-bbbb-4dca99af02bb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799907" + ], + "x-ms-correlation-request-id": [ + "8ca4fb91-6be9-4103-8b1c-302a0827171f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175629Z:8ca4fb91-6be9-4103-8b1c-302a0827171f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazk1NDg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "60713e2d-4d52-40cb-98de-d10a39283bf1" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "35" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk9548\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk4169/providers/Microsoft.DataFactory/datafactories/onesdk9548\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"c281c39b-09e2-4058-9ff4-bf4bfe6ba3c7\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6a2ad2b2-f38e-4633-9691-50e9bd9fbb13" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799906" + ], + "x-ms-correlation-request-id": [ + "3d23fbe7-ac89-4c24-9866-930320c88c56" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175634Z:3d23fbe7-ac89-4c24-9866-930320c88c56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:56:34 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetTableWithEmptyName": [ + "onesdk9548", + "onesdk4169" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithWhiteSpaceName.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithWhiteSpaceName.json new file mode 100644 index 000000000000..68474aafeb77 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestGetTableWithWhiteSpaceName.json @@ -0,0 +1,568 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799904" + ], + "x-ms-request-id": [ + "906be9de-1278-43f7-bd30-919861c98c00" + ], + "x-ms-correlation-request-id": [ + "906be9de-1278-43f7-bd30-919861c98c00" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175717Z:906be9de-1278-43f7-bd30-919861c98c00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799903" + ], + "x-ms-request-id": [ + "a4a11404-9646-448c-b926-c94e4948a484" + ], + "x-ms-correlation-request-id": [ + "a4a11404-9646-448c-b926-c94e4948a484" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175718Z:a4a11404-9646-448c-b926-c94e4948a484" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799902" + ], + "x-ms-request-id": [ + "a2b29bb5-5e84-4561-8f53-7db77ed6e3b6" + ], + "x-ms-correlation-request-id": [ + "a2b29bb5-5e84-4561-8f53-7db77ed6e3b6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175718Z:a2b29bb5-5e84-4561-8f53-7db77ed6e3b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:17 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk8665\",\r\n \"name\": \"onesdk8665\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11962" + ], + "x-ms-request-id": [ + "c6993db4-7de6-4b4f-9db7-ab603820b32e" + ], + "x-ms-correlation-request-id": [ + "c6993db4-7de6-4b4f-9db7-ab603820b32e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175718Z:c6993db4-7de6-4b4f-9db7-ab603820b32e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk8665/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazg2NjUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799901" + ], + "x-ms-request-id": [ + "27e7b64c-d6ef-4496-836e-b48e903680f6" + ], + "x-ms-correlation-request-id": [ + "27e7b64c-d6ef-4496-836e-b48e903680f6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175718Z:27e7b64c-d6ef-4496-836e-b48e903680f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:c4656f4d-7858-4882-89fa-08de554baf77" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799900" + ], + "x-ms-correlation-request-id": [ + "afa9e034-6e95-44f2-aa92-cafd444de9fe" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175718Z:afa9e034-6e95-44f2-aa92-cafd444de9fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM2NDk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk3649\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "aba07666-b795-4a8f-a21a-b5fe1372c68f" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3649\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ab00e0b3-3a04-4fe1-9c4e-4c306188ec75\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4e69de19-f093-467b-8888-9608d23f2517" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "1a1eb1e4-7cfa-4164-afa0-9f1731ce8f7e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175719Z:1a1eb1e4-7cfa-4164-afa0-9f1731ce8f7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:19 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM2NDk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f5346f41-cc2e-4a4e-8d02-c3d59cf182ef" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3649\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ab00e0b3-3a04-4fe1-9c4e-4c306188ec75\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "491774ba-326e-49f9-b8d9-6fe765a7e1fb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799899" + ], + "x-ms-correlation-request-id": [ + "04373a4f-2fcb-4853-9246-fb978e731224" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175719Z:04373a4f-2fcb-4853-9246-fb978e731224" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:19 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM2NDk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "19d683bc-773d-44fd-96df-89ecf2383f6f" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3649\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ab00e0b3-3a04-4fe1-9c4e-4c306188ec75\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "08f56990-dfc0-4e94-8097-5d0db9abd9a3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799898" + ], + "x-ms-correlation-request-id": [ + "d7a3d0c5-91be-49fe-b7c5-b313ac82d987" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175725Z:d7a3d0c5-91be-49fe-b7c5-b313ac82d987" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazM2NDk/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fc5b32b0-416a-4dac-b758-97e2d201c7b6" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "47" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk3649\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk8665/providers/Microsoft.DataFactory/datafactories/onesdk3649\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ab00e0b3-3a04-4fe1-9c4e-4c306188ec75\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fb1905a3-050d-4b50-9b02-6e23e52c0879" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799897" + ], + "x-ms-correlation-request-id": [ + "61ba0be9-4ff1-4528-b36a-8ff6e55d92ab" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175730Z:61ba0be9-4ff1-4528-b36a-8ff6e55d92ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:57:30 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetTableWithWhiteSpaceName": [ + "onesdk3649", + "onesdk8665" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json new file mode 100644 index 000000000000..19f754105080 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTable.json @@ -0,0 +1,1249 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799847" + ], + "x-ms-request-id": [ + "e1f1283c-3250-4f4e-bf3c-90d00fc016ae" + ], + "x-ms-correlation-request-id": [ + "e1f1283c-3250-4f4e-bf3c-90d00fc016ae" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181305Z:e1f1283c-3250-4f4e-bf3c-90d00fc016ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799846" + ], + "x-ms-request-id": [ + "2c74e762-2915-4f79-a241-ce05c140bc79" + ], + "x-ms-correlation-request-id": [ + "2c74e762-2915-4f79-a241-ce05c140bc79" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181305Z:2c74e762-2915-4f79-a241-ce05c140bc79" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799845" + ], + "x-ms-request-id": [ + "9c6d4d25-d213-4b53-a07a-52f9ede9c1ba" + ], + "x-ms-correlation-request-id": [ + "9c6d4d25-d213-4b53-a07a-52f9ede9c1ba" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181306Z:9c6d4d25-d213-4b53-a07a-52f9ede9c1ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:06 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3006\",\r\n \"name\": \"onesdk3006\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11934" + ], + "x-ms-request-id": [ + "589c60cd-258f-4a78-85d4-f43ad5646290" + ], + "x-ms-correlation-request-id": [ + "589c60cd-258f-4a78-85d4-f43ad5646290" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181306Z:589c60cd-258f-4a78-85d4-f43ad5646290" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:06 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk3006/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMwMDYvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799844" + ], + "x-ms-request-id": [ + "95347380-cf2f-4009-9590-b8fe47971f60" + ], + "x-ms-correlation-request-id": [ + "95347380-cf2f-4009-9590-b8fe47971f60" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181306Z:95347380-cf2f-4009-9590-b8fe47971f60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:54d768a2-56d5-467b-aafc-dc6928cf2ebd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799843" + ], + "x-ms-correlation-request-id": [ + "3a84c6b9-fe49-48b2-a314-f7e014a18bbb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181306Z:3a84c6b9-fe49-48b2-a314-f7e014a18bbb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk2198\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "db54cf08-d1d8-461f-bc53-232a5567731f" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2198\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"20f91f20-cde7-4aaf-8746-667af2a4609d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6dc41129-83aa-4212-b24d-400ff3844911" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11933" + ], + "x-ms-correlation-request-id": [ + "3600eda6-ff0f-4bc0-9088-d474da0a827e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181307Z:3600eda6-ff0f-4bc0-9088-d474da0a827e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:07 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e99187f4-fcbb-4b1f-83fe-6dc66ba0225b" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2198\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"20f91f20-cde7-4aaf-8746-667af2a4609d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b82cfcc6-140f-4fd5-a59e-a83721a5269c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799842" + ], + "x-ms-correlation-request-id": [ + "a8a9fca6-9966-4870-b74f-f8b4aa2895e5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181308Z:a8a9fca6-9966-4870-b74f-f8b4aa2895e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:07 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0fdf0fe7-8337-4433-b385-c0b6a83c5083" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk2198\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"20f91f20-cde7-4aaf-8746-667af2a4609d\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "08b42a48-c294-4a17-8214-df873402e578" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799841" + ], + "x-ms-correlation-request-id": [ + "e72a7590-64fc-4b5d-842c-3f851bf98138" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181313Z:e72a7590-64fc-4b5d-842c-3f851bf98138" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:12 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "283" + ], + "x-ms-client-request-id": [ + "34a74309-27e6-4ba4-8246-656427e4ad6f" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "174" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "462" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b116bb0a-af3b-4b7f-8b97-5adda30d72ee" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11932" + ], + "x-ms-correlation-request-id": [ + "b3b1128e-605d-4f2a-8d0e-88e579564f7a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181313Z:b3b1128e-605d-4f2a-8d0e-88e579564f7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:12 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ee1567fe-9a19-4e6e-8e3a-a2e77e5da43c" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "174" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "462" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e66c63cb-939c-4067-8a7d-fb3d4506d49d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799840" + ], + "x-ms-correlation-request-id": [ + "3c205322-1e44-4279-8815-957f4755eb73" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181313Z:3c205322-1e44-4279-8815-957f4755eb73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:12 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5870bbc9-c31f-4ab9-9f41-be76ab35d961" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "174" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "456" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "92c4e424-9426-4291-aa52-3c3dea0a7da0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799839" + ], + "x-ms-correlation-request-id": [ + "e1326bd2-90ae-4b8f-a476-4fe6110fc887" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181318Z:e1326bd2-90ae-4b8f-a476-4fe6110fc887" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo1\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"name\": \"slicetimestamp\",\r\n \"position\": 0,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"projectname\",\r\n \"position\": 1,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"pageviews\",\r\n \"position\": 2,\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "628" + ], + "x-ms-client-request-id": [ + "9c9f0afa-baa0-4388-bd4e-35cd0f84db7b" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "178" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T18:13:19.4458839Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1bada09d-72d8-44ad-88bf-72e09baa94e8" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11931" + ], + "x-ms-correlation-request-id": [ + "122a6bdd-45bd-444f-8556-579426c45480" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181319Z:122a6bdd-45bd-444f-8556-579426c45480" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:18 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b2391f2c-6b8b-47ad-9cd5-bbfcf0c94013" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "178" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T18:13:19.4458839Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a19e1323-10c5-4b5a-b72a-2a9b7b8f1989" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799838" + ], + "x-ms-correlation-request-id": [ + "ab841bcb-15ab-464b-9566-16ada70160cb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181319Z:ab841bcb-15ab-464b-9566-16ada70160cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:18 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07efa67c-7e08-499a-983b-56a9759c4e98" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "178" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T18:13:19.4458839Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "83e6ad6f-51df-445f-9d27-86df6fda0d49" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799837" + ], + "x-ms-correlation-request-id": [ + "f2a22b34-5bf7-456e-824c-98ec266296fe" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181324Z:f2a22b34-5bf7-456e-824c-98ec266296fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:24 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e18170bc-24ef-40bb-894c-54fc12467e0f" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "178" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T18:13:19.3568647Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "679" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9fb51562-d312-4821-a98c-ea4aa00104ef" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799836" + ], + "x-ms-correlation-request-id": [ + "876f606f-3564-4df2-bff7-9bf36de89ef2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181329Z:876f606f-3564-4df2-bff7-9bf36de89ef2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:28 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "789156e0-0357-4ba4-acbc-11775026d8a9" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T18:13:19.3568647Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "679" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a39d9eca-e9fa-4af5-ad86-cfaacaa678ec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799835" + ], + "x-ms-correlation-request-id": [ + "6839aae1-2bb2-45c4-a3eb-36dba3bb106d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181330Z:6839aae1-2bb2-45c4-a3eb-36dba3bb106d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "61a8a499-0087-4581-85ae-27e361db7487" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "184" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "7bb02849-a343-4271-aa6d-33457475b20f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11930" + ], + "x-ms-correlation-request-id": [ + "82108bc4-1ad2-48ab-965a-473cfc186de9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181330Z:82108bc4-1ad2-48ab-965a-473cfc186de9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:29 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2/operationresults/05531d1f4a6c4545833c0de6be05e4b1?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2/operationresults/05531d1f4a6c4545833c0de6be05e4b1?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy8wNTUzMWQxZjRhNmM0NTQ1ODMzYzBkZTZiZTA1ZTRiMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "184" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "2f321848-7055-4571-861d-87d59a9605d0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799834" + ], + "x-ms-correlation-request-id": [ + "43444bcc-3b54-4e1b-92b2-c9b20b17b371" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181330Z:43444bcc-3b54-4e1b-92b2-c9b20b17b371" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:29 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2/operationresults/05531d1f4a6c4545833c0de6be05e4b1?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198/tables/foo2/operationresults/05531d1f4a6c4545833c0de6be05e4b1?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTgvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy8wNTUzMWQxZjRhNmM0NTQ1ODMzYzBkZTZiZTA1ZTRiMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "184" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6ce5b40f-9035-4fa7-a2e0-b2533317e030" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799833" + ], + "x-ms-correlation-request-id": [ + "0f2c840d-8a5a-45e1-92ac-fdad407e07e6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181345Z:0f2c840d-8a5a-45e1-92ac-fdad407e07e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:44 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk3006/providers/Microsoft.DataFactory/datafactories/onesdk2198?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazIxOTg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8381cf1c-1693-4e36-afee-73939f892660" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "369c3ee3-3a6a-4033-b194-2ec543e76b33" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11929" + ], + "x-ms-correlation-request-id": [ + "51da3674-f863-4a2e-be5a-d9acb97f1f91" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T181346Z:51da3674-f863-4a2e-be5a-d9acb97f1f91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 18:13:45 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-Table": [ + "onesdk2198", + "onesdk3006" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json new file mode 100644 index 000000000000..ae6717e36d9f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.TableTests/TestTableWithDataFactoryParameter.json @@ -0,0 +1,1312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799988" + ], + "x-ms-request-id": [ + "6fe52563-052b-4725-bd36-b6eed94ef13d" + ], + "x-ms-correlation-request-id": [ + "6fe52563-052b-4725-bd36-b6eed94ef13d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175455Z:6fe52563-052b-4725-bd36-b6eed94ef13d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/SuccessBricks.ClearDB\",\r\n \"namespace\": \"SuccessBricks.ClearDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "21352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799987" + ], + "x-ms-request-id": [ + "60b509a7-6d6d-4706-8b32-c16a507bd9d3" + ], + "x-ms-correlation-request-id": [ + "60b509a7-6d6d-4706-8b32-c16a507bd9d3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175455Z:60b509a7-6d6d-4706-8b32-c16a507bd9d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799986" + ], + "x-ms-request-id": [ + "7445dd2e-6ad5-4eb6-b367-3b40ca11039a" + ], + "x-ms-correlation-request-id": [ + "7445dd2e-6ad5-4eb6-b367-3b40ca11039a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175456Z:7445dd2e-6ad5-4eb6-b367-3b40ca11039a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:56 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk6507\",\r\n \"name\": \"onesdk6507\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "183" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11994" + ], + "x-ms-request-id": [ + "4df6ec85-e1a0-480d-8d8d-32ce20612a97" + ], + "x-ms-correlation-request-id": [ + "4df6ec85-e1a0-480d-8d8d-32ce20612a97" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175456Z:4df6ec85-e1a0-480d-8d8d-32ce20612a97" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:56 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourceGroups/onesdk6507/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlR3JvdXBzL29uZXNkazY1MDcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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": [ + "799985" + ], + "x-ms-request-id": [ + "92291160-dc53-426a-9ddb-49b3432b6930" + ], + "x-ms-correlation-request-id": [ + "92291160-dc53-426a-9ddb-49b3432b6930" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175456Z:92291160-dc53-426a-9ddb-49b3432b6930" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "centralus:847b07fd-2d8d-4455-b295-bfe98a07af0e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799984" + ], + "x-ms-correlation-request-id": [ + "c2e3f11d-d877-41f5-8a35-e82881c78d30" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175457Z:c2e3f11d-d877-41f5-8a35-e82881c78d30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk7296\",\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "69" + ], + "x-ms-client-request-id": [ + "b6d8136f-b44e-4da5-a962-9b3dabe9f8f0" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7296\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ea31474c-771f-459d-b2b6-1a9ec90c86cf\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "64df667d-6752-4298-93b5-23ece72a9ec4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "bc20ee37-94c7-40f2-ba43-eb3bbd8b0f28" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175458Z:bc20ee37-94c7-40f2-ba43-eb3bbd8b0f28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:57 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9a95b51d-410a-43f3-8480-c6e9234d0ad3" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7296\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ea31474c-771f-459d-b2b6-1a9ec90c86cf\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aa60aafc-23f5-4eef-b809-7d687ded06fd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799983" + ], + "x-ms-correlation-request-id": [ + "858277b2-30d9-41b3-84f6-1bee18bf90f6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175458Z:858277b2-30d9-41b3-84f6-1bee18bf90f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:54:57 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b36a4103-b186-4899-864d-57d991407c68" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7296\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ea31474c-771f-459d-b2b6-1a9ec90c86cf\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"PendingCreation\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5a46a912-f54b-441f-a5c7-e75186e5cc19" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799982" + ], + "x-ms-correlation-request-id": [ + "32061747-d521-42b1-bb67-38223391ef51" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175503Z:32061747-d521-42b1-bb67-38223391ef51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:02 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4bb25e60-e5d7-4f40-9786-bf0b603db13f" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "7" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk7296\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296\",\r\n \"type\": \"Microsoft.DataFactory/datafactories\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"dataFactoryId\": \"ea31474c-771f-459d-b2b6-1a9ec90c86cf\",\r\n \"hCatalogDescription\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"error\": null,\r\n \"errorMessage\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "37d0ee23-640c-4c4b-99cb-dd5687420fd0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799981" + ], + "x-ms-correlation-request-id": [ + "cbf2cb4b-e225-42ca-894b-db1d21c6e764" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175508Z:cbf2cb4b-e225-42ca-894b-db1d21c6e764" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:08 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "283" + ], + "x-ms-client-request-id": [ + "6def171e-7c63-476c-9828-d7cc10399315" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "12" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "462" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "679a330f-dc3f-4847-b3e3-aa11a8aff221" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "047983e7-b579-4b6d-9072-05318bcda58c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175509Z:047983e7-b579-4b6d-9072-05318bcda58c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:09 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b78da646-6569-4972-926a-6eb2e8c2b6c9" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "12" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "462" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "33437b1d-3c2b-47ed-9389-bb50dfc3fc9d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799980" + ], + "x-ms-correlation-request-id": [ + "6d7aaf68-e7a3-4490-bdd3-af5163bb4277" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175509Z:6d7aaf68-e7a3-4490-bdd3-af5163bb4277" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:09 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvbGlua2Vkc2VydmljZXMvZm9vMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "af3f58d2-75fa-4e49-9ebe-2ba73ea7df24" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "12" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/linkedservices/foo2\",\r\n \"name\": \"foo2\",\r\n \"properties\": {\r\n \"connectionString\": \"DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey\",\r\n \"hubName\": \"default\",\r\n \"type\": \"AzureStorageLinkedService\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "456" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "40e1530f-b3a3-44b1-bf53-5de5306858dc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799979" + ], + "x-ms-correlation-request-id": [ + "ba2d4bb9-e23b-4ed3-812c-d2de92be6cc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175514Z:ba2d4bb9-e23b-4ed3-812c-d2de92be6cc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:13 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"foo1\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"name\": \"slicetimestamp\",\r\n \"position\": 0,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"projectname\",\r\n \"position\": 1,\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"name\": \"pageviews\",\r\n \"position\": 2,\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "628" + ], + "x-ms-client-request-id": [ + "4d5d36e7-ea68-4361-abd7-afc0fdcd69be" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "16" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:55:16.0396669Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1eab7b24-b73a-49d7-956e-1558ebb216cb" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "1d7cce8c-1233-45ed-8da3-da62de28de51" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175515Z:1d7cce8c-1233-45ed-8da3-da62de28de51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:14 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f218a75a-9e5a-42a4-bd4f-0b3ef2dcee8f" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "16" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:55:16.0396669Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "05ee3401-ebbf-419a-9d00-486cb86655de" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799978" + ], + "x-ms-correlation-request-id": [ + "70ad35f1-a5fd-4988-90aa-e9bbe554ce5d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175516Z:70ad35f1-a5fd-4988-90aa-e9bbe554ce5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:16 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "898eab7e-9269-4317-a073-977eb2659833" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "16" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:55:16.0396669Z\",\r\n \"provisioningState\": \"PendingCreation\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "685" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1f4defbe-5452-4471-8d69-2148d0617ab2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799977" + ], + "x-ms-correlation-request-id": [ + "75e0f4ea-f202-49f5-93b4-99b1c8dfabe9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175521Z:75e0f4ea-f202-49f5-93b4-99b1c8dfabe9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:20 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "06d260b4-d38a-4e38-a03e-ac6a92cd5085" + ], + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "16" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:55:15.5580379Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "679" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4f833fbd-ebfe-48e9-87a7-632615ae5c56" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799976" + ], + "x-ms-correlation-request-id": [ + "d2893ad3-0b4b-4930-aa72-f18b466e4792" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175526Z:d2893ad3-0b4b-4930-aa72-f18b466e4792" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b34696b8-0a96-4ba3-ba96-8ff10aced340" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"foo2\",\r\n \"id\": \"/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2\",\r\n \"properties\": {\r\n \"structure\": [\r\n {\r\n \"position\": 0,\r\n \"name\": \"slicetimestamp\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 1,\r\n \"name\": \"projectname\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"position\": 2,\r\n \"name\": \"pageviews\",\r\n \"type\": \"Decimal\"\r\n }\r\n ],\r\n \"published\": false,\r\n \"location\": {\r\n \"type\": \"AzureBlobLocation\",\r\n \"blobPath\": \"$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)\",\r\n \"linkedServiceName\": \"foo2\"\r\n },\r\n \"availability\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1,\r\n \"waitOnExternal\": null\r\n },\r\n \"createTime\": \"2014-10-21T17:55:15.5580379Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "679" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ab6e2ecd-a4d7-4fb6-8bef-37a75613858a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799975" + ], + "x-ms-correlation-request-id": [ + "98094b11-c308-4950-9419-ac26f7c8dc85" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175526Z:98094b11-c308-4950-9419-ac26f7c8dc85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:26 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6fdefca1-b4c8-453b-a4a9-efde196922e7" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "22" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "c379874f-507c-4c88-9e10-64e7b9fed9ff" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "d0ed8dab-adb8-40b5-a78b-694f2e891ac9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175526Z:d0ed8dab-adb8-40b5-a78b-694f2e891ac9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:26 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2/operationresults/cf7d4b3793824f6d9ec24e62bc446c99?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2/operationresults/cf7d4b3793824f6d9ec24e62bc446c99?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy9jZjdkNGIzNzkzODI0ZjZkOWVjMjRlNjJiYzQ0NmM5OT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "22" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "9725d0da-6306-49cd-8c95-9e7e2ca46e2e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799974" + ], + "x-ms-correlation-request-id": [ + "378d646a-e72c-47d5-8d78-ce428c9d8f56" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175527Z:378d646a-e72c-47d5-8d78-ce428c9d8f56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:26 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2/operationresults/cf7d4b3793824f6d9ec24e62bc446c99?api-version=2014-10-01-preview" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296/tables/foo2/operationresults/cf7d4b3793824f6d9ec24e62bc446c99?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTYvdGFibGVzL2ZvbzIvb3BlcmF0aW9ucmVzdWx0cy9jZjdkNGIzNzkzODI0ZjZkOWVjMjRlNjJiYzQ0NmM5OT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ], + "client-tracking-id": [ + "22" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "92795374-cdd4-4d73-95e3-596a7dfb0d6d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "799973" + ], + "x-ms-correlation-request-id": [ + "0837e473-fd2a-4cf3-b710-a9d4035e57a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175542Z:0837e473-fd2a-4cf3-b710-a9d4035e57a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:41 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8d88dc98-ab0c-4b80-825b-123b2cf8443c/resourcegroups/onesdk6507/providers/Microsoft.DataFactory/datafactories/onesdk7296?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOGQ4OGRjOTgtYWIwYy00YjgwLTgyNWItMTIzYjJjZjg0NDNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazY1MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhRmFjdG9yeS9kYXRhZmFjdG9yaWVzL29uZXNkazcyOTY/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "19e536e2-166e-4a52-a1e3-a579e93f2862" + ], + "User-Agent": [ + "Microsoft.Azure.Management.DataFactories.DataPipelineManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2d94c114-b008-4dab-9835-0d09a1a5cb2a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "51d16786-91db-49f3-8f7f-4bb50203ffd1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141021T175543Z:51d16786-91db-49f3-8f7f-4bb50203ffd1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 21 Oct 2014 17:55:42 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-TableWithDataFactoryParameter": [ + "onesdk7296", + "onesdk6507" + ] + }, + "Variables": { + "SubscriptionId": "8d88dc98-ab0c-4b80-825b-123b2cf8443c" + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/DataFactoryUnitTestBase.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/DataFactoryUnitTestBase.cs new file mode 100644 index 000000000000..6115f7109917 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/DataFactoryUnitTestBase.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Moq; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class DataFactoryUnitTestBase + { + protected const string subscriptionId = "subscriptionid"; + + protected const string DataFactoryName = "foo"; + + protected const string GatewayName = "foo"; + + protected const string ResourceGroupName = "bar"; + + protected const string Location = "centralus"; + + protected Mock dataFactoriesClientMock; + + protected Mock commandRuntimeMock; + + public virtual void SetupTest() + { + dataFactoriesClientMock = new Mock(); + + commandRuntimeMock = new Mock(); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryGatewayTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryGatewayTests.cs new file mode 100644 index 000000000000..3491570dc28d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryGatewayTests.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; + +using Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.Gateway +{ + public class GetDataFactoryGatewayTests : DataFactoryUnitTestBase + { + private GetAzureDataFactoryGatewayCommand _cmdlet; + + public GetDataFactoryGatewayTests() + { + base.SetupTest(); + + _cmdlet = new GetAzureDataFactoryGatewayCommand + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetGateway() + { + var expectedOutput = new PSDataFactoryGateway + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.NeedRegistration + }; + + dataFactoriesClientMock.Setup(f => f.GetGateway(ResourceGroupName, DataFactoryName, GatewayName)) + .Returns(expectedOutput).Verifiable(); + + _cmdlet.Name = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + + _cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListGateways() + { + var expectedOutputs = new List() + { + new PSDataFactoryGateway() + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.NeedRegistration + }, + + new PSDataFactoryGateway() + { + Name = "foo2", + Location = Location, + Status = GatewayStatus.NeedRegistration + } + }; + + + dataFactoriesClientMock.Setup(f => f.ListGateways(ResourceGroupName, DataFactoryName)) + .Returns(expectedOutputs).Verifiable(); + + _cmdlet.DataFactoryName = DataFactoryName; + + _cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expectedOutputs, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryTests.cs new file mode 100644 index 000000000000..a1776d382273 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetDataFactoryTests.cs @@ -0,0 +1,112 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using System.Management.Automation.Language; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class GetDataFactoryTests : DataFactoryUnitTestBase + { + private GetAzureDataFactoryCommand cmdlet; + + public GetDataFactoryTests() + { + base.SetupTest(); + + cmdlet = new GetAzureDataFactoryCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetDataFactory() + { + // Arrange + PSDataFactory expected = new PSDataFactory() {DataFactoryName = DataFactoryName, ResourceGroupName = ResourceGroupName}; + + dataFactoriesClientMock.Setup( + c => + c.FilterPSDataFactories( + It.Is( + options => options.Name == DataFactoryName && options.ResourceGroupName == ResourceGroupName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock.Setup(c => c.GetDataFactory(ResourceGroupName, DataFactoryName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.ResourceGroupName = ResourceGroupName; + cmdlet.Name = " "; + Exception whiteSpace = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = ""; + Exception empty = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = DataFactoryName; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + Assert.Contains("Value cannot be null", whiteSpace.Message); + Assert.Contains("Value cannot be null", empty.Message); + commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListDataFactories() + { + List expected = new List() + { + new PSDataFactory() {DataFactoryName = DataFactoryName, ResourceGroupName = ResourceGroupName}, + new PSDataFactory() {DataFactoryName = "datafactory1", ResourceGroupName = ResourceGroupName} + }; + + // Arrange + dataFactoriesClientMock.Setup( + c => + c.FilterPSDataFactories( + It.Is( + options => options.Name == null && options.ResourceGroupName == ResourceGroupName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock.Setup(c => c.ListDataFactories(ResourceGroupName)) + .Returns(expected) + .Verifiable(); + + cmdlet.ResourceGroupName = ResourceGroupName; + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetHubTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetHubTests.cs new file mode 100644 index 000000000000..69b5378fcb5f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetHubTests.cs @@ -0,0 +1,128 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class GetHubTests : DataFactoryUnitTestBase + { + private const string hubName = "foo"; + + private GetAzureDataFactoryHubCommand cmdlet; + + public GetHubTests() + { + base.SetupTest(); + + cmdlet = new GetAzureDataFactoryHubCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetHub() + { + // Arrange + PSHub expected = new PSHub() + { + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName, + HubName = hubName + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSHubs( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == hubName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(c => c.GetHub(ResourceGroupName, DataFactoryName, hubName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.Name = hubName; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListHubs() + { + // Arrange + List expected = new List() + { + new PSHub() + { + HubName = hubName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }, + new PSHub() + { + HubName = "anotherHub", + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + } + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSHubs( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == null))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(f => f.ListHubs(ResourceGroupName, DataFactoryName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetLinkedServiceTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetLinkedServiceTests.cs new file mode 100644 index 000000000000..5fd647ac6d44 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetLinkedServiceTests.cs @@ -0,0 +1,137 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class GetLinkedServiceTests : DataFactoryUnitTestBase + { + private const string linkedServiceName = "foo"; + + private GetAzureDataFactoryLinkedServiceCommand cmdlet; + + public GetLinkedServiceTests() + { + base.SetupTest(); + + cmdlet = new GetAzureDataFactoryLinkedServiceCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetLinkedService() + { + // Arrange + PSLinkedService expected = new PSLinkedService() + { + LinkedServiceName = linkedServiceName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSLinkedServices( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == linkedServiceName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(c => c.GetLinkedService(ResourceGroupName, DataFactoryName, linkedServiceName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.Name = " "; + Exception whiteSpace = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = ""; + Exception empty = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = linkedServiceName; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + Assert.Contains("Value cannot be null", whiteSpace.Message); + Assert.Contains("Value cannot be null", empty.Message); + commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListLinkedServices() + { + // Arrange + List expected = new List() + { + new PSLinkedService() + { + LinkedServiceName = linkedServiceName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }, + new PSLinkedService() + { + LinkedServiceName = "anotherLinkedService", + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + } + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSLinkedServices( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == null))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(f => f.ListLinkedServices(ResourceGroupName, DataFactoryName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetPipelineTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetPipelineTests.cs new file mode 100644 index 000000000000..8fa189de9633 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetPipelineTests.cs @@ -0,0 +1,128 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class GetPipelineTests : DataFactoryUnitTestBase + { + private const string pipelineName = "foo"; + + private GetAzureDataFactoryPipelineCommand cmdlet; + + public GetPipelineTests() + { + base.SetupTest(); + + cmdlet = new GetAzureDataFactoryPipelineCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetPipeline() + { + // Arrange + PSPipeline expected = new PSPipeline() + { + PipelineName = pipelineName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSPipelines( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == pipelineName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(c => c.GetPipeline(ResourceGroupName, DataFactoryName, pipelineName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.Name = pipelineName; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListPipelines() + { + // Arrange + List expected = new List() + { + new PSPipeline() + { + PipelineName = pipelineName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }, + new PSPipeline() + { + PipelineName = "anotherPipeline", + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + } + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSPipelines( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == null))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(f => f.ListPipelines(ResourceGroupName, DataFactoryName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetTableTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetTableTests.cs new file mode 100644 index 000000000000..eaeae6f64abd --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/GetTableTests.cs @@ -0,0 +1,137 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class GetTableTests : DataFactoryUnitTestBase + { + private const string tableName = "foo"; + + private GetAzureDataFactoryTableCommand cmdlet; + + public GetTableTests() + { + base.SetupTest(); + + cmdlet = new GetAzureDataFactoryTableCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanGetTable() + { + // Arrange + PSTable expected = new PSTable() + { + TableName = tableName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSTables( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == tableName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(c => c.GetTable(ResourceGroupName, DataFactoryName, tableName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.Name = " "; + Exception whiteSpace = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = ""; + Exception empty = Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.Name = tableName; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + Assert.Contains("Value cannot be null", whiteSpace.Message); + Assert.Contains("Value cannot be null", empty.Message); + commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanListTables() + { + // Arrange + List expected = new List() + { + new PSTable() + { + TableName = tableName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }, + new PSTable() + { + TableName = "anotherTable", + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + } + }; + + dataFactoriesClientMock + .Setup( + c => + c.FilterPSTables( + It.Is( + options => + options.ResourceGroupName == ResourceGroupName && + options.DataFactoryName == DataFactoryName && + options.Name == null))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock + .Setup(f => f.ListTables(ResourceGroupName, DataFactoryName)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(expected, true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs new file mode 100644 index 000000000000..b30ce7b28105 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System; +using System.Security; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.DataFactory +{ + public class NewDataFactoryEncryptValueTests : DataFactoryUnitTestBase + { + public NewDataFactoryEncryptValueTests() + { + base.SetupTest(); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestOnPermDatasourceEncryptionWithRawJsonContent() + { + SecureString secureString = new SecureString(); + string expectedOutput = "My encrypted string " + Guid.NewGuid(); + + var cmdlet = new NewAzureDataFactoryEncryptValueCommand + { + CommandRuntime = this.commandRuntimeMock.Object, + DataFactoryClient = this.dataFactoriesClientMock.Object, + Value = secureString, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + GatewayName = GatewayName + }; + + // Arrange + this.dataFactoriesClientMock.Setup(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName)).Returns(expectedOutput); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + this.dataFactoriesClientMock.Verify(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName), Times.Once()); + this.commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayKeyTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayKeyTests.cs new file mode 100644 index 000000000000..dd3bef201989 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayKeyTests.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using System.Net; +using System.Net.Http; +using Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.Utilities; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + + +namespace Microsoft.WindowsAzure.Commands.Test.Gateway +{ + + public class NewAzureDataFactoryGatewayKeyTests : DataFactoryUnitTestBase + { + private NewAzureDataFactoryGatewayKeyCommand _cmdlet; + + public NewAzureDataFactoryGatewayKeyTests() + { + base.SetupTest(); + + _cmdlet = new NewAzureDataFactoryGatewayKeyCommand + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanNewGatewayKey() + { + var gatewaykey = new PSDataFactoryGatewayKey("FakedKey"); + + var expectedOutput = new PSDataFactoryGateway + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.Online, + Description = "New gateway description for test" + }; + + var fakeRequest = new HttpRequestMessage(HttpMethod.Get, "https://www.microsoft.com"); + + dataFactoriesClientMock.Setup( + f => f.RegenerateGatewayKey(ResourceGroupName, DataFactoryName, GatewayName)) + .Returns(gatewaykey) + .Verifiable(); + + _cmdlet.GatewayName = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + + _cmdlet.ExecuteCmdlet(); + + dataFactoriesClientMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(gatewaykey), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanThrowWhenCreateKeyOnNonExistingGateway() + { + var gatewaykey = new PSDataFactoryGatewayKey("FakedKey"); + + var fakeRequest = new HttpRequestMessage(HttpMethod.Get, "https://www.microsoft.com"); + var fakeResponse = new HttpResponseMessage(HttpStatusCode.NotFound); + + dataFactoriesClientMock.Setup( + f => f.RegenerateGatewayKey(ResourceGroupName, DataFactoryName, GatewayName)) + .Returns(() => + { + throw CloudException.Create(fakeRequest, String.Empty, fakeResponse, String.Empty); + }).Verifiable(); + + _cmdlet.GatewayName = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + + Assert.Throws(() => _cmdlet.ExecuteCmdlet()); + + dataFactoriesClientMock.VerifyAll(); + } + + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayTests.cs new file mode 100644 index 000000000000..17848da1197d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayTests.cs @@ -0,0 +1,108 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using System.Net; +using System.Net.Http; +using Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.Gateway +{ + public class NewAzureDataFactoryGatewayTests : DataFactoryUnitTestBase + { + private NewAzureDataFactoryGatewayCommand _cmdlet; + + public NewAzureDataFactoryGatewayTests() + { + base.SetupTest(); + + _cmdlet = new NewAzureDataFactoryGatewayCommand + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanNewGateway() + { + var expectedOutput = new PSDataFactoryGateway + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.Online, + Description = "New gateway description for test", + }; + + var fakeRequest = new HttpRequestMessage(HttpMethod.Get, "https://www.microsoft.com"); + var fakeResponse = new HttpResponseMessage(HttpStatusCode.NotFound); + + dataFactoriesClientMock.Setup(f => f.GetGateway(ResourceGroupName, DataFactoryName, GatewayName)) + .Returns(() => + { + throw CloudException.Create(fakeRequest, String.Empty, fakeResponse, String.Empty); + }) + .Verifiable(); + + dataFactoriesClientMock.Setup( + f => f.CreateOrUpdateGateway(ResourceGroupName, DataFactoryName, It.IsAny())) + .Returns(expectedOutput) + .Verifiable(); + + _cmdlet.Name = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + _cmdlet.Location = Location; + + _cmdlet.ExecuteCmdlet(); + + dataFactoriesClientMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanThrowWhenCreateExistingGateway() + { + var expectedOutput = new PSDataFactoryGateway + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.Online, + Description = "New gateway description for test" + }; + + dataFactoriesClientMock.Setup(f => f.GetGateway(ResourceGroupName, DataFactoryName, GatewayName)) + .Returns(expectedOutput) + .Verifiable(); + + _cmdlet.Name = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + _cmdlet.Location = Location; + + Assert.Throws(() => _cmdlet.ExecuteCmdlet()); + + dataFactoriesClientMock.Verify(f => f.CreateOrUpdateGateway(ResourceGroupName, DataFactoryName, It.IsAny()), + Times.Never()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.cs new file mode 100644 index 000000000000..5adfba9bca88 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryTests.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. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class NewDataFactoryTests : DataFactoryUnitTestBase + { + private NewAzureDataFactoryCommand cmdlet; + + private IDictionary tags; + + public NewDataFactoryTests() + { + base.SetupTest(); + + tags = new Dictionary() {{"foo", "bar"}}; + + cmdlet = new NewAzureDataFactoryCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = DataFactoryName, + Location = Location, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanCreateDataFactory() + { + // Arrange + DataFactory expected = new DataFactory() + { + Name = DataFactoryName, + Location = Location + }; + + dataFactoriesClientMock.Setup( + f => + f.CreatePSDataFactory( + It.Is( + parameters => + parameters.ResourceGroupName == ResourceGroupName && + parameters.DataFactoryName == DataFactoryName && + parameters.Location == Location))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock.Setup( + f => f.CreateOrUpdateDataFactory(ResourceGroupName, DataFactoryName, Location, tags)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.Tags = tags.ToHashtable(); + cmdlet.Force = true; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify( + f => + f.WriteObject( + It.Is( + df => + df.DataFactoryName == expected.Name && + df.Location == expected.Location)), + Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewLinkedServiceTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewLinkedServiceTests.cs new file mode 100644 index 000000000000..9b859d4b6f4a --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewLinkedServiceTests.cs @@ -0,0 +1,131 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Newtonsoft.Json; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class NewLinkedServiceTests : DataFactoryUnitTestBase + { + private const string linkedServiceName = "foo1"; + + private const string filePath = "linkedService.json"; + + private const string rawJsonContent = @" +{ + name: ""foo2"", + properties: + { + type: ""HDInsightBYOCLinkedService"", + clusterUri: ""https://MyCluster.azurehdinsight.net/"", + userName: ""MyUserName"", + password: ""$EncryptedString$MyEncryptedPassword"", + linkedServiceName: ""MyStorageAssetName"", + } +} +"; + + private NewAzureDataFactoryLinkedServiceCommand cmdlet; + + public NewLinkedServiceTests() + { + base.SetupTest(); + + cmdlet = new NewAzureDataFactoryLinkedServiceCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = linkedServiceName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanCreateLinkedService() + { + // Arrange + LinkedService expected = new LinkedService() + { + Name = linkedServiceName, + Properties = null + }; + + dataFactoriesClientMock.Setup(c => c.ReadJsonFileContent(It.IsAny())) + .Returns(rawJsonContent) + .Verifiable(); + + dataFactoriesClientMock.Setup( + c => + c.CreatePSLinkedService( + It.Is( + parameters => + parameters.Name == linkedServiceName && + parameters.ResourceGroupName == ResourceGroupName && + parameters.DataFactoryName == DataFactoryName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock.Setup( + c => + c.CreateOrUpdateLinkedService(ResourceGroupName, DataFactoryName, linkedServiceName, rawJsonContent)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.File = filePath; + cmdlet.Force = true; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify( + f => + f.WriteObject( + It.Is( + ls => + ResourceGroupName == ls.ResourceGroupName && + DataFactoryName == ls.DataFactoryName && + expected.Name == ls.LinkedServiceName && + expected.Properties == ls.Properties)), + Times.Once()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void InvalidJsonLinkedService() + { + string malformedJson = rawJsonContent.Replace(":", "-"); + + dataFactoriesClientMock.Setup(c => c.ReadJsonFileContent(It.IsAny())) + .Returns(malformedJson) + .Verifiable(); + + // Action + cmdlet.File = filePath; + cmdlet.Force = true; + + Assert.Throws(() => cmdlet.ExecuteCmdlet()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewTableTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewTableTests.cs new file mode 100644 index 000000000000..7928895c9a79 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewTableTests.cs @@ -0,0 +1,122 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class NewTableTests : DataFactoryUnitTestBase + { + private const string tableName = "foo1"; + + private const string filePath = "table.json"; + + private const string rawJsonContent = @" +{ + name: ""foo2"", + properties: + { + structure: + [ + { name: ""slicetimestamp"", position: 0, type: ""String""}, + { name: ""projectname"", position: 1, type: ""String""}, + { name: ""pageviews"", position: 2, type: ""Decimal""} + ], + location: + { + type: ""AzureBlobLocation"", + blobPath: ""$$Text.Format('wikidatagateway/wikisampledataout/{0:yyyyMMddHH}', SliceStart)"", + tableName: ""LinkedService-CuratedWikiData"" + }, + availability: + { + frequency: ""Hour"", + interval: 1 + } + } +} +"; + + private NewAzureDataFactoryTableCommand cmdlet; + + public NewTableTests() + { + base.SetupTest(); + + cmdlet = new NewAzureDataFactoryTableCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = tableName, + DataFactoryName = DataFactoryName, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanCreateTable() + { + // Arrange + Table expected = new Table() + { + Name = tableName, + Properties = null + }; + + dataFactoriesClientMock.Setup(c => c.ReadJsonFileContent(It.IsAny())) + .Returns(rawJsonContent) + .Verifiable(); + + dataFactoriesClientMock.Setup( + c => + c.CreatePSTable( + It.Is( + parameters => + parameters.Name == tableName && + parameters.ResourceGroupName == ResourceGroupName && + parameters.DataFactoryName == DataFactoryName))) + .CallBase() + .Verifiable(); + + dataFactoriesClientMock.Setup( + c => + c.CreateOrUpdateTable(ResourceGroupName, DataFactoryName, tableName, rawJsonContent)) + .Returns(expected) + .Verifiable(); + + // Action + cmdlet.File = filePath; + cmdlet.Force = true; + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify( + f => + f.WriteObject( + It.Is( + tbl => + ResourceGroupName == tbl.ResourceGroupName && + DataFactoryName == tbl.DataFactoryName && + expected.Name == tbl.TableName)), + Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveAzureDataFactoryGatewayTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveAzureDataFactoryGatewayTests.cs new file mode 100644 index 000000000000..36bb1f793afc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveAzureDataFactoryGatewayTests.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.Gateway +{ + public class RemoveAzureDataFactoryGatewayTests : DataFactoryUnitTestBase + { + private RemoveAzureDataFactoryGatewayCommand _cmdlet; + + public RemoveAzureDataFactoryGatewayTests() + { + base.SetupTest(); + + _cmdlet = new RemoveAzureDataFactoryGatewayCommand + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemoveGateway() + { + this.dataFactoriesClientMock.Setup(f => f.DeleteGateway(ResourceGroupName, DataFactoryName, GatewayName)) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())).Returns(true).Verifiable(); + + _cmdlet.Name = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + + _cmdlet.ExecuteCmdlet(); + + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.Verify(f => f.WriteObject(true), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveDataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveDataFactoryTests.cs new file mode 100644 index 000000000000..8b9bb72d7429 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveDataFactoryTests.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class RemoveDataFactoryTests : DataFactoryUnitTestBase + { + private RemoveAzureDataFactoryCommand cmdlet; + + public RemoveDataFactoryTests() + { + base.SetupTest(); + + cmdlet = new RemoveAzureDataFactoryCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = DataFactoryName, + ResourceGroupName = ResourceGroupName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemoveDataFactory() + { + HttpStatusCode expectedStatusCode = HttpStatusCode.OK; + + // Arrange + dataFactoriesClientMock.Setup(f => f.DeleteDataFactory(ResourceGroupName, DataFactoryName)) + .Returns(expectedStatusCode) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())) + .Returns(true) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.VerifyAll(); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveHubTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveHubTests.cs new file mode 100644 index 000000000000..ab2de34956cc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveHubTests.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test +{ + public class RemoveHubTests : DataFactoryUnitTestBase + { + private const string hubName = "foo"; + + private RemoveAzureDataFactoryHubCommand cmdlet; + + public RemoveHubTests() + { + base.SetupTest(); + + cmdlet = new RemoveAzureDataFactoryHubCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = hubName, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemoveHub() + { + HttpStatusCode expectedStatusCode = HttpStatusCode.OK; + + // Arrange + dataFactoriesClientMock.Setup( + f => f.DeleteHub(ResourceGroupName, DataFactoryName, hubName)) + .Returns(expectedStatusCode) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())) + .Returns(true) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.VerifyAll(); + } + + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveLinkedServiceTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveLinkedServiceTests.cs new file mode 100644 index 000000000000..4816749b8d76 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveLinkedServiceTests.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class RemoveLinkedServiceTests : DataFactoryUnitTestBase + { + private const string linkedServiceName = "foo"; + + private RemoveAzureDataFactoryLinkedServiceCommand cmdlet; + + public RemoveLinkedServiceTests() + { + base.SetupTest(); + + cmdlet = new RemoveAzureDataFactoryLinkedServiceCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = linkedServiceName, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemoveLinkedService() + { + HttpStatusCode expectedStatusCode = HttpStatusCode.OK; + + // Arrange + dataFactoriesClientMock.Setup( + f => f.DeleteLinkedService(ResourceGroupName, DataFactoryName, linkedServiceName)) + .Returns(expectedStatusCode) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())) + .Returns(true) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.VerifyAll(); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemovePipelineTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemovePipelineTests.cs new file mode 100644 index 000000000000..f9072a552167 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemovePipelineTests.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class RemovePipelineTests : DataFactoryUnitTestBase + { + private const string pipelineName = "foo"; + + private RemoveAzureDataFactoryPipelineCommand cmdlet; + + public RemovePipelineTests() + { + base.SetupTest(); + + cmdlet = new RemoveAzureDataFactoryPipelineCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = pipelineName, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemovePipeline() + { + HttpStatusCode expectedStatusCode = HttpStatusCode.OK; + + // Arrange + dataFactoriesClientMock.Setup( + f => f.DeletePipeline(ResourceGroupName, DataFactoryName, pipelineName)) + .Returns(expectedStatusCode) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())) + .Returns(true) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.VerifyAll(); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveTableTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveTableTests.cs new file mode 100644 index 000000000000..3e1eeca04607 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/RemoveTableTests.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.DataFactories.Test.UnitTests +{ + public class RemoveTableTests : DataFactoryUnitTestBase + { + private const string tableName = "foo"; + + private RemoveAzureDataFactoryTableCommand cmdlet; + + public RemoveTableTests() + { + base.SetupTest(); + + cmdlet = new RemoveAzureDataFactoryTableCommand() + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + Name = tableName, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Force = true + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanRemoveTable() + { + HttpStatusCode expectedStatusCode = HttpStatusCode.OK; + + // Arrange + dataFactoriesClientMock.Setup( + f => f.DeleteTable(ResourceGroupName, DataFactoryName, tableName)) + .Returns(expectedStatusCode) + .Verifiable(); + + commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())) + .Returns(true) + .Verifiable(); + + // Action + cmdlet.ExecuteCmdlet(); + + // Assert + dataFactoriesClientMock.VerifyAll(); + + commandRuntimeMock.VerifyAll(); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SaveAzureDataFactoryTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SaveAzureDataFactoryTests.cs new file mode 100644 index 000000000000..148cadabff1b --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SaveAzureDataFactoryTests.cs @@ -0,0 +1,98 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Storage.Auth; +using Moq; +using System; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.DataFactory +{ + public class SaveDataFactoryRunLogTests : DataFactoryUnitTestBase + { + private SaveAzureDataFactoryLog _cmdlet; + + private string _dataSliceRunId; + + public SaveDataFactoryRunLogTests() + { + base.SetupTest(); + + this._dataSliceRunId = Guid.NewGuid().ToString(); + + this._cmdlet = new SaveAzureDataFactoryLog() + { + CommandRuntime = this.commandRuntimeMock.Object, + DataFactoryClient = this.dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Id = this._dataSliceRunId, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanSaveDataFactoryRunLog() + { + Uri sharedAccessSignature = + new Uri(@"https://fakeaccount.blob.core.windows.net/sascontainer?sv=2012-02-12"); + PSRunLogInfo runLogInfo = new PSRunLogInfo(sharedAccessSignature); + Assert.Equal("?sv=2012-02-12", runLogInfo.SasToken); + Assert.Equal(@"https://fakeaccount.blob.core.windows.net/sascontainer?sv=2012-02-12", runLogInfo.SasUri); + Assert.Equal("fakeaccount", runLogInfo.StorageAccountName); + Assert.Equal("sascontainer", runLogInfo.Container); + + dataFactoriesClientMock.Setup( + f => + f.CreatePSDataFactory( + It.Is( + parameters => + parameters.ResourceGroupName == ResourceGroupName && + parameters.DataFactoryName == DataFactoryName && + parameters.Location == Location))) + .CallBase() + .Verifiable(); + + // Arrange + this.dataFactoriesClientMock.Setup( + f => + f.GetDataSliceRunLogsSharedAccessSignature(ResourceGroupName, DataFactoryName, this._dataSliceRunId)) + .Returns(runLogInfo); + + this.dataFactoriesClientMock.Setup( + f => + f.DownloadFileToBlob( + It.Is( + parameters => + parameters.Credentials == new StorageCredentials(runLogInfo.SasToken) && + parameters.SasUri == new Uri(runLogInfo.SasUri) && + parameters.Directory == @"c:\"))); + + // Action + this._cmdlet.ExecuteCmdlet(); + + // Assert + this.dataFactoriesClientMock.Verify( + f => + f.GetDataSliceRunLogsSharedAccessSignature(ResourceGroupName, DataFactoryName, this._dataSliceRunId), + Times.Once()); + + this.commandRuntimeMock.Verify(f => f.WriteObject(runLogInfo), Times.Once()); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SetDataFactoryGatewayTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SetDataFactoryGatewayTests.cs new file mode 100644 index 000000000000..ed608d69654f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/SetDataFactoryGatewayTests.cs @@ -0,0 +1,72 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Test; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities; +using Moq; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.Test.Gateway +{ + public class SetAzureDataFactoryGatewayTests : DataFactoryUnitTestBase + { + private SetAzureDataFactoryGatewayCommand _cmdlet; + + public SetAzureDataFactoryGatewayTests() + { + base.SetupTest(); + + _cmdlet = new SetAzureDataFactoryGatewayCommand + { + CommandRuntime = commandRuntimeMock.Object, + DataFactoryClient = dataFactoriesClientMock.Object, + ResourceGroupName = ResourceGroupName + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CanSetGateway() + { + const string description = "New gateway description for test"; + + var expectedOutput = new PSDataFactoryGateway + { + Name = GatewayName, + Location = Location, + Status = GatewayStatus.NeedRegistration, + Description = description + }; + + dataFactoriesClientMock.Setup( + f => f.PatchGateway(ResourceGroupName, DataFactoryName, + It.Is + (parameters => parameters.Name == GatewayName && parameters.Description == description))) + .Returns(expectedOutput).Verifiable(); + + _cmdlet.Name = GatewayName; + _cmdlet.DataFactoryName = DataFactoryName; + _cmdlet.Description = expectedOutput.Description; + + _cmdlet.ExecuteCmdlet(); + + dataFactoriesClientMock.VerifyAll(); + commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config new file mode 100644 index 000000000000..7603bd85ae3f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/CloudExceptionExtensions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/CloudExceptionExtensions.cs new file mode 100644 index 000000000000..1addf9260ae3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/CloudExceptionExtensions.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; + +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + internal static class CloudExceptionExtensions + { + public static CloudException CreateFormattedException(this CloudException cloudException) + { + return new CloudException( + string.Format( + CultureInfo.InvariantCulture, + Resources.FormattedCloudExceptionMessageTemplate, + cloudException.Response.StatusCode, + cloudException.ErrorCode, + cloudException.ErrorMessage, + cloudException.GetRequestId(), + DateTime.UtcNow)); + } + + public static string GetRequestId(this CloudException exception) + { + IEnumerable strings; + + if (exception.Response != null + && exception.Response.Headers != null + && exception.Response.Headers.TryGetValue("x-ms-request-id", out strings)) + { + return string.Join(";", strings); + } + + return string.Empty; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj new file mode 100644 index 000000000000..b4130f50f042 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -0,0 +1,234 @@ + + + + + Debug + AnyCPU + {9577252E-0A6B-4D61-86E8-95F7F309A987} + Library + Properties + Microsoft.Azure.Commands.DataFactories + Microsoft.Azure.Commands.DataFactories + v4.5 + 512 + + ..\..\..\ + true + /assemblyCompareMode:StrongNameIgnoringVersion + + + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\DataFactories + DEBUG;TRACE + prompt + 4 + true + true + false + + + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\DataFactories + TRACE;SIGN + true + pdbonly + AnyCPU + bin\Release\Microsoft.Azure.Commands.Resources.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules + true + true + MSSharedLibKey.snk + true + false + + + + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.11.2-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + + + ..\..\..\packages\Microsoft.DataFactories.Runtime.0.11.1-preview\lib\net45\Microsoft.DataFactories.Runtime.dll + + + ..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.0.0-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll + + + 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\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + ..\..\..\packages\System.Spatial.5.6.0\lib\net40\System.Spatial.dll + + + + + + + + + + + + Code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + + + {65c3a86a-716d-4e7d-ab67-1db00b3bf72d} + Commands.Common.Storage + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c60342b1-47d3-4a0e-8081-9b97ce60b7af} + Commands.Profile + + + + + Designer + Always + + + + + Designer + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + Always + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs new file mode 100644 index 000000000000..2aadf582d145 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs @@ -0,0 +1,49 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + internal static class Constants + { + public static readonly TimeSpan DefaultSliceActivePeriodDuration = TimeSpan.FromHours(48); + + public const string DataFactory = "AzureDataFactory"; + + public const string LinkedService = "AzureDataFactoryLinkedService"; + + public const string Gateway = "AzureDataFactoryGateway"; + + public const string GatewayKey = "AzureDataFactoryGatewayKey"; + + public const string EncryptString = "AzureDataFactoryEncryptValue"; + + public const string Table = "AzureDataFactoryTable"; + + public const string Pipeline = "AzureDataFactoryPipeline"; + + public const string PipelineActivePeriod = "AzureDataFactoryPipelineActivePeriod"; + + public const string Run = "AzureDataFactoryRun"; + + public const string DataSlice = "AzureDataFactorySlice"; + + public const string SliceStatus = "AzureDataFactorySliceStatus"; + + public const string Hub = "AzureDataFactoryHub"; + + public const string RunLog = "AzureDataFactoryLog"; + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/GetAzureDataFactoryCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/GetAzureDataFactoryCommand.cs new file mode 100644 index 000000000000..2a98b650f276 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/GetAzureDataFactoryCommand.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.DataFactory), OutputType(typeof(List), typeof(PSDataFactory))] + public class GetAzureDataFactoryCommand : DataFactoryBaseCmdlet + { + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + // ValidationNotNullOrEmpty doesn't handle whitespaces well + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new PSArgumentNullException("Name"); + } + + DataFactoryFilterOptions filterOptions = new DataFactoryFilterOptions() + { + Name = Name, + ResourceGroupName = ResourceGroupName + }; + + List dataFactories = DataFactoryClient.FilterPSDataFactories(filterOptions); + + if (dataFactories != null) + { + if (dataFactories.Count == 1 && Name != null) + { + WriteObject(dataFactories[0]); + } + else + { + WriteObject(dataFactories, true); + } + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/NewAzureDataFactoryCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/NewAzureDataFactoryCommand.cs new file mode 100644 index 000000000000..bd6e0676fb78 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/NewAzureDataFactoryCommand.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.DataFactory), OutputType(typeof(PSDataFactory))] + public class NewAzureDataFactoryCommand : DataFactoryBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The geographic region to create the data factory.")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + [Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The tags of the data factory.")] + public Hashtable Tags { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + CreatePSDataFactoryParameters parameters = new CreatePSDataFactoryParameters() + { + ResourceGroupName = ResourceGroupName, + DataFactoryName = Name, + Location = Location, + Tags = Tags, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(DataFactoryClient.CreatePSDataFactory(parameters)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/RemoveAzureDataFactoryCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/RemoveAzureDataFactoryCommand.cs new file mode 100644 index 000000000000..62e3d1509516 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactories/RemoveAzureDataFactoryCommand.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.DataFactory)] + public class RemoveAzureDataFactoryCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + public string Name { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + Name = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryConfirmationMessage, + Name, + ResourceGroupName), + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryRemoving, + Name, + ResourceGroupName), + Name, + ExecuteDelete); + } + + public void ExecuteDelete() + { + HttpStatusCode response = DataFactoryClient.DeleteDataFactory(ResourceGroupName, Name); + + if (response == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryNotFound, Name, + ResourceGroupName)); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs new file mode 100644 index 000000000000..163d33796f04 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs @@ -0,0 +1,87 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using System.Management.Automation; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class DataFactoryBaseCmdlet : AzurePSCmdlet + { + private DataFactoryClient dataFactoryClient; + + protected const string ByFactoryObject = "ByFactoryObject"; + protected const string ByFactoryName = "ByFactoryName"; + + [Parameter(ParameterSetName = ByFactoryName, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource group name.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + internal DataFactoryClient DataFactoryClient + { + get + { + if (this.dataFactoryClient == null) + { + this.dataFactoryClient = new DataFactoryClient(CurrentContext); + } + return this.dataFactoryClient; + } + set + { + this.dataFactoryClient = value; + } + } + + protected override void WriteExceptionError(Exception exception) + { + // Override the default error message into a formatted message which contains Request Id + CloudException cloudException = exception as CloudException; + if (cloudException != null) + { + exception = cloudException.CreateFormattedException(); + } + + base.WriteExceptionError(exception); + } + + protected string ResolveResourceName(string rawJsonContent, string nameFromCmdletContext, string resourceType) + { + string nameExtractedFromJson = DataFactoryCommonUtilities.ExtractNameFromJson(rawJsonContent, resourceType); + + // Read the name from the JSON content if user didn't provide name with -Name parameter + string resolvedResourceName = string.IsNullOrWhiteSpace(nameFromCmdletContext) + ? nameExtractedFromJson + : nameFromCmdletContext; + + // Show a message that if names do not match, name specified with -Name parameter will be used. + if (string.Compare(resolvedResourceName, nameExtractedFromJson, StringComparison.OrdinalIgnoreCase) != 0) + { + WriteVerbose(string.Format( + CultureInfo.InvariantCulture, + Resources.ExtractedNameFromJsonMismatchWarning, + resourceType, + resolvedResourceName, + nameExtractedFromJson)); + } + + return resolvedResourceName; + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs new file mode 100644 index 000000000000..a1386d41e3bc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs @@ -0,0 +1,108 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public static class DataFactoryCommonUtilities + { + public static string ExtractNameFromJson(string jsonText, string resourceType) + { + Dictionary jsonKeyValuePairs; + + try + { + jsonKeyValuePairs = JsonUtilities.DeserializeJson(jsonText, true); + } + catch (Exception exception) + { + throw new JsonSerializationException(string.Format(CultureInfo.InvariantCulture, Resources.InvalidJson, exception.Message, resourceType)); + } + + const string NameTagInJson = "Name"; + + foreach (var key in jsonKeyValuePairs.Keys) + { + if (string.Compare(NameTagInJson, key, StringComparison.OrdinalIgnoreCase) == 0) + { + return (string)jsonKeyValuePairs[key]; + } + } + + return string.Empty; + } + + public static Dictionary ExtractTagsFromJson(string jsonText) + { + Dictionary jsonKeyValuePairs = JsonUtilities.DeserializeJson(jsonText); + const string TagsKeyInJson = "tags"; + + foreach (var key in jsonKeyValuePairs.Keys) + { + if (string.Compare(TagsKeyInJson, key, StringComparison.OrdinalIgnoreCase) == 0) + { + var tags = (jsonKeyValuePairs[key] as Dictionary).ToDictionary( + p => p.Key, + p => (string)p.Value); + + return tags; + } + } + + return null; + } + + public static Dictionary ToDictionary(this Hashtable hashTable) + { + return hashTable.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); + } + + public static bool TagsAreEqual(IDictionary first, IDictionary second) + { + bool equal = false; + if (first.Count == second.Count) + { + equal = true; + foreach (var pair in first) + { + string value; + if (second.TryGetValue(pair.Key, out value)) + { + if (!value.Equals(pair.Value)) + { + equal = false; + break; + } + } + else + { + // Require key be present. + equal = false; + break; + } + } + } + + return equal; + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/DataSliceContextBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/DataSliceContextBaseCmdlet.cs new file mode 100644 index 000000000000..bc7034f66ea6 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/DataSliceContextBaseCmdlet.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using System; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class DataSliceContextBaseCmdlet : DataFactoryBaseCmdlet + { + private DateTime _endDateTime; + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The table name.")] + [ValidateNotNullOrEmpty] + public string TableName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The data slice range start time.")] + public DateTime StartDateTime { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = "The data slice range end time.")] + public DateTime EndDateTime + { + get + { + return _endDateTime == default(DateTime) + ? StartDateTime + Constants.DefaultSliceActivePeriodDuration + : _endDateTime; + } + set + { + _endDateTime = value; + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactoryRunCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactoryRunCommand.cs new file mode 100644 index 000000000000..8c999c089694 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactoryRunCommand.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using System.Collections; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.Run, DefaultParameterSetName = ByFactoryName), OutputType(typeof(List))] + public class GetAzureDataFactoryRunCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The table name.")] + [ValidateNotNullOrEmpty] + public string TableName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The start time of the data slice queried.")] + public DateTime StartDateTime { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + var dataSliceRuns = DataFactoryClient.ListDataSliceRuns( + ResourceGroupName, DataFactoryName, TableName, StartDateTime); + + if (dataSliceRuns == null || dataSliceRuns.Count == 0) + { + WriteWarning(string.Format( + CultureInfo.InvariantCulture, + Resources.NoDataSliceFound)); + } + + WriteObject(dataSliceRuns); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactorySliceCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactorySliceCommand.cs new file mode 100644 index 000000000000..b1b5070abdfe --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/GetAzureDataFactorySliceCommand.cs @@ -0,0 +1,56 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.DataSlice), OutputType(typeof(List))] + public class GetAzureDataFactorySliceCommand : DataSliceContextBaseCmdlet + { + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + var dataSlices = DataFactoryClient.ListDataSlices( + ResourceGroupName, DataFactoryName, TableName, StartDateTime, + EndDateTime); + + if (dataSlices == null || dataSlices.Count == 0) + { + WriteWarning(string.Format( + CultureInfo.InvariantCulture, + Resources.NoDataSliceFound)); + } + + WriteObject(dataSlices, true); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SaveAzureDataFactoryLog.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SaveAzureDataFactoryLog.cs new file mode 100644 index 000000000000..d613a500dac8 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SaveAzureDataFactoryLog.cs @@ -0,0 +1,145 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure.Storage.Auth; +using System; +using System.Globalization; +using System.IO; +using System.Management.Automation; +using System.Security.AccessControl; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsData.Save, Constants.RunLog), OutputType(typeof(PSRunLogInfo))] + public class SaveAzureDataFactoryLog : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data slice run id.")] + [ValidateNotNullOrEmpty] + public string Id { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Download logs using the SAS url.")] + public SwitchParameter DownloadLogs { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "Directory to download the log. Default is current directory.")] + public string Output { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + PSRunLogInfo runLog = + DataFactoryClient.GetDataSliceRunLogsSharedAccessSignature( + ResourceGroupName, DataFactoryName, Id); + if (DownloadLogs.IsPresent) + { + string directory = string.IsNullOrWhiteSpace(Output) + ? Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + : Output; + + if (!HaveWriteAccess(directory)) + { + throw new IOException(string.Format(CultureInfo.InvariantCulture, Resources.NoWriteAccessToDirectory, directory)); + } + + try + { + DataFactoryClient.DownloadFileToBlob(new BlobDownloadParameters() + { + Directory = directory, + SasUri = new Uri(runLog.SasUri), + Credentials = new StorageCredentials(runLog.SasToken) + }); + } + catch + { + throw new Exception(string.Format(CultureInfo.InvariantCulture, Resources.DownloadFailed, directory)); + } + + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.DownloadLogCompleted, directory)); + } + + WriteObject(runLog); + } + + private bool HaveWriteAccess(string directory) + { + bool writeAllow = false; + bool writeDeny = false; + try + { + DirectorySecurity accessControlList = Directory.GetAccessControl(directory); + if (accessControlList == null) + { + return false; + } + + var rules = accessControlList.GetAccessRules(true, true, typeof(System.Security.Principal.SecurityIdentifier)); + + if (rules == null) + { + return false; + } + + foreach (FileSystemAccessRule rule in rules) + { + if ((FileSystemRights.Write & rule.FileSystemRights) != FileSystemRights.Write) + { + continue; + } + + if (rule.AccessControlType == AccessControlType.Allow) + { + writeAllow = true; + } + + else if (rule.AccessControlType == AccessControlType.Deny) + { + writeDeny = true; + } + } + + return writeAllow && !writeDeny; + } + catch + { + return false; + } + + + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SetAzureDataFactorySliceStatusCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SetAzureDataFactorySliceStatusCommand.cs new file mode 100644 index 000000000000..6e333026c451 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataSlices/SetAzureDataFactorySliceStatusCommand.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories.Models; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Set, Constants.SliceStatus), OutputType(typeof(bool))] + public class SetAzureDataFactorySliceStatusCommand : DataSliceContextBaseCmdlet + { + private string _updateType = "Individual"; + + [Parameter(Position = 5, Mandatory = true, HelpMessage = "The data slice status.")] + [ValidateSet( + DataSliceStatus.NotSpecified, + DataSliceStatus.PendingExecution, + DataSliceStatus.InProgress, + DataSliceStatus.Failed, + DataSliceStatus.Ready, + DataSliceStatus.Skip, + DataSliceStatus.Retry, + DataSliceStatus.TimedOut, + DataSliceStatus.PendingValidation, + DataSliceStatus.RetryValidation, + DataSliceStatus.FailedValidation, + DataSliceStatus.LongRetry, + DataSliceStatus.ValidationInProgress, + IgnoreCase = false)] + public string Status { get; set; } + + [Parameter(Position = 6, Mandatory = false, HelpMessage = "The update type.")] + [ValidateSet( + SetSliceStatusType.Individual, + SetSliceStatusType.UpstreamInPipeline, + SetSliceStatusType.UpstreamInFactory, + IgnoreCase = false)] + public string UpdateType + { + get { return _updateType; } + set { _updateType = value; } + } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + DataFactoryClient.SetSliceStatus( + ResourceGroupName, + DataFactoryName, + TableName, + Status, + UpdateType, + StartDateTime, + EndDateTime); + + WriteObject(true); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs new file mode 100644 index 000000000000..2ad819a10026 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using System.Management.Automation; +using System.Security; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.EncryptString), OutputType(typeof(string))] + public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 1, Mandatory = true, HelpMessage = "The value to encrypt.")] + [Parameter(ParameterSetName = ByFactoryName, Position = 2, Mandatory = true, HelpMessage = "The value to encrypt.")] + [ValidateNotNullOrEmpty] + public SecureString Value { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 2, Mandatory = false, HelpMessage = "The gateway group name.")] + [Parameter(ParameterSetName = ByFactoryName, Position = 3, Mandatory = false, HelpMessage = "The gateway group name.")] + public string GatewayName { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, + Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + string encryptedValue = String.Empty; + + if (String.IsNullOrWhiteSpace(GatewayName)) + { + // Cloud encryption without Gateway + encryptedValue = DataFactoryClient.CloudEncryptString(Value, ResourceGroupName, DataFactoryName); + } + else + { + // On-premises encryption with Gateway + encryptedValue = DataFactoryClient.OnPremisesEncryptString(Value, ResourceGroupName, DataFactoryName, GatewayName); + } + + WriteObject(encryptedValue); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/GetAzureDataFactoryGatewayCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/GetAzureDataFactoryGatewayCommand.cs new file mode 100644 index 000000000000..a3e2ec75d48c --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/GetAzureDataFactoryGatewayCommand.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.Gateway), OutputType(typeof(List), typeof(PSDataFactoryGateway))] + public class GetAzureDataFactoryGatewayCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory gateway name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + if (String.IsNullOrWhiteSpace(Name)) + { + IEnumerable gateways = DataFactoryClient.ListGateways(ResourceGroupName, DataFactoryName); + WriteObject(gateways, true); + } + else + { + PSDataFactoryGateway gateway = DataFactoryClient.GetGateway(ResourceGroupName, DataFactoryName, Name); + WriteObject(gateway); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayCommand.cs new file mode 100644 index 000000000000..38234fb5de94 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayCommand.cs @@ -0,0 +1,99 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using System.Management.Automation; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.Gateway), OutputType(typeof(PSDataFactoryGateway))] + public class NewAzureDataFactoryGatewayCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory gateway name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The geographic region to create the data factory.")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + [Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The description to update.")] + public string Description { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + PSDataFactoryGateway gateway = null; + try + { + gateway = DataFactoryClient.GetGateway(ResourceGroupName, DataFactoryName, Name); + } + catch (CloudException ex) + { + if (ex.Response.StatusCode != HttpStatusCode.NotFound) throw; + } + + if (gateway != null) + { + throw new PSInvalidOperationException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryGatewayExists, Name, DataFactoryName)); + } + + var request = new PSDataFactoryGateway + { + Name = Name, + Location = NormalizeLocation(Location), + Description = Description + }; + + PSDataFactoryGateway response = DataFactoryClient.CreateOrUpdateGateway(ResourceGroupName, DataFactoryName, request); + WriteObject(response); + } + + // As a nested resource of data factory, CSM will not normalize location when + // creating gateway, so we have to do this by ourselves. + private static string NormalizeLocation(string location) + { + return String.IsNullOrEmpty(location) + ? String.Empty + : location.Trim().Replace(" ", String.Empty).ToUpperInvariant(); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayKeyCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayKeyCommand.cs new file mode 100644 index 000000000000..3c64f5120738 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/NewAzureDataFactoryGatewayKeyCommand.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using System.Management.Automation; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.GatewayKey), OutputType(typeof(PSDataFactoryGatewayKey))] + public class NewAzureDataFactoryGatewayKeyCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory gateway name.")] + [ValidateNotNullOrEmpty] + public string GatewayName { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + PSDataFactoryGatewayKey gatewayKey = DataFactoryClient.RegenerateGatewayKey(ResourceGroupName, DataFactoryName, GatewayName); + WriteObject(gatewayKey); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/RemoveAzureDataFactoryGatewayCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/RemoveAzureDataFactoryGatewayCommand.cs new file mode 100644 index 000000000000..5223ca2c71fd --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/RemoveAzureDataFactoryGatewayCommand.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.Gateway), OutputType(typeof(bool))] + public class RemoveAzureDataFactoryGatewayCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory gateway name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryGatewayConfirmationMessage, + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryGatewayRemoving, + Name, + DataFactoryName), + Name, + () => DataFactoryClient.DeleteGateway(ResourceGroupName, DataFactoryName, Name)); + + WriteObject(true); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/SetAzureDataFactoryGatewayCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/SetAzureDataFactoryGatewayCommand.cs new file mode 100644 index 000000000000..8f0150073906 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Gateway/SetAzureDataFactoryGatewayCommand.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Set, Constants.Gateway), OutputType(typeof(PSDataFactoryGateway))] + public class SetAzureDataFactoryGatewayCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory gateway name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The description to update.")] + [ValidateNotNullOrEmpty] + public string Description { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + PSDataFactoryGateway gateway = new PSDataFactoryGateway + { + Description = Description, + Name = Name + }; + + PSDataFactoryGateway response = DataFactoryClient.PatchGateway(ResourceGroupName, DataFactoryName, gateway); + WriteObject(response); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/GetAzureDataFactoryHubCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/GetAzureDataFactoryHubCommand.cs new file mode 100644 index 000000000000..cde509d2afd3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/GetAzureDataFactoryHubCommand.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.Hub), OutputType(typeof(List), typeof(PSHub))] + public class GetAzureDataFactoryHubCommand : HubContextBaseCmdlet + { + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The hub name.")] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + HubFilterOptions filterOptions = new HubFilterOptions() + { + Name = Name, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + + List hubs = DataFactoryClient.FilterPSHubs(filterOptions); + + if (hubs != null) + { + if (hubs.Count == 1 && Name != null) + { + WriteObject(hubs[0]); + } + else + { + WriteObject(hubs, true); + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/HubContextBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/HubContextBaseCmdlet.cs new file mode 100644 index 000000000000..c4d6cad49fc3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/HubContextBaseCmdlet.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class HubContextBaseCmdlet : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/NewAzureDataFactoryHubCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/NewAzureDataFactoryHubCommand.cs new file mode 100644 index 000000000000..dcf06739940a --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/NewAzureDataFactoryHubCommand.cs @@ -0,0 +1,72 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.Hub), OutputType(typeof(PSHub))] + public class NewAzureDataFactoryHubCommand : HubContextBaseCmdlet + { + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The hub name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The hub JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + // Resolve the file path and read the raw content + string rawJsonContent = DataFactoryClient.ReadJsonFileContent(this.TryResolvePath(File)); + + // Resolve any mismatch between -Name and the name written in JSON + Name = ResolveResourceName(rawJsonContent, Name, "Hub"); + + CreatePSHubParameters parameters = new CreatePSHubParameters() + { + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Name = Name, + RawJsonContent = rawJsonContent, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(DataFactoryClient.CreatePSHub(parameters)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/RemoveAzureDataFactoryHubCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/RemoveAzureDataFactoryHubCommand.cs new file mode 100644 index 000000000000..d7c16da2ead9 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Hubs/RemoveAzureDataFactoryHubCommand.cs @@ -0,0 +1,74 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.Hub), OutputType(typeof(bool))] + public class RemoveAzureDataFactoryHubCommand : HubContextBaseCmdlet + { + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The hub name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + this.ConfirmAction( + this.Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.HubConfirmationMessage, + this.Name, + this.DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.HubRemoving, + this.Name, + this.DataFactoryName), + this.Name, + this.ExecuteDelete); + } + + private void ExecuteDelete() + { + HttpStatusCode response = DataFactoryClient.DeleteHub(ResourceGroupName, DataFactoryName, Name); + + if (response == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.HubNotFound, Name, DataFactoryName)); + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/GetAzureDataFactoryLinkedServiceCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/GetAzureDataFactoryLinkedServiceCommand.cs new file mode 100644 index 000000000000..b32e3eb56994 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/GetAzureDataFactoryLinkedServiceCommand.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.LinkedService), OutputType(typeof(List), typeof(PSLinkedService))] + public class GetAzureDataFactoryLinkedServiceCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The linked service name.")] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + // ValidationNotNullOrEmpty doesn't handle whitespaces well + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new PSArgumentNullException("Name"); + } + + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + LinkedServiceFilterOptions filterOptions = new LinkedServiceFilterOptions() + { + Name = Name, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + + List linkedServices = DataFactoryClient.FilterPSLinkedServices(filterOptions); + + if (linkedServices != null) + { + if (linkedServices.Count == 1 && Name != null) + { + WriteObject(linkedServices[0]); + } + else + { + WriteObject(linkedServices, true); + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/LinkedServiceContextBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/LinkedServiceContextBaseCmdlet.cs new file mode 100644 index 000000000000..09d7b96328e6 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/LinkedServiceContextBaseCmdlet.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class LinkedServiceContextBaseCmdlet : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The linked service name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/NewAzureDataFactoryLinkedServiceCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/NewAzureDataFactoryLinkedServiceCommand.cs new file mode 100644 index 000000000000..5a0b0ad5892f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/NewAzureDataFactoryLinkedServiceCommand.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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.IO; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Collections; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.LinkedService), OutputType(typeof(PSLinkedService))] + public class NewAzureDataFactoryLinkedServiceCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The linked service name.")] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The linked service JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + // Resolve the file path and read the raw content + string rawJsonContent = DataFactoryClient.ReadJsonFileContent(this.TryResolvePath(File)); + + // Resolve any mismatch between -Name and the name written in JSON + Name = ResolveResourceName(rawJsonContent, Name, "LinkedService"); + + CreatePSLinkedServiceParameters parameters = new CreatePSLinkedServiceParameters() + { + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Name = Name, + RawJsonContent = rawJsonContent, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(DataFactoryClient.CreatePSLinkedService(parameters)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/RemoveAzureDataFactoryLinkedServiceCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/RemoveAzureDataFactoryLinkedServiceCommand.cs new file mode 100644 index 000000000000..3672307b12cd --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/LinkedServices/RemoveAzureDataFactoryLinkedServiceCommand.cs @@ -0,0 +1,70 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.LinkedService)] + public class RemoveAzureDataFactoryLinkedServiceCommand : LinkedServiceContextBaseCmdlet + { + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.LinkedServiceConfirmationMessage, + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.LinkedServiceRemoving, + Name, + DataFactoryName), + Name, + ExecuteDelete); + } + + private void ExecuteDelete() + { + HttpStatusCode response = DataFactoryClient.DeleteLinkedService(ResourceGroupName, DataFactoryName, Name); + + if (response == HttpStatusCode.NoContent) + { + WriteWarning(string.Format( + CultureInfo.InvariantCulture, Resources.LinkedServiceNotFound, Name, DataFactoryName)); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/MSSharedLibKey.snk b/src/ResourceManager/DataFactories/Commands.DataFactories/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/DataFactories/Commands.DataFactories/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml new file mode 100644 index 000000000000..4ec3fc7fd04e --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml @@ -0,0 +1,6325 @@ + + + + + + Get-AzureDataFactory + + Gets information about Data Factory. + + + + + Get + AzureDataFactory + + + + The Get-AzureDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactory + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. + + String + + + Name + + Specifies the name of the data factory about which to get information. + + String + + + + + + Name + + Specifies the name of the data factory about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory + + + + + + + + + + + + + Example 1: Get all data factories + + + + + PS C:\> Get-AzureDataFactory -ResourceGroupName "ADF" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : WestUS + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + DataFactoryName : WikiADF2 + ResourceGroupName : ADF + Location : westus + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + Displays information about all data factories in the Azure subscription. + + + + + + + + + Example 2: Get a specific data factory + + + + + PS C:\> $DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : westus + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + This command displays information about the data factory named WikiADF in the subscription for the resource group named ADF, and then stores it in the $DataFactory variable. Specify the DataFactory parameter in subsequent cmdlets to use the data factory stored in $DataFactory. + + + + + + + + + + + New-AzureDataFactory + + + + Remove-AzureDataFactory + + + + + + + Get-AzureDataFactoryGateway + + Gets information about logical gateways in Data Factory. + + + + + Get + AzureDataFactoryGateway + + + + The Get-AzureDataFactoryGateway cmdlet gets information about logical gateways in Azure Data Factory. If you specify the name of a gateway, this cmdlet gets information about that gateway. If you do not specify a name, this cmdlet gets information about all gateways for a data factory. + If you want to add an on-premises MicrosoftSQL Server as a linked service to a data factory, you must install a gateway on your on-premises computer. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + + + Get-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway + + + + + + + + + + + + + Example 1: Get all logical gateways in a data factory + + + + + PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + Name : gateway1 + Location : West US + Description : + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : 8/22/2014 1:41:46 AM + LastConnectTime : 8/22/2014 1:44:56 AM + ExpiryTime : + + Name : gateway2 + Location : West US + Description : + Version : 1.3.5338.1 + Status : Offline + VersionStatus : UpToDate + CreateTime : 8/29/2014 1:46:44 AM + RegisterTime : 8/29/2014 1:48:36 AM + LastConnectTime : 8/29/2014 1:56:56 AM + ExpiryTime : + + + This command gets information about all logical gateways for the data factory named WikiADF in the resource group named ADF. + + + + + + + + + Example 2: Get a specific logical gateway in a data factory + + + + + PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "Gateway01" -DataFactoryName "WikiADF" + Name : Gateway01 + Location : West US + Description : + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : 8/22/2014 1:41:46 AM + LastConnectTime : 8/22/2014 1:44:56 AM + ExpiryTime : + + + This command gets information about the logical gateway named Gateway01 in the data factory named WikiADF in the resource group named ADF. + + + + + + + + + + + New-AzureDataFactoryGateway + + + + Remove-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + Get-AzureDataFactoryHub + + Gets information about hubs in Data Factory. + + + + + Get + AzureDataFactoryHub + + + + The Get-AzureDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets information about that hub. If you do not specify a name, this cmdlet gets information about all of the hubs in a data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub about which to get information. + + String + + + + Get-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the hub about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get all data hubs + + + + + PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" + + + + This command gets all data hubs in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + Example 2: Get a specific data hub + + + + + PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub" + + + + This command gets information about the hub named MyDataHub in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + + Online Version: + + + + New-AzureDataFactoryHub + + + + Remove-AzureDataFactoryHub + + + + + + + Get-AzureDataFactoryLinkedService + + Gets information about linked services in Data Factory. + + + + + Get + AzureDataFactoryLinkedService + + + + The Get-AzureDataFactoryLinkedService cmdlet gets information about linked services in Azure Data Factory. If you specify the name of a linked service, this cmdlet gets information about that linked service. If you do not specify a name, this cmdlet gets information about all the linked services in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the linked service about which to get information. + + String + + + + Get-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the linked service about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the linked service about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService + + + + + + + + + + + + + Example 1: Get information about all linked services + + + + + PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" | Format-List + LinkedServiceName : HDILinkedService + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.HDInsightBYOCLinkedService + + LinkedServiceName : LinkedServiceCuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + LinkedServiceName : LinkedServiceHDIStorage + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + LinkedServiceName : LinkedServiceWikiAggregatedData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureSqlLinkedService + + LinkedServiceName : LinkedServiceWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + + This command gets information about all linked services in the data factory named WikiADF, and then passes the linked services to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + Example 2: Get information about a specific linked service + + + + + PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "HDILinkedService" + LinkedServiceName ResourceGroupName DataFactoryName Properties + ----------------- ----------------- --------------- ---------- + HDILinkedService ADF WikiADF Microsoft.DataFactories.HDInsightBYOCAsset + + + This command gets information about the linked service named HDILinkedService in the data factory named WikiADF. + + + + + + + + + Example 3: Get information about a specific linked service by specifying the DataFactory parameter + + + + + PS C:\>$DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "ContosoFactory" + PS C:\> Get-AzureDataFactoryLinkedService -DataFactory $DataFactory | Format-Table -Property LinkedServiceName, DataFactoryName, ResourceGroupName + + + + The first command uses the Get-AzureDataFactory cmdlet to get the data factory named ContosoFactory, and then stores it in the $DataFactory variable. + The second command gets information about the linked service for the data factory stored in $DataFactory, and then passes that information to the Format-Table cmdlet by using the pipeline operator. The Format-Table cmdlet formats the output as a table with the specified properties as table columns. + + + + + + + + + + + New-AzureDataFactoryLinkedService + + + + Remove-AzureDataFactoryLinkedService + + + + + + + Get-AzureDataFactoryPipeline + + Gets information about pipelines in Data Factory. + + + + + Get + AzureDataFactoryPipeline + + + + The Get-AzureDataFactoryPipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + + + Get-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSPipeline, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSPipeline + + + + + + + + + + + + + Example 1: Get information about all pipelines + + + + + PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + PipelineName ResourceGroupName DataFactoryName Properties + ------------ ----------------- --------------- ---------- + DPWikisample ADF WikiADF Microsoft.DataFactories.PipelineProperties + DPTwittersample ADF WikiADF Microsoft.DataFactories.PipelineProperties + + + This command gets information about all pipelines in the data factory named WikiADF. + + + + + + + + + Example 2: Get information about a specific pipeline + + + + + PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List + PipelineName : DPWikisample + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.PipelineProperties + + + This command gets information about the pipeline named DPWikisample in the data factory named WikiADF. The command passes that information to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + Example 3: Get the properties for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Properties + Activities : {WikiHiveActivity, BlobToSqlCopyActivity} + Description : DP Wikipedia Sample Pipelines + End : 6/6/2014 8:00:00 AM + IsPaused : + RuntimeInfo : Microsoft.DataFactories.PipelineRuntimeInfo + Start : 6/5/2014 8:00:00 PM + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Properties property associated with that pipeline. + + + + + + + + + Example 4: Get the activities for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.Activities + Transformation : Microsoft.DataFactories.HDInsightActivityProperties + Description : + Inputs : {DAWikipediaClickEvents} + LinkedServiceName : HDILinkedService + Name : WikiHiveActivity + Outputs : {DACuratedWikiData} + Policy : Microsoft.DataFactories.ActivityPolicy + + Transformation : Microsoft.DataFactories.CopyActivityProperties + Description : + Inputs : {DACuratedWikiData} + LinkedServiceName : HDILinkedService + Name : BlobToSqlCopyActivity + Outputs : {DAWikiAggregatedData} + Policy : Microsoft.DataFactories.ActivityPolicy + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. + + + + + + + + + Example 5: Get the runtime information for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.RuntimeInfo + DeploymentTime + -------------- + 6/5/2014 10:36:46 PM + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the RuntimeInfo property associated with that pipeline. + + + + + + + + + Example 6: Get information about inputs for the first activity + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Properties.Activities[0].Inputs | Format-List + EndTime : + Length : + Name : DAWikipediaClickEvents + StartTime : + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. The command displays the Inputs property of the first element of the Activities array by using the Format-List cmdlet. + + + + + + + + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Get-AzureDataFactoryRun + + Gets runs for a data slice of a table in Data Factory. + + + + + Get + AzureDataFactoryRun + + + + The Get-AzureDataFactoryRun cmdlet gets the runs for a data slice of a table in Azure Data Factory. A table in a data factory is composed of slices over the time axis. The width of a slice is determined by the schedule, either hourly or daily. A run is a unit of processing for a slice. There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures. A slice is identified by its start time. To obtain the start time of a slice, use the Get-AzureDataFactorySlice cmdlet. + + For example, to get a run for the following slice, use the start time 2015-04-02T20:00:00. + + ResourceGroupName : ADF + DataFactoryName : SPDataFactory0924 + TableName : MarketingCampaignEffectivenessBlobTable + Start : 5/2/2014 8:00:00 PM + End : 5/3/2014 8:00:00 PM + RetryCount : 0 + Status : Ready + LatencyStatus : + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryRun + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + + Get-AzureDataFactoryRun + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSliceRun, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] + + + + + + + + + + + + + Example 1: Get a table + + + + + PS C:\> Get-AzureDataFactoryRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00 + Id : a7c4913c-9623-49b3-ae1e-3e45e2b68819 + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + PipelineName : 249ea141-ca00-8597-fad9-a148e5e7bdba + ActivityId : fcefe2bd-39b1-2d7a-7b35-bcc2b0432300 + ResumptionToken : a7c4913c-9623-49b3-ae1e-3e45e2b68819 + ContinuationToken : + ProcessingStartTime : 5/21/2014 5:02:41 PM + ProcessingEndTime : 5/21/2014 5:04:12 PM + PercentComplete : 100 + DataSliceStart : 5/21/2014 4:00:00 PM + DataSliceEnd : 5/21/2014 5:00:00 PM + Status : Succeeded + Timestamp : 5/21/2014 5:02:41 PM + RetryAttempt : 0 + Properties : {[errors, ]} + ErrorMessage : + + + This command gets all runs for slices of the table named DAWikiAggregatedData in the data factory named WikiADF that start from 4 PM GMT on 05/21/2014. + + + + + + + + + + + Get-AzureDataFactorySlice + + + + + + + Get-AzureDataFactorySlice + + Gets data slices for a table in Data Factory. + + + + + Get + AzureDataFactorySlice + + + + The Get-AzureDataFactorySlice cmdlet gets data slices for a table in Azure Data Factory. Specify a start time and an end time to define a range of data slices to view. + + The status of a data slice is one of the following values: + + -- PendingExecution. Data processing has not started. + -- InProgress. Data processing is in progress. + -- Ready. Data processing is completed. The data slice is ready for dependent slices to consume it. + -- Failed. The run that produces the slice failed. + -- Skip. Data Factory skips processing of the slice. + -- Retry. Data Factory retries the run that produces the slice. + -- Timed Out. Data processing has timed out. + -- PendingValidation. Data slice is waiting for validation before it is processed. + -- Retry Validation. Data Factory retries the validation of the slice. + -- Failed Validation. Validation of the slice failed. + + For each of the slices, you can see more information about the run that produces the slice by using the Get-AzureDataFactoryRun cmdlet. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactorySlice + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + + Get-AzureDataFactorySlice + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSlice, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] + + + + + + + + + + + + + Example 1: Get data slices for a table + + + + + PS C:\> Get-AzureDataFactorySlice -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-20T10:00:00 + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 1:00:00 AM + End : 5/21/2014 2:00:00 AM + RetryCount : 0 + Status : Ready + + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 2:00:00 AM + End : 5/21/2014 3:00:00 AM + RetryCount : 0 + Status : Ready + + . . . + + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 8:00:00 PM + End : 5/21/2014 9:00:00 PM + RetryCount : 0 + Status : PendingExecution + + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 9:00:00 PM + End : 5/21/2014 10:00:00 PM + RetryCount : 0 + Status : PendingExecution + + . . . + + + + This command gets all the data slices for the table named WikiAggregatedData in the data factory named WikiADF. The command gets slices produced after the time that the StartDateTime parameter specifies. The following example code sets the availability for this table every hour in the JavaScript Object Notation (JSON) file. + + availability: + { + period: "Hour", + periodMultiplier: 1 + } + + Some of the results are Ready and others are PendingExecution. Ready slices have already run. The pending slices are waiting to run at the end of each hour in the interval that the Set-AzureDataFactoryPipelineActivePeriod cmdlet specifies. In this example, both start and end periods for the pipeline and the slice have a value of one day (24 hours). + + + + + + + + + + + Set-AzureDataFactorySliceStatus + + + + Get-AzureDataFactoryRun + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + + + + Get-AzureDataFactoryTable + + Gets information about tables in Data Factory. + + + + + Get + AzureDataFactoryTable + + + + The Get-AzureDataFactoryTable cmdlet gets information about tables in Azure Data Factory. If you specify the name of a table, this cmdlet gets information about that table. If you do not specify a name, this cmdlet gets information about all the tables in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table about which to get information. + + String + + + + Get-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the table about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSTable, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSTable + + + + + + + + + + + + + Example 1: Get information about all tables + + + + + PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + TableName : DACuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False + + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False + + TableName : DAWikiAggregatedData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False + + + This command gets information about all tables in the data factory named WikiADF. + + + + + + + + + Example 2: Get information about a specific table + + + + + PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : Microsoft.DataFactories.AzureBlobLocation + Policy : Microsoft.DataFactories.Policy + Structure : {} + Published : False + + + This command gets information about the table named DAWikipediaClickEvents in the data factory named WikiADF. + + + + + + + + + Example 3: Get the location for a specific table + + + + + PS C:\> (Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} + + + This command gets information for the table named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation to view the Location associated with that table. Alternatively, assign the output of the Get-AzureDataFactoryTable cmdlet to a variable, and then use dot notation to view the Location property associated with the table object stored in that variable. + + + + + + + + + + + New-AzureDataFactoryTable + + + + Remove-AzureDataFactoryTable + + + + + + + New-AzureDataFactory + + Creates a data factory. + + + + + New + AzureDataFactory + + + + The New-AzureDataFactory cmdlet creates a data factory with the specified resource group name and location. + + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactory + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + + String + + + Name + + Specifies the name of the data factory to create. + + String + + + Location + + Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. + + String + + + Tags + + + Specifies tags for the data factory. + + + Hashtable + + + Force + + Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. + + + + + + + Force + + Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Location + + Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. + + String + + String + + + + + + Name + + Specifies the name of the data factory to create. + + String + + String + + + + + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + + String + + String + + + + + + Tags + + + Specifies tags for the data factory. + + + Hashtable + + Hashtable + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory + + + + + + + + + + + + + Example 1: Create a data factory + + + + + PS C:\> New-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : WestUS + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + This command creates a data factory named WikiADF in the resource group named ADF in the WestUS location. + + + + + + + + + + + Get-AzureDataFactory + + + + Remove-AzureDataFactory + + + + + + + New-AzureDataFactoryEncryptValue + + Encrypts sensitive data. + + + + + New + AzureDataFactoryEncryptValue + + + + The New-AzureDataFactoryEncryptValue cmdlet encrypts sensitive data, such as a password or a MicrosoftSQL Server connection string, and returns an encrypted value. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryEncryptValue + + DataFactory + + Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. + + PSDataFactory + + + Value + + Specifies the value to encrypt. + + SecureString + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + + + New-AzureDataFactoryEncryptValue + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. + + String + + + Value + + Specifies the value to encrypt. + + SecureString + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. + + String + + String + + + + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. + + String + + String + + + + + + Value + + Specifies the value to encrypt. + + SecureString + + SecureString + + + + + + + + + + + + + + + + + + + + + System.String + + + + + + + + + + + + + Example 1: Encrypt a connection string + + + + + PS C:\> $Value = ConvertTo-SecureString "Data Source=ContosoServer;Initial Catalog=catelog;user id =user123;password=password123" -AsPlainText -Force + PS C:\> New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value + data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/ + H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfv + BzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9B + hGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. + The second command creates an encrypted value for the object stored in $Value for the specified data factory, gateway, and resource group. + + + + + + + + + Example 2: Encrypt a string + + + + + PS C:\> $Value = ConvertTo-SecureString "Test123" -AsPlainText -Force + PS C:\> New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -ResourceGroupName "ADF" -Value $Value + $Encrypted$String$KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJm + O0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpxdmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y + 0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe + /XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified string to a SecureString object, and then stores that object in the $Value variable. + The second command creates an encrypted value for the object stored in $Value for the specified data factory and resource group. + + + + + + + + + + + + + + + + + + New-AzureDataFactoryGateway + + Creates a gateway for Data Factory. + + + + + New + AzureDataFactoryGateway + + + + The New-AzureDataFactoryGateway cmdlet creates a gateway in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway to create. + + String + + + Location + + Specifies the location of the gateway, such as WestUs or EastUS. Only WestUS is currently supported. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + New-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway to create. + + String + + + Location + + Specifies the location of the gateway, such as WestUs or EastUS. Only WestUS is currently supported. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. + + String + + String + + + + + + Description + + Specifies a description for the gateway. + + String + + String + + + + + + Location + + Specifies the location of the gateway, such as WestUs or EastUS. Only WestUS is currently supported. + + String + + String + + + + + + Name + + Specifies the name of the gateway to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey + + + + + + + + + + + + + Example 1: Create a gateway + + + + + PS C:\> New-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Location "WestUs" -Description "my gateway" + Name : ContosoGateway + Location : West US + Description : my gateway + Version : + Status : NeedRegistration + VersionStatus : None + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : + LastConnectTime : + ExpiryTime : + + + This command creates a gateway named ContosoGateway in the data factory named WikiADF in the resource group named ADF in the WestUS location. + + + + + + + + + + + Remove-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + New-AzureDataFactoryGatewayKey + + Creates a gateway key for Data Factory. + + + + + New + AzureDataFactoryGatewayKey + + + + + The New-AzureDataFactoryGatewayKey cmdlet creates a gateway key for a specified Azure Data Factory gateway. You register the gateway with a cloud service by using this key. + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryGatewayKey + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + PSDataFactory + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + + + New-AzureDataFactoryGatewayKey + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + String + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + String + + String + + + + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey + + + + + + + + + + + + + Example 1: Create a gateway key + + + + + PS C:\> New-AzureDataFactoryGatewayKey -ResourceGroupName "ADF" -GatewayName "ContosoGateway" -DataFactoryName "WikiADF" | Format-List + Gateway Key : ADF#40cbb3d9-2736-4794-a8a6-e6b839b4894f@a2d875ce-c9d7-4b8b-ad65-dd3ebbb9a940@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@xz#Y9R0NhAeH3u7wgnrJyiWj4Y/QIhH4fFilIdzZgwsVQA= + + + This command creates a gateway key for the data factory gateway named ContosoGateway, and then passes the gateway key to the Format-List cmdlet by using the pipeline operator. For more information, type Get-Help Format-List. + + + + + + + + + + + + New-AzureDataFactoryGateway + + + + + + + New-AzureDataFactoryHub + + Creates a hub for Data Factory. + + + + + New + AzureDataFactoryHub + + + + The New-AzureDataFactoryHub cmdlet creates a hub for Azure Data Factory in the specified Azure resource group and in the specified data factory with the specified file definition. After you create the hub, you can use it to store and manage linked services in a group, and you can add pipelines to the hub. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + + + + New-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the hub to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Create a hub + + + + + PS C:\>New-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" -File "C:\Hub.json" + + + + This command creates a hub named ContosoDataHub in the resource group ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + Online Version: + + + + Get-AzureDataFactoryHub + + + + Remove-AzureDataFactoryHub + + + + + + + New-AzureDataFactoryLinkedService + + Links a data store or a cloud service to Data Factory. + + + + + New + AzureDataFactoryLinkedService + + + + The New-AzureDataFactoryLinkedService cmdlet links a data store or a cloud service to Azure Data Factory. If you specify a name for a linked service that already exists, this cmdlet prompts you for confirmation before it replaces the linked service. If you specify the Force parameter, the cmdlet replaces the existing linked service without confirmation. + + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the linked service to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + + + + New-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. + + String + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. + + + String + + + Name + + Specifies the name of the linked service to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. + + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the linked service to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService + + + + + + + + + + + + + Example 1: Create a linked service + + + + + PS C:\> New-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceCuratedWikiData" -File "C:\\samples\\WikiSample\\LinkedServiceCuratedWikiData.json" | Format-List + LinkedServiceName : LinkedServiceCuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + + This command creates a linked service named LinkedServiceCuratedWikiData in the data factory named WikiADF. This linked service links an Azure blob store specified in the file to the data factory named WikiADF. The command passes the result to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + + + Get-AzureDataFactoryLinkedService + + + + Remove-AzureDataFactoryLinkedService + + + + + + + New-AzureDataFactoryPipeline + + Creates a pipeline in Data Factory. + + + + + New + AzureDataFactoryPipeline + + + + The New-AzureDataFactoryPipeline cmdlet creates a pipeline in Azure Data Factory. If you specify a name for a pipeline that already exists, the cmdlet prompts you for confirmation before it replaces the pipeline. If you specify the Force parameter, the cmdlet replaces the existing pipeline without confirmation. + + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. + + If a pipeline with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing pipeline with the new pipeline. If you confirm to overwrite the existing pipeline, the pipeline definition is also replaced. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to create. + + String + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + + + + New-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to create. + + String + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + + String + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + + String + + String + + + + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSPipeline + + + + + + + + + + + + + Example 1: Create a pipeline + + + + + PS C:\> New-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" -File "C:\DPWikisample.json" + PipelineName : DPWikisample + ResourceGroupName : ADF + DataFactoryName : WikiADF11 + Properties : Microsoft.DataFactories.PipelineProperties + + + This command creates a pipeline named DPWikisample in the data factory named ADF. The command bases the pipeline on information in the DPWikisample.json file. This file includes information about activities such as Copy Activity and HDInsight Activity in the pipeline. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + New-AzureDataFactoryTable + + Creates a table in Data Factory. + + + + + New + AzureDataFactoryTable + + + + The New-AzureDataFactoryTable cmdlet creates a table in Azure Data Factory. If you specify a name for a table that already exists, this cmdlet prompts you for confirmation before it replaces the table. If you specify the Force parameter, the cmdlet replaces the existing table without confirmation. + + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. + + If a table with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing table with the new table. If you confirm to overwrite the existing table, the table definition is also replaced. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + + + + New-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the table to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSTable + + + + + + + + + + + + + Example 1: Create a table + + + + + PS C:\> New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : Microsoft.DataFactories.AzureBlobLocation + Policy : Microsoft.DataFactories.Policy + Structure : {} + Published : False + + + This command creates a table named DA_WikipediaClickEvents in the data factory named WikiADF. The command bases the table on information in the DAWikipediaClickEvents.json file. + + + + + + + + + Example 2: View availability for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + PS C:\> $Table.Availability + AnchorDateTime : + Frequency : Hour + Interval : 1 + Offset : + WaitOnExternal : Microsoft.DataFactories.WaitOnExternal + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command uses standard dot notation to display details about the Availability property of the table. + + + + + + + + + Example 3: View location for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + PS C:\> $Table.Location + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command displays details about the Location property of the table. + + + + + + + + + Example 4: View validation rules for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + PS C:\> $Table.Policy.Validation | Format-List $table.Location + + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} + + MinimumRows : + MinimumSizeMB : 1 + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command gets details about the validation rules for the table, and then passes them to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + + + Get-AzureDataFactoryTable + + + + Remove-AzureDataFactoryTable + + + + + + + Remove-AzureDataFactory + + Removes a data factory. + + + + + Remove + AzureDataFactory + + + + The Remove-AzureDataFactory cmdlet removes a data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactory + + DataFactory + + Specifies the PSDataFactory object to remove. + + PSDataFactory + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + + + + Remove-AzureDataFactory + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. + + String + + + Name + + + Specifies the name of the data factory to remove. + + + String + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + + + + + + DataFactory + + Specifies the PSDataFactory object to remove. + + PSDataFactory + + PSDataFactory + + + + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + + Specifies the name of the data factory to remove. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a data factory + + + + + PS C:\> Remove-AzureDataFactory -Name "WikiADF" -ResourceGroupName "ADF" + Confirm + Are you sure you want to remove data factory 'WikiADF' in resource group 'ADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command removes the data factory named WikiADF from the resource group named ADF. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactory + + + + New-AzureDataFactory + + + + + + + Remove-AzureDataFactoryGateway + + Removes a gateway from Data Factory. + + + + + Remove + AzureDataFactoryGateway + + + + The Remove-AzureDataFactoryGateway cmdlet removes the specified gateway from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway to remove. + + String + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + + + + Remove-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway to remove. + + String + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the gateway to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a gateway + + + + + PS C:\> Remove-AzureDataFactoryGateway -Name "ContosoGateway" -DataFactoryName "WikiADF" -ResourceGroupName "ADF" + Confirm + Are you sure you want to remove gateway 'ContosoGateway' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is Y): Y + True + + + This command removes the gateway named ContosoGateway from the data factory named WikiADF. + + + + + + + + + + + Get-AzureDataFactoryGateway + + + + New-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + Remove-AzureDataFactoryHub + + Removes a hub from Data Factory. + + + + + Remove + AzureDataFactoryHub + + + + The Remove-AzureDataFactoryHub cmdlet removes a hub from Azure Data Factory in the specified Azure resource group and in the specified data factory. If you remove a hub, all linked services and pipelines in the hub are also removed. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub to remove. + + String + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + + + + Remove-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub to remove. + + String + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the hub to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove a hub + + + + + PS C:\>Remove-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" + + + + This command removes the hub named ContosoDataHub from the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + Online Version: + + + + New-AzureDataFactoryHub + + + + Get-AzureDataFactoryHub + + + + + + + Remove-AzureDataFactoryLinkedService + + Removes a linked service from Data Factory. + + + + + Remove + AzureDataFactoryLinkedService + + + + The Remove-AzureDataFactoryLinkedService cmdlet removes a linked service from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + + + + Remove-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. + + String + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a linked service + + + + + PS C:\> Remove-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceTest" + + Confirm + Are you sure you want to remove linked service 'LinkedServiceTest' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command removes the linked service named LinkedServiceTest from the data factory named WikiADF. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryLinkedService + + + + New-AzureDataFactoryLinkedService + + + + + + + Remove-AzureDataFactoryPipeline + + Removes a pipeline from Data Factory. + + + + + Remove + AzureDataFactoryPipeline + + + + The Remove-AzureDataFactoryPipeline cmdlet removes a pipeline from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to remove. + + String + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + + + + Remove-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to remove. + + String + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a pipeline + + + + + PS C:\> Remove-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to remove pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This cmdlet removes the pipeline named DPWikisample from the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Remove-AzureDataFactoryTable + + Removes a table from Data Factory. + + + + + Remove + AzureDataFactoryTable + + + + The Remove-AzureDataFactoryTable cmdlet removes a table from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table to remove. + + String + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + + + + Remove-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table to remove. + + String + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the table to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a table + + + + + PS C:\> Remove-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikiAggregatedData" + Confirm + Are you sure you want to remove table 'DAWikiAggregatedData' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + True + + + This command removes the table named DAWikiAggregatedData from the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryTable + + + + New-AzureDataFactoryTable + + + + + + + Resume-AzureDataFactoryPipeline + + Resumes a suspended pipeline in Data Factory. + + + + + Resume + AzureDataFactoryPipeline + + + + The Resume-AzureDataFactoryPipeline cmdlet resumes a suspended pipeline in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Resume-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to resume. + + String + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + + + + Resume-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to resume. + + String + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to resume. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Resume a pipeline + + + + + PS C:\> Resume-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command resumes the pipeline named DPWikisample in the data factory named WikiADF. Use the Suspend-AzureDataFactoryPipeline cmdlet to suspend a pipeline. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Save-AzureDataFactoryLog + + Downloads log files from HDInsight processing. + + + + + Save + AzureDataFactoryLog + + + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + The Save-AzureDataFactoryLog cmdlet downloads log files associated with Azure HDInsight processing of Pig or Hive projects or for custom activities to your local hard drive. You first run the Get-AzureDataFactoryRun cmdlet to get an ID for an activity run for a data slice, and then use that ID to retrieve log files from the binary large object (BLOB) storage associated with the HDInsight cluster. + If you do not specify –DownloadLogs parameter, the cmdlet just returns the location of log files. + If you specify –DownloadLogs parameter without specifying an output directory (-Output parameter), the log files are downloaded to the default Documents folder. + If you specify –DownloadLogs parameter along with an output folder (-Output), the log files are downloaded to the specified folder. + + + + Save-AzureDataFactoryLog + + DataFactoryName + + Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + String + + + Id + + Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. + + String + + + Output + + Specifies the output folder in which the downloaded log files are saved. + + String + + + DownloadLogs + + Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. + + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. + + String + + String + + + + + + DownloadLogs + + Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. + + SwitchParameter + + SwitchParameter + + + + + + Id + + Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. + + String + + String + + + + + + Output + + Specifies the output folder in which the downloaded log files are saved. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Save log files to a specific folder + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs -Output "C:\Test" + + + + This command saves log files for the activity run with the ID of 841b77c9-d56c-48d1-99a3-8c16c3e77d39 where the activity belongs to a pipeline in the data factory named LogProcessingFactory in the resource group named ADF. The log files are saved to the C:\Test folder. + + + + + + + + + Example 2: Save log files to default Documents folder + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs + + + + This command saves log files to Documents folder (default). + + + + + + + + + Example 2: Get the location of log files + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" + + + + This command returns the location of log files. Note that –DownloadLogs parameter is not specified. + + + + + + + + + + + Online Version: + + + + Get-AzureDataFactoryRun + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Set-AzureDataFactoryGateway + + Sets the description for a gateway in Data Factory. + + + + + Set + AzureDataFactoryGateway + + + + The Set-AzureDataFactoryGateway cmdlet sets the description for the specified gateway in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + Set-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + String + + String + + + + + + Description + + Specifies a description for the gateway. + + String + + String + + + + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway + + + + + + + + + + + + + Example 1: Set the description for a gateway + + + + + PS C:\> Set-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" + Name : ContosoGateway + Location : West US + Description : my gateway + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:31:09 AM + RegisterTime : 8/22/2014 1:31:37 AM + LastConnectTime : 8/22/2014 1:41:41 AM + ExpiryTime : + + + + This command sets the description for the gateway named ContosoGateway in the data factory named WikiADF. The Description parameter specifies the new description. + + + + + + + + + + + Get-AzureDataFactoryGateway + + + + New-AzureDataFactoryGateway + + + + Remove-AzureDataFactoryGateway + + + + + + + Set-AzureDataFactoryPipelineActivePeriod + + Configures the active period for data slices. + + + + + Set + AzureDataFactoryPipelineActivePeriod + + + + The Set-AzureDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureDataFactorySliceStatus cmdlet to modify the status of slices for a table, make sure that the start time and end time for a slice are in the active period of the pipeline. + After you create a pipeline, you can specify the period in which data processing occurs. Specifying the active period for a pipeline defines the time duration in which the data slices are processed based on the Availability properties that were defined for each Data Factory table. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactoryPipelineActivePeriod + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + + + + Set-AzureDataFactoryPipelineActivePeriod + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. + + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + String + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + + + + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + SwitchParameter + + SwitchParameter + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + SwitchParameter + + SwitchParameter + + + + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. + + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Configure the active period + + + + + PS C:\> Set-AzureDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00 -EndDateTime 2014-05-22T16:00:00 + Confirm + Are you sure you want to set pipeline 'DPWikisample' active period from '05/21/2014 16:00:00' to + '05/22/2014 16:00:00'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + True + + + This command configures the active period for the data slices that the pipeline named DPWikisample processes. The command provides beginning and end points for the data slices as values. The command returns a value of $True. + + + + + + + + + + + New-AzureDataFactoryPipeline + + + + Set-AzureDataFactorySliceStatus + + + + + + + Set-AzureDataFactorySliceStatus + + Sets the status of slices for a table in Data Factory. + + + + + Set + AzureDataFactorySliceStatus + + + + The Set-AzureDataFactorySliceStatus cmdlet sets the status of slices for a table in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactorySliceStatus + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + Status + + + Specifies a status to assign to the data slice. Valid values are: + + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: + + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + + + Set-AzureDataFactorySliceStatus + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + + Status + + + Specifies a status to assign to the data slice. Valid values are: + + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: + + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime is a Coordinated Universal Time (UTC) time that you must specify in ISO format, for example, 2014-10-19T16:32:41Z. + + DateTime + + DateTime + + + + + + Status + + + Specifies a status to assign to the data slice. Valid values are: + + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + String + + + + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + String + + + + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: + + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Set the status of all slices + + + + + PS C:\> Set-AzureDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00 -EndDateTime 2014-05-21T20:00:00 -Status "PendingExecution" -UpdateType "UpstreamInPipeline" + True + + + This command sets the status of all slices for the table named DAWikiAggregatedData to PendingExecution in the data factory named WikiADF. The UpdateType parameter has a value of UpstreamInPipeline, and so the command sets the status of each slice for the table and all dependent tables. Dependent tables are used as input tables for activities in the pipeline. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactorySlice + + + + + + + Suspend-AzureDataFactoryPipeline + + Suspends a pipeline in Data Factory. + + + + + Suspend + AzureDataFactoryPipeline + + + + The Suspend-AzureDataFactoryPipeline cmdlet suspends a pipeline in Azure Data Factory. You can resume the pipeline by using the Resume-AzureDataFactoryPipeline cmdlet. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Suspend-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to suspend. + + String + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + + + + Suspend-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to suspend. + + String + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to suspend. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Suspend a pipeline + + + + + PS C:\> Suspend-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikiSample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to suspend pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command suspends the pipeline named DPWikiSample in the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + + + + + + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml new file mode 100644 index 000000000000..2c3dc38bb72b --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.format.ps1xml @@ -0,0 +1,115 @@ + + + + + Microsoft.Azure.Commands.DataFactories.Models.PSLinkedService + + Microsoft.Azure.Commands.DataFactories.Models.PSLinkedService + + + + + + + + LinkedServiceName + + + + ResourceGroupName + + + + DataFactoryName + + + + Properties + + + + + + + + Microsoft.Azure.Commands.DataFactories.Models.PSTable + + Microsoft.Azure.Commands.DataFactories.Models.PSTable + + + + + + + + TableName + + + + ResourceGroupName + + + + DataFactoryName + + + + Availability + + + + Location + + + + Policy + + + + Structure + + + + Published + + + + Properties + + + + + + + + Microsoft.Azure.Commands.DataFactories.Models.PSPipeline + + Microsoft.Azure.Commands.DataFactories.Models.PSPipeline + + + + + + + + PipelineName + + + + ResourceGroupName + + + + DataFactoryName + + + + Properties + + + + + + + + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/BlobDownloadParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/BlobDownloadParameters.cs new file mode 100644 index 000000000000..b9cbbc440ba4 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/BlobDownloadParameters.cs @@ -0,0 +1,33 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Storage.Auth; +using Microsoft.WindowsAzure.Storage.Blob; +using System; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class BlobDownloadParameters + { + public string Directory { get; set; } + + public Uri SasUri { get; set; } + + public StorageCredentials Credentials { get; set; } + + public BlobDownloadParameters() + { + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSDataFactoryParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSDataFactoryParameters.cs new file mode 100644 index 000000000000..e1793532b1c3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSDataFactoryParameters.cs @@ -0,0 +1,30 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class CreatePSDataFactoryParameters : DataFactoryParametersBase + { + public string Location { get; set; } + + public bool Force { get; set; } + + public Hashtable Tags { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSHubParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSHubParameters.cs new file mode 100644 index 000000000000..7ba52718d627 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSHubParameters.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class CreatePSHubParameters : DataFactoryParametersBase + { + public string Name { get; set; } + + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSLinkedServiceParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSLinkedServiceParameters.cs new file mode 100644 index 000000000000..6f3b898316d2 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSLinkedServiceParameters.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class CreatePSLinkedServiceParameters : DataFactoryParametersBase + { + public string Name { get; set; } + + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSPipelineParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSPipelineParameters.cs new file mode 100644 index 000000000000..b81fb3a7b156 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSPipelineParameters.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class CreatePSPipelineParameters : DataFactoryParametersBase + { + public string Name { get; set; } + + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSTableParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSTableParameters.cs new file mode 100644 index 000000000000..b6e71ad88331 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/CreatePSTableParameters.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class CreatePSTableParameters : DataFactoryParametersBase + { + public string Name { get; set; } + + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataFactories.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataFactories.cs new file mode 100644 index 000000000000..0ab51e2227f0 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataFactories.cs @@ -0,0 +1,174 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using System.Linq; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual PSDataFactory GetDataFactory(string resourceGroupName, string dataFactoryName) + { + var response = DataPipelineManagementClient.DataFactories.Get(resourceGroupName, dataFactoryName); + + return new PSDataFactory(response.DataFactory) { ResourceGroupName = resourceGroupName }; + } + + public virtual List ListDataFactories(string resourceGroupName) + { + List dataFactories = new List(); + + var response = DataPipelineManagementClient.DataFactories.List(resourceGroupName); + + if (response != null && response.DataFactories != null) + { + response.DataFactories.ForEach( + df => dataFactories.Add(new PSDataFactory(df) { ResourceGroupName = resourceGroupName })); + } + + return dataFactories; + } + + public virtual List FilterPSDataFactories(DataFactoryFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + // ToDo: make ResourceGroupName optional + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + List dataFactories = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + dataFactories.Add(GetDataFactory(filterOptions.ResourceGroupName, filterOptions.Name)); + } + else + { + // ToDo: Filter list results by Tag + dataFactories.AddRange(ListDataFactories(filterOptions.ResourceGroupName)); + } + + return dataFactories; + } + + public virtual DataFactory CreateOrUpdateDataFactory(string resourceGroupName, string dataFactoryName, + string location, IDictionary tags) + { + var response = DataPipelineManagementClient.DataFactories.CreateOrUpdate( + resourceGroupName, + new DataFactoryCreateOrUpdateParameters() + { + DataFactory = + new DataFactory() + { + Name = dataFactoryName, + Location = location, + Tags = tags + } + }); + + return response.DataFactory; + } + + public virtual PSDataFactory CreatePSDataFactory(CreatePSDataFactoryParameters parameters) + { + PSDataFactory dataFactory = null; + Action createDataFactory = () => + { + Dictionary tags = new Dictionary(); + if (parameters.Tags != null) + { + tags = parameters.Tags.ToDictionary(); + } + + dataFactory = + new PSDataFactory( + CreateOrUpdateDataFactory(parameters.ResourceGroupName, parameters.DataFactoryName, + parameters.Location, tags)) {ResourceGroupName = parameters.ResourceGroupName}; + }; + + if (parameters.Force) + { + // If user decides to overwrite anyway, then there is no need to check if the data factory exists or not. + createDataFactory(); + } + else + { + bool dataFactoryExists = CheckDataFactoryExists(parameters.ResourceGroupName, parameters.DataFactoryName); + + parameters.ConfirmAction( + !dataFactoryExists, // prompt only if the data factory exists + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryExists, + parameters.DataFactoryName, + parameters.ResourceGroupName), + string.Format( + CultureInfo.InvariantCulture, + Resources.DataFactoryCreating, + parameters.DataFactoryName, + parameters.ResourceGroupName), + parameters.DataFactoryName, + createDataFactory); + } + + return dataFactory; + } + + private bool CheckDataFactoryExists(string resourceGroupName, string dataFactoryName) + { + // ToDo: use HEAD to check if a resource exists or not + try + { + PSDataFactory dataFactory = GetDataFactory(resourceGroupName, dataFactoryName); + + return true; + } + catch (CloudException e) + { + //Get throws NotFound exception if data factory not exists + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + + throw; + } + } + + public virtual HttpStatusCode DeleteDataFactory(string resourceGroupName, string dataFactoryName) + { + OperationResponse response = DataPipelineManagementClient.DataFactories.Delete(resourceGroupName, + dataFactoryName); + return response.StatusCode; + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataSlices.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataSlices.cs new file mode 100644 index 000000000000..f1d6a8584a1d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.DataSlices.cs @@ -0,0 +1,152 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Storage.Blob; +using System.IO; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual List ListDataSliceRuns( + string resourceGroupName, + string dataFactoryName, + string tableName, + DateTime dataSliceRangeStartTime) + { + List runs = new List(); + var response = DataPipelineManagementClient.DataSliceRuns.List( + resourceGroupName, + dataFactoryName, + tableName, + dataSliceRangeStartTime.ConvertToISO8601DateTimeString()); + + if (response != null && response.DataSliceRuns != null) + { + foreach (var run in response.DataSliceRuns) + { + runs.Add( + new PSDataSliceRun(run) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName, + TableName = tableName + }); + } + } + + return runs; + } + + public virtual List ListDataSlices(string resourceGroupName, string dataFactoryName, string tableName, DateTime dataSliceRangeStartTime, DateTime dataSliceRangeEndTime) + { + List dataSlices = new List(); + var response = DataPipelineManagementClient.DataSlices.List( + resourceGroupName, + dataFactoryName, + tableName, + dataSliceRangeStartTime.ConvertToISO8601DateTimeString(), + dataSliceRangeEndTime.ConvertToISO8601DateTimeString()); + + if (response != null && response.DataSlices != null) + { + foreach (var dataSlice in response.DataSlices) + { + dataSlices.Add( + new PSDataSlice(dataSlice) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName, + TableName = tableName + }); + } + } + + return dataSlices; + } + + public virtual void SetSliceStatus( + string resourceGroupName, + string dataFactoryName, + string tableName, + string sliceStatus, + string updateType, + DateTime dataSliceRangeStartTime, + DateTime dataSliceRangeEndTime) + { + DataPipelineManagementClient.DataSlices.SetStatus( + resourceGroupName, + dataFactoryName, + tableName, + new DataSliceSetStatusParameters() + { + SliceStatus = sliceStatus, + UpdateType = updateType, + DataSliceRangeStartTime = dataSliceRangeStartTime.ConvertToISO8601DateTimeString(), + DataSliceRangeEndTime = dataSliceRangeEndTime.ConvertToISO8601DateTimeString(), + }); + } + + public virtual PSRunLogInfo GetDataSliceRunLogsSharedAccessSignature(string resourceGroupName, string dataFactoryName, string dataSliceRunId) + { + var response = DataPipelineManagementClient.DataSliceRuns.GetLogs( + resourceGroupName, dataFactoryName, dataSliceRunId); + + return new PSRunLogInfo(response.DataSliceRunLogsSASUri); + } + + public virtual void DownloadFileToBlob(BlobDownloadParameters parameters) + { + if (parameters == null || parameters.Credentials == null || string.IsNullOrWhiteSpace(parameters.SasUri.ToString())) + { + throw new ArgumentNullException(Resources.DownloadCredentialsNull); + } + + CloudBlobContainer sascontainer = new CloudBlobContainer(parameters.SasUri); + + var bloblist = sascontainer.ListBlobs(null, true); + string downloadFolderPath = parameters.Directory.Insert(parameters.Directory.Length, @"\"); + + foreach (var blob in bloblist) + { + ICloudBlob destBlob = blob as ICloudBlob; + int length = destBlob.Name.Split('/').Length; + string blobFileName = destBlob.Name.Split('/')[length-1]; + // the folder structure of run logs changed from flat listing to nesting under time directory + string blobFolderPath = String.Empty; + if (destBlob.Name.Length > blobFileName.Length) + { + blobFolderPath = destBlob.Name.Substring(0, destBlob.Name.Length - blobFileName.Length - 1); + } + + if (!Directory.Exists(downloadFolderPath + blobFolderPath)) + { + Directory.CreateDirectory(downloadFolderPath + blobFolderPath); + } + // adding _log suffix to differentiate between files and folders of the same name. Azure blob storage only knows about blob files. We could use nested folder structure + // as part of the blob file name and thus it is possible to have a file and folder of the same name in the same location which is not acceptable for Windows file system + destBlob.DownloadToFile(downloadFolderPath + destBlob.Name + "_log", FileMode.Create); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs new file mode 100644 index 000000000000..c65246e39594 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Security; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.DataTransfer.Gateway.Encryption; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual string CloudEncryptString(SecureString value, string resourceGroupName, string dataFactoryName) + { + if (value == null) + { + throw new ArgumentNullException("value"); + } + + return Extensions.Encrypt((DataPipelineManagementClient) DataPipelineManagementClient, value, + resourceGroupName, dataFactoryName); + } + + public virtual string OnPremisesEncryptString(SecureString value, string resourceGroupName, string dataFactoryName, string gatewayName) + { + if (value == null) + { + throw new ArgumentNullException("value"); + } + + var response = DataPipelineManagementClient.Gateways.RetrieveConnectionInfo(resourceGroupName, dataFactoryName, gatewayName); + var gatewayEncryptionInfos = new[] + { + new GatewayEncryptionInfo + { + ServiceToken = response.ConnectionInfo.ServiceToken, + IdentityCertThumbprint = response.ConnectionInfo.IdentityCertThumbprint, + HostServiceUri = response.ConnectionInfo.HostServiceUri + } + }; + + var gatewayEncryptionClient = new GatewayEncryptionClient(); + return gatewayEncryptionClient.Encrypt(value, gatewayEncryptionInfos); + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Gateway.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Gateway.cs new file mode 100644 index 000000000000..4482a08fc165 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Gateway.cs @@ -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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.Azure.Management.DataFactories; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual PSDataFactoryGateway CreateOrUpdateGateway(string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway) + { + if (gateway == null) + { + throw new ArgumentNullException("gateway"); + } + + var response = DataPipelineManagementClient.Gateways.CreateOrUpdate( + resourceGroupName, dataFactoryName, new GatewayCreateOrUpdateParameters { Gateway = gateway.ToGatewayDefinition() }); + + return new PSDataFactoryGateway(response.Gateway); + } + + public virtual PSDataFactoryGateway PatchGateway(string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway) + { + if (gateway == null) + { + throw new ArgumentNullException("gateway"); + } + + var response = DataPipelineManagementClient.Gateways.Update( + resourceGroupName, dataFactoryName, new GatewayCreateOrUpdateParameters { Gateway = gateway.ToGatewayDefinition() }); + + return new PSDataFactoryGateway(response.Gateway); + } + + public virtual List ListGateways(string resourceGroupName, string dataFactoryName) + { + var response = DataPipelineManagementClient.Gateways.List(resourceGroupName, dataFactoryName); + + return response.Gateways.Select(gateway => new PSDataFactoryGateway(gateway)).ToList(); + } + + public virtual PSDataFactoryGateway GetGateway(string resourceGroupName, string dataFactoryName, string gatewayName) + { + var response = DataPipelineManagementClient.Gateways.Get(resourceGroupName, dataFactoryName, gatewayName); + + return new PSDataFactoryGateway(response.Gateway); + } + + public virtual void DeleteGateway(string resourceGroupName, string dataFactoryName, string gatewayName) + { + DataPipelineManagementClient.Gateways.Delete(resourceGroupName, dataFactoryName, gatewayName); + } + + public virtual PSDataFactoryGatewayKey RegenerateGatewayKey(string resourceGroupName, string dataFactoryName, string gatewayName) + { + var response = DataPipelineManagementClient.Gateways.RegenerateKey(resourceGroupName, dataFactoryName, gatewayName); + + return new PSDataFactoryGatewayKey(response.Key); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs new file mode 100644 index 000000000000..694928f6fc69 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs @@ -0,0 +1,187 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual Hub CreateOrUpdateHub( + string resourceGroupName, + string dataFactoryName, + string hubName, + string rawJsonContent) + { + if (string.IsNullOrWhiteSpace(rawJsonContent)) + { + throw new ArgumentNullException("rawJsonContent"); + } + + // If create or update failed, the current behavior is to throw + var response = DataPipelineManagementClient.Hubs.CreateOrUpdateWithRawJsonContent( + resourceGroupName, + dataFactoryName, + hubName, + new HubCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent }); + + return response.Hub; + } + + public virtual PSHub CreatePSHub(CreatePSHubParameters parameters) + { + if (parameters == null) + { + throw new ArgumentNullException("parameters"); + } + + PSHub hub = null; + Action createHub = () => + { + hub = + new PSHub( + this.CreateOrUpdateHub( + parameters.ResourceGroupName, + parameters.DataFactoryName, + parameters.Name, + parameters.RawJsonContent)) + {DataFactoryName = parameters.DataFactoryName, ResourceGroupName = parameters.ResourceGroupName}; + }; + + if (parameters.Force) + { + createHub(); + } + else + { + bool hubExists = this.CheckHubExists( + parameters.ResourceGroupName, + parameters.DataFactoryName, + parameters.Name); + + parameters.ConfirmAction( + !hubExists, + string.Format( + CultureInfo.InvariantCulture, + Resources.HubExists, + parameters.Name, + parameters.DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.HubCreating, + parameters.Name, + parameters.DataFactoryName), + parameters.Name, + createHub); + } + + return hub; + } + + public virtual PSHub GetHub(string resourceGroupName, string dataFactoryName, string hubName) + { + var response = DataPipelineManagementClient.Hubs.Get(resourceGroupName, dataFactoryName, hubName); + + return new PSHub(response.Hub) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }; + } + + public virtual List ListHubs(string resourceGroupName, string dataFactoryName) + { + List hubs = new List(); + + var response = DataPipelineManagementClient.Hubs.List(resourceGroupName, dataFactoryName); + + if (response != null && response.Hubs != null) + { + foreach (var hub in response.Hubs) + { + hubs.Add(new PSHub(hub) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }); + } + } + + return hubs; + } + + public virtual HttpStatusCode DeleteHub(string resourceGroupName, string dataFactoryName, string hubName) + { + OperationResponse response = DataPipelineManagementClient.Hubs.Delete( + resourceGroupName, + dataFactoryName, + hubName); + + return response.StatusCode; + } + + public virtual List FilterPSHubs(HubFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + List hubs = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + hubs.Add(GetHub(filterOptions.ResourceGroupName, filterOptions.DataFactoryName, filterOptions.Name)); + } + else + { + hubs.AddRange(ListHubs(filterOptions.ResourceGroupName, filterOptions.DataFactoryName)); + } + + return hubs; + } + + private bool CheckHubExists(string resourceGroupName, string dataFactoryName, string hubName) + { + try + { + PSHub hub = this.GetHub(resourceGroupName, dataFactoryName, hubName); + + return true; + } + catch (CloudException e) + { + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + + throw; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs new file mode 100644 index 000000000000..45968e85ebcc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs @@ -0,0 +1,191 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual LinkedService CreateOrUpdateLinkedService(string resourceGroupName, string dataFactoryName, + string linkedServiceName, string rawJsonContent) + { + if (string.IsNullOrWhiteSpace(rawJsonContent)) + { + throw new ArgumentNullException("rawJsonContent"); + } + + // If create or update failed, the current behavior is to throw + var response = + DataPipelineManagementClient.LinkedServices.CreateOrUpdateWithRawJsonContent( + resourceGroupName, + dataFactoryName, + linkedServiceName, + new LinkedServiceCreateOrUpdateWithRawJsonContentParameters() {Content = rawJsonContent}); + + return response.LinkedService; + } + + public virtual PSLinkedService GetLinkedService(string resourceGroupName, string dataFactoryName, + string linkedServiceName) + { + var response = DataPipelineManagementClient.LinkedServices.Get(resourceGroupName, dataFactoryName, + linkedServiceName); + return new PSLinkedService(response.LinkedService) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }; + } + + public virtual List ListLinkedServices(string resourceGroupName, string dataFactoryName) + { + List linkedServices = new List(); + + var response = DataPipelineManagementClient.LinkedServices.List(resourceGroupName, dataFactoryName); + + if (response != null && response.LinkedServices != null) + { + foreach (var linkedService in response.LinkedServices) + { + linkedServices.Add( + new PSLinkedService(linkedService) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }); + } + } + + return linkedServices; + } + + public virtual HttpStatusCode DeleteLinkedService(string resourceGroupName, string dataFactoryName, string linkedServiceName) + { + OperationResponse response = DataPipelineManagementClient.LinkedServices.Delete(resourceGroupName, + dataFactoryName, linkedServiceName); + + return response.StatusCode; + } + + public virtual List FilterPSLinkedServices(LinkedServiceFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + List linkedServices = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + linkedServices.Add(GetLinkedService(filterOptions.ResourceGroupName, filterOptions.DataFactoryName, + filterOptions.Name)); + } + else + { + linkedServices.AddRange(ListLinkedServices(filterOptions.ResourceGroupName, + filterOptions.DataFactoryName)); + } + + return linkedServices; + } + + public virtual PSLinkedService CreatePSLinkedService(CreatePSLinkedServiceParameters parameters) + { + if (parameters == null) + { + throw new ArgumentNullException("parameters"); + } + + PSLinkedService linkedService = null; + Action createLinkedService = () => + { + linkedService = + new PSLinkedService(CreateOrUpdateLinkedService(parameters.ResourceGroupName, + parameters.DataFactoryName, + parameters.Name, + parameters.RawJsonContent)) + { + ResourceGroupName = parameters.ResourceGroupName, + DataFactoryName = parameters.DataFactoryName + }; + }; + + if (parameters.Force) + { + // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not. + createLinkedService(); + } + else + { + bool linkedServiceExists = CheckLinkedServiceExists(parameters.ResourceGroupName, + parameters.DataFactoryName, parameters.Name); + + parameters.ConfirmAction( + !linkedServiceExists, // prompt only if the linked service exists + string.Format( + CultureInfo.InvariantCulture, + Resources.LinkedServiceExists, + parameters.Name, + parameters.DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.LinkedServiceCreating, + parameters.Name, + parameters.DataFactoryName), + parameters.Name, + createLinkedService); + } + + return linkedService; + } + + private bool CheckLinkedServiceExists(string resourceGroupName, string dataFactoryName, string linkedServiceName) + { + // ToDo: implement HEAD to check if the linked service exists + try + { + PSLinkedService linkedService = GetLinkedService(resourceGroupName, dataFactoryName, linkedServiceName); + + return true; + } + catch (CloudException e) + { + //Get throws Exception message with NotFound Status + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + else + { + throw; + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs new file mode 100644 index 000000000000..4c5ff5151614 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs @@ -0,0 +1,253 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual Pipeline CreateOrUpdatePipeline(string resourceGroupName, string dataFactoryName, + string pipelineName, string rawJsonContent) + { + if (string.IsNullOrWhiteSpace(rawJsonContent)) + { + throw new ArgumentNullException("rawJsonContent"); + } + + // If create failed, the current behavior is to throw + var response = + DataPipelineManagementClient.Pipelines.CreateOrUpdateWithRawJsonContent( + resourceGroupName, + dataFactoryName, + pipelineName, + new PipelineCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent }); + + return response.Pipeline; + } + + public virtual HttpStatusCode DeletePipeline(string resourceGroupName, string dataFactoryName, string pipelineName) + { + OperationResponse response = DataPipelineManagementClient.Pipelines.Delete( + resourceGroupName, dataFactoryName, pipelineName); + + return response.StatusCode; + } + + public virtual PSPipeline GetPipeline(string resourceGroupName, string dataFactoryName, string pipelineName) + { + var response = DataPipelineManagementClient.Pipelines.Get( + resourceGroupName, dataFactoryName, pipelineName); + + return new PSPipeline(response.Pipeline) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }; + } + + public virtual List GetPipelineRuns(string resourceGroupName, string dataFactoryName, string pipelineName, + string activityName, DateTime runRangeStartTime, DateTime? runRangeEndTime, string runRecordStatus = null) + { + var pipelineRuns = new List(); + + var response = DataPipelineManagementClient.PipelineRuns.List(resourceGroupName, dataFactoryName, pipelineName, + new PipelineRunListParameters() + { + ActivityName = activityName, + RunRangeStartTime = runRangeStartTime.ConvertToISO8601DateTimeString(), + RunRangeEndTime = runRangeEndTime != null ? runRangeEndTime.Value.ConvertToISO8601DateTimeString() : null, + RunRecordStatus = runRecordStatus + }); + + if (response != null && response.PipelineRuns != null) + { + foreach (var run in response.PipelineRuns) + { + pipelineRuns.Add( + new PSDataSliceRun(run) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }); + } + } + + return pipelineRuns; + } + + public virtual List ListPipelines(string resourceGroupName, string dataFactoryName) + { + List pipelines = new List(); + + var response = DataPipelineManagementClient.Pipelines.List(resourceGroupName, dataFactoryName); + + if (response != null && response.Pipelines != null) + { + foreach (var pipeline in response.Pipelines) + { + pipelines.Add( + new PSPipeline(pipeline) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }); + } + } + + return pipelines; + } + + public virtual void SetPipelineActivePeriod( + string resourceGroupName, + string dataFactoryName, + string pipelineName, + DateTime startTime, + DateTime endTime, + bool autoResolve, + bool forceRecalc) + { + DataPipelineManagementClient.Pipelines.SetActivePeriod( + resourceGroupName, + dataFactoryName, + pipelineName, + new PipelineSetActivePeriodParameters() + { + ActivePeriodStartTime = startTime.ConvertToISO8601DateTimeString(), + ActivePeriodEndTime = endTime.ConvertToISO8601DateTimeString(), + AutoResolve = autoResolve, + ForceRecalc = forceRecalc + }); + } + + public virtual void SuspendPipeline(string resourceGroupName, string dataFactoryName, string pipelineName) + { + DataPipelineManagementClient.Pipelines.Suspend(resourceGroupName, dataFactoryName, pipelineName); + } + + public virtual void ResumePipeline(string resourceGroupName, string dataFactoryName, string pipelineName) + { + DataPipelineManagementClient.Pipelines.Resume(resourceGroupName, dataFactoryName, pipelineName); + } + + public virtual List FilterPSPipelines(PipelineFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + List Pipelines = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + Pipelines.Add(GetPipeline(filterOptions.ResourceGroupName, filterOptions.DataFactoryName, + filterOptions.Name)); + } + else + { + Pipelines.AddRange(ListPipelines(filterOptions.ResourceGroupName, + filterOptions.DataFactoryName)); + } + + return Pipelines; + } + + public virtual PSPipeline CreatePSPipeline(CreatePSPipelineParameters parameters) + { + if (parameters == null) + { + throw new ArgumentNullException("parameters"); + } + + PSPipeline pipeline = null; + Action createPipeline = () => + { + pipeline = + new PSPipeline(CreateOrUpdatePipeline(parameters.ResourceGroupName, + parameters.DataFactoryName, + parameters.Name, + parameters.RawJsonContent)) + { + ResourceGroupName = parameters.ResourceGroupName, + DataFactoryName = parameters.DataFactoryName + }; + }; + + if (parameters.Force) + { + // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not. + createPipeline(); + } + else + { + bool pipelineExists = CheckPipelineExists(parameters.ResourceGroupName, + parameters.DataFactoryName, parameters.Name); + + parameters.ConfirmAction( + !pipelineExists, // prompt only if the linked service exists + string.Format( + CultureInfo.InvariantCulture, + Resources.PipelineExists, + parameters.Name, + parameters.DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.PipelineCreating, + parameters.Name, + parameters.DataFactoryName), + parameters.Name, + createPipeline); + } + + return pipeline; + } + + private bool CheckPipelineExists(string resourceGroupName, string dataFactoryName, string pipelineName) + { + // ToDo: implement HEAD to check if the pipeline exists + try + { + PSPipeline pipeline = GetPipeline(resourceGroupName, dataFactoryName, pipelineName); + + return true; + } + catch (CloudException e) + { + //Get throws Exception message with NotFound Status + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + else + { + throw; + } + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs new file mode 100644 index 000000000000..f200a43d725c --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs @@ -0,0 +1,186 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Globalization; +using System.Net; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.Azure.Management.DataFactories.Models; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public virtual Table CreateOrUpdateTable(string resourceGroupName, string dataFactoryName, string tableName, string rawJsonContent) + { + if (string.IsNullOrWhiteSpace(rawJsonContent)) + { + throw new ArgumentNullException("rawJsonContent"); + } + + // If create or update failed, the current behavior is to throw + var response = DataPipelineManagementClient.Tables.CreateOrUpdateWithRawJsonContent( + resourceGroupName, + dataFactoryName, + tableName, + new TableCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent }); + + return response.Table; + } + + public virtual PSTable GetTable(string resourceGroupName, string dataFactoryName, string tableName) + { + var response = DataPipelineManagementClient.Tables.Get( + resourceGroupName, dataFactoryName, tableName); + + return new PSTable(response.Table) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }; + } + + public virtual List ListTables(string resourceGroupName, string dataFactoryName) + { + List tables = new List(); + + var response = DataPipelineManagementClient.Tables.List(resourceGroupName, dataFactoryName); + + if (response != null && response.Tables != null) + { + foreach (var table in response.Tables) + { + tables.Add( + new PSTable(table) + { + ResourceGroupName = resourceGroupName, + DataFactoryName = dataFactoryName + }); + } + } + + return tables; + } + + public virtual HttpStatusCode DeleteTable(string resourceGroupName, string dataFactoryName, string tableName) + { + OperationResponse response = DataPipelineManagementClient.Tables.Delete(resourceGroupName, dataFactoryName, tableName); + return response.StatusCode; + } + + public virtual List FilterPSTables(TableFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + List tables = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + tables.Add(GetTable(filterOptions.ResourceGroupName, filterOptions.DataFactoryName, filterOptions.Name)); + } + else + { + tables.AddRange(ListTables(filterOptions.ResourceGroupName, filterOptions.DataFactoryName)); + } + + return tables; + } + + public virtual PSTable CreatePSTable(CreatePSTableParameters parameters) + { + if (parameters == null) + { + throw new ArgumentNullException("parameters"); + } + + PSTable table = null; + Action createTable = () => + { + table = + new PSTable(CreateOrUpdateTable( + parameters.ResourceGroupName, + parameters.DataFactoryName, + parameters.Name, + parameters.RawJsonContent)) + { + ResourceGroupName = parameters.ResourceGroupName, + DataFactoryName = parameters.DataFactoryName + }; + }; + + if (parameters.Force) + { + // If user decides to overwrite anyway, then there is no need to check if the table exists or not. + createTable(); + } + else + { + bool tableExists = CheckTableExists(parameters.ResourceGroupName, parameters.DataFactoryName, + parameters.Name); + + parameters.ConfirmAction( + !tableExists, // prompt only if the table exists + string.Format( + CultureInfo.InvariantCulture, + Resources.TableExists, + parameters.Name, + parameters.DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.TableCreating, + parameters.Name, + parameters.DataFactoryName), + parameters.Name, + createTable); + } + + return table; + } + + private bool CheckTableExists(string resourceGroupName, string dataFactoryName, string tableName) + { + // ToDo: implement HEAD to check if the table exists + try + { + PSTable table = GetTable(resourceGroupName, dataFactoryName, tableName); + + return true; + } + catch (CloudException e) + { + //Get throws Exception message with NotFound Status + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + else + { + throw; + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs new file mode 100644 index 000000000000..e872b5984e22 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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.IO; +using Microsoft.Azure.Management.DataFactories; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using Microsoft.WindowsAzure.Storage.Blob; +using Microsoft.WindowsAzure.Storage; +using System.Net; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public partial class DataFactoryClient + { + public IDataPipelineManagementClient DataPipelineManagementClient { get; private set; } + + public DataFactoryClient(AzureContext context) + { + DataPipelineManagementClient = AzureSession.ClientFactory.CreateClient( + context, AzureEnvironment.Endpoint.ResourceManager); + } + + /// + /// Parameterless constructor for Mocking. + /// + public DataFactoryClient() + { + } + + public virtual string ReadJsonFileContent(string path) + { + if (!File.Exists(path)) + { + throw new FileNotFoundException(path); + } + + using (TextReader reader = new StreamReader(path)) + { + return reader.ReadToEnd(); + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClientExtensions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClientExtensions.cs new file mode 100644 index 000000000000..9ef2212a475d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClientExtensions.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 Microsoft.Azure.Management.DataFactories.Models; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.DataFactories +{ + internal static class DataFactoryClientExtensions + { + public static string ToFormattedString(this LinkedServiceProperties properties) + { + return JsonConvert.SerializeObject(properties); + } + + public static string ToFormattedString(T objectToSerialize) + { + return JsonConvert.SerializeObject(objectToSerialize); + } + } +} diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProjectConfiguration.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryFilterOptions.cs similarity index 75% rename from src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProjectConfiguration.cs rename to src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryFilterOptions.cs index accb968ac132..690beb58b719 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProjectConfiguration.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryFilterOptions.cs @@ -12,12 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.WindowsAzure.Commands.Utilities.Common +namespace Microsoft.Azure.Commands.DataFactories { - public class CloudServiceProjectConfiguration + public class DataFactoryFilterOptions { - public string subscription { get; set; } - public string subscriptionName { get; set; } - public string endpoint { get; set; } + public string Name { get; set; } + + public string ResourceGroupName { get; set; } } } diff --git a/src/Common/Commands.Common/Models/ClientTraceEventArgs.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryParametersBase.cs similarity index 78% rename from src/Common/Commands.Common/Models/ClientTraceEventArgs.cs rename to src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryParametersBase.cs index b665b3d8f568..cb4afa631c83 100644 --- a/src/Common/Commands.Common/Models/ClientTraceEventArgs.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryParametersBase.cs @@ -12,14 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -namespace Microsoft.WindowsAzure.Commands.Common.Models +namespace Microsoft.Azure.Commands.DataFactories { - public class ClientTraceEventArgs : EventArgs + public class DataFactoryParametersBase { - public string Message { get; set; } + public string ResourceGroupName { get; set; } - public string ClientName { get; set; } + public string DataFactoryName { get; set; } } } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/HubFilterOptions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/HubFilterOptions.cs new file mode 100644 index 000000000000..f115f8145fce --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/HubFilterOptions.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.DataFactories +{ + public class HubFilterOptions + { + public string Name { get; set; } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/LinkedServiceFilterOptions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/LinkedServiceFilterOptions.cs new file mode 100644 index 000000000000..20668c8697cf --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/LinkedServiceFilterOptions.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.DataFactories +{ + public class LinkedServiceFilterOptions + { + public string Name { get; set; } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactory.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactory.cs new file mode 100644 index 000000000000..90c650a34ece --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactory.cs @@ -0,0 +1,90 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSDataFactory + { + private DataFactory dataFactory; + + public PSDataFactory() + { + dataFactory = new DataFactory(); + } + + public PSDataFactory(DataFactory dataFactory) + { + if (dataFactory == null) + { + throw new ArgumentNullException("dataFactory"); + } + + this.dataFactory = dataFactory; + } + + public string DataFactoryName + { + get + { + return dataFactory.Name; + } + set + { + dataFactory.Name = value; + } + } + + public string ResourceGroupName { get; set; } + + public string Location + { + get + { + return dataFactory.Location; + } + set + { + dataFactory.Location = value; + } + } + + public IDictionary Tags + { + get + { + return dataFactory.Tags; + } + set + { + dataFactory.Tags = value; + } + } + + public DataFactoryProperties Properties + { + get + { + return dataFactory.Properties; + } + set + { + dataFactory.Properties = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGateway.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGateway.cs new file mode 100644 index 000000000000..4cf5c8b1bb8d --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGateway.cs @@ -0,0 +1,110 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSDataFactoryGateway + { + private readonly Gateway _gateway; + + public PSDataFactoryGateway() + { + _gateway = new Gateway { Properties = new GatewayProperties() }; + } + + public PSDataFactoryGateway(Gateway gateway) + { + if (gateway == null) + { + throw new ArgumentNullException("gateway"); + } + + _gateway = gateway; + } + + public string Name + { + get { return _gateway.Name; } + set { _gateway.Name = value; } + } + + public string Location + { + get { return _gateway.Location; } + set { _gateway.Location = value; } + } + + public string Description + { + get { return _gateway.Properties.Description; } + set { _gateway.Properties.Description = value; } + } + + public string Version + { + get { return _gateway.Properties.Version; } + internal set { _gateway.Properties.Version = value; } + } + + public string Status + { + get { return _gateway.Properties.Status; } + internal set { _gateway.Properties.Status = value; } + } + + public string VersionStatus + { + get { return _gateway.Properties.VersionStatus; } + internal set { _gateway.Properties.VersionStatus = value; } + } + + public DateTime? CreateTime + { + get { return _gateway.Properties.CreateTime; } + internal set { _gateway.Properties.CreateTime = value; } + } + + public DateTime? RegisterTime + { + get { return _gateway.Properties.RegisterTime; } + internal set { _gateway.Properties.RegisterTime = value; } + } + + public DateTime? LastConnectTime + { + get { return _gateway.Properties.LastConnectTime; } + internal set { _gateway.Properties.LastConnectTime = value; } + } + + public DateTime? ExpiryTime + { + get { return _gateway.Properties.ExpiryTime; } + internal set { _gateway.Properties.ExpiryTime = value; } + } + + internal string Key + { + get { return _gateway.Properties.Key; } + set { _gateway.Properties.Key = value; } + } + + public Gateway ToGatewayDefinition() + { + return _gateway; + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGatewayKey.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGatewayKey.cs new file mode 100644 index 000000000000..3a2a7ac8614f --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataFactoryGatewayKey.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSDataFactoryGatewayKey + { + private string _gatewayKey; + + public PSDataFactoryGatewayKey(string key) + { + _gatewayKey = key; + } + + public string GatewayKey + { + get { return _gatewayKey; } + set { _gatewayKey = value; } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSlice.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSlice.cs new file mode 100644 index 000000000000..2a9fc460ce77 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSlice.cs @@ -0,0 +1,120 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + /// + /// A PowerShell wrapper class on top of the DataSlice type. + /// + public class PSDataSlice + { + private DataSlice dataSlice; + + public PSDataSlice() + { + dataSlice = new DataSlice(); + } + + public PSDataSlice(DataSlice dataSlice) + { + if (dataSlice == null) + { + throw new ArgumentNullException("dataSlice"); + } + + this.dataSlice = dataSlice; + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public string TableName { get; set; } + + public DateTime Start + { + get + { + return dataSlice.Start; + } + internal set + { + dataSlice.Start = value; + } + } + + public DateTime End + { + get + { + return dataSlice.End; + } + internal set + { + dataSlice.End = value; + } + } + + public int RetryCount + { + get + { + return dataSlice.RetryCount; + } + internal set + { + dataSlice.RetryCount = value; + } + } + + public string Status + { + get + { + return dataSlice.Status; + } + internal set + { + dataSlice.Status = value; + } + } + + public string LatencyStatus + { + get + { + return dataSlice.LatencyStatus; + } + internal set + { + dataSlice.LatencyStatus = value; + } + } + + public int LongRetryCount + { + get + { + return dataSlice.LongRetryCount; + } + internal set + { + dataSlice.LongRetryCount = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSliceRun.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSliceRun.cs new file mode 100644 index 000000000000..6d028e586976 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSDataSliceRun.cs @@ -0,0 +1,217 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + /// + /// A PowerShell wrapper class on top of the DataSlice type. + /// + public class PSDataSliceRun + { + private DataSliceRun dataSliceRun; + + public PSDataSliceRun() + { + dataSliceRun = new DataSliceRun(); + } + + public PSDataSliceRun(DataSliceRun dataSliceRun) + { + if (dataSliceRun == null) + { + throw new ArgumentNullException("dataSliceRun"); + } + + this.dataSliceRun = dataSliceRun; + } + + public string Id + { + get + { + return dataSliceRun.Id; + } + internal set + { + dataSliceRun.Id = value; + } + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public string TableName { get; set; } + + public DateTime ProcessingStartTime + { + get + { + return dataSliceRun.ProcessingStartTime; + } + internal set + { + dataSliceRun.ProcessingStartTime = value; + } + } + + public DateTime ProcessingEndTime + { + get + { + return dataSliceRun.ProcessingEndTime; + } + internal set + { + dataSliceRun.ProcessingEndTime = value; + } + } + + public int PercentComplete + { + get + { + return dataSliceRun.PercentComplete; + } + internal set + { + dataSliceRun.PercentComplete = value; + } + } + + public DateTime DataSliceStart + { + get + { + return dataSliceRun.DataSliceStart; + } + internal set + { + dataSliceRun.DataSliceStart = value; + } + } + + public DateTime DataSliceEnd + { + get + { + return dataSliceRun.DataSliceEnd; + } + internal set + { + dataSliceRun.DataSliceEnd = value; + } + } + + public string Status + { + get + { + return dataSliceRun.Status; + } + internal set + { + dataSliceRun.Status = value; + } + } + + public DateTime Timestamp + { + get + { + return dataSliceRun.Timestamp; + } + internal set + { + dataSliceRun.Timestamp = value; + } + } + + public int RetryAttempt + { + get + { + return dataSliceRun.RetryAttempt; + } + internal set + { + dataSliceRun.RetryAttempt = value; + } + } + + public IDictionary Properties + { + get + { + return dataSliceRun.Properties; + } + internal set + { + dataSliceRun.Properties = value; + } + } + + public string ErrorMessage + { + get + { + return dataSliceRun.ErrorMessage; + } + internal set + { + dataSliceRun.ErrorMessage = value; + } + } + + public string ActivityName + { + get + { + return dataSliceRun.ActivityName; + } + internal set + { + dataSliceRun.ActivityName = value; + } + } + + public string PipelineName + { + get + { + return dataSliceRun.PipelineName; + } + internal set + { + dataSliceRun.PipelineName = value; + } + } + + public string Type + { + get + { + return dataSliceRun.Type; + } + internal set + { + dataSliceRun.Type = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSHub.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSHub.cs new file mode 100644 index 000000000000..bba22e48fd25 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSHub.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSHub + { + private Hub _hub; + + public PSHub() + { + this._hub = new Hub(); + } + + public PSHub(Hub hub) + { + if (hub == null) + { + throw new ArgumentNullException("hub"); + } + + this._hub = hub; + } + + public string HubName + { + get + { + return this._hub.Name; + } + set + { + this._hub.Name = value; + } + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public HubBaseProperties Properties + { + get + { + return this._hub.Properties; + } + + set + { + this._hub.Properties = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSLinkedService.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSLinkedService.cs new file mode 100644 index 000000000000..ba64d4e294b4 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSLinkedService.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSLinkedService + { + private LinkedService linkedService; + + public PSLinkedService() + { + linkedService = new LinkedService(); + } + + public PSLinkedService(LinkedService linkedService) + { + if (linkedService == null) + { + throw new ArgumentNullException("linkedService"); + } + + this.linkedService = linkedService; + } + + public string LinkedServiceName + { + get + { + return linkedService.Name; + } + set + { + linkedService.Name = value; + } + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public LinkedServiceProperties Properties + { + get + { + return linkedService.Properties; + } + set + { + linkedService.Properties = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSPipeline.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSPipeline.cs new file mode 100644 index 000000000000..7a01b29f06aa --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSPipeline.cs @@ -0,0 +1,70 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + /// + /// A PowerShell wrapper class on top of the Pipeline type. + /// + public class PSPipeline + { + private Pipeline _pipeline; + + public PSPipeline() + { + this._pipeline = new Pipeline(); + } + + public PSPipeline(Pipeline pipeline) + { + if (pipeline == null) + { + throw new ArgumentNullException("pipeline"); + } + + this._pipeline = pipeline; + } + + public string PipelineName + { + get + { + return this._pipeline.Name; + } + set + { + this._pipeline.Name = value; + } + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public PipelineProperties Properties + { + get + { + return this._pipeline.Properties; + } + set + { + this._pipeline.Properties = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSRunLogInfo.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSRunLogInfo.cs new file mode 100644 index 000000000000..00356227a3a9 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSRunLogInfo.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + /// + /// A PowerShell wrapper class on top of the data slice run log SAS url + /// + public class PSRunLogInfo + { + private Uri _runLogUri; + + public PSRunLogInfo() + { + } + + public PSRunLogInfo(Uri runLogUri) + { + if (runLogUri == null) + { + throw new ArgumentNullException("runLogUri"); + } + + this._runLogUri = runLogUri; + } + + public string SasUri + { + get + { + return this._runLogUri.AbsoluteUri; + } + } + + public string StorageAccountName + { + get + { + return this._runLogUri.Host.Split('.').FirstOrDefault(); + } + } + + public string Container + { + get + { + return this._runLogUri.AbsolutePath.TrimStart('/'); + } + } + + public string SasToken + { + get + { + return this._runLogUri.Query; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSTable.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSTable.cs new file mode 100644 index 000000000000..90270ced2173 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PSTable.cs @@ -0,0 +1,133 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using Microsoft.Azure.Management.DataFactories.Models; + +namespace Microsoft.Azure.Commands.DataFactories.Models +{ + public class PSTable + { + private Table table; + + public PSTable() + { + table = new Table() {Properties = new TableProperties()}; + } + + public PSTable(Table table) + { + if (table == null) + { + throw new ArgumentNullException("table"); + } + + if (table.Properties == null) + { + table.Properties = new TableProperties(); + } + + this.table = table; + } + + public string TableName + { + get + { + return table.Name; + } + set + { + table.Name = value; + } + } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + + public Availability Availability + { + get + { + return table.Properties.Availability; + } + set + { + table.Properties.Availability = value; + } + } + + public TableLocation Location + { + get + { + return table.Properties.Location; + } + set + { + table.Properties.Location = value; + } + } + + public Policy Policy + { + get + { + return table.Properties.Policy; + } + set + { + table.Properties.Policy = value; + } + } + + public IList Structure + { + get + { + return table.Properties.Structure; + } + set + { + table.Properties.Structure = value; + } + } + + public bool? Published + { + get + { + return table.Properties.Published; + } + set + { + table.Properties.Published = value; + } + } + + public TableProperties Properties + { + get + { + return table.Properties; + } + set + { + table.Properties = value; + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PatchPSDataFactoryParameters.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PatchPSDataFactoryParameters.cs new file mode 100644 index 000000000000..fdd8f133ec81 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PatchPSDataFactoryParameters.cs @@ -0,0 +1,27 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public class PatchPSDataFactoryParameters : DataFactoryParametersBase + { + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PipelineFilterOptions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PipelineFilterOptions.cs new file mode 100644 index 000000000000..33d0553c4cc7 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/PipelineFilterOptions.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.DataFactories +{ + public class PipelineFilterOptions + { + public string Name { get; set; } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/TableFilterOptions.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/TableFilterOptions.cs new file mode 100644 index 000000000000..e8b1693564cc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/TableFilterOptions.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.DataFactories +{ + public class TableFilterOptions + { + public string Name { get; set; } + + public string ResourceGroupName { get; set; } + + public string DataFactoryName { get; set; } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/GetAzureDataFactoryPipelineCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/GetAzureDataFactoryPipelineCommand.cs new file mode 100644 index 000000000000..06a6154a0139 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/GetAzureDataFactoryPipelineCommand.cs @@ -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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using System.Collections; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.Pipeline), OutputType(typeof(List), typeof(PSPipeline))] + public class GetAzureDataFactoryPipelineCommand : DataFactoryBaseCmdlet + { + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The pipeline name.")] + public string Name { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + PipelineFilterOptions filterOptions = new PipelineFilterOptions() + { + Name = Name, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + + List pipelines = DataFactoryClient.FilterPSPipelines(filterOptions); + + if (pipelines != null) + { + if (pipelines.Count == 1 && Name != null) + { + WriteObject(pipelines[0]); + } + else + { + WriteObject(pipelines, true); + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/NewAzureDataFactoryPipelineCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/NewAzureDataFactoryPipelineCommand.cs new file mode 100644 index 000000000000..7a92e48788d0 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/NewAzureDataFactoryPipelineCommand.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.Pipeline), OutputType(typeof(PSPipeline))] + + public class NewAzureDataFactoryPipelineCommand : DataFactoryBaseCmdlet + { + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The pipeline name.")] + public string Name { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The pipeline JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + string rawJsonContent = DataFactoryClient.ReadJsonFileContent(this.TryResolvePath(File)); + + Name = ResolveResourceName(rawJsonContent, Name, "Pipeline"); + + CreatePSPipelineParameters parameters = new CreatePSPipelineParameters() + { + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Name = Name, + RawJsonContent = rawJsonContent, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(DataFactoryClient.CreatePSPipeline(parameters)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/PipelineContextBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/PipelineContextBaseCmdlet.cs new file mode 100644 index 000000000000..80d3e93fbd22 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/PipelineContextBaseCmdlet.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class PipelineContextBaseCmdlet : DataFactoryBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The pipeline name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/RemoveAzureDataFactoryPipelineCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/RemoveAzureDataFactoryPipelineCommand.cs new file mode 100644 index 000000000000..2b42d86231e3 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/RemoveAzureDataFactoryPipelineCommand.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.Pipeline)] + public class RemoveAzureDataFactoryPipelineCommand : PipelineContextBaseCmdlet + { + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.PipelineConfirmationMessage, + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.PipelineRemoving, + Name, + DataFactoryName), + Name, + ExecuteDelete); + + WriteObject(true); + + } + + private void ExecuteDelete() + { + HttpStatusCode respone = DataFactoryClient.DeletePipeline(ResourceGroupName, DataFactoryName, Name); + if (respone == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.PipelineNotFound, Name, DataFactoryName)); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/ResumeAzureDataFactoryPipelineCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/ResumeAzureDataFactoryPipelineCommand.cs new file mode 100644 index 000000000000..5367af9e90f9 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/ResumeAzureDataFactoryPipelineCommand.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsLifecycle.Resume, Constants.Pipeline), OutputType(typeof(bool))] + public class ResumeAzureDataFactoryPipelineCommand : PipelineContextBaseCmdlet + { + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + "Are you sure you want to resume pipeline '{0}' in data factory '{1}'?", + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + "Resuming pipeline '{0}' in data factory '{1}'.", + Name, + DataFactoryName), + Name, + () => DataFactoryClient.ResumePipeline(ResourceGroupName, DataFactoryName, Name)); + + WriteObject(true); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SetAzureDataFactoryPipelineActivePeriodCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SetAzureDataFactoryPipelineActivePeriodCommand.cs new file mode 100644 index 000000000000..4e7b2e6a5679 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SetAzureDataFactoryPipelineActivePeriodCommand.cs @@ -0,0 +1,111 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Set, Constants.PipelineActivePeriod), OutputType(typeof(bool))] + public class SetAzureDataFactoryPipelineActivePeriodCommand : DataFactoryBaseCmdlet + { + private DateTime _endDateTime; + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The pipeline name.")] + [ValidateNotNullOrEmpty] + public string PipelineName { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The pipeline active period start time.")] + public DateTime StartDateTime { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = "The pipeline active period end time.")] + public DateTime EndDateTime + { + get + { + return _endDateTime == default(DateTime) + ? StartDateTime + Constants.DefaultSliceActivePeriodDuration + : _endDateTime; + } + set + { + _endDateTime = value; + } + } + + [Parameter(Mandatory = false, HelpMessage = "Auto resolve active periods of conflicting pipelines.")] + public SwitchParameter AutoResolve { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Mark all data slices in the period as PendingExecution to force re-calculation.")] + public SwitchParameter ForceRecalculate { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + DateTime startTime = StartDateTime; + DateTime endTime = EndDateTime; + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + "Are you sure you want to set pipeline '{0}' active period from '{1}' to '{2}'?", + PipelineName, + startTime, + endTime), + string.Format( + CultureInfo.InvariantCulture, + "Set pipeline '{0}' active period from '{1}' to '{2}'", + PipelineName, + startTime, + endTime), + PipelineName, + () => + DataFactoryClient.SetPipelineActivePeriod( + ResourceGroupName, DataFactoryName, PipelineName, startTime, endTime, AutoResolve.ToBool(), ForceRecalculate.ToBool())); + + WriteObject(true); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SuspendAzureDataFactoryPipelineCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SuspendAzureDataFactoryPipelineCommand.cs new file mode 100644 index 000000000000..c9e06f3b3bcc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Pipelines/SuspendAzureDataFactoryPipelineCommand.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Properties; +using System; +using System.Collections; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsLifecycle.Suspend, Constants.Pipeline), OutputType(typeof(bool))] + public class SuspendAzureDataFactoryPipelineCommand : PipelineContextBaseCmdlet + { + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + "Are you sure you want to suspend pipeline '{0}' in data factory '{1}'?", + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + "Suspending pipeline '{0}' in data factory '{1}'.", + Name, + DataFactoryName), + Name, + () => DataFactoryClient.SuspendPipeline(ResourceGroupName, DataFactoryName, Name)); + + WriteObject(true); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/AssemblyInfo.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..f55e74eac4e2 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/AssemblyInfo.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - DataFactory Manager")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("5d024af0-81c9-44f0-b3b0-7080f103fb4d")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.DataFactories.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.DataFactories.Test")] +#endif \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..b52f1d8941b4 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs @@ -0,0 +1,418 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.DataFactories.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.DataFactories.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to The data factory object provided is invalid. Use Get-AzureDataFactory to retrieve a specific data factory object, or use New-AzureDataFactory to create a new data factory object.. + /// + internal static string DataFactoryArgumentInvalid { + get { + return ResourceManager.GetString("DataFactoryArgumentInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove data factory '{0}' in resource group '{1}'?. + /// + internal static string DataFactoryConfirmationMessage { + get { + return ResourceManager.GetString("DataFactoryConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating data factory '{0}' in resource group '{1}'.. + /// + internal static string DataFactoryCreating { + get { + return ResourceManager.GetString("DataFactoryCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A data factory with the name {0} in the resource group {1} exists. + ///Continuing execution may overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string DataFactoryExists { + get { + return ResourceManager.GetString("DataFactoryExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the gateway '{0}' in the data factory '{1}'?. + /// + internal static string DataFactoryGatewayConfirmationMessage { + get { + return ResourceManager.GetString("DataFactoryGatewayConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A gateway with the name {0} already exsits in the data factory {1}.. + /// + internal static string DataFactoryGatewayExists { + get { + return ResourceManager.GetString("DataFactoryGatewayExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing the gateway '{0}' in the data factory '{1}'.. + /// + internal static string DataFactoryGatewayRemoving { + get { + return ResourceManager.GetString("DataFactoryGatewayRemoving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data factory '{0}' does not exist in the resource group '{1}'.. + /// + internal static string DataFactoryNotFound { + get { + return ResourceManager.GetString("DataFactoryNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing data factory '{0}' in resource group '{1}'.. + /// + internal static string DataFactoryRemoving { + get { + return ResourceManager.GetString("DataFactoryRemoving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The argument set for download method is incomplete.. + /// + internal static string DownloadCredentialsNull { + get { + return ResourceManager.GetString("DownloadCredentialsNull", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Download failed. Please check if you have write permission to the path {0} or the sas url is valid. . + /// + internal static string DownloadFailed { + get { + return ResourceManager.GetString("DownloadFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Download of the log is completed. Please find it in the directory {0}.. + /// + internal static string DownloadLogCompleted { + get { + return ResourceManager.GetString("DownloadLogCompleted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} name provided using -Name switch: '{1}' in cmdlet doesn't match with {0} name: '{2}' in JSON file. {0} will be created with name: '{1}'. + /// + internal static string ExtractedNameFromJsonMismatchWarning { + get { + return ResourceManager.GetString("ExtractedNameFromJsonMismatchWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTP Status Code: {0} + ///Error Code: {1} + ///Error Message: {2} + ///Request Id: {3} + ///Timestamp (Utc):{4}. + /// + internal static string FormattedCloudExceptionMessageTemplate { + get { + return ResourceManager.GetString("FormattedCloudExceptionMessageTemplate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to parse input JSON file. {0}. Please correct the error in the JSON file and re-deploy {1} again.. + /// + internal static string InvalidJson { + get { + return ResourceManager.GetString("InvalidJson", resourceCulture); + } + } + + /// Looks up a localized string similar to Are you sure you want to remove hub '{0}' in data factory '{1}'?. + /// + internal static string HubConfirmationMessage { + get { + return ResourceManager.GetString("HubConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating hub '{0}' in data factory '{1}'.. + /// + internal static string HubCreating { + get { + return ResourceManager.GetString("HubCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A hub with the name {0} in the data factory {1} exists. + ///Continuing execution may overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string HubExists { + get { + return ResourceManager.GetString("HubExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hub '{0}' does not exist in the data factory '{1}'.. + /// + internal static string HubNotFound { + get { + return ResourceManager.GetString("HubNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing hub '{0}' in data factory '{1}'.. + /// + internal static string HubRemoving { + get { + return ResourceManager.GetString("HubRemoving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove linked service '{0}' in data factory '{1}'?. + /// + internal static string LinkedServiceConfirmationMessage { + get { + return ResourceManager.GetString("LinkedServiceConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating linked service '{0}' in data factory '{1}'.. + /// + internal static string LinkedServiceCreating { + get { + return ResourceManager.GetString("LinkedServiceCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A linked service with the name {0} in the data factory {1} exists. + ///Continuing execution may overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string LinkedServiceExists { + get { + return ResourceManager.GetString("LinkedServiceExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Linked service '{0}' does not exist in the data factory '{1}'.. + /// + internal static string LinkedServiceNotFound { + get { + return ResourceManager.GetString("LinkedServiceNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing linked service '{0}' in data factory '{1}'.. + /// + internal static string LinkedServiceRemoving { + get { + return ResourceManager.GetString("LinkedServiceRemoving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No Slices were found in the time range specified. . + /// + internal static string NoDataSliceFound { + get { + return ResourceManager.GetString("NoDataSliceFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No access to write for the specified directory {0}.. + /// + internal static string NoWriteAccessToDirectory { + get { + return ResourceManager.GetString("NoWriteAccessToDirectory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove pipeline '{0}' in data factory '{1}'?. + /// + internal static string PipelineConfirmationMessage { + get { + return ResourceManager.GetString("PipelineConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating pipeline '{0}' in data factory '{1}'.. + /// + internal static string PipelineCreating { + get { + return ResourceManager.GetString("PipelineCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A pipeline with the name {0} in the data factory {1} exists. + ///Continuing execution may overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string PipelineExists { + get { + return ResourceManager.GetString("PipelineExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Pipeline '{0}' does not exist in the data factory '{1}'.. + /// + internal static string PipelineNotFound { + get { + return ResourceManager.GetString("PipelineNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing pipeline '{0}' in data factory '{1}'.. + /// + internal static string PipelineRemoving { + get { + return ResourceManager.GetString("PipelineRemoving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource group name cannot be null.. + /// + internal static string ResourceGroupNameCannotBeEmpty { + get { + return ResourceManager.GetString("ResourceGroupNameCannotBeEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove table '{0}' in data factory '{1}'?. + /// + internal static string TableConfirmationMessage { + get { + return ResourceManager.GetString("TableConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating table '{0}' in data factory '{1}'.. + /// + internal static string TableCreating { + get { + return ResourceManager.GetString("TableCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A table with the name {0} in the data factory {1} already exists. + ///Continuing execution will overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string TableExists { + get { + return ResourceManager.GetString("TableExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Table '{0}' does not exist in data factory '{1}'.. + /// + internal static string TableNotFound { + get { + return ResourceManager.GetString("TableNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing table '{0}' in data factory '{1}'.. + /// + internal static string TableRemoving { + get { + return ResourceManager.GetString("TableRemoving", resourceCulture); + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx new file mode 100644 index 000000000000..dd811961fdaf --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The data factory object provided is invalid. Use Get-AzureDataFactory to retrieve a specific data factory object, or use New-AzureDataFactory to create a new data factory object. + + + Are you sure you want to remove the gateway '{0}' in the data factory '{1}'? + + + A gateway with the name {0} already exsits in the data factory {1}. + + + Removing the gateway '{0}' in the data factory '{1}'. + + + Are you sure you want to remove data factory '{0}' in resource group '{1}'? + + + Creating data factory '{0}' in resource group '{1}'. + + + A data factory with the name {0} in the resource group {1} exists. +Continuing execution may overwrite the exisiting one. +Are you sure you want to continue? + + + Data factory '{0}' does not exist in the resource group '{1}'. + + + Removing data factory '{0}' in resource group '{1}'. + + + Failed to parse input JSON file. {0}. Please correct the error in the JSON file and re-deploy {1} again. + + + The argument set for download method is incomplete. + + + Download failed. Please check if you have write permission to the path {0} or the sas url is valid. + + + Download of the log is completed. Please find it in the directory {0}. + + + {0} name provided using -Name switch: '{1}' in cmdlet doesn't match with {0} name: '{2}' in JSON file. {0} will be created with name: '{1}' + + + HTTP Status Code: {0} +Error Code: {1} +Error Message: {2} +Request Id: {3} +Timestamp (Utc):{4} + + + Are you sure you want to remove hub '{0}' in data factory '{1}'? + + + Creating hub '{0}' in data factory '{1}'. + + + A hub with the name {0} in the data factory {1} exists. +Continuing execution may overwrite the exisiting one. +Are you sure you want to continue? + + + Hub '{0}' does not exist in the data factory '{1}'. + + + Removing hub '{0}' in data factory '{1}'. + + + Are you sure you want to remove linked service '{0}' in data factory '{1}'? + + + Creating linked service '{0}' in data factory '{1}'. + + + A linked service with the name {0} in the data factory {1} exists. +Continuing execution may overwrite the exisiting one. +Are you sure you want to continue? + + + Linked service '{0}' does not exist in the data factory '{1}'. + + + Removing linked service '{0}' in data factory '{1}'. + + + No access to write for the specified directory {0} or the directory does not exist. + + + Are you sure you want to remove pipeline '{0}' in data factory '{1}'? + + + Creating pipeline '{0}' in data factory '{1}'. + + + A pipeline with the name {0} in the data factory {1} exists. +Continuing execution may overwrite the exisiting one. +Are you sure you want to continue? + + + Pipeline '{0}' does not exist in the data factory '{1}'. + + + Removing pipeline '{0}' in data factory '{1}'. + + + Resource group name cannot be null. + + + Are you sure you want to remove table '{0}' in data factory '{1}'? + + + Creating table '{0}' in data factory '{1}'. + + + A table with the name {0} in the data factory {1} already exists. +Continuing execution will overwrite the exisiting one. +Are you sure you want to continue? + + + Table '{0}' does not exist in data factory '{1}'. + + + Removing table '{0}' in data factory '{1}'. + + + No Slices were found in the time range specified. + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/GetAzureDataFactoryTableCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/GetAzureDataFactoryTableCommand.cs new file mode 100644 index 000000000000..28d2f9653d84 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/GetAzureDataFactoryTableCommand.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Get, Constants.Table), OutputType(typeof(List), typeof(PSTable))] + public class GetAzureDataFactoryTableCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The table name.")] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + // ValidationNotNullOrEmpty doesn't handle whitespaces well + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new PSArgumentNullException("Name"); + } + + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + TableFilterOptions filterOptions = new TableFilterOptions() + { + Name = Name, + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName + }; + + List tables = DataFactoryClient.FilterPSTables(filterOptions); + + if (tables != null) + { + if (tables.Count == 1 && Name != null) + { + WriteObject(tables[0]); + } + else + { + WriteObject(tables, true); + } + } + } + } +} diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/NewAzureDataFactoryTableCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/NewAzureDataFactoryTableCommand.cs new file mode 100644 index 000000000000..b432c179cdba --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/NewAzureDataFactoryTableCommand.cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Globalization; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.New, Constants.Table), OutputType(typeof(PSTable))] + public class NewAzureDataFactoryTableCommand : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The table name.")] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The table JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + // Resolve the file path and read the raw content + string rawJsonContent = DataFactoryClient.ReadJsonFileContent(this.TryResolvePath(File)); + + // Resolve any mismatch between -Name and the name written in JSON + Name = ResolveResourceName(rawJsonContent, Name, "Table"); + + CreatePSTableParameters parameters = new CreatePSTableParameters() + { + ResourceGroupName = ResourceGroupName, + DataFactoryName = DataFactoryName, + Name = Name, + RawJsonContent = rawJsonContent, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(DataFactoryClient.CreatePSTable(parameters)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/RemoveAzureDataFactoryTableCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/RemoveAzureDataFactoryTableCommand.cs new file mode 100644 index 000000000000..04ecf67ce493 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/RemoveAzureDataFactoryTableCommand.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.DataFactories.Properties; + +namespace Microsoft.Azure.Commands.DataFactories +{ + [Cmdlet(VerbsCommon.Remove, Constants.Table)] + public class RemoveAzureDataFactoryTableCommand : TableContextBaseCmdlet + { + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ParameterSetName == ByFactoryObject) + { + if (DataFactory == null) + { + throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); + } + + DataFactoryName = DataFactory.DataFactoryName; + ResourceGroupName = DataFactory.ResourceGroupName; + } + + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.TableConfirmationMessage, + Name, + DataFactoryName), + string.Format( + CultureInfo.InvariantCulture, + Resources.TableRemoving, + Name, + DataFactoryName), + Name, + ExecuteDelete); + } + + private void ExecuteDelete() + { + HttpStatusCode response = DataFactoryClient.DeleteTable(ResourceGroupName, DataFactoryName, Name); + + if(response == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.TableNotFound, Name, DataFactoryName)); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/TableContextBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/TableContextBaseCmdlet.cs new file mode 100644 index 000000000000..9591e57b8ec7 --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Tables/TableContextBaseCmdlet.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.DataFactories.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.DataFactories +{ + public abstract class TableContextBaseCmdlet : DataFactoryBaseCmdlet + { + [Parameter(ParameterSetName = ByFactoryObject, Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, +HelpMessage = "The data factory object.")] + public PSDataFactory DataFactory { get; set; } + + [Parameter(ParameterSetName = ByFactoryName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The data factory name.")] + [ValidateNotNullOrEmpty] + public string DataFactoryName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The table name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config new file mode 100644 index 000000000000..8369c20bc7bc --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj new file mode 100644 index 000000000000..eb2a7f48fbb3 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj @@ -0,0 +1,184 @@ + + + + + Debug + AnyCPU + {4AE5705F-62CF-461D-B72E-DD9DCD9B3609} + Library + Properties + Microsoft.Azure.Commands.RedisCache.Test + Microsoft.Azure.Commands.RedisCache.Test + v4.5 + 512 + ..\..\..\ + true + + + + true + MSSharedLibKey.snk + true + true + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + bin\Release\ + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + false + + + + False + ..\..\..\packages\Microsoft.Azure.Management.Redis.0.10.0-preview\lib\net40\Microsoft.Azure.Management.Redis.dll + + + False + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + + + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c972e3ef-4461-4758-ba31-93e0947b1253} + Commands.RedisCache + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/MSSharedLibKey.snk b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..120c2b3d4243 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Azure.Commands.RedisCache.Test")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("C01CC766-EAA4-4CA3-A595-6C4681316532")] + +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.cs b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.cs new file mode 100644 index 000000000000..f08f81cb980d --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.cs @@ -0,0 +1,51 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Test.ScenarioTests +{ + using Microsoft.WindowsAzure.Commands.ScenarioTest; + using Microsoft.WindowsAzure.Testing; + using Xunit; + + public class RedisCacheTests : RedisCacheTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRedisCache() + { + RunPowerShellTest("Test-RedisCache"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSetNonExistingRedisCacheTest() + { + RunPowerShellTest("Test-SetNonExistingRedisCacheTest"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateExistingRedisCacheTest() + { + RunPowerShellTest("Test-CreateExistingRedisCacheTest"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRedisCachePipeline() + { + RunPowerShellTest("Test-RedisCachePipeline"); + } + } +} diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 new file mode 100644 index 000000000000..63f31d35d540 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 @@ -0,0 +1,253 @@ +<# +.SYNOPSIS +Tests redis cache. +#> +function Test-RedisCache +{ + # Setup + # resource group should exists + $resourceGroupName = "redisruntimetestrg" + $cacheName = "powershelltest" + $location = "North Central US" + + # Creating Cache + $cacheCreated = New-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic + + Assert-AreEqual $cacheName $cacheCreated.Name + Assert-AreEqual $location $cacheCreated.Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheCreated.Type + Assert-AreEqual $resourceGroupName $cacheCreated.ResourceGroupName + + Assert-AreEqual 6379 $cacheCreated.Port + Assert-AreEqual 6380 $cacheCreated.SslPort + Assert-AreEqual "creating" $cacheCreated.ProvisioningState + Assert-AreEqual "2.8" $cacheCreated.RedisVersion + Assert-AreEqual "250MB" $cacheCreated.Size + Assert-AreEqual "Basic" $cacheCreated.Sku + + Assert-NotNull $cacheCreated.PrimaryKey "PrimaryKey do not exists" + Assert-NotNull $cacheCreated.SecondaryKey "SecondaryKey do not exists" + + # In loop to check if cache exists + for ($i = 0; $i -le 60; $i++) + { + [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(30000) + $cacheGet = Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + if ([string]::Compare("succeeded", $cacheGet[0].ProvisioningState, $True) -eq 0) + { + Assert-AreEqual $cacheName $cacheGet[0].Name + Assert-AreEqual $location $cacheGet[0].Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheGet[0].Type + Assert-AreEqual $resourceGroupName $cacheGet[0].ResourceGroupName + + Assert-AreEqual 6379 $cacheGet[0].Port + Assert-AreEqual 6380 $cacheGet[0].SslPort + Assert-AreEqual "succeeded" $cacheGet[0].ProvisioningState + Assert-AreEqual "2.8" $cacheGet[0].RedisVersion + Assert-AreEqual "250MB" $cacheGet[0].Size + Assert-AreEqual "Basic" $cacheGet[0].Sku + break + } + Assert-False {$i -eq 60} "Cache is not in succeeded state even after 30 min." + } + + # Updating Cache + $cacheUpdated = Set-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -MaxMemoryPolicy AllKeysLRU + + Assert-AreEqual $cacheName $cacheUpdated.Name + Assert-AreEqual $location $cacheUpdated.Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheUpdated.Type + Assert-AreEqual $resourceGroupName $cacheUpdated.ResourceGroupName + + Assert-AreEqual 6379 $cacheUpdated.Port + Assert-AreEqual 6380 $cacheUpdated.SslPort + Assert-AreEqual "succeeded" $cacheUpdated.ProvisioningState + Assert-AreEqual "2.8" $cacheUpdated.RedisVersion + Assert-AreEqual "250MB" $cacheUpdated.Size + Assert-AreEqual "Basic" $cacheUpdated.Sku + Assert-AreEqual "AllKeysLRU" $cacheUpdated.MaxMemoryPolicy.Replace("-", "") + + Assert-NotNull $cacheUpdated.PrimaryKey "PrimaryKey do not exists" + Assert-NotNull $cacheUpdated.SecondaryKey "SecondaryKey do not exists" + + # List all cache in resource group + $cachesInResourceGroup = Get-AzureRedisCache -ResourceGroupName $resourceGroupName + Assert-True {$cachesInResourceGroup.Count -ge 1} + + $found = 0 + for ($i = 0; $i -lt $cachesInResourceGroup.Count; $i++) + { + if ($cachesInResourceGroup[$i].Name -eq $cacheName) + { + $found = 1 + Assert-AreEqual $location $cachesInResourceGroup[$i].Location + Assert-AreEqual "Microsoft.Cache/Redis" $cachesInResourceGroup[$i].Type + Assert-AreEqual $resourceGroupName $cachesInResourceGroup[$i].ResourceGroupName + + Assert-AreEqual 6379 $cachesInResourceGroup[$i].Port + Assert-AreEqual 6380 $cachesInResourceGroup[$i].SslPort + Assert-AreEqual "succeeded" $cachesInResourceGroup[$i].ProvisioningState + Assert-AreEqual "2.8" $cachesInResourceGroup[$i].RedisVersion + Assert-AreEqual "250MB" $cachesInResourceGroup[$i].Size + Assert-AreEqual "Basic" $cachesInResourceGroup[$i].Sku + break + } + } + Assert-True {$found -eq 1} "Cache created earlier is not found." + + # List all cache in subscription + $cachesInSubscription = Get-AzureRedisCache + Assert-True {$cachesInSubscription.Count -ge 1} + Assert-True {$cachesInSubscription.Count -ge $cachesInResourceGroup.Count} + + $found = 0 + for ($i = 0; $i -lt $cachesInSubscription.Count; $i++) + { + if ($cachesInSubscription[$i].Name -eq $cacheName) + { + $found = 1 + Assert-AreEqual $location $cachesInSubscription[$i].Location + Assert-AreEqual "Microsoft.Cache/Redis" $cachesInSubscription[$i].Type + Assert-AreEqual $resourceGroupName $cachesInSubscription[$i].ResourceGroupName + + Assert-AreEqual 6379 $cachesInSubscription[$i].Port + Assert-AreEqual 6380 $cachesInSubscription[$i].SslPort + Assert-AreEqual "succeeded" $cachesInSubscription[$i].ProvisioningState + Assert-AreEqual "2.8" $cachesInSubscription[$i].RedisVersion + Assert-AreEqual "250MB" $cachesInSubscription[$i].Size + Assert-AreEqual "Basic" $cachesInSubscription[$i].Sku + break + } + } + Assert-True {$found -eq 1} "Cache created earlier is not found." + + # Get cache keys + $cacheKeysBeforeUpdate = Get-AzureRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName + Assert-NotNull $cacheKeysBeforeUpdate.PrimaryKey "PrimaryKey do not exists" + Assert-NotNull $cacheKeysBeforeUpdate.SecondaryKey "SecondaryKey do not exists" + + # Regenerate primary key + $cacheKeysAfterUpdate = New-AzureRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName -KeyType Primary -Force + Assert-AreEqual $cacheKeysBeforeUpdate.SecondaryKey $cacheKeysAfterUpdate.SecondaryKey + Assert-AreNotEqual $cacheKeysBeforeUpdate.PrimaryKey $cacheKeysAfterUpdate.PrimaryKey + + # Delete cache + Assert-True {Remove-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Force -PassThru} "Remove cache failed." +} + + +<# +.SYNOPSIS +Tests set redis cache that do not exists. +#> +function Test-SetNonExistingRedisCacheTest +{ + # Setup + # resource group should exists + $resourceGroupName = "redisruntimetestrg" + $cacheName = "NonExistingRedisCache" + $location = "North Central US" + + # Creating Cache + Assert-Throws {Set-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -MaxMemoryPolicy AllKeysLRU} +} + +<# +.SYNOPSIS +Tests creating redis cache that already exists. +#> +function Test-CreateExistingRedisCacheTest +{ + # Setup + # resource group should exists + $resourceGroupName = "redisruntimetestrg" + $cacheName = "powershell004" + $location = "North Central US" + + # Creating Cache + Assert-ThrowsContains {New-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Standard} "already exists" +} + +<# +.SYNOPSIS +Tests redis cache. +#> +function Test-RedisCachePipeline +{ + # Setup + # resource group should exists + $resourceGroupName = "redisruntimetestrg" + $cacheName = "powershelltestpipe" + $location = "North Central US" + + # Creating Cache + $cacheCreated = New-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic + + Assert-AreEqual $cacheName $cacheCreated.Name + Assert-AreEqual $location $cacheCreated.Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheCreated.Type + Assert-AreEqual $resourceGroupName $cacheCreated.ResourceGroupName + + Assert-AreEqual 6379 $cacheCreated.Port + Assert-AreEqual 6380 $cacheCreated.SslPort + Assert-AreEqual "creating" $cacheCreated.ProvisioningState + Assert-AreEqual "2.8" $cacheCreated.RedisVersion + Assert-AreEqual "250MB" $cacheCreated.Size + Assert-AreEqual "Basic" $cacheCreated.Sku + + Assert-NotNull $cacheCreated.PrimaryKey "PrimaryKey do not exists" + Assert-NotNull $cacheCreated.SecondaryKey "SecondaryKey do not exists" + + # In loop to check if cache exists + for ($i = 0; $i -le 60; $i++) + { + [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(30000) + $cacheGet = Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + if ([string]::Compare("succeeded", $cacheGet[0].ProvisioningState, $True) -eq 0) + { + Assert-AreEqual $cacheName $cacheGet[0].Name + Assert-AreEqual $location $cacheGet[0].Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheGet[0].Type + Assert-AreEqual $resourceGroupName $cacheGet[0].ResourceGroupName + + Assert-AreEqual 6379 $cacheGet[0].Port + Assert-AreEqual 6380 $cacheGet[0].SslPort + Assert-AreEqual "succeeded" $cacheGet[0].ProvisioningState + Assert-AreEqual "2.8" $cacheGet[0].RedisVersion + Assert-AreEqual "250MB" $cacheGet[0].Size + Assert-AreEqual "Basic" $cacheGet[0].Sku + break + } + Assert-False {$i -eq 60} "Cache is not in succeeded state even after 30 min." + } + + # Updating Cache using pipeline + Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Set-AzureRedisCache -MaxMemoryPolicy AllKeysRandom + $cacheUpdatedPiped = Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + + Assert-AreEqual $cacheName $cacheUpdatedPiped.Name + Assert-AreEqual $location $cacheUpdatedPiped.Location + Assert-AreEqual "Microsoft.Cache/Redis" $cacheUpdatedPiped.Type + Assert-AreEqual $resourceGroupName $cacheUpdatedPiped.ResourceGroupName + + Assert-AreEqual 6379 $cacheUpdatedPiped.Port + Assert-AreEqual 6380 $cacheUpdatedPiped.SslPort + Assert-AreEqual "succeeded" $cacheUpdatedPiped.ProvisioningState + Assert-AreEqual "2.8" $cacheUpdatedPiped.RedisVersion + Assert-AreEqual "250MB" $cacheUpdatedPiped.Size + Assert-AreEqual "Basic" $cacheUpdatedPiped.Sku + Assert-AreEqual "AllKeysRandom" $cacheUpdatedPiped.MaxMemoryPolicy.Replace("-", "") + + # Get cache keys + $cacheKeysBeforeUpdate = Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Get-AzureRedisCacheKey + Assert-NotNull $cacheKeysBeforeUpdate.PrimaryKey "PrimaryKey do not exists" + Assert-NotNull $cacheKeysBeforeUpdate.SecondaryKey "SecondaryKey do not exists" + + # Regenerate primary key + $cacheKeysAfterUpdate = Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | New-AzureRedisCacheKey -KeyType Primary -Force + Assert-AreEqual $cacheKeysBeforeUpdate.SecondaryKey $cacheKeysAfterUpdate.SecondaryKey + Assert-AreNotEqual $cacheKeysBeforeUpdate.PrimaryKey $cacheKeysAfterUpdate.PrimaryKey + + # Delete cache + Assert-True {Get-AzureRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Remove-AzureRedisCache -Force -PassThru} "Remove cache failed." +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs new file mode 100644 index 000000000000..50e707b8874d --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Test.ScenarioTests +{ + using System; + using Microsoft.WindowsAzure.Commands.ScenarioTest; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + using Microsoft.WindowsAzure.Testing; + using Microsoft.Azure.Management.Redis; + + public abstract class RedisCacheTestsBase : IDisposable + { + private EnvironmentSetupHelper helper; + + protected RedisCacheTestsBase() + { + helper = new EnvironmentSetupHelper(); + } + + protected void SetupManagementClients() + { + var redisManagementClient = GetRedisManagementClient(); + helper.SetupManagementClients(redisManagementClient); + } + + protected void RunPowerShellTest(params string[] scripts) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureResourceManager); + helper.SetupModules(AzureModule.AzureResourceManager, "ScenarioTests\\" + this.GetType().Name + ".ps1"); + + helper.RunPowerShellTest(scripts); + } + } + + protected RedisManagementClient GetRedisManagementClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } + + public void Dispose() + { + } + } +} diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestCreateExistingRedisCacheTest.json b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestCreateExistingRedisCacheTest.json new file mode 100644 index 000000000000..d7515166f47a --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestCreateExistingRedisCacheTest.json @@ -0,0 +1,52 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershell004?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershell004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershell004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershell004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e735160c-191a-49cc-8c31-342652cb4a6e" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31695" + ], + "x-ms-correlation-request-id": [ + "683814f8-7098-4194-9f09-5d7ea6d1fe78" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T185910Z:683814f8-7098-4194-9f09-5d7ea6d1fe78" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 18:59:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "f435d8e1-f7a0-4f79-adf7-b1a564728140" + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCache.json b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCache.json new file mode 100644 index 000000000000..71cfd9d1007a --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCache.json @@ -0,0 +1,1582 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7ba04f5e-b669-4243-b633-e5b427af2c31" + ], + "x-ms-correlation-request-id": [ + "7ba04f5e-b669-4243-b633-e5b427af2c31" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T185913Z:7ba04f5e-b669-4243-b633-e5b427af2c31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 18:59:13 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5df3e628-1275-45f8-897d-3c24c2ee7722" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31689" + ], + "x-ms-correlation-request-id": [ + "999a721f-b42f-42c2-b515-8d7b8a39aaf9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T185957Z:999a721f-b42f-42c2-b515-8d7b8a39aaf9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 18:59:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "abef01c1-84d5-43bb-a30b-6c84c74602f7" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31681" + ], + "x-ms-correlation-request-id": [ + "98378974-6837-4e2e-83b5-3a866e1703e3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190028Z:98378974-6837-4e2e-83b5-3a866e1703e3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:00:27 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c12807b2-8972-4d0b-bfac-ee9156ac7afe" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31670" + ], + "x-ms-correlation-request-id": [ + "92a36d7c-0ed8-45f6-bfd9-a0588a6ea222" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190058Z:92a36d7c-0ed8-45f6-bfd9-a0588a6ea222" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:00:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7477c5a6-703a-400d-8e82-1c02ed36e4c1" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31663" + ], + "x-ms-correlation-request-id": [ + "424d9d96-915a-47e6-8763-271650803ba7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190128Z:424d9d96-915a-47e6-8763-271650803ba7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:01:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d247a0b5-2b75-4066-bed3-508db427a128" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31654" + ], + "x-ms-correlation-request-id": [ + "03c342b9-51c7-4f74-aa59-dc5b47c72323" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190159Z:03c342b9-51c7-4f74-aa59-dc5b47c72323" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:01:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "398e5101-d62d-4115-b930-3f2d46b52ad8" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31647" + ], + "x-ms-correlation-request-id": [ + "8c64316b-b9ae-4ff3-aa5e-422150d43401" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190229Z:8c64316b-b9ae-4ff3-aa5e-422150d43401" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:02:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5bcf01af-02fd-4438-b20c-2e3684605225" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31634" + ], + "x-ms-correlation-request-id": [ + "1aa3df7b-99f9-460e-a59f-f15b6c2babad" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190259Z:1aa3df7b-99f9-460e-a59f-f15b6c2babad" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:02:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d56e5963-9b93-4c03-8144-48f7accc045e" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31625" + ], + "x-ms-correlation-request-id": [ + "b5d9b4f3-62d8-4b9a-8a12-c6382ad5fc78" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190330Z:b5d9b4f3-62d8-4b9a-8a12-c6382ad5fc78" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:03:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6f961c05-7dc2-4c5c-a9ad-29a7d269ae49" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31617" + ], + "x-ms-correlation-request-id": [ + "ad4b3888-2bee-4447-96c6-8c66cc886350" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190400Z:ad4b3888-2bee-4447-96c6-8c66cc886350" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:04:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aa3b8c34-5df1-43f5-b168-23b101b5500a" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31613" + ], + "x-ms-correlation-request-id": [ + "ee14ea5f-a844-44c5-9209-5fc420342381" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190430Z:ee14ea5f-a844-44c5-9209-5fc420342381" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:04:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4149cd78-e4b2-4727-a7db-239f9c26a706" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31602" + ], + "x-ms-correlation-request-id": [ + "160bfbb7-7b33-45e8-9756-f653eef91a5b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190501Z:160bfbb7-7b33-45e8-9756-f653eef91a5b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:05:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e9a200d2-6d08-4def-a737-9a211b058236" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31594" + ], + "x-ms-correlation-request-id": [ + "9a3a7243-5d1a-46d1-8c14-c8f43080e061" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190531Z:9a3a7243-5d1a-46d1-8c14-c8f43080e061" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:05:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "370e1a35-1f1e-420a-b13b-71c9c0dea4a8" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31583" + ], + "x-ms-correlation-request-id": [ + "8c5bfcd9-576b-4759-a202-e053119e1a25" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190602Z:8c5bfcd9-576b-4759-a202-e053119e1a25" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:06:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "96155fce-43f4-4703-ac05-409002bacb0d" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31573" + ], + "x-ms-correlation-request-id": [ + "04b67af9-6941-4508-81d0-6dfc90cc71cb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190632Z:04b67af9-6941-4508-81d0-6dfc90cc71cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:06:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3876133c-6f19-4aee-a010-a54911203c9a" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31559" + ], + "x-ms-correlation-request-id": [ + "42424a5e-378d-4e92-86e0-c0ffcb308775" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190702Z:42424a5e-378d-4e92-86e0-c0ffcb308775" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:07:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cc8e13d5-b115-43c2-aeb7-c2044cab6b5d" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31547" + ], + "x-ms-correlation-request-id": [ + "56a44900-bf7f-4aad-9826-ff414affa477" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190733Z:56a44900-bf7f-4aad-9826-ff414affa477" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:07:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "16ac12e1-0e5b-4f19-ba7f-a9162de41c83" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31538" + ], + "x-ms-correlation-request-id": [ + "2f9808c0-775f-4990-9037-095e7009b3db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190803Z:2f9808c0-775f-4990-9037-095e7009b3db" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:08:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8e67e23d-46d6-447c-a59b-8c67593cb92d" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31534" + ], + "x-ms-correlation-request-id": [ + "df2c7c3b-accb-4472-91bf-c6ab144eda24" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190833Z:df2c7c3b-accb-4472-91bf-c6ab144eda24" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:08:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4936359b-d481-4d80-9037-aac73f661465" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31529" + ], + "x-ms-correlation-request-id": [ + "8b58289b-581a-4481-9bde-c6443d1b9f63" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190913Z:8b58289b-581a-4481-9bde-c6443d1b9f63" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:09:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "361c4521-6cb7-41c4-94d7-6b542ae9a898" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31519" + ], + "x-ms-correlation-request-id": [ + "faaa61a6-c1ee-46ba-acbd-8d661d53b57b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T190943Z:faaa61a6-c1ee-46ba-acbd-8d661d53b57b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:09:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c054058d-1c39-4868-ad2f-61c9b40e1bea" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31517" + ], + "x-ms-correlation-request-id": [ + "56a2100b-92e7-4a80-a23f-ff1ed0a8f75c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191013Z:56a2100b-92e7-4a80-a23f-ff1ed0a8f75c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:10:13 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bebceddd-0aec-4917-9fdf-82b18172b681" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31515" + ], + "x-ms-correlation-request-id": [ + "d91902f1-c782-4af2-b6b3-034554e42fc9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191044Z:d91902f1-c782-4af2-b6b3-034554e42fc9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:10:43 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3dd8155b-47d0-4416-9b1b-d3e2c23ec9a0" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31512" + ], + "x-ms-correlation-request-id": [ + "d56af8ba-23d2-4812-9986-e5d8e473493f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191114Z:d56af8ba-23d2-4812-9986-e5d8e473493f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:11:14 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e9544922-bf9c-402f-90bd-506d349ea40b" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31505" + ], + "x-ms-correlation-request-id": [ + "f1d3c44f-5546-4c30-97d3-b2d6860db811" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191145Z:f1d3c44f-5546-4c30-97d3-b2d6860db811" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:11:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b14c8345-4a8a-4218-b6ca-173ef9500879" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31502" + ], + "x-ms-correlation-request-id": [ + "bd4bfff1-f1c8-4858-9844-7c48b6eb6108" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191215Z:bd4bfff1-f1c8-4858-9844-7c48b6eb6108" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:15 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0bc49c50-00cc-406d-9077-f99de1e8e935" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31499" + ], + "x-ms-correlation-request-id": [ + "c9ce1a5e-52a3-4001-a910-577f668be444" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191245Z:c9ce1a5e-52a3-4001-a910-577f668be444" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e8c1cd59-bc24-405c-b0fa-63e1b4f2da95" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31498" + ], + "x-ms-correlation-request-id": [ + "ce3805f7-8c59-4fbe-ae7d-1ecbdc66d83f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191246Z:ce3805f7-8c59-4fbe-ae7d-1ecbdc66d83f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:46 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Central US\",\r\n \"properties\": {\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n }\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": {\r\n \"primaryKey\": \"Volm+52PiuCx+ZIdE9saB+4QU4GIbZmN98eWk0crC2I=\",\r\n \"secondaryKey\": \"rAalNX8nHtyXWlM7pAIAMvUhJhUdsLoLAXPbAMvehC4=\"\r\n },\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "50c95d56-6d85-404f-a2b0-96623dbe5ee8" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "390a09ea-9988-40e9-ac2f-afc23d710d40" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T185927Z:390a09ea-9988-40e9-ac2f-afc23d710d40" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 18:59:27 GMT" + ], + "Location": [ + "https://westus.cache.azure-test.net:10225/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Central US\",\r\n \"properties\": {\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysLRU\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysLRU\",\r\n \"accessKeys\": {\r\n \"primaryKey\": \"Volm+52PiuCx+ZIdE9saB+4QU4GIbZmN98eWk0crC2I=\",\r\n \"secondaryKey\": \"rAalNX8nHtyXWlM7pAIAMvUhJhUdsLoLAXPbAMvehC4=\"\r\n },\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8fa348b3-3fb9-4b5a-aa29-25357c48c36e" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "7aa1b8bb-b7b5-4910-85ca-42157b812f66" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191248Z:7aa1b8bb-b7b5-4910-85ca-42157b812f66" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:48 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/redisruntimetest004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"redisruntimetest004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"redisruntimetest004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/quotacheck\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"quotacheck\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"quotacheck.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/test004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"test004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"test004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershell004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershell004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershell004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysLRU\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/redisruntimetest006\",\r\n \"location\": \"North Europe\",\r\n \"name\": \"redisruntimetest006\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"redisruntimetest006.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-original-request-ids": [ + "08e795a9-a3b3-487f-bb7b-3c65189dcad2", + "07b55e49-8f3b-4311-92aa-1584bcf2a2fb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31497" + ], + "x-ms-request-id": [ + "f84b74be-3bd0-4f58-85c9-245de24877c6" + ], + "x-ms-correlation-request-id": [ + "f84b74be-3bd0-4f58-85c9-245de24877c6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191248Z:f84b74be-3bd0-4f58-85c9-245de24877c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/providers/Microsoft.Cache/Redis/?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/redisruntimetest004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"redisruntimetest004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"redisruntimetest004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/quotacheck\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"quotacheck\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"quotacheck.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/test004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"test004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"test004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/hydra19407/providers/Microsoft.Cache/Redis/hydracache1\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"hydracache1\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"hydracache1.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershell004\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershell004\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershell004.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltest\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysLRU\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltest.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/redisruntimetest006\",\r\n \"location\": \"North Europe\",\r\n \"name\": \"redisruntimetest006\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"redisruntimetest006.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-original-request-ids": [ + "2f4dda3a-8746-4bb3-99c1-faf1393b9c6e", + "63071839-cf3f-46f7-ac62-875dd22cf6da" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31496" + ], + "x-ms-request-id": [ + "30cea84b-b127-42ce-95e3-bd1e7530a7b2" + ], + "x-ms-correlation-request-id": [ + "30cea84b-b127-42ce-95e3-bd1e7530a7b2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191249Z:30cea84b-b127-42ce-95e3-bd1e7530a7b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest/listKeys?api-version=2014-04-01-preview", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"Volm+52PiuCx+ZIdE9saB+4QU4GIbZmN98eWk0crC2I=\",\r\n \"secondaryKey\": \"rAalNX8nHtyXWlM7pAIAMvUhJhUdsLoLAXPbAMvehC4=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c12e65bc-254f-4337-b8cc-af00d81a72c0" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "57e8a1fd-fa26-4911-a0bb-9a57d1d6c77b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191249Z:57e8a1fd-fa26-4911-a0bb-9a57d1d6c77b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:49 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest/listKeys?api-version=2014-04-01-preview", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"VUzHWnw1+awZkxtalwsSye44wZ7Ce/K+TxuIX7SQxBc=\",\r\n \"secondaryKey\": \"rAalNX8nHtyXWlM7pAIAMvUhJhUdsLoLAXPbAMvehC4=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1d096012-d323-44d4-8a5c-a2aa7080bb16" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "839e7e1f-e172-4cc9-9d8e-d2a3b1a6e999" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191250Z:839e7e1f-e172-4cc9-9d8e-d2a3b1a6e999" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest/regenerateKey?api-version=2014-04-01-preview", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"VUzHWnw1+awZkxtalwsSye44wZ7Ce/K+TxuIX7SQxBc=\",\r\n \"secondaryKey\": \"rAalNX8nHtyXWlM7pAIAMvUhJhUdsLoLAXPbAMvehC4=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b88d9140-5825-4631-a8ab-5d67b4271ea5" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "fedbf8d4-8d11-4db9-83ed-153d00f827de" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191250Z:fedbf8d4-8d11-4db9-83ed-153d00f827de" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltest?api-version=2014-04-01-preview", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "62c3e9a5-bb1f-4a38-8268-eb6d977dbc97" + ], + "x-rp-server-mvid": [ + "dc26dc3b-f07f-422e-aca4-1066869e2fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "313d0551-fa3b-4489-9de0-69c0d464b6ef" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191253Z:313d0551-fa3b-4489-9de0-69c0d464b6ef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:52 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "f435d8e1-f7a0-4f79-adf7-b1a564728140" + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCachePipeline.json b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCachePipeline.json new file mode 100644 index 000000000000..1d46f546ab55 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestRedisCachePipeline.json @@ -0,0 +1,1712 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "78c77e55-1f8a-4d92-9056-9e6151b9a5ec" + ], + "x-ms-correlation-request-id": [ + "78c77e55-1f8a-4d92-9056-9e6151b9a5ec" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193722Z:78c77e55-1f8a-4d92-9056-9e6151b9a5ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:37:21 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6bb05f5d-64b6-441b-b8fa-ea6e271c2dfe" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31732" + ], + "x-ms-correlation-request-id": [ + "8d2d900a-3017-4fc2-8f0e-4b41158c9c08" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193759Z:8d2d900a-3017-4fc2-8f0e-4b41158c9c08" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:37:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b38da915-bc96-4c4c-b2ba-8f78e350e0ad" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31728" + ], + "x-ms-correlation-request-id": [ + "b543a394-280d-4e79-9dd1-e54c7ff73ef3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193829Z:b543a394-280d-4e79-9dd1-e54c7ff73ef3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:38:29 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "99c8814d-1390-4f8a-8198-a20185ec45a6" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31727" + ], + "x-ms-correlation-request-id": [ + "cc85a8bc-b8f8-47a7-8352-399af5b30f0a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193859Z:cc85a8bc-b8f8-47a7-8352-399af5b30f0a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:38:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e6287062-76f3-4d99-b66b-628c6a8c5c85" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31718" + ], + "x-ms-correlation-request-id": [ + "d36d8450-2f9d-430e-af67-b352c083c55d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193930Z:d36d8450-2f9d-430e-af67-b352c083c55d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:39:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "67f89835-5d77-4943-b02d-95f7aa52d571" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31717" + ], + "x-ms-correlation-request-id": [ + "fba21f1f-a3c0-4f77-8518-16b44b8607a9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194000Z:fba21f1f-a3c0-4f77-8518-16b44b8607a9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:40:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0d8b626a-ed3e-4ef5-bf9c-e9e7b2521770" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31713" + ], + "x-ms-correlation-request-id": [ + "ba5f8bc1-9b4c-498b-b79b-53113d67dfa1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194030Z:ba5f8bc1-9b4c-498b-b79b-53113d67dfa1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:40:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c27842cb-1f27-4c54-9774-8075c19ee343" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31712" + ], + "x-ms-correlation-request-id": [ + "9ce22ef9-82f1-4732-b2c0-85aef129c915" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194101Z:9ce22ef9-82f1-4732-b2c0-85aef129c915" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:41:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "32190888-e432-4cbb-ba6f-af7005b7a1a3" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31708" + ], + "x-ms-correlation-request-id": [ + "63465e8d-5d95-4d27-a44a-cbdb331a53b2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194131Z:63465e8d-5d95-4d27-a44a-cbdb331a53b2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:41:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "71af929d-b471-4872-9dfb-430505958f24" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31707" + ], + "x-ms-correlation-request-id": [ + "10361cfb-3932-4d52-a2ae-9f6fbaacf074" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194201Z:10361cfb-3932-4d52-a2ae-9f6fbaacf074" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:42:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c41f4134-a0e4-4221-85e6-3f862820a55b" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31700" + ], + "x-ms-correlation-request-id": [ + "1d81f344-3234-4f29-a970-ed576ab4c48a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194232Z:1d81f344-3234-4f29-a970-ed576ab4c48a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:42:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2ab510b0-a822-46e7-92c7-4c25f8a53d9c" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31699" + ], + "x-ms-correlation-request-id": [ + "4eacb36c-913a-4458-8efe-1a524082a6d1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194302Z:4eacb36c-913a-4458-8efe-1a524082a6d1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:43:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4cd90860-de76-409f-b746-8d55b7033f4a" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31695" + ], + "x-ms-correlation-request-id": [ + "c31eaa57-bc18-4793-b309-3ecc614497d4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194332Z:c31eaa57-bc18-4793-b309-3ecc614497d4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:43:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "27126cda-efa0-462a-91b3-0cb148a42caa" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31694" + ], + "x-ms-correlation-request-id": [ + "95ab33ff-8733-45ce-9d24-32795956af46" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194402Z:95ab33ff-8733-45ce-9d24-32795956af46" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:44:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e07cb2d8-928b-4982-8d42-ad7f85472f61" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31686" + ], + "x-ms-correlation-request-id": [ + "6817ee09-3572-4ec8-b7c8-f9b1663abd50" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194433Z:6817ee09-3572-4ec8-b7c8-f9b1663abd50" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:44:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9de136c8-999f-488b-b83b-706b4a8ac1e7" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31685" + ], + "x-ms-correlation-request-id": [ + "82b4abd8-a99e-47de-aab5-65701a470f4e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194503Z:82b4abd8-a99e-47de-aab5-65701a470f4e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:45:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1934943a-8166-4d31-9004-2531046c9739" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31675" + ], + "x-ms-correlation-request-id": [ + "b0b5d5ba-0894-49bd-b7c5-d32e7d5e1697" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194533Z:b0b5d5ba-0894-49bd-b7c5-d32e7d5e1697" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:45:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d6290006-2504-4b31-985f-aa89b816484a" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31674" + ], + "x-ms-correlation-request-id": [ + "f53fab09-1ca6-4ed7-8513-de782c9d826d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194604Z:f53fab09-1ca6-4ed7-8513-de782c9d826d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:46:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e5a2ab89-e444-42ca-91a3-f95c5e7ba7c4" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31671" + ], + "x-ms-correlation-request-id": [ + "aaa788b1-b982-4ef9-aaac-e01ec397eea6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194634Z:aaa788b1-b982-4ef9-aaac-e01ec397eea6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:46:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "801c0e10-d50a-4200-bdd3-a36d069b30ab" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31670" + ], + "x-ms-correlation-request-id": [ + "42d14999-76cb-48e8-af23-9156b90a5c74" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194704Z:42d14999-76cb-48e8-af23-9156b90a5c74" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:47:04 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "75861043-a55b-4177-b666-1ca54f5cacc0" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31665" + ], + "x-ms-correlation-request-id": [ + "6185168d-ec0a-4967-a877-9cba36d38534" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194734Z:6185168d-ec0a-4967-a877-9cba36d38534" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:47:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "427686ea-1c57-4d15-9ff2-a543a91a30d8" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31664" + ], + "x-ms-correlation-request-id": [ + "43cb671f-51f7-4f76-8245-a726be8d8274" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194805Z:43cb671f-51f7-4f76-8245-a726be8d8274" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:48:04 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d806ca8b-96fe-4b43-b544-9a85f24a4449" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31661" + ], + "x-ms-correlation-request-id": [ + "ba93abcb-c048-42ca-a176-20c405c5bca0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194835Z:ba93abcb-c048-42ca-a176-20c405c5bca0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:48:35 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5ce95886-b977-4912-956e-108aa61d404a" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31660" + ], + "x-ms-correlation-request-id": [ + "2690f23d-d546-42c6-a8f9-c75944bac76f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194905Z:2690f23d-d546-42c6-a8f9-c75944bac76f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:49:05 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "56b3649a-fc07-4b01-958a-d43b08291817" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31651" + ], + "x-ms-correlation-request-id": [ + "3c9625e4-f240-4e21-89e2-29440bf09493" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T194936Z:3c9625e4-f240-4e21-89e2-29440bf09493" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:49:35 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c4e5c563-c8cb-4031-b64a-ec3e867dd809" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31650" + ], + "x-ms-correlation-request-id": [ + "0a3dc4e9-c1c6-41bd-8d8e-6bd5d95008f5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195006Z:0a3dc4e9-c1c6-41bd-8d8e-6bd5d95008f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "56bcf0e3-780d-4682-9f02-036c6c924261" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31649" + ], + "x-ms-correlation-request-id": [ + "194e0dc5-c279-49e8-b3b0-c38a6d813753" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195006Z:194e0dc5-c279-49e8-b3b0-c38a6d813753" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "328e1126-9e2a-46db-8532-cd059f45faa5" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31648" + ], + "x-ms-correlation-request-id": [ + "55363515-a279-4b8f-bb3b-cb8db4bc9ad5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195006Z:55363515-a279-4b8f-bb3b-cb8db4bc9ad5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "96c4de42-3a84-48ea-b3b0-42f30bf89b02" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31647" + ], + "x-ms-correlation-request-id": [ + "f033834e-6993-4910-8baf-803406e5caeb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195008Z:f033834e-6993-4910-8baf-803406e5caeb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "40f0ab28-bec1-474f-a2c0-f2d415715917" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31646" + ], + "x-ms-correlation-request-id": [ + "adb792f6-6672-4efa-b4bc-ee1fb85f7b59" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195008Z:adb792f6-6672-4efa-b4bc-ee1fb85f7b59" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f344781b-47b6-423c-9de9-39f09d7f8312" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31645" + ], + "x-ms-correlation-request-id": [ + "437ffab4-253a-411f-bfbd-6c4c96d08190" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195009Z:437ffab4-253a-411f-bfbd-6c4c96d08190" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\",\r\n \"accessKeys\": null,\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "49066942-49ca-49cd-a210-49e3a953033e" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31644" + ], + "x-ms-correlation-request-id": [ + "8e2a83b6-c82a-41e3-9675-c26657742d9f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195011Z:8e2a83b6-c82a-41e3-9675-c26657742d9f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Central US\",\r\n \"properties\": {\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n }\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": null,\r\n \"accessKeys\": {\r\n \"primaryKey\": \"dNugej2ZYGORfQHh0+ZHmwZypwg2T/ZghwOPjO8/JE8=\",\r\n \"secondaryKey\": \"P8OWHsAiAyjrcpPbgP33gb+epH9sJaEl55/e1rt06zM=\"\r\n },\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e8a24b6a-4920-4a60-b4ce-f7ede7426aff" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "a93cba7e-e841-4719-8153-bc65b94de56e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T193729Z:a93cba7e-e841-4719-8153-bc65b94de56e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:37:28 GMT" + ], + "Location": [ + "https://westus.cache.azure-test.net:10225/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Central US\",\r\n \"properties\": {\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe\",\r\n \"location\": \"North Central US\",\r\n \"name\": \"powershelltestpipe\",\r\n \"type\": \"Microsoft.Cache/Redis\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"redisVersion\": \"2.8\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"family\": \"C\",\r\n \"capacity\": 0\r\n },\r\n \"maxMemoryPolicy\": \"AllKeysRandom\",\r\n \"accessKeys\": {\r\n \"primaryKey\": \"dNugej2ZYGORfQHh0+ZHmwZypwg2T/ZghwOPjO8/JE8=\",\r\n \"secondaryKey\": \"P8OWHsAiAyjrcpPbgP33gb+epH9sJaEl55/e1rt06zM=\"\r\n },\r\n \"hostName\": \"powershelltestpipe.cache.icbbvt.windows-int.net\",\r\n \"port\": 6379,\r\n \"sslPort\": 6380\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1e78e43b-c0f7-4b22-9ded-0af91a269b9e" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "185db716-b153-459e-99ca-99088ea0b2b5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195008Z:185db716-b153-459e-99ca-99088ea0b2b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe/listKeys?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"dNugej2ZYGORfQHh0+ZHmwZypwg2T/ZghwOPjO8/JE8=\",\r\n \"secondaryKey\": \"P8OWHsAiAyjrcpPbgP33gb+epH9sJaEl55/e1rt06zM=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0c8f68df-b61e-4d08-b0a0-6123d1593ced" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "07bb3840-6bd4-48de-bd26-42b6a0d7fd91" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195009Z:07bb3840-6bd4-48de-bd26-42b6a0d7fd91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe/listKeys?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"6VTNuaAMu6/JYM+4uIQiW5HxYI+ejE+qPdBhyRPLGRQ=\",\r\n \"secondaryKey\": \"P8OWHsAiAyjrcpPbgP33gb+epH9sJaEl55/e1rt06zM=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cb5f7b06-3f1b-4bd4-ae8c-e050ffbfc52f" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "e4d13e29-409f-42be-bde9-283829902286" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195011Z:e4d13e29-409f-42be-bde9-283829902286" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe/regenerateKey?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZS9yZWdlbmVyYXRlS2V5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryKey\": \"6VTNuaAMu6/JYM+4uIQiW5HxYI+ejE+qPdBhyRPLGRQ=\",\r\n \"secondaryKey\": \"P8OWHsAiAyjrcpPbgP33gb+epH9sJaEl55/e1rt06zM=\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "90fcfbf6-75ab-4c0c-991e-845ff0db5031" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "0e77840a-41d6-4c19-a3e6-9a6a49c4b377" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195010Z:0e77840a-41d6-4c19-a3e6-9a6a49c4b377" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/powershelltestpipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjQzNWQ4ZTEtZjdhMC00Zjc5LWFkZjctYjFhNTY0NzI4MTQwL3Jlc291cmNlR3JvdXBzL3JlZGlzcnVudGltZXRlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkNhY2hlL1JlZGlzL3Bvd2Vyc2hlbGx0ZXN0cGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b0435b31-d08a-45a2-9133-2e2a4f67cde4" + ], + "x-rp-server-mvid": [ + "7954f8a8-b513-4305-b6f8-46ad23dfe0a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-correlation-request-id": [ + "f3502fbe-e687-4f0d-a2cb-d9c3db015e03" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140924T195013Z:f3502fbe-e687-4f0d-a2cb-d9c3db015e03" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 24 Sep 2014 19:50:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "f435d8e1-f7a0-4f79-adf7-b1a564728140" + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestSetNonExistingRedisCacheTest.json b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestSetNonExistingRedisCacheTest.json new file mode 100644 index 000000000000..88a4a58eb749 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/SessionRecords/Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests.RedisCacheTests/TestSetNonExistingRedisCacheTest.json @@ -0,0 +1,43 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f435d8e1-f7a0-4f79-adf7-b1a564728140/resourceGroups/redisruntimetestrg/providers/Microsoft.Cache/Redis/NonExistingRedisCache?api-version=2014-04-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Redis.RedisManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8e8de709-75e9-42ad-a8bb-72f33ac571dd" + ], + "x-ms-correlation-request-id": [ + "8e8de709-75e9-42ad-a8bb-72f33ac571dd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20140916T191257Z:8e8de709-75e9-42ad-a8bb-72f33ac571dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Sep 2014 19:12:57 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "f435d8e1-f7a0-4f79-adf7-b1a564728140" + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config new file mode 100644 index 000000000000..7964a20a5509 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj new file mode 100644 index 000000000000..934733fdf62f --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj @@ -0,0 +1,164 @@ + + + + + Debug + AnyCPU + {C972E3EF-4461-4758-BA31-93E0947B1253} + Library + Properties + Microsoft.Azure.Commands.RedisCache + Microsoft.Azure.Commands.RedisCache + v4.5 + 512 + + ..\..\..\ + true + /assemblyCompareMode:StrongNameIgnoringVersion + + + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\RedisCache + DEBUG;TRACE + prompt + 4 + true + true + false + + + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\RedisCache + TRACE;SIGN + true + pdbonly + AnyCPU + bin\Release\Microsoft.Azure.Commands.RedisCache.dll.CodeAnalysisLog.xml + prompt + MinimumRecommendedRules.ruleset + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules + true + true + MSSharedLibKey.snk + true + false + + + + False + ..\..\..\packages\Microsoft.Azure.Management.Redis.0.10.0-preview\lib\net40\Microsoft.Azure.Management.Redis.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c60342b1-47d3-4a0e-8081-9b97ce60b7af} + Commands.Profile + + + + + Designer + Always + + + Designer + Always + + + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + powershell.exe -ExecutionPolicy Unrestricted -File $(ProjectDir)\PostBuild.ps1 $(TargetDir) + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs new file mode 100644 index 000000000000..1c60d101b3e0 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Commands.RedisCache.Models; + using Microsoft.Azure.Management.Redis.Models; + using System.Collections.Generic; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureRedisCache", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(List))] + public class GetAzureRedisCache : RedisCacheCmdletBase + { + internal const string BaseParameterSetName = "All In Subscription"; + internal const string ResourceGroupParameterSetName = "All In Resource Group"; + internal const string RedisCacheParameterSetName = "Specific Redis Cache"; + + [Parameter(ParameterSetName = ResourceGroupParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under whcih want to create cache.")] + [Parameter(ParameterSetName = RedisCacheParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under whcih want to create cache.")] + public string ResourceGroupName { get; set; } + + [Parameter(ParameterSetName = RedisCacheParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache.")] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + if (!string.IsNullOrEmpty(ResourceGroupName) && !string.IsNullOrEmpty(Name)) + { + // Get for single cache + WriteObject(new RedisCacheAttributes(CacheClient.GetCache(ResourceGroupName, Name), ResourceGroupName)); + } + else + { + // List all cache in given resource group if avaliable otherwise all cache in given subscription + RedisListResponse response = CacheClient.ListCaches(ResourceGroupName); + List list = new List(); + foreach (RedisResource resource in response.Value) + { + list.Add(new RedisCacheAttributes(resource, ResourceGroupName)); + } + WriteObject(list, true); + + while (!string.IsNullOrEmpty(response.NextLink)) + { + // List using next link + response = CacheClient.ListCachesUsingNextLink(response.NextLink); + list = new List(); + foreach (RedisResource resource in response.Value) + { + list.Add(new RedisCacheAttributes(resource, ResourceGroupName)); + } + WriteObject(list, true); + } + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs new file mode 100644 index 000000000000..9479f7cbe612 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Management.Redis.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] + public class GetAzureRedisCacheKey : RedisCacheCmdletBase + { + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under whcih cache exists.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + RedisListKeysResponse keysResponse = CacheClient.GetAccessKeys(ResourceGroupName, Name); + WriteObject(new RedisAccessKeys() { + PrimaryKey = keysResponse.PrimaryKey, + SecondaryKey = keysResponse.SecondaryKey + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs new file mode 100644 index 000000000000..4af4bf90a867 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs @@ -0,0 +1,116 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Commands.RedisCache.Models; + using Microsoft.Azure.Commands.RedisCache.Properties; + using Microsoft.Azure.Management.Redis.Models; + using Microsoft.WindowsAzure; + using System.Management.Automation; + using SkuStrings = Microsoft.Azure.Management.Redis.Models.SkuName; + using MaxMemoryPolicyStrings = Microsoft.Azure.Management.Redis.Models.MaxMemoryPolicy; + + [Cmdlet(VerbsCommon.New, "AzureRedisCache"), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] + public class NewAzureRedisCache : RedisCacheCmdletBase + { + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which you want to create cache.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Location where want to create cache.")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "Redis version.")] + public string RedisVersion { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "Size of redis cache. Valid values: C0, C1, C2, C3, C4, C5, C6, 250MB, 1GB, 2.5GB, 6GB, 13GB, 26GB, 53GB")] + [ValidateSet(SizeConverter.C0String, SizeConverter.C1String, SizeConverter.C2String, SizeConverter.C3String, SizeConverter.C4String, SizeConverter.C5String, + SizeConverter.C6String, SizeConverter.C0, SizeConverter.C1, SizeConverter.C2, SizeConverter.C3, SizeConverter.C4, SizeConverter.C5, SizeConverter.C6, IgnoreCase = false)] + public string Size { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "Wheather want to create Basic (1 Node) or Standard (2 Node) cache.")] + [ValidateSet(SkuStrings.Basic, SkuStrings.Standard, IgnoreCase = false)] + public string Sku { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "MaxMemoryPolicy property of redis cache. Valid values: AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL")] + [ValidateSet(MaxMemoryPolicyStrings.AllKeysLRU, MaxMemoryPolicyStrings.AllKeysRandom, MaxMemoryPolicyStrings.NoEviction, + MaxMemoryPolicyStrings.VolatileLRU, MaxMemoryPolicyStrings.VolatileRandom, MaxMemoryPolicyStrings.VolatileTTL, IgnoreCase = false)] + public string MaxMemoryPolicy { get; set;} + + private const string redisDefaultVersion = "2.8"; + + public override void ExecuteCmdlet() + { + string skuFamily; + + int skuCapacity = 1; + + if (string.IsNullOrEmpty(RedisVersion)) + { + RedisVersion = redisDefaultVersion; + } + + if (string.IsNullOrEmpty(Size)) + { + Size = SizeConverter.C1String; + } + else + { + Size = SizeConverter.GetSizeInRedisSpecificFormat(Size); + } + + // Size to SkuFamily and SkuCapacity conversion + skuFamily = Size.Substring(0, 1); + int.TryParse(Size.Substring(1), out skuCapacity); + + if (string.IsNullOrEmpty(Sku)) + { + Sku = SkuStrings.Standard; + } + + // If Force flag is not avaliable than check if cache is already available or not + try + { + RedisGetResponse availableCache = CacheClient.GetCache(ResourceGroupName, Name); + if (availableCache != null) + { + throw new CloudException(string.Format(Resources.RedisCacheExists, Name)); + } + } + catch (CloudException ex) + { + if (ex.ErrorCode == "ResourceNotFound" || ex.Message.Contains("ResourceNotFound")) + { + // cache does not exists so go ahead and create one + } + else if (ex.ErrorCode == "ResourceGroupNotFound" || ex.Message.Contains("ResourceGroupNotFound")) + { + // resource group not found, let create throw error don't throw from here + } + else + { + // all other exceptions should be thrown + throw; + } + } + WriteObject(new RedisCacheAttributesWithAccessKeys(CacheClient.CreateOrUpdateCache(ResourceGroupName, Name, Location, RedisVersion, skuFamily, skuCapacity, Sku, MaxMemoryPolicy), ResourceGroupName)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs new file mode 100644 index 000000000000..39939ab12917 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Commands.RedisCache.Properties; + using Microsoft.Azure.Management.Redis.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.New, "AzureRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] + public class NewAzureRedisCacheKey : RedisCacheCmdletBase + { + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under whcih cache exists.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = "Regenerate this key.")] + [ValidateNotNullOrEmpty] + [ValidateSet("Primary", "Secondary", IgnoreCase = false)] + public string KeyType { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + RedisKeyType keyTypeToRegenerated = RedisKeyType.Primary; + if (KeyType.Equals("Secondary")) + { + keyTypeToRegenerated = RedisKeyType.Secondary; + } + + if (!Force.IsPresent) + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RegeneratingRedisCacheKey, Name, keyTypeToRegenerated.ToString()), + string.Format(Resources.RegenerateRedisCacheKey, Name, keyTypeToRegenerated.ToString()), + Name, + () => CacheClient.RegenerateAccessKeys(ResourceGroupName, Name, keyTypeToRegenerated) + ); + } + else + { + CacheClient.RegenerateAccessKeys(ResourceGroupName, Name, keyTypeToRegenerated); + } + + RedisListKeysResponse keysResponse = CacheClient.GetAccessKeys(ResourceGroupName, Name); + WriteObject(new RedisAccessKeys() + { + PrimaryKey = keysResponse.PrimaryKey, + SecondaryKey = keysResponse.SecondaryKey + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs new file mode 100644 index 000000000000..5e58e228a911 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Commands.RedisCache.Properties; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Remove, "AzureRedisCache"), OutputType(typeof(bool))] + public class RemoveAzureRedisCache : RedisCacheCmdletBase + { + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under whcih cache exists.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache to be removed.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter PassThru { get; set; } + + public override void ExecuteCmdlet() + { + if (!Force.IsPresent) + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingRedisCache, Name), + string.Format(Resources.RemoveRedisCache, Name), + Name, + () => CacheClient.DeleteCache(ResourceGroupName, Name)); + } + else + { + CacheClient.DeleteCache(ResourceGroupName, Name); + } + + if (PassThru) + { + WriteObject(true); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs new file mode 100644 index 000000000000..d52f36cdb659 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs @@ -0,0 +1,49 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Commands.RedisCache.Models; + using Microsoft.Azure.Management.Redis.Models; + using System.Management.Automation; + using MaxMemoryPolicyStrings = Microsoft.Azure.Management.Redis.Models.MaxMemoryPolicy; + + [Cmdlet(VerbsCommon.Set, "AzureRedisCache", DefaultParameterSetName = MaxMemoryParameterSetName), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] + public class SetAzureRedisCache : RedisCacheCmdletBase + { + internal const string MaxMemoryParameterSetName = "Only MaxMemoryPolicy"; + + [Parameter(ParameterSetName = MaxMemoryParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which you want to create cache.")] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(ParameterSetName = MaxMemoryParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of redis cache.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = MaxMemoryParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "MaxMemoryPolicy property of redis cache. Valid values: AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL")] + [ValidateSet(MaxMemoryPolicyStrings.AllKeysLRU, MaxMemoryPolicyStrings.AllKeysRandom, MaxMemoryPolicyStrings.NoEviction, + MaxMemoryPolicyStrings.VolatileLRU, MaxMemoryPolicyStrings.VolatileRandom, MaxMemoryPolicyStrings.VolatileTTL, IgnoreCase = false)] + public string MaxMemoryPolicy { get; set;} + + public override void ExecuteCmdlet() + { + RedisGetResponse response = CacheClient.GetCache(ResourceGroupName, Name); + WriteObject(new RedisCacheAttributesWithAccessKeys( + CacheClient.CreateOrUpdateCache(ResourceGroupName, Name, response.Location, response.Properties.RedisVersion, + response.Properties.Sku.Family, response.Properties.Sku.Capacity, response.Properties.Sku.Name, MaxMemoryPolicy), + ResourceGroupName)); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/MSSharedLibKey.snk b/src/ResourceManager/RedisCache/Commands.RedisCache/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/RedisCache/Commands.RedisCache/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml new file mode 100644 index 000000000000..ccc478681fd8 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml @@ -0,0 +1,1200 @@ + + + + + Get-AzureRedisCache + + Gets details about a single cache or all caches in the specified resource group or all caches in the current subscription. + + + + + Get + AzureRedisCache + + + + The Get-AzureRedisCache cmdlet gets the details about a cache or caches depending on input parameters. If both ResourceGroupName and Name parameters are provided then Get-AzureRedisCache will return details about the specific cache name provided. + If only ResourceGroupName is provided than it will return details about all caches in the specified resource group. + If no parameters are given than it will return details about all caches the current subscription. + + + + Get-AzureRedisCache + + Name + + The name of the cache. If Name is provided along with ResourceGroupName then Get-AzureRedisCache returns the details of the specified cache. + + String + + + ResourceGroupName + + The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned. + + String + + + + + + Name + + The name of the cache. When this parameter is provided along with ResourceGroupName, Get-AzureRedisCache returns the details for the cache. + + String + + String + + + + + + + ResourceGroupName + + The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned. + + String + + String + + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributes + + + + + + + + Returns an array of redis caches. + + + + + + + + + The Get-AzureRedisCache cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Get specific redis cache by name + + + + + PS C:\>Get-AzureRedisCache -ResourceGroupName myGroup -Name myexists + + ResourceGroupName : myGroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists + Location : North Central US + Name : myexists + Type : Microsoft.Cache/Redis + HostName : myexists.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 1GB + Sku : Basic + + + + This command gets details about the specified redis cache. + + + + + + + + + Example 2: Get all redis caches in a specific resource group + + + + + + PS C:\>Get-AzureRedisCache -ResourceGroupName myGroup + + ResourceGroupName : myGroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists + Location : North Central US + Name : myexists + Type : Microsoft.Cache/Redis + HostName : myexists.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 1GB + Sku : Basic + + ResourceGroupName : myGroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier + Location : North Central US + Name : myearlier + Type : Microsoft.Cache/Redis + HostName : myearlier.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 250MB + Sku : Standard + + + + This command gets details about all redis caches in the specified resource group. + + + + + + + + + Example 3: Get all redis caches in the current subscription + + + + + + PS C:\>Get-AzureRedisCache + + ResourceGroupName : myGroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists + Location : North Central US + Name : myexists + Type : Microsoft.Cache/Redis + HostName : myexists.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 1GB + Sku : Basic + + ResourceGroupName : myGroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier + Location : North Central US + Name : myearlier + Type : Microsoft.Cache/Redis + HostName : myearlier.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 250MB + Sku : Standard + + ResourceGroupName : myGroup2 + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup2/providers/Microsoft.Cache/Redis/myearlier2 + Location : North Central US + Name : myearlier2 + Type : Microsoft.Cache/Redis + HostName : myearlier2.redis.cache.windows.net + Port : 6379 + ProvisioningState : succeeded + SslPort : 6380 + MaxMemoryPolicy : VolatileTTL + RedisVersion : 2.8 + Size : 250MB + Sku : Basic + + + + This command gets details about all redis caches in the current subscription. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512522 + + + + + + New-AzureRedisCache + + Creates a new redis cache. + + + + + New + AzureRedisCache + + + + The New-AzureRedisCache cmdlet creates a new redis cache. + + + + New-AzureRedisCache + + Name + + Name of the redis cache to create. + + String + + + ResourceGroupName + + Name of the resource group in which to create the redis cache. + + String + + + Location + + Location in which to create redis cache. + + String + + + RedisVersion + + RedisVersion of the redis cache. If not provided, the default value is 2.8. + + String + + + Size + + Size of the redis cache. The default value is 1GB or C1. Possible values are C0, C1, C2, C3, C4, C5, C6, 250MB, 1GB, 2.5GB, 6GB, 13GB, 26GB, 53GB. + + String + + + Sku + + Sku of redis cache. The default value is Standard. Possible values are Basic and Standard. + + String + + + MaxMemoryPolicy + + MaxMemoryPolicy used by the redis cache. The default value is null. Possible values are AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL + + String + + + + + + Name + + Name of the redis cache to create. + + String + + String + + + + + + + ResourceGroupName + + Name of resource group in which to create the redis cache. + + String + + String + + + + + + + Location + + Location in which to create the redis cache. + + String + + String + + + + + + + RedisVersion + + RedisVersion of the redis cache. The default value is 2.8. + + String + + String + + + 2.8 + + + Size + + Size of the redis cache. The default value is 1GB or C1. Possible values are C0, C1, C2, C3, C4, C5, C6, 250MB, 1GB, 2.5GB, 6GB, 13GB, 26GB, 53GB. + + String + + String + + + 1GB + + + Sku + + Sku of the redis cache. The default value is Standard. Possible values are Basic and Standard. + + String + + String + + + Standard + + + MaxMemoryPolicy + + MaxMemoryPolicy used by the redis cache. By default the value is null. All possible values are AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL. + + String + + String + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributesWithAccessKeys + + + + + + + + Returns all attributes of a redis cache including primary and secondary access keys. + + + + + + + + + The New-AzureRedisCache cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Create new redis cache + + + + + + PS C:\>New-AzureRedisCache -ResourceGroupName myGroup -Name mycache -Location "North Central US" + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + ResourceGroupName : mygroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/mygroup/providers/Microsoft.Cache/Redis/mycache + Location : North Central US + Name : mycache + Type : Microsoft.Cache/Redis + HostName : mycache.cache.icbbvt.windows-int.net + Port : 6379 + ProvisioningState : creating + SslPort : 6380 + MaxMemoryPolicy : + RedisVersion : 2.8 + Size : 1GB + Sku : Standard + + + + This command creates a redis cache. + + + + + + + + + Example 2: Create new redis cache with all parameters + + + + + + PS C:\>New-AzureRedisCache -ResourceGroupName mygroup -Name mycache -Location "North Central US" -RedisVersion "2.8" -Size 250MB -Sku Standard -MaxMemoryPolicy AllKeysLRU -Force + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + ResourceGroupName : mygroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/mygroup/providers/Microsoft.Cache/Redis/mycache + Location : North Central US + Name : mycache + Type : Microsoft.Cache/Redis + HostName : mycache.cache.icbbvt.windows-int.net + Port : 6379 + ProvisioningState : creating + SslPort : 6380 + MaxMemoryPolicy : AllKeysLRU + RedisVersion : 2.8 + Size : 250MB + Sku : Standard + + + + This command creates a redis cache or updates the redis cache if it already exists. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512523 + + + + + + Remove-AzureRedisCache + + Remove redis cache if exists. + + + + + Remove + AzureRedisCache + + + + The Remove-AzureRedisCache cmdlet removes a redis cache if it exists. + + + + Remove-AzureRedisCache + + Name + + Name of the redis cache to remove. + + String + + + ResourceGroupName + + Name of the resource group of the cache to remove. + + String + + + Force + + When the Force parameter is provided, the cache is removed without any confirmation prompts. + + + + PassThru + + By default Remove-AzureRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRedisCache returns a boolean value indicating the success of the operation. + + + + + + + Name + + Name of the redis cache to remove. + + String + + String + + + + + + + ResourceGroupName + + Name of the resource group of the cache to remove. + + String + + String + + + + + + + Force + + When the Force parameter is provided, the cache is removed without any confirmation prompts. + + + SwitchParameter + + + + + + PassThru + + By default Remove-AzureRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRedisCache returns a boolean value indicating the success of the operation. + + + SwitchParameter + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Boolean + + + + + + + + Returns true if no exception occured. + + + + + + + + + The Remove-AzureRedisCache cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Remove a redis cache with PassThru + + + + + + PS C:\>Remove-AzureRedisCache -ResourceGroupName myGroup -Name mycache -Force -PassThru + True + + + + This command removes a redis cache. + + + + + + + + + Example 2: Remove a redis cache without PassThru + + + + + + PS C:\>Remove-AzureRedisCache -ResourceGroupName myGroup -Name mycache -Force + + + This command removes a redis cache. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512524 + + + + + + Get-AzureRedisCacheKey + + Gets the accesskeys for the specified redis cache. + + + + + Get + AzureRedisCacheKey + + + + The Get-AzureRedisCacheKey cmdlet gets the access keys for the specified cache. + + + + Get-AzureRedisCacheKey + + Name + + Name of the redis cache. + + String + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + + + + + Name + + Name of the redis cache. + + String + + String + + + + + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + String + + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Management.Redis.Models.RedisAccessKeys + + + + + + + + Returns primary and secondary access key of redis caches. + + + + + + + + + The Get-AzureRedisCacheKey cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Get the access keys of a specific redis cache + + + + + + PS C:\>Get-AzureRedisCacheKey -ResourceGroupName myGroup -Name myexists + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + + + + This command gets the access keys of a specific redis cache. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512525 + + + + + + New-AzureRedisCacheKey + + Regenerates the access key of a redis cache. + + + + + New + AzureRedisCacheKey + + + + The New-AzureRedisCacheKey cmdlet regenerate the access key of a redis cache. + + + + New-AzureRedisCacheKey + + Name + + Name of the redis cache. + + String + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + + KeyType + + Specifies whether to regenerate the primary or secondary access key. Possible values are Primary or Secondary. + + String + + + Force + + When the Force parameter is provided, the specified access key is regenerated without any confirmation prompts. + + + + + + + Name + + Name of the redis cache. + + String + + String + + + + + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + String + + + + + + + KeyType + + Specifies whether to regenerate the primary or secondary access key. Possible values are Primary or Secondary. + + String + + String + + + + + + + Force + + When the Force parameter is provided, the specified access key is regenerated without any confirmation prompts. + + + SwitchParameter + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Management.Redis.Models.RedisAccessKeys + + + + + + + + Returns primary and secondary access key of redis caches. + + + + + + + + + The New-AzureRedisCacheKey cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Regenerate primary key + + + + + + PS C:\>New-AzureRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Primary -Force + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + + + + This command regenerates the primary key of a redis cache. + + + + + + + + + Example 2: Regenerate secondary key + + + + + + PS C:\>New-AzureRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Secondary -Force + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + + + + This command regenerates the secondary key of a redis cache. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512526 + + + + + + Set-AzureRedisCache + + Set redis cache updatable parameters. + + + + + Set + AzureRedisCache + + + + The Set-AzureRedisCache cmdlet sets redis cache parameters. + + + + Set-AzureRedisCache + + Name + + Name of the redis cache to update. + + String + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + + MaxMemoryPolicy + + MaxMemoryPolicy used by the redis cache. The default value is null. Possible values are AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL. + + String + + + + + + Name + + Name of the redis cache to update. + + String + + String + + + + + + + ResourceGroupName + + Name of the resource group for the cache. + + String + + String + + + + + + + MaxMemoryPolicy + + MaxMemoryPolicy used by the redis cache. The default value is null. Possible values are AllKeysLRU, AllKeysRandom, NoEviction, VolatileLRU, VolatileRandom, VolatileTTL. + + String + + String + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributesWithAccessKeys + + + + + + + + Returns all attributes of a redis cache including primary and secondary access keys. + + + + + + + + + The Set-AzureRedisCache cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.10.1. + + + + + Example 1: Update Max Memory Policy + + + + + + PS C:\>New-AzureRedisCache -ResourceGroupName mygroup -Name mycache -MaxMemoryPolicy AllKeysLRU + + PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= + ResourceGroupName : mygroup + Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/mygroup/providers/Microsoft.Cache/Redis/mycache + Location : North Central US + Name : mycache + Type : Microsoft.Cache/Redis + HostName : mycache.cache.icbbvt.windows-int.net + Port : 6379 + ProvisioningState : creating + SslPort : 6380 + MaxMemoryPolicy : AllKeysLRU + RedisVersion : 2.8 + Size : 250MB + Sku : Standard + + + + This command updates the updatable attributes of a redis cache. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=512527 + + + + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.format.ps1xml b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.format.ps1xml new file mode 100644 index 000000000000..2c392f5c9ecb --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.format.ps1xml @@ -0,0 +1,167 @@ + + + + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributes + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributes + + + + + + + + Name + + + + Id + + + + Location + + + + Type + + + + HostName + + + + Port + + + + ProvisioningState + + + + SslPort + + + + MaxMemoryPolicy + + + + RedisVersion + + + + Size + + + + Sku + + + + ResourceGroupName + + + + + + + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributesWithAccessKeys + + Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributesWithAccessKeys + + + + + + + + Name + + + + Id + + + + Location + + + + Type + + + + HostName + + + + Port + + + + ProvisioningState + + + + SslPort + + + + MaxMemoryPolicy + + + + RedisVersion + + + + Size + + + + Sku + + + + ResourceGroupName + + + + PrimaryKey + + + + SecondaryKey + + + + + + + + Microsoft.Azure.Management.Redis.Models.RedisAccessKeys + + Microsoft.Azure.Management.Redis.Models.RedisAccessKeys + + + + + + + + PrimaryKey + + + + SecondaryKey + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributes.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributes.cs new file mode 100644 index 000000000000..b02db7d02637 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributes.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Models +{ + using Microsoft.Azure.Management.Redis.Models; + + class RedisCacheAttributes + { + public RedisCacheAttributes(RedisResource cache, string resourceGroupName) + { + Id = cache.Id; + Location = cache.Location; + Name = cache.Name; + Type = cache.Type; + HostName = cache.Properties.HostName; + Port = cache.Properties.Port; + ProvisioningState = cache.Properties.ProvisioningState; + SslPort = cache.Properties.SslPort; + MaxMemoryPolicy = cache.Properties.MaxMemoryPolicy; + RedisVersion = cache.Properties.RedisVersion; + Size = SizeConverter.GetSizeInUserSpecificFormat(cache.Properties.Sku.Family, cache.Properties.Sku.Capacity); + Sku = cache.Properties.Sku.Name; + ResourceGroupName = resourceGroupName; + } + + public RedisCacheAttributes(RedisGetResponse cache, string resourceGroupName) + { + Id = cache.Id; + Location = cache.Location; + Name = cache.Name; + Type = cache.Type; + HostName = cache.Properties.HostName; + Port = cache.Properties.Port; + ProvisioningState = cache.Properties.ProvisioningState; + SslPort = cache.Properties.SslPort; + MaxMemoryPolicy = cache.Properties.MaxMemoryPolicy; + RedisVersion = cache.Properties.RedisVersion; + Size = SizeConverter.GetSizeInUserSpecificFormat(cache.Properties.Sku.Family, cache.Properties.Sku.Capacity); + Sku = cache.Properties.Sku.Name; + ResourceGroupName = resourceGroupName; + } + + public RedisCacheAttributes() { } + + private string _resourceGroupName; + public string ResourceGroupName + { + get + { + return _resourceGroupName; + } + + protected set + { + if (!string.IsNullOrEmpty(value)) + { + _resourceGroupName = value; + } + else + { + // if resource group name is null (when try to get all cache in given subscription it will be null) we have to fetch it from Id. + _resourceGroupName = Id.Split('/')[4]; + } + } + } + + public string Id { get; protected set; } + + public string Location { get; protected set; } + + public string Name { get; protected set; } + + public string Type { get; protected set; } + + public string HostName { get; protected set; } + + public int Port { get; protected set; } + + public string ProvisioningState { get; protected set; } + + public int SslPort { get; protected set; } + + public string MaxMemoryPolicy { get; protected set; } + + public string RedisVersion { get; protected set; } + + public string Size { get; protected set; } + + public string Sku { get; protected set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributesWithAccessKeys.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributesWithAccessKeys.cs new file mode 100644 index 000000000000..8830d0a37c48 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheAttributesWithAccessKeys.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Models +{ + using Microsoft.Azure.Management.Redis.Models; + + class RedisCacheAttributesWithAccessKeys : RedisCacheAttributes + { + public RedisCacheAttributesWithAccessKeys(RedisCreateOrUpdateResponse cache, string resourceGroupName) + { + Id = cache.Id; + Location = cache.Location; + Name = cache.Name; + Type = cache.Type; + HostName = cache.Properties.HostName; + Port = cache.Properties.Port; + ProvisioningState = cache.Properties.ProvisioningState; + SslPort = cache.Properties.SslPort; + MaxMemoryPolicy = cache.Properties.MaxMemoryPolicy; + RedisVersion = cache.Properties.RedisVersion; + Size = SizeConverter.GetSizeInUserSpecificFormat(cache.Properties.Sku.Family, cache.Properties.Sku.Capacity); + Sku = cache.Properties.Sku.Name; + + PrimaryKey = cache.Properties.AccessKeys.PrimaryKey; + SecondaryKey = cache.Properties.AccessKeys.SecondaryKey; + ResourceGroupName = resourceGroupName; + } + + public string PrimaryKey { get; private set; } + public string SecondaryKey { get; private set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs new file mode 100644 index 000000000000..3aa15d1d05fb --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs @@ -0,0 +1,93 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache +{ + using Microsoft.Azure.Management.Redis; + using Microsoft.Azure.Management.Redis.Models; + using Microsoft.WindowsAzure; + using Microsoft.WindowsAzure.Commands.Common; + using Microsoft.WindowsAzure.Commands.Common.Models; + + public class RedisCacheClient + { + private RedisManagementClient _client; + public RedisCacheClient(AzureContext context) + { + _client = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); + } + public RedisCacheClient() { } + + public RedisCreateOrUpdateResponse CreateOrUpdateCache(string resourceGroupName, string cacheName, string location, string redisVersion, string skuFamily, int skuCapacity, string skuName, string maxMemoryPolicy) + { + RedisCreateOrUpdateParameters parameters = new RedisCreateOrUpdateParameters + { + Location = location, + Properties = new RedisProperties + { + RedisVersion = redisVersion, + Sku = new Sku() { + Name = skuName, + Family = skuFamily, + Capacity = skuCapacity + } + } + }; + + if (!string.IsNullOrEmpty(maxMemoryPolicy)) + { + parameters.Properties.MaxMemoryPolicy = maxMemoryPolicy; + } + RedisCreateOrUpdateResponse response = _client.Redis.CreateOrUpdate(resourceGroupName: resourceGroupName, name: cacheName, parameters: parameters); + return response; + } + + public OperationResponse DeleteCache(string resourceGroupName, string cacheName) + { + return _client.Redis.Delete(resourceGroupName: resourceGroupName, name: cacheName); + } + + public RedisGetResponse GetCache(string resourceGroupName, string cacheName) + { + return _client.Redis.Get(resourceGroupName: resourceGroupName, name: cacheName); + } + + public RedisListResponse ListCaches(string resourceGroupName) + { + if (string.IsNullOrEmpty(resourceGroupName)) + { + return _client.Redis.List(null); + } + else + { + return _client.Redis.List(resourceGroupName: resourceGroupName); + } + } + + public RedisListResponse ListCachesUsingNextLink(string nextLink) + { + return _client.Redis.ListNext(nextLink: nextLink); + } + + public OperationResponse RegenerateAccessKeys(string resourceGroupName, string cacheName, RedisKeyType keyType) + { + return _client.Redis.RegenerateKey(resourceGroupName: resourceGroupName, name: cacheName, parameters: new RedisRegenerateKeyParameters() { KeyType = keyType }); + } + + public RedisListKeysResponse GetAccessKeys(string resourceGroupName, string cacheName) + { + return _client.Redis.ListKeys(resourceGroupName: resourceGroupName, name: cacheName); + } + } +} diff --git a/src/Common/Commands.Common/Common/HttpClientHelper.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs similarity index 57% rename from src/Common/Commands.Common/Common/HttpClientHelper.cs rename to src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs index 449e0876663c..1b2dadb68f9f 100644 --- a/src/Common/Commands.Common/Common/HttpClientHelper.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs @@ -12,23 +12,31 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Net; -using System.Net.Http; -using Microsoft.WindowsAzure.Commands.Common.Factories; - -namespace Microsoft.WindowsAzure.Commands.Utilities.Common +namespace Microsoft.Azure.Commands.RedisCache { - public static class HttpClientHelper + using Microsoft.WindowsAzure.Commands.Utilities.Common; + + /// + /// The base class for all Microsoft Azure Redis Cache Management Cmdlets + /// + public abstract class RedisCacheCmdletBase : AzurePSCmdlet { - public static HttpClient CreateClient(string serviceUrl, ICredentials credentials = null, HttpMessageHandler handler = null) + private RedisCacheClient cacheClient; + + public RedisCacheClient CacheClient { - if (credentials != null) + get { - return ClientFactory.CreateHttpClientBase(serviceUrl, ClientFactory.CreateHttpClientHandler(serviceUrl, credentials)); + if (cacheClient == null) + { + cacheClient = new RedisCacheClient(CurrentContext); + } + return cacheClient; } - else + + set { - return ClientFactory.CreateHttpClientBase(serviceUrl, handler); + cacheClient = value; } } } diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/SizeConverter.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/SizeConverter.cs new file mode 100644 index 000000000000..033fc115d567 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/SizeConverter.cs @@ -0,0 +1,99 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RedisCache.Models +{ + public static class SizeConverter + { + public const string C0 = "250MB"; + public const string C1 = "1GB"; + public const string C2 = "2.5GB"; + public const string C3 = "6GB"; + public const string C4 = "13GB"; + public const string C5 = "26GB"; + public const string C6 = "53GB"; + + public const string C0String = "C0"; + public const string C1String = "C1"; + public const string C2String = "C2"; + public const string C3String = "C3"; + public const string C4String = "C4"; + public const string C5String = "C5"; + public const string C6String = "C6"; + + public static string GetSizeInRedisSpecificFormat(string actualSizeFromUser) + { + switch(actualSizeFromUser) + { + // accepting actual sizes + case C0: + return C0String; + case C1: + return C1String; + case C2: + return C2String; + case C3: + return C3String; + case C4: + return C4String; + case C5: + return C5String; + case C6: + return C6String; + // accepting C0, C1 etc. + case C0String: + return C0String; + case C1String: + return C1String; + case C2String: + return C2String; + case C3String: + return C3String; + case C4String: + return C4String; + case C5String: + return C5String; + case C6String: + return C6String; + default: + return C1String; + } + } + + public static string GetSizeInUserSpecificFormat(string skuFamily, int skuCapacity) + { + string sizeConstant = skuFamily + skuCapacity.ToString(); + switch (sizeConstant) + { + // accepting C0, C1 etc. + case C0String: + return C0; + case C1String: + return C1; + case C2String: + return C2; + case C3String: + return C3; + case C4String: + return C4; + case C5String: + return C5; + case C6String: + return C6; + default: + return C1; + } + } + } +} diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/PostBuild.ps1 b/src/ResourceManager/RedisCache/Commands.RedisCache/PostBuild.ps1 new file mode 100644 index 000000000000..432e76af61ff --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/PostBuild.ps1 @@ -0,0 +1,25 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +$sourceDir = $args[0] +Write-Output $sourceDir + +$sourcePath = $sourceDir + "AzureResourceManager.psd1" +$destDir = $(Split-Path $sourceDir) + +Write-Output "Copying '$sourcePath' to directory '$destDir'" +Copy-Item $sourcePath $destDir + +Write-Output "Removing $sourcePath" +Remove-Item $sourcePath -Force \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/AssemblyInfo.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..63bc7bacbf71 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/AssemblyInfo.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - Redis Cache")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Microsoft Azure Powershell")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("6D663ED9-C1A5-438F-B88A-D709562538C6")] +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.RedisCache.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.RedisCache.Test")] +#endif \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.Designer.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..504ce90ddea9 --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.Designer.cs @@ -0,0 +1,108 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.RedisCache.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.RedisCache.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Redis cache with name '{0}' already exists.. + /// + internal static string RedisCacheExists { + get { + return ResourceManager.GetString("RedisCacheExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Regenerating {1} key for redis cache '{0}' .... + /// + internal static string RegenerateRedisCacheKey { + get { + return ResourceManager.GetString("RegenerateRedisCacheKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to regenerate {1} key for redis cache '{0}'?. + /// + internal static string RegeneratingRedisCacheKey { + get { + return ResourceManager.GetString("RegeneratingRedisCacheKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing redis cache '{0}' .... + /// + internal static string RemoveRedisCache { + get { + return ResourceManager.GetString("RemoveRedisCache", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove redis cache '{0}'?. + /// + internal static string RemovingRedisCache { + get { + return ResourceManager.GetString("RemovingRedisCache", resourceCulture); + } + } + } +} diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.resx b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.resx new file mode 100644 index 000000000000..9535144c625c --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Properties/Resources.resx @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Redis cache with name '{0}' already exists. + + + Regenerating {1} key for redis cache '{0}' ... + + + Are you sure you want to regenerate {1} key for redis cache '{0}'? + + + Removing redis cache '{0}' ... + + + Are you sure you want to remove redis cache '{0}'? + + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config new file mode 100644 index 000000000000..6bcaa8a8decc --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file 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 ad821cffccad..185127154151 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj @@ -45,31 +45,35 @@ ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll - + + False + ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.4.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll + + False ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.11.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - + False ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.0-preview\lib\net40\Microsoft.Azure.Monitoring.dll - + False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Hydra.HttpRecorder.1.0.5359.24167-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - + False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -82,18 +86,19 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - + False - ..\..\..\packages\Hydra.SpecTestSupport.1.0.5359.24167-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + + + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll False @@ -145,11 +150,13 @@ + - + + @@ -172,6 +179,10 @@ {c1bda476-a5cc-4394-914d-48b0ec31a710} Commands.ScenarioTests.Common + + {9577252e-0a6b-4d61-86e8-95f7f309a987} + Commands.DataFactories + {e1f5201d-6067-430e-b303-4e367652991b} Commands.Resources @@ -216,6 +227,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -228,6 +242,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -279,6 +296,111 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/GalleryTemplatesClientTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/GalleryTemplatesClientTests.cs index 432458d42f26..9f05a40e5d10 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/GalleryTemplatesClientTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/GalleryTemplatesClientTests.cs @@ -603,13 +603,13 @@ public void FiltersGalleryTemplatesLatestVersion() }, new GalleryItem() { - Name = "Template1", + Name = "Template0", Publisher = "Microsoft", Version = "0.0.0.1" }, new GalleryItem() { - Name = "Template2", + Name = "Template0", Publisher = "Microsoft", Version = "0.0.0.2" } @@ -619,13 +619,67 @@ public void FiltersGalleryTemplatesLatestVersion() FilterGalleryTemplatesOptions options = new FilterGalleryTemplatesOptions() { - Publisher = "Microsoft" + ApplicationName = "Template0" }; List result = galleryTemplatesClient.FilterGalleryTemplates(options); Assert.Equal(1, result.Count); - Assert.Equal("Template2", result[0].Name); + Assert.Equal("Template0", result[0].Name); + Assert.Equal("0.0.0.2", result[0].Version); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void FiltersGalleryTemplatesByPublisherLatestVersion() + { + string filterString = FilterString.Generate(f => f.Publisher == "Microsoft"); + ItemListParameters actual = new ItemListParameters(); + galleryClientMock.Setup(f => f.Items.ListAsync(It.IsAny(), new CancellationToken())) + .Returns(Task.Factory.StartNew(() => new ItemListResult + { + Items = new List() + { + new GalleryItem() + { + Name = "Template0", + Publisher = "Microsoft", + Version = "0.0.0.0" + }, + new GalleryItem() + { + Name = "Template0", + Publisher = "Microsoft", + Version = "0.0.0.2" + }, + new GalleryItem() + { + Name = "Template1", + Publisher = "Microsoft", + Version = "0.0.0.0" + }, + new GalleryItem() + { + Name = "Template1", + Publisher = "Microsoft", + Version = "0.0.0.1" + } + } + })) + .Callback((ItemListParameters p, CancellationToken c) => actual = p); + + FilterGalleryTemplatesOptions options = new FilterGalleryTemplatesOptions() + { + Publisher = "Microsoft" + }; + + List result = galleryTemplatesClient.FilterGalleryTemplates(options); + + Assert.Equal(2, result.Count); + Assert.True(result.Count(x => x.Name.Equals("Template0")) == 1); + Assert.True(result.Count(x => x.Name.Equals("Template1")) == 1); + Assert.Equal(result.First(x => x.Name.Equals("Template0")).Version, "0.0.0.2"); + Assert.Equal(result.First(x => x.Name.Equals("Template1")).Version, "0.0.0.1"); } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs new file mode 100644 index 000000000000..a0fb4863640c --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.cs @@ -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. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Graph.RBAC; +using Microsoft.Azure.Graph.RBAC.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Testing; +using System.Linq; +using Xunit; + +namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +{ + public class ActiveDirectoryTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAllADGroups() + { + const string scriptMethod = "Test-GetAllADGroups"; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newGroup = CreateNewAdGroup(controllerAdmin); + return new[] { scriptMethod }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupWithSearchString() + { + const string scriptMethod = "Test-GetADGroupWithSearchString '{0}'"; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newGroup = CreateNewAdGroup(controllerAdmin); + return new[] { string.Format(scriptMethod, newGroup.DisplayName) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupWithBadSearchString() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADGroupWithBadSearchString"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupWithObjectId() + { + const string scriptMethod = "Test-GetADGroupWithObjectId '{0}'"; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newGroup = CreateNewAdGroup(controllerAdmin); + return new[] { string.Format(scriptMethod, newGroup.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupWithBadObjectId() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADGroupWithBadObjectId"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupWithUserObjectId() + { + const string scriptMethod = "Test-GetADGroupWithUserObjectId '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupMemberWithGroupObjectId() + { + const string scriptMethod = "Test-GetADGroupMemberWithGroupObjectId '{0}' '{1}' '{2}'"; + User newUser = null; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + newGroup = CreateNewAdGroup(controllerAdmin); + + string memberUrl = string.Format( + "{0}{1}/directoryObjects/{2}", + controllerAdmin.GraphClient.BaseUri.AbsoluteUri, + controllerAdmin.GraphClient.TenantID, + newUser.ObjectId); + + controllerAdmin.GraphClient.Group.AddMember(newGroup.ObjectId, new GroupAddMemberParameters(memberUrl)); + + return new[] { string.Format(scriptMethod, newGroup.ObjectId, newUser.ObjectId, newUser.DisplayName) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupMemberWithBadGroupObjectId() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADGroupMemberWithBadGroupObjectId"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupMemberWithUserObjectId() + { + const string scriptMethod = "Test-GetADGroupMemberWithUserObjectId '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADGroupMemberFromEmptyGroup() + { + const string scriptMethod = "Test-GetADGroupMemberFromEmptyGroup '{0}'"; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newGroup = CreateNewAdGroup(controllerAdmin); + return new[] { string.Format(scriptMethod, newGroup.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithObjectId() + { + const string scriptMethod = "Test-GetADServicePrincipalWithObjectId '{0}'"; + ServicePrincipal newServicePrincipal = null; + Application app = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + app = CreateNewAdApp(controllerAdmin); + newServicePrincipal = CreateNewAdServicePrincipal(controllerAdmin, app.AppId); + return new[] { string.Format(scriptMethod, newServicePrincipal.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdServicePrincipal(controllerAdmin, newServicePrincipal); + DeleteAdApp(controllerAdmin, app); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithBadObjectId() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADServicePrincipalWithBadObjectId"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithUserObjectId() + { + const string scriptMethod = "Test-GetADServicePrincipalWithUserObjectId '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithSPN() + { + const string scriptMethod = "Test-GetADServicePrincipalWithSPN '{0}'"; + ServicePrincipal newServicePrincipal = null; + Application app = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + app = CreateNewAdApp(controllerAdmin); + newServicePrincipal = CreateNewAdServicePrincipal(controllerAdmin, app.AppId); + return new[] { string.Format(scriptMethod, newServicePrincipal.ServicePrincipalNames[1]) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdServicePrincipal(controllerAdmin, newServicePrincipal); + DeleteAdApp(controllerAdmin, app); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithBadSPN() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADServicePrincipalWithBadSPN"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithSearchString() + { + const string scriptMethod = "Test-GetADServicePrincipalWithSearchString '{0}'"; + ServicePrincipal newServicePrincipal = null; + Application app = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + app = CreateNewAdApp(controllerAdmin); + newServicePrincipal = CreateNewAdServicePrincipal(controllerAdmin, app.AppId); + return new[] { string.Format(scriptMethod, newServicePrincipal.DisplayName) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdServicePrincipal(controllerAdmin, newServicePrincipal); + DeleteAdApp(controllerAdmin, app); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADServicePrincipalWithBadSearchString() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADServicePrincipalWithBadSearchString"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAllADUser() + { + const string scriptMethod = "Test-GetAllADUser"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithObjectId() + { + const string scriptMethod = "Test-GetADUserWithObjectId '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithBadObjectId() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADUserWithBadObjectId"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithGroupObjectId() + { + const string scriptMethod = "Test-GetADUserWithGroupObjectId '{0}'"; + Group newGroup = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newGroup = CreateNewAdGroup(controllerAdmin); + return new[] { string.Format(scriptMethod, newGroup.ObjectId) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdGroup(controllerAdmin, newGroup); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithUPN() + { + const string scriptMethod = "Test-GetADUserWithUPN '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.UserPrincipalName) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact(Skip = "Currently not working.")] + public void TestGetADUserWithFPOUPN() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADUserWithFPOUPN"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithBadUPN() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADUserWithBadUPN"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithSearchString() + { + const string scriptMethod = "Test-GetADUserWithSearchString '{0}'"; + User newUser = null; + var controllerAdmin = ResourcesController.NewInstance; + + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + newUser = CreateNewAdUser(controllerAdmin); + return new[] { string.Format(scriptMethod, newUser.DisplayName) }; + }, + // initialize + null, + // cleanup + () => + { + DeleteAdUser(controllerAdmin, newUser); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetADUserWithBadSearchString() + { + ResourcesController.NewInstance.RunPsTest("Test-GetADUserWithBadSearchString"); + } + + private User CreateNewAdUser(ResourcesController controllerAdmin) + { + var name = TestUtilities.GenerateName("aduser"); + var parameter = new UserCreateParameters + { + DisplayName = name, + UserPrincipalName = name + "@" + controllerAdmin.UserDomain, + AccountEnabled = true, + MailNickname = name + "test", + PasswordProfileSettings = new UserCreateParameters.PasswordProfile + { + ForceChangePasswordNextLogin = false, + Password = TestUtilities.GenerateName("adpass") + "0#$" + } + }; + + return controllerAdmin.GraphClient.User.Create(parameter).User; + } + + private Group CreateNewAdGroup(ResourcesController controllerAdmin) + { + var parameter = new GroupCreateParameters + { + DisplayName = TestUtilities.GenerateName("adgroup"), + MailNickname = TestUtilities.GenerateName("adgroupmail"), + SecurityEnabled = true + }; + return controllerAdmin.GraphClient.Group.Create(parameter).Group; + } + + private Application CreateNewAdApp(ResourcesController controllerAdmin) + { + var appName = TestUtilities.GenerateName("adApplication"); + var url = string.Format("http://{0}/home", appName); + var appParam = new ApplicationCreateParameters + { + AvailableToOtherTenants = false, + DisplayName = appName, + Homepage = url, + IdentifierUris = new[] { url }, + ReplyUrls = new[] { url } + }; + + return controllerAdmin.GraphClient.Application.Create(appParam).Application; + } + + private ServicePrincipal CreateNewAdServicePrincipal(ResourcesController controllerAdmin, string appId) + { + var spParam = new ServicePrincipalCreateParameters + { + AppId = appId, + AccountEnabled = true + }; + + return controllerAdmin.GraphClient.ServicePrincipal.Create(spParam).ServicePrincipal; + } + + private void DeleteAdUser(ResourcesController controllerAdmin, User user) + { + if (user != null) + { + controllerAdmin.GraphClient.User.Delete(user.ObjectId); + } + } + private void DeleteAdGroup(ResourcesController controllerAdmin, Group group) + { + if (group != null) + { + controllerAdmin.GraphClient.Group.Delete(group.ObjectId); + } + } + private void DeleteAdApp(ResourcesController controllerAdmin, Application app) + { + if (app != null) + { + controllerAdmin.GraphClient.Application.Delete(app.ObjectId); + } + } + + private void DeleteAdServicePrincipal(ResourcesController controllerAdmin, ServicePrincipal newServicePrincipal) + { + if (newServicePrincipal != null) + { + controllerAdmin.GraphClient.ServicePrincipal.Delete(newServicePrincipal.ObjectId); + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 new file mode 100644 index 000000000000..a9050daad84d --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 @@ -0,0 +1,415 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Tests getting Active Directory groups. +#> +function Test-GetAllADGroups +{ + # Test + $groups = Get-AzureADGroup + + # Assert + Assert-NotNull($groups) + foreach($group in $groups) { + Assert-NotNull($group.DisplayName) + Assert-NotNull($group.Id) + } +} + +<# +.SYNOPSIS +Tests getting Active Directory groups. +#> +function Test-GetADGroupWithSearchString +{ + param([string]$displayName) + + # Test + # Select at most 10 groups. Groups are restricted to contain "test" to fasten the test + $groups = Get-AzureADGroup -SearchString $displayName + + # Assert + Assert-AreEqual $groups.Count 1 + Assert-NotNull $groups[0].Id + Assert-AreEqual $groups[0].DisplayName $displayName +} + +<# +.SYNOPSIS +Tests getting Active Directory groups. +#> +function Test-GetADGroupWithBadSearchString +{ + # Test + # Select at most 10 groups. Groups are restricted to contain "test" to fasten the test + $groups = Get-AzureADGroup -SearchString "BadSearchString" + + # Assert + Assert-Null($groups) +} + +<# +.SYNOPSIS +Tests getting Active Directory groups. +#> +function Test-GetADGroupWithObjectId +{ + param([string]$objectId) + + # Test + $groups = Get-AzureADGroup -ObjectId $objectId + + # Assert + Assert-AreEqual $groups.Count 1 + Assert-AreEqual $groups[0].Id $objectId + Assert-NotNull($groups[0].DisplayName) +} + +<# +.SYNOPSIS +Tests getting Active Directory groups. +#> +function Test-GetADGroupWithBadObjectId +{ + # Test + $groups = Get-AzureADGroup -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + + # Assert + Assert-Null $groups +} + +<# +.SYNOPSIS +Tests getting Active Directory groups. +#> +function Test-GetADGroupWithUserObjectId +{ + param([string]$objectId) + + # Test + $groups = Get-AzureADGroup -ObjectId $objectId + + # Assert + Assert-Null $groups +} + +<# +.SYNOPSIS +Tests getting members from an Active Directory group. +#> +function Test-GetADGroupMemberWithGroupObjectId +{ + param([string]$groupObjectId, [string]$userObjectId, [string]$userName) + + # Test + $members = Get-AzureADGroupMember -GroupObjectId $groupObjectId + + # Assert + Assert-AreEqual $members.Count 1 + Assert-AreEqual $members[0].Id $userObjectId + Assert-AreEqual $members[0].DisplayName $userName +} + +<# +.SYNOPSIS +Tests getting members from an Active Directory group. +#> +function Test-GetADGroupMemberWithBadGroupObjectId +{ + # Test + $members = Get-AzureADGroupMember -GroupObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + + # Assert + Assert-Null($members) +} + +<# +.SYNOPSIS +Tests getting members from an Active Directory group. +#> +function Test-GetADGroupMemberWithUserObjectId +{ + param([string]$objectId) + + # Test + $members = Get-AzureADGroupMember -GroupObjectId $objectId + + # Assert + Assert-Null($members) +} + +<# +.SYNOPSIS +Tests getting members from an Active Directory group. +#> +function Test-GetADGroupMemberFromEmptyGroup +{ + param([string]$objectId) + + # Test + $members = Get-AzureADGroupMember -GroupObjectId $objectId + + # Assert + Assert-Null($members) +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithObjectId +{ + param([string]$objectId) + + # Test + $servicePrincipals = Get-AzureADServicePrincipal -ObjectId $objectId + + # Assert + Assert-AreEqual $servicePrincipals.Count 1 + Assert-AreEqual $servicePrincipals[0].Id $objectId +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithBadObjectId +{ + # Test + $servicePrincipals = Get-AzureADServicePrincipal -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + + # Assert + Assert-Null($servicePrincipals) +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithUserObjectId +{ + param([string]$objectId) + + # Test + $servicePrincipals = Get-AzureADServicePrincipal -ObjectId $objectId + + # Assert + Assert-Null($servicePrincipals) +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithSPN +{ + param([string]$SPN) + + # Test + $servicePrincipals = Get-AzureADServicePrincipal -ServicePrincipalName $SPN + + # Assert + Assert-AreEqual $servicePrincipals.Count 1 + Assert-NotNull $servicePrincipals[0].Id + Assert-AreEqual $servicePrincipals[0].ServicePrincipalName $SPN +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithBadSPN +{ + # Test + $servicePrincipals = Get-AzureADServicePrincipal -ServicePrincipalName "badspn" + + # Assert + Assert-Null($servicePrincipals) +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithSearchString +{ + param([string]$displayName) + + # Test + $servicePrincipals = Get-AzureADServicePrincipal -SearchString $displayName + + # Assert + Assert-AreEqual $servicePrincipals.Count 1 + Assert-AreEqual $servicePrincipals[0].DisplayName $displayName + Assert-NotNull($servicePrincipals[0].Id) + Assert-NotNull($servicePrincipals[0].ServicePrincipalName) +} + +<# +.SYNOPSIS +Tests getting Active Directory service principals. +#> +function Test-GetADServicePrincipalWithBadSearchString +{ + # Test + $servicePrincipals = Get-AzureADServicePrincipal -SearchString "badsearchstring" + + # Assert + Assert-Null($servicePrincipals) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetAllADUser +{ + # Test + $users = Get-AzureADUser + + # Assert + Assert-NotNull($users) + foreach($user in $users) { + Assert-NotNull($user.DisplayName) + Assert-NotNull($user.Id) + } +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithObjectId +{ + param([string]$objectId) + + # Test + $users = Get-AzureADUser -ObjectId $objectId + + # Assert + Assert-AreEqual $users.Count 1 + Assert-AreEqual $users[0].Id $objectId + Assert-NotNull($users[0].DisplayName) + Assert-NotNull($users[0].UserPrincipalName) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithBadObjectId +{ + # Test + $users = Get-AzureADUser -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + + # Assert + Assert-Null($users) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithGroupObjectId +{ + param([string]$objectId) + + # Test + $users = Get-AzureADUser -ObjectId $objectId + + # Assert + Assert-Null($users) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithUPN +{ + param([string]$UPN) + + # Test + $users = Get-AzureADUser -UserPrincipalName $UPN + + # Assert + Assert-AreEqual $users.Count 1 + Assert-AreEqual $users[0].UserPrincipalName $UPN + Assert-NotNull($users[0].DisplayName) + Assert-NotNull($users[0].Id) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithFPOUPN +{ + # Test + $users = Get-AzureADUser -UserPrincipalName "azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com" + + # Assert + Assert-AreEqual $users.Count 1 + Assert-AreEqual $users[0].UserPrincipalName "azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com" + Assert-NotNull($users[0].DisplayName) + Assert-NotNull($users[0].Id) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithBadUPN +{ + # Test + $users = Get-AzureADUser -UserPrincipalName "baduser@rbactest.onmicrosoft.com" + + # Assert + Assert-Null($users) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithSearchString +{ + param([string]$displayName) + + # Test + # Select at most 10 users. Users are restricted to contain "test" to fasten the test + $users = Get-AzureADUser -SearchString $displayName + + # Assert + Assert-NotNull($users) + Assert-AreEqual $users[0].DisplayName $displayName + Assert-NotNull($users[0].Id) + Assert-NotNull($users[0].UserPrincipalName) +} + +<# +.SYNOPSIS +Tests getting Active Directory users. +#> +function Test-GetADUserWithBadSearchString +{ + # Test + # Select at most 10 users. Users are restricted to contain "test" to fasten the test + $users = Get-AzureADUser -SearchString "badsearchstring" + + # Assert + Assert-Null($users) +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.cs index d279d212ccf5..28ee3d42bdfe 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.cs @@ -17,14 +17,14 @@ namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests { - public class AuthorizationTests : ResourcesTestsBase + public class AuthorizationTests { //[Fact] //[Trait(Category.AcceptanceType, Category.CheckIn)] [Fact(Skip = "TODO: Fix the broken test.")] public void TestAuthorizationEndToEnd() { - RunPowerShellTest("Test-AuthorizationEndToEnd"); + ResourcesController.NewInstance.RunPsTest("Test-AuthorizationEndToEnd"); } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs index 36e00929000d..5715f0cc2b5b 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs @@ -16,18 +16,18 @@ namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests { - public class DeploymentTests : ResourcesTestsBase + public class DeploymentTests { [Fact (Skip = "Need to implement storage client mock.")] public void TestValidateDeployment() { - RunPowerShellTest("Test-ValidateDeployment"); + ResourcesController.NewInstance.RunPsTest("Test-ValidateDeployment"); } [Fact (Skip = "Need to implement storage client mock.")] public void TestNewDeploymentFromTemplateFile() { - RunPowerShellTest("Test-NewDeploymentFromTemplateFile"); + ResourcesController.NewInstance.RunPsTest("Test-NewDeploymentFromTemplateFile"); } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.cs index 85c00e9d6bd7..6d02531881c1 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.cs @@ -17,68 +17,68 @@ namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests { - public class ResourceGroupTests : ResourcesTestsBase + public class ResourceGroupTests { [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreatesNewSimpleResourceGroup() { - RunPowerShellTest("Test-CreatesNewSimpleResourceGroup"); + ResourcesController.NewInstance.RunPsTest("Test-CreatesNewSimpleResourceGroup"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestUpdatesExistingResourceGroup() { - RunPowerShellTest("Test-UpdatesExistingResourceGroup"); + ResourcesController.NewInstance.RunPsTest("Test-UpdatesExistingResourceGroup"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreatesAndRemoveResourceGroupViaPiping() { - RunPowerShellTest("Test-CreatesAndRemoveResourceGroupViaPiping"); + ResourcesController.NewInstance.RunPsTest("Test-CreatesAndRemoveResourceGroupViaPiping"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetNonExistingResourceGroup() { - RunPowerShellTest("Test-GetNonExistingResourceGroup"); + ResourcesController.NewInstance.RunPsTest("Test-GetNonExistingResourceGroup"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestNewResourceGroupInNonExistingLocation() { - RunPowerShellTest("Test-NewResourceGroupInNonExistingLocation"); + ResourcesController.NewInstance.RunPsTest("Test-NewResourceGroupInNonExistingLocation"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestRemoveNonExistingResourceGroup() { - RunPowerShellTest("Test-RemoveNonExistingResourceGroup"); + ResourcesController.NewInstance.RunPsTest("Test-RemoveNonExistingResourceGroup"); } [Fact (Skip = "TODO: Fix the broken test.")] public void TestAzureTagsEndToEnd() { - RunPowerShellTest("Test-AzureTagsEndToEnd"); + ResourcesController.NewInstance.RunPsTest("Test-AzureTagsEndToEnd"); } [Fact(Skip = "Depends on Bug 2040630")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestNewDeploymentAndProviderRegistration() { - RunPowerShellTest("Test-NewDeploymentAndProviderRegistration"); + ResourcesController.NewInstance.RunPsTest("Test-NewDeploymentAndProviderRegistration"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestNewResourceGroupWithTemplateThenGetWithAndWithoutDetails() { - RunPowerShellTest("Test-NewResourceGroupWithTemplateThenGetWithAndWithoutDetails"); + ResourcesController.NewInstance.RunPsTest("Test-NewResourceGroupWithTemplateThenGetWithAndWithoutDetails"); } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs index 415a52f17d16..829e450f8702 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs @@ -18,62 +18,62 @@ namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests { - public class ResourceTests : ResourcesTestsBase + public class ResourceTests { [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreatesNewSimpleResource() { - RunPowerShellTest("Test-CreatesNewSimpleResource"); + ResourcesController.NewInstance.RunPsTest("Test-CreatesNewSimpleResource"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreatesNewComplexResource() { - RunPowerShellTest("Test-CreatesNewComplexResource"); + ResourcesController.NewInstance.RunPsTest("Test-CreatesNewComplexResource"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourcesViaPiping() { - RunPowerShellTest("Test-GetResourcesViaPiping"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourcesViaPiping"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourcesFromEmptyGroup() { - RunPowerShellTest("Test-GetResourcesFromEmptyGroup"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourcesFromEmptyGroup"); } [Fact (Skip = "TODO: Re-record")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourcesFromNonExisingGroup() { - RunPowerShellTest("Test-GetResourcesFromNonExisingGroup"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourcesFromNonExisingGroup"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourcesForNonExisingType() { - RunPowerShellTest("Test-GetResourcesForNonExisingType"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourcesForNonExisingType"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourceForNonExisingResource() { - RunPowerShellTest("Test-GetResourceForNonExisingResource"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourceForNonExisingResource"); } [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetResourcesViaPipingFromAnotherResource() { - RunPowerShellTest("Test-GetResourcesViaPipingFromAnotherResource"); + ResourcesController.NewInstance.RunPsTest("Test-GetResourcesViaPipingFromAnotherResource"); } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs new file mode 100644 index 000000000000..4560934c6834 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs @@ -0,0 +1,202 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Gallery; +using Microsoft.Azure.Graph.RBAC; +using Microsoft.Azure.Management.Authorization; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Subscriptions; +using Microsoft.Azure.Utilities.HttpRecorder; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Monitoring.Events; +using Microsoft.WindowsAzure.Testing; +using System; +using System.Linq; + +namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +{ + public sealed class ResourcesController + { + private CSMTestEnvironmentFactory csmTestFactory; + private EnvironmentSetupHelper helper; + protected const string TenantIdKey = "TenantId"; + protected const string DomainKey = "Domain"; + + public GraphRbacManagementClient GraphClient { get; private set; } + + public ResourceManagementClient ResourceManagementClient { get; private set; } + + public SubscriptionClient SubscriptionClient { get; private set; } + + public GalleryClient GalleryClient { get; private set; } + + public EventsClient EventsClient { get; private set; } + + public AuthorizationManagementClient AuthorizationManagementClient { get; private set; } + + public string UserDomain { get; private set; } + + public static ResourcesController NewInstance + { + get + { + return new ResourcesController(); + } + } + + public ResourcesController() + { + helper = new EnvironmentSetupHelper(); + } + + public void RunPsTest(params string[] scripts) + { + var callingClassType = TestUtilities.GetCallingClass(2); + var mockName = TestUtilities.GetCurrentMethodName(2); + + RunPsTestWorkflow( + () => scripts, + // no custom initializer + null, + // no custom cleanup + null, + callingClassType, + mockName); + } + + public void RunPsTestWorkflow( + Func scriptBuilder, + Action initialize, + Action cleanup, + string callingClassType, + string mockName) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(callingClassType, mockName); + + this.csmTestFactory = new CSMTestEnvironmentFactory(); + + if(initialize != null) + { + initialize(this.csmTestFactory); + } + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureResourceManager); + + var callingClassName = callingClassType + .Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries) + .Last(); + helper.SetupModules( + AzureModule.AzureResourceManager, + "ScenarioTests\\Common.ps1", + "ScenarioTests\\" + callingClassName + ".ps1"); + + 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(); + EventsClient = GetEventsClient(); + AuthorizationManagementClient = GetAuthorizationManagementClient(); + GraphClient = GetGraphClient(); + + helper.SetupManagementClients(ResourceManagementClient, + SubscriptionClient, + GalleryClient, + EventsClient, + AuthorizationManagementClient, + GraphClient); + } + + private GraphRbacManagementClient GetGraphClient() + { + var environment = this.csmTestFactory.GetTestEnvironment(); + string tenantId = null; + + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + tenantId = environment.AuthorizationContext.TenatId; + UserDomain = environment.AuthorizationContext.UserDomain; + + HttpMockServer.Variables[TenantIdKey] = tenantId; + HttpMockServer.Variables[DomainKey] = UserDomain; + } + else if (HttpMockServer.Mode == HttpRecorderMode.Playback) + { + if (HttpMockServer.Variables.ContainsKey(TenantIdKey)) + { + tenantId = HttpMockServer.Variables[TenantIdKey]; + } + if (HttpMockServer.Variables.ContainsKey(DomainKey)) + { + UserDomain = HttpMockServer.Variables[DomainKey]; + } + } + + return TestBase.GetGraphServiceClient(this.csmTestFactory, tenantId); + } + + private AuthorizationManagementClient GetAuthorizationManagementClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private ResourceManagementClient GetResourceManagementClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private SubscriptionClient GetSubscriptionClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private GalleryClient GetGalleryClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + private EventsClient GetEventsClient() + { + return TestBase.GetServiceClient(this.csmTestFactory); + } + + } +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs new file mode 100644 index 000000000000..0b0fa4aa676c --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs @@ -0,0 +1,185 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Graph.RBAC; +using Microsoft.Azure.Graph.RBAC.Models; +using Microsoft.Azure.Management.Authorization; +using Microsoft.Azure.Management.Authorization.Models; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Management.Resources.Models; +using Microsoft.Azure.Utilities.HttpRecorder; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Testing; +using Microsoft.WindowsAzure.Testing.TestCategories; +using System; +using System.Linq; +using Xunit; + +namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +{ + public class RoleAssignmentTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaNegativeScenarios() + { + ResourcesController.NewInstance.RunPsTest("Test-RaNegativeScenarios"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaByScope() + { + ResourcesController.NewInstance.RunPsTest("Test-RaByScope"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaByResourceGroup() + { + ResourcesController.NewInstance.RunPsTest("Test-RaByResourceGroup"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaByResource() + { + ResourcesController.NewInstance.RunPsTest("Test-RaByResource"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaByServicePrincipal() + { + ResourcesController.NewInstance.RunPsTest("Test-RaByServicePrincipal"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaByUpn() + { + ResourcesController.NewInstance.RunPsTest("Test-RaByUpn"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RaUserPermissions() + { + User newUser = null; + ResourceGroup resourceGroup = null; + string roleAssignmentId = "6A26D717-ABA9-44E3-B971-C53694E413B2"; + string userName = null; + string userPass = null; + string userPermission = "*/read"; + string roleDefinitionName = "Reader"; + + var controllerAdmin = ResourcesController.NewInstance; + + // Generate new user under admin account + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + () => + { + userName = TestUtilities.GenerateName("aduser"); + userPass = TestUtilities.GenerateName("adpass") + "0#$"; + + var upn = userName + "@" + controllerAdmin.UserDomain; + + var parameter = new UserCreateParameters + { + UserPrincipalName = upn, + DisplayName = userName, + AccountEnabled = true, + MailNickname = userName + "test", + PasswordProfileSettings = new UserCreateParameters.PasswordProfile + { + ForceChangePasswordNextLogin = false, + Password = userPass + } + }; + + newUser = controllerAdmin.GraphClient.User.Create(parameter).User; + + resourceGroup = controllerAdmin.ResourceManagementClient.ResourceGroups + .List(new ResourceGroupListParameters()) + .ResourceGroups + .First(); + + return new[] + { + string.Format( + "CreateRoleAssignment '{0}' '{1}' '{2}' '{3}'", + roleAssignmentId, + newUser.ObjectId, + roleDefinitionName, + resourceGroup.Name) + }; + }, + // initialize + null, + // cleanup + null, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName() + "_Setup"); + + // login as different user and run the test + var controllerUser = ResourcesController.NewInstance; + controllerUser.RunPsTestWorkflow( + // scriptBuilder + () => + { + return new[] + { + string.Format( + "Test-RaUserPermissions '{0}' '{1}'", + resourceGroup.Name, + userPermission) + }; + }, + // initialize + (testFactory) => + { + if (newUser != null) + { + testFactory.CustomEnvValues[TestEnvironment.UserIdKey] = userName + "@" + controllerAdmin.UserDomain; + testFactory.CustomEnvValues[TestEnvironment.AADPasswordKey] = userPass; + } + }, + // cleanup + null, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName() + "_Test"); + + // remove created user + controllerAdmin = ResourcesController.NewInstance; + controllerAdmin.RunPsTestWorkflow( + // scriptBuilder + null, + // initialize + null, + // cleanup + () => + { + if (newUser != null) + { + controllerAdmin.GraphClient.User.Delete(newUser.ObjectId); + } + controllerAdmin.AuthorizationManagementClient.RoleAssignments.Delete(resourceGroup.Id, new Guid(roleAssignmentId)); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName() + "_Cleanup"); + } + } +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 new file mode 100644 index 000000000000..fbbb7be12443 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 @@ -0,0 +1,278 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Tests verifies negative scenarios for RoleAssignments +#> +function Test-RaNegativeScenarios +{ + $subscription = Get-AzureSubscription -Current + + # Bad OID does not throw when getting a non-existing role assignment + $badOid = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' + $badOidResult = Get-AzureRoleAssignment -ObjectId $badOid + Assert-Null $badOidResult + + # Bad UPN + $badUpn = 'nonexistent@provider.com' + $badUpnException = "The provided information does not map to an AD object id." + Assert-Throws { Get-AzureRoleAssignment -UserPrincipalName $badUpn } $badUpnException + + # Bad SPN + $badSpn = 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb' + $badSpnException = "The provided information does not map to an AD object id." + Assert-Throws { Get-AzureRoleAssignment -ServicePrincipalName $badSpn } $badSpnException + + # Bad Scope + $badScope = '/subscriptions/'+ $subscription.SubscriptionId +'/providers/nonexistent' + $badScopeException = "InvalidResourceNamespace: The resource namespace 'nonexistent' is invalid." + Assert-Throws { Get-AzureRoleAssignment -Scope $badScope } $badScopeException +} + +<# +.SYNOPSIS +Tests verifies creation and deletion of a RoleAssignments by Scope +#> +function Test-RaByScope +{ + # Setup + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + $definitionName = 'Reader' + $users = Get-AzureADUser | Select-Object -First 1 -Wait + $subscription = Get-AzureSubscription -Current + $scope = '/subscriptions/'+ $subscription.SubscriptionId +'/resourceGroups/' + 'SomeResourceGroup' + Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." + + # Test + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("8D7DD69E-9AE2-44A1-94D8-F7BC8E12645E") + $newAssignment = New-AzureRoleAssignment ` + -ObjectId $users[0].Id.Guid ` + -RoleDefinitionName $definitionName ` + -Scope $scope + + # cleanup + DeleteRoleAssignment $newAssignment + + # Assert + Assert-NotNull $newAssignment + Assert-AreEqual $definitionName $newAssignment.RoleDefinitionName + Assert-AreEqual $scope $newAssignment.Scope + Assert-AreEqual $users[0].DisplayName $newAssignment.DisplayName + + VerifyRoleAssignmentDeleted $newAssignment +} + +<# +.SYNOPSIS +Tests verifies creation and deletion of a RoleAssignments by Resource Group +#> +function Test-RaByResourceGroup +{ + # Setup + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + $definitionName = 'Contributor' + $users = Get-AzureADUser | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureResourceGroup | Select-Object -Last 1 -Wait + Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." + Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." + + # Test + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("A4B82891-EBEE-4568-B606-632899BF9453") + $newAssignment = New-AzureRoleAssignment ` + -ObjectId $users[0].Id.Guid ` + -RoleDefinitionName $definitionName ` + -ResourceGroupName $resourceGroups[0].ResourceGroupName + + # cleanup + DeleteRoleAssignment $newAssignment + + # Assert + Assert-NotNull $newAssignment + Assert-AreEqual $definitionName $newAssignment.RoleDefinitionName + Assert-AreEqual $users[0].DisplayName $newAssignment.DisplayName + + VerifyRoleAssignmentDeleted $newAssignment +} + +<# +.SYNOPSIS +Tests verifies creation and deletion of a RoleAssignments by Resource +#> +function Test-RaByResource +{ + # Setup + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + $definitionName = 'Owner' + $groups = Get-AzureADGroup | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureResourceGroup | Select-Object -First 1 -Wait + Assert-AreEqual 1 $groups.Count "There should be at least one group to run the test." + Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." + $resource = Get-AzureResource -ResourceGroupName $resourceGroups[0].ResourceGroupName ` + | Select-Object -Last 1 -Wait + Assert-NotNull $resource "Cannot find any resource to continue test execution." + + # Test + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("78D6502F-74FC-4800-BB0A-0E1A7BEBECA4") + $newAssignment = New-AzureRoleAssignment ` + -ObjectId $groups[0].Id.Guid ` + -RoleDefinitionName $definitionName ` + -ResourceGroupName $resourceGroups[0].ResourceGroupName ` + -ResourceType $resource.ResourceType ` + -ResourceName $resource.Name + + # cleanup + DeleteRoleAssignment $newAssignment + + # Assert + Assert-NotNull $newAssignment + Assert-AreEqual $definitionName $newAssignment.RoleDefinitionName + Assert-AreEqual $groups[0].DisplayName $newAssignment.DisplayName + + VerifyRoleAssignmentDeleted $newAssignment +} + +<# +.SYNOPSIS +Tests verifies creation and deletion of a RoleAssignments for Service principal name +#> +function Test-RaByServicePrincipal +{ + # Setup + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + $definitionName = 'Reader' + $servicePrincipals = Get-AzureADServicePrincipal | Select-Object -Last 1 -Wait + $subscription = Get-AzureSubscription -Current + $scope = '/subscriptions/'+ $subscription.SubscriptionId +'/resourceGroups/' + 'SomeResourceGroupForSpn' + Assert-AreEqual 1 $servicePrincipals.Count "No service principals found. Unable to run the test." + + # Test + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("FA1A4D3B-2CCA-406B-8956-6B6B32377641") + $newAssignment = New-AzureRoleAssignment ` + -ServicePrincipalName $servicePrincipals[0].DisplayName ` + -RoleDefinitionName $definitionName ` + -Scope $scope + + + # cleanup + DeleteRoleAssignment $newAssignment + + # Assert + Assert-NotNull $newAssignment + Assert-AreEqual $definitionName $newAssignment.RoleDefinitionName + Assert-AreEqual $scope $newAssignment.Scope + Assert-AreEqual $servicePrincipals[0].DisplayName $newAssignment.DisplayName + + VerifyRoleAssignmentDeleted $newAssignment +} + +<# +.SYNOPSIS +Tests verifies creation and deletion of a RoleAssignments for User Principal Name +#> +function Test-RaByUpn +{ + # Setup + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + $definitionName = 'Contributor' + $users = Get-AzureADUser | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureResourceGroup | Select-Object -Last 1 -Wait + Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." + Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." + + # Test + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("7A750D57-9D92-4BE1-AD66-F099CECFFC01") + $newAssignment = New-AzureRoleAssignment ` + -UPN $users[0].Mail ` + -RoleDefinitionName $definitionName ` + -ResourceGroupName $resourceGroups[0].ResourceGroupName + + # cleanup + DeleteRoleAssignment $newAssignment + + # Assert + Assert-NotNull $newAssignment + Assert-AreEqual $definitionName $newAssignment.RoleDefinitionName + Assert-AreEqual $users[0].DisplayName $newAssignment.DisplayName + + VerifyRoleAssignmentDeleted $newAssignment +} + +<# .SYNOPSIS Tests validate correctness of returned permissions when logged in as the assigned user #> +function Test-RaUserPermissions +{ + param([string]$rgName, [string]$action) + + # Setup + + # Test + $permissions = Get-AzureResourceGroup -Name $rgName + + # Assert + Assert-AreEqual 1 $permissions.Permissions.Count "User should have only one permission." + Assert-AreEqual 1 $permissions.Permissions[0].Actions.Count "User should have only one action in the permission." + Assert-AreEqual $action $permissions.Permissions[0].Actions[0] "Permission action mismatch." +} + +<# +.SYNOPSIS +Creates role assignment +#> +function CreateRoleAssignment +{ + param([string]$roleAssignmentId, [string]$userId, [string]$definitionName, [string]$resourceGroupName) + + Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" + + [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue($roleAssignmentId) + $newAssignment = New-AzureRoleAssignment ` + -ObjectId $userId ` + -RoleDefinitionName $definitionName ` + -ResourceGroupName $resourceGroupName + + return $newAssignment +} + +<# +.SYNOPSIS +Delete role assignment +#> +function DeleteRoleAssignment +{ + param([Parameter(Mandatory=$true)] [object] $roleAssignment) + + Remove-AzureRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` + -Scope $roleAssignment.Scope ` + -RoleDefinitionName $roleAssignment.RoleDefinitionName ` + -Force +} + +<# +.SYNOPSIS +Verifies that role assignment does not exist +#> +function VerifyRoleAssignmentDeleted +{ + param([Parameter(Mandatory=$true)] [object] $roleAssignment) + + $deletedRoleAssignment = Get-AzureRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` + -Scope $roleAssignment.Scope ` + -RoleDefinitionName $roleAssignment.RoleDefinitionName + Assert-Null $deletedRoleAssignment +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberFromEmptyGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberFromEmptyGroup.json new file mode 100644 index 000000000000..f1247d3557a5 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberFromEmptyGroup.json @@ -0,0 +1,262 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup6180\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail3185\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"8c473307-8259-4d49-bba5-46f5fc3296c1\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup6180\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail3185\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "d0ae966c-e2f1-4872-80fc-5abf91f3be76" + ], + "client-request-id": [ + "16a35069-b334-48ae-8fbe-fd23b0dc8037" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "nJW0nX8YnfYIqgF4iXf877_mMIunOvGLiFxbPfK4PvoCgOg9KAVObgN_0W7hqvzVo_ME1kTNj_eB1wonRCPxub9CZQbehqAVjq8_XnkF_vzknZPghAd38kNnmtFt-RMmlxMM1swOkJRcki3e8xXZXA.V6HJSvPQMdqKAQ0gFI1AUQZQnZ1ZAJvljKoxz7zRe_A" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/8c473307-8259-4d49-bba5-46f5fc3296c1/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:07 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/8c473307-8259-4d49-bba5-46f5fc3296c1?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvOGM0NzMzMDctODI1OS00ZDQ5LWJiYTUtNDZmNWZjMzI5NmMxP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"8c473307-8259-4d49-bba5-46f5fc3296c1\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup6180\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail3185\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "ad6405dd-efd6-4d4a-9393-594aa319284f" + ], + "client-request-id": [ + "274f2caf-bbdd-4e34-80ec-576f0d79e8dc" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "QKSDVgdUwZk7m5Itwky0bdLWu7TCvMxpRvz4dd7FYWeRePbCr9FJ_M6nhQRt-Ow_h76zFKY0-faKIgT4pfxKAbhYcaVZO-mp540t2u_NHi9mPJE2N5zGLi1Fe8hkwjZdeNwQwx80Og_Quy8x1KZovw.hLLjIAr3qaa6gzJ0ejFfr6ALeeCwEzsNE3ihGRUiPJc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/8c473307-8259-4d49-bba5-46f5fc3296c1/members?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvOGM0NzMzMDctODI1OS00ZDQ5LWJiYTUtNDZmNWZjMzI5NmMxL21lbWJlcnM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "770c3bfd-5f10-413e-90e5-da98f002db4d" + ], + "client-request-id": [ + "1c9a22dd-84c0-49d4-ab25-c044f9fb4b92" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "5KHsYGPCJ-VCL-Afvw7Au-vAbLv2xc2dGgiYz_i0F2fX6NJCOpUEuIC1M7vmtPzsTD1bkiy-mHvDclwr7tqFFYO9Bi1vN7syDklpmFr084KWYeaMMzyojvJQyNf9o0PvWSm-RKz4DdZnI1k6fDjlug.04IzWloa8L7w4uaTp9etNCiN6is4lXNiCsAN0KLqk8k" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/8c473307-8259-4d49-bba5-46f5fc3296c1?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvOGM0NzMzMDctODI1OS00ZDQ5LWJiYTUtNDZmNWZjMzI5NmMxP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "9f1c8622-2fe5-4e53-818f-bcf6e477a7da" + ], + "client-request-id": [ + "6605a1f3-bb64-453e-9338-4afe203f3ab8" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "LIEgA_aKOn-bToabSqqe7iQyktzNasGIsp6HiZsV7UXt-P2f-UEsTJv81yA4g9D19ow_-Z9e7sXCo07RG7fTheZ89m40ozPWXeYQ12VrAp-R2DhvGSgJ0y2lzxkgbGFG_rCFzIAFc5iq6bfTUFS2zA.lF5FNuEJf3SmRvKkKj8NrP7D3Y13MrnahqJlkG2jyXI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:07 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdGroup": [ + "adgroup6180", + "adgroupmail3185" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithBadGroupObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithBadGroupObjectId.json new file mode 100644 index 000000000000..ae5111ae14ee --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithBadGroupObjectId.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/deadbeef-dead-beef-dead-beefdeadbeef?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZGVhZGJlZWYtZGVhZC1iZWVmLWRlYWQtYmVlZmRlYWRiZWVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'deadbeef-dead-beef-dead-beefdeadbeef' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "MsH+7bNxSLKcmuX3JqvzScisCtZwuMTpgstB41T1Viw=" + ], + "request-id": [ + "672ea08e-287e-4d34-96ee-e4c9abc3f6ea" + ], + "client-request-id": [ + "11f5383e-b376-4544-b1c4-1ed685744871" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "gLvrZeUb9JcrOoSFU8e5y1-jXYfm-smywAGHVeU1NTTsDEIwr9JOOFfKXLLIsJz6ccS3c8iXCR3mg45tjy1nOF8qOjzExjAhucX1X2UIUkQ.6gOuysV9qaj1rQyPg4Z8Qk41RIuZxK6anGAisXQLRXo" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:29:23 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithGroupObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithGroupObjectId.json new file mode 100644 index 000000000000..a3aa6d371562 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithGroupObjectId.json @@ -0,0 +1,452 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser577@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser577\",\r\n \"mailNickname\": \"aduser577test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass39870#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"061e39c9-e586-4588-85f3-a95925e813c5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser577\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser577test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BCF0658\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser577@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser577@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "bdc55a99-b87f-4ae0-a5b9-a4c002a60f07" + ], + "client-request-id": [ + "88a0e132-69a2-4d76-825b-128282ffc2a1" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "DjB2asdkQ1unWNacbOdd3_Kzth8lGVAQoVfBsXcyNZdNNPLZ9GN0U_LBLRkxvattR0w9E40eQ4eouBohinpwrIvqYTmqcVwANgeKcGreI6RyyyACYOeaT8gCV5s2qrO-cJSDtyb0MYW33-B5tPUsqw.UdOtqTpzkjwv4ihoA0tsdMt03RUfGhH8MRbpT0Uel00" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/061e39c9-e586-4588-85f3-a95925e813c5/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup5662\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail3430\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"36a4830f-b259-444f-909f-b2f87b652ec6\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup5662\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail3430\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "fb2c2f04-37f4-46a1-b12f-33413b3352e0" + ], + "client-request-id": [ + "b9a45b50-e8c9-4d25-9b8e-6ca7450d9d17" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "kSYG6PEDHUHp2NO_05jDYBwE-tHr1HOn6Djfgz9bpm7kdiFKhoDg1MAJBdj9DLDRXs8BPwD6Cpjw6Fo2Rb5HC9WFmfK2kcpFdjPdGtAGmoJblTo7-KxLJFYnk5wc4yCvt7oBwDH5C5RuD-dGc7CzKw.PClmq61UlcqAyhL9KrJokv9VB5TaKOo85TvVhFgW6Ks" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/36a4830f-b259-444f-909f-b2f87b652ec6/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/36a4830f-b259-444f-909f-b2f87b652ec6/$links/members?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvMzZhNDgzMGYtYjI1OS00NDRmLTkwOWYtYjJmODdiNjUyZWM2LyRsaW5rcy9tZW1iZXJzP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"url\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/061e39c9-e586-4588-85f3-a95925e813c5\"\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "d7946218-9371-4a7e-a250-e967c5f84581" + ], + "client-request-id": [ + "1968e03a-3196-46c3-8f15-f0ba412c9575" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "3i3Xgg2IThetQZI0E94Ne_x5P9Gvc2wMKTuyEN6zuxA1eP0hyYW5fl0Ma6a2EIVisUl-Vov66NW1pZIEn1fgzqaCN2u_wwg2pvTazPUJX2rsIgkt6QFsmzoio6dMSkDdHvqWBjnFchJicTk8qYqSNA.U6aj25-gshmkm8f3w8Q81MbVtwYdpRyRoh7cYUmTOBk" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:19 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/36a4830f-b259-444f-909f-b2f87b652ec6?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvMzZhNDgzMGYtYjI1OS00NDRmLTkwOWYtYjJmODdiNjUyZWM2P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"36a4830f-b259-444f-909f-b2f87b652ec6\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup5662\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail3430\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "f8f912e9-7e60-4e44-9f63-73fb43ec3460" + ], + "client-request-id": [ + "0b12b535-e045-4efc-b3a2-29b9c20c629e" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "aE8HuExxAGT6UMEVtKJoSxwBQUuQK0BpNMvgk3N5gFkAUOgxpuHAlg_wtE41VuEuR2zzTYnmeoJQjbcn3YkS7VGlM_fIofoht6jaoXl3vOv3iqIYG2kdguM0FjYSx5oZ42VkSGjAwElsN1rgtWpxdQ.BvzRBn4Pt5FQbnNhkA1sjkmnXVV6NDcGZ7sm_h87yyQ" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/36a4830f-b259-444f-909f-b2f87b652ec6/members?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvMzZhNDgzMGYtYjI1OS00NDRmLTkwOWYtYjJmODdiNjUyZWM2L21lbWJlcnM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"061e39c9-e586-4588-85f3-a95925e813c5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser577\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser577test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BCF0658\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser577@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser577@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "44b55cff-b965-413b-9e70-3037eba9b405" + ], + "client-request-id": [ + "fba3ca30-ba85-4310-9cfe-31c2036bad13" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "IJUXhzyilTq8EDSHBzdTwNCwBNjvl_fXo3P9juTydRWmLF-qJ-8rSzGTpNK7G2AN3Zq-K-v5gLYKzoDB5xFCpgE1N7fblI2iHsNYLsQPcYxDli31TsoDEcOtLcPjJ4YBwi_NPI58CSMqTR1RfDsEHg.rFnF_chZm53kbkBT170UqeYmPNaM8oaIspqSjddkj6o" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/061e39c9-e586-4588-85f3-a95925e813c5?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy8wNjFlMzljOS1lNTg2LTQ1ODgtODVmMy1hOTU5MjVlODEzYzU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "46e856a9-ab80-4ed4-a84f-7d6531f141b1" + ], + "client-request-id": [ + "1bae7313-cf09-4401-9c17-7ded15fc7b6c" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "ZAz9LK3ksyyFQQm7WNNOLUZ6lje0M-DePIu84EeGxT4XHlPtInBQ1xbjW52kVAzpHfSPQ9v4iimYcfyCBjG3Qm8tymp_AHA0kSL1x4Yg107BMd2a981ND1e6S1_VCA_E6ZlrzQXlKFTVQvmvIbzjTg.6Qn3YyYuQniR2TOs82N1AgfY6aKb6eKEbg4ANQ-sgro" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:19 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/36a4830f-b259-444f-909f-b2f87b652ec6?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvMzZhNDgzMGYtYjI1OS00NDRmLTkwOWYtYjJmODdiNjUyZWM2P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "a956b3d1-95d9-4873-ad3e-f483a298b835" + ], + "client-request-id": [ + "0ed382d5-07f2-44ed-b816-a8aa5153a3ec" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "JmBg5Jv20j6eW_dDcj_QZ8tVYpcucUh0FMDHTbdbvVbsLqjazxumnP3Mz1pEb2b_gtlk3VCLimHgnTLwIpCK8XajzW7gJJNBHUHAovTzdDtzpCLFEdPhbGJqFCQR49ZYcNbs1pS56r4G9sJq_awPHg.WlXLCCDleUbMTElw0LCXFVXAXouyysus3lQixBj5ZpM" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:20 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser577", + "adpass3987" + ], + "CreateNewAdGroup": [ + "adgroup5662", + "adgroupmail3430" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithUserObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithUserObjectId.json new file mode 100644 index 000000000000..52a516a40067 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupMemberWithUserObjectId.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser5093@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser5093\",\r\n \"mailNickname\": \"aduser5093test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass3800#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"ac722969-5263-4555-9680-d45db7355207\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser5093\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser5093test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BCF0656\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser5093@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser5093@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "562a23ed-e321-4499-981c-7b15361c589d" + ], + "client-request-id": [ + "760fade6-8f2f-4f8a-bcd0-2766242a2581" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "9QYsZlDJwLmrxc_dCRUH6SDT4ygRFW1nowt1al3-IAkOfmT0jlee5RiUu_I6LyQ1bJ8QSLg4eXjIL9beFYL5vmhJKQkYjTUjRSztnA-fVMPGAMS7IerJm6-lwJ0gMvStHJZHXG3_abArmmwewt25Eg.SDmYVjhrpfd-i18csjuU0Fw3SHHTnWA4ZWN0iQ7ctVE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/ac722969-5263-4555-9680-d45db7355207/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:47 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/ac722969-5263-4555-9680-d45db7355207?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvYWM3MjI5NjktNTI2My00NTU1LTk2ODAtZDQ1ZGI3MzU1MjA3P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'ac722969-5263-4555-9680-d45db7355207' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "2869e031-da98-41d8-9be8-d224810a2a67" + ], + "client-request-id": [ + "70fd29c6-9fe9-43f7-a97f-3b0b51df9756" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "rw8rtjiECDHdOgkPcpEvpBBL-mP65L7q2uauahUFWf_ya1sbVLT5uprxKVSwi1gXan1HcNdH_UuoXNGbwOveNGMx_9sdpZB0ba2YXHO9BFU-1bgpCk14qN5v5vTjKspPW3FeOi9P0OcSBqq98N2BVw.6bMuEdr0oFdTaL3rwefDmgDtlqWiv33aXV8ocHayRIs" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:47 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/ac722969-5263-4555-9680-d45db7355207?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hYzcyMjk2OS01MjYzLTQ1NTUtOTY4MC1kNDVkYjczNTUyMDc/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "d204cb80-75c8-44da-a75f-541662feb5d8" + ], + "client-request-id": [ + "16d1a0bf-7f89-46a7-b186-5f3faa609a0c" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "eSuNnJFghK8G17bYb9d838eXerDU1F1MeK9LKQFkD8m15CwsTJa6PzzT1Qvyfe-w0Dlnyrg8fVsFni3ARA9-p6yhQ2Sc9jpcNIBMOiUKKOaBeIoFoftzouuLHSF-CsP2YYGbZARyJ0u3p0tITW7jHw.-aK2kHr2i0QsNL7fhhQH2SJCKAPhO3KVaXYxRqhwUkg" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:48 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser5093", + "adpass380" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadObjectId.json new file mode 100644 index 000000000000..6acceed6431c --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadObjectId.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/deadbeef-dead-beef-dead-beefdeadbeef?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZGVhZGJlZWYtZGVhZC1iZWVmLWRlYWQtYmVlZmRlYWRiZWVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'deadbeef-dead-beef-dead-beefdeadbeef' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "e06c7a00-4458-41d8-939e-e9c89cd3ed1a" + ], + "client-request-id": [ + "2e6b1488-2266-4c8c-8721-477095a2e63a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "9CPR14LFKHUbmrLln3ewiTU4fJNUykw67ZdLR-K_Y6bTofaGwq8kS3FaeZMZLf6fnF42wYdVZRQxkf1eKRHoFaR5qIzP6J-YKJOSrHlPdlE.fIQQN_aXs6n9TgI2nlDSX_NSGRk4Da8a0MMCVE0jWsQ" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:28:30 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadSearchString.json new file mode 100644 index 000000000000..aca6eefbe0d1 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithBadSearchString.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?&$filter=startswith(displayName,'BadSearchString')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/JiRmaWx0ZXI9c3RhcnRzd2l0aChkaXNwbGF5TmFtZSwnQmFkU2VhcmNoU3RyaW5nJykmYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "98512b5c-325c-4651-96ad-88d0f5b378a4" + ], + "client-request-id": [ + "63067f08-eb19-4940-8885-84f2bab74608" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "RS6Tgp8WngStYaXdco10uNc7vUva3sD79ngeu0bi1Qxm3oShEWdmKrkd2SHJ01u8Rc6RZaqqiWGbVrinxFcfdIy8fr-aSZRB6ONWjUILvB0.-YYk7edzL75e3io2HZ1GQvzIYXIuat6OsPjdfM40CYI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:28:14 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithObjectId.json new file mode 100644 index 000000000000..f2e02929b25a --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithObjectId.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup7920\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail4664\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"e8c62287-af45-4907-8cc3-4619ac61f4dd\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup7920\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail4664\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "2593a12a-5533-42ae-ab7e-c4b0a86699b3" + ], + "client-request-id": [ + "5036545f-9309-4df9-8f6f-22cfc5200ba1" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "L3IcrT_29TenDf0fceSR7pzxBhM3BfW9B-ytGkAdcPYEEx6VtYTHCRAJ1OlFYFC582vQbgFmdKA7CsIG8KleZxYeVKfnVXWwW1f5v3oxZjhn3RSZBNOr1JxMg_VLGei8LvIlr8kjI60heCJ0LPsYvQ.TaeDxaG5H2kR5hNIczUrTPjk14oFmdLz-MhV-m9Mg_8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/e8c62287-af45-4907-8cc3-4619ac61f4dd/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:00 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/e8c62287-af45-4907-8cc3-4619ac61f4dd?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZThjNjIyODctYWY0NS00OTA3LThjYzMtNDYxOWFjNjFmNGRkP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"e8c62287-af45-4907-8cc3-4619ac61f4dd\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup7920\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail4664\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "ecefc32c-75a1-4d05-b76a-45aaf77dcb89" + ], + "client-request-id": [ + "c07932ec-81bb-4e6a-b029-2b254be03b1d" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "ODzajtwMXP-gve4oDbzR4RZGQ7ASw_kKdh-9ImFR9kVRYnRtmQWa04C3sGwxdVncHWuc9xlIuJy8YBmGvaym_VL4BYugykT6sQruyeTdF015QMoRAcwikCEDAH7Sfu2uHWh9P8YBk28E8HrTEDIJ9g.G09ND28x1AWFtDX5NMmTV0_EVERQhmXERWQ0N5UkxUs" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/e8c62287-af45-4907-8cc3-4619ac61f4dd?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZThjNjIyODctYWY0NS00OTA3LThjYzMtNDYxOWFjNjFmNGRkP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "e8cd5fa5-5fd2-40e2-8a4e-ef4d1020ddd4" + ], + "client-request-id": [ + "13be3990-2d15-492d-808e-e00db8b0a04c" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "fO_BFEKhQy1GGsZELW3DJ92a-o57KBQ_SlwSt3XgzY_bM6qz0ggDqOVheId_BsVslYC-ZSzOVHjiQXCccHmN_RYoH7Vyd3Ts-r-3NpdqjDSEiT0uEWkLe095OfQDOFoKa_t8q5zEgsy82p23Xbqwxg.rPsXQKL_VgsVx2KL-ShUmsINGxQT-O0g6oHnThtN0aw" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:33:00 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdGroup": [ + "adgroup7920", + "adgroupmail4664" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithSearchString.json new file mode 100644 index 000000000000..f1b2338a6b18 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithSearchString.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup5645\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail2587\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"a1958457-f4c6-4eed-bc86-c01baf2a237b\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup5645\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail2587\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "fb56b86f-0bc2-47a4-a324-fded1467527d" + ], + "client-request-id": [ + "199628e2-df05-4c5f-8815-919f01690e08" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "E69XBd_d18Nl5X8MD8p0hEs-wXi-XurFMwfd8sDpm2d3-9QBnh7_tL1Z35Oz-1EzTYujqtHbG43eetAZoD0QzZfdm0GGiTceXKB0LqBO828InGkJh8BjT2qAoF5bUThub4WSBw5fpUd5TpL3W90s_w.uirK1Ek3cuufz_8FJNJDYYQQJUwx38mJ7UNXJRX6WuM" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/a1958457-f4c6-4eed-bc86-c01baf2a237b/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:46 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?&$filter=startswith(displayName,'adgroup5645')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/JiRmaWx0ZXI9c3RhcnRzd2l0aChkaXNwbGF5TmFtZSwnYWRncm91cDU2NDUnKSZhcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"a1958457-f4c6-4eed-bc86-c01baf2a237b\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup5645\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail2587\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "ce339aac-4a94-420d-a725-47f911f18ddf" + ], + "client-request-id": [ + "94f94d9e-992b-4bec-9d39-1a29a9f56d82" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "fBB3lZsTPiNDaHy4vJvMqupVUZB5qzjrnkL2xHTf8i6_OsBb2KjZlpZIaGyVop1hp-SPX5vilb2hW2qtLdQLLOAtevs8hxHJBZxhu5YBDUuRJcIAkhifrEhnrm1yny-qr74TvDXR2fRoGiNORFxIRw.ya7cDlGhXN-pbed1_KnHEUr7ilkOEHwg1tTup2YQiXc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/a1958457-f4c6-4eed-bc86-c01baf2a237b?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvYTE5NTg0NTctZjRjNi00ZWVkLWJjODYtYzAxYmFmMmEyMzdiP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "5ddf5e06-fa14-4bb5-be75-e05a4756aa7a" + ], + "client-request-id": [ + "6208c78f-5b3b-4d06-8a07-532e35640a4f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Fl5YYyi4CEpW67V4BjKeBYPS3CW1A_rpIBE3XuiIDhEQOzdxsuQaqnyZ6CsQuYXTGYvrBm7AuN_gj6VmVoDhKv-AYbL9ZnIL11BSz39vQeZOpVCIQu2ysTSd-U-3KIsGlzPWANNaqyFn6OFBBCKxbQ.GQPQEsHOFKf196PTMKcIXerAVKNGDyWPzlpbL6CNqtI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:46 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdGroup": [ + "adgroup5645", + "adgroupmail2587" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithUserObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithUserObjectId.json new file mode 100644 index 000000000000..32290185b5bb --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADGroupWithUserObjectId.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser8015@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser8015\",\r\n \"mailNickname\": \"aduser8015test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass87500#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"55efbd63-5997-409e-9945-1cb0a438c1eb\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser8015\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser8015test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8BD2591A\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser8015@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser8015@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "HRG+aiSn0E9z3GzhPJ46HhJjFcqCria5fvIemYT7auo=" + ], + "request-id": [ + "d9a2fdbf-9b8d-4193-a9a8-bd457ca6bbcd" + ], + "client-request-id": [ + "2c22d943-9182-49ec-83a2-5244656fce6c" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "wyWvUa6rbPPbnR-r7Lwcrg5xDWniMThW8-S5jPn7du2a1I-a_6sIma9b4DMdQWwxTBaf32wcocSKKaTw19Wgy9yADkZ5TcEsPR91T1WxCH7j1-3KDthLxl6g3XvPvOzACaZIzUBsHdt63sFNkiVSug.BmxKT_aC6bkf3uPKmdPvwEercUySFbYb-O9rfiSgnlg" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/55efbd63-5997-409e-9945-1cb0a438c1eb/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:54 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/55efbd63-5997-409e-9945-1cb0a438c1eb?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvNTVlZmJkNjMtNTk5Ny00MDllLTk5NDUtMWNiMGE0MzhjMWViP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource '55efbd63-5997-409e-9945-1cb0a438c1eb' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "HRG+aiSn0E9z3GzhPJ46HhJjFcqCria5fvIemYT7auo=" + ], + "request-id": [ + "b3f76d34-b48e-4e33-8870-128a1a5065ec" + ], + "client-request-id": [ + "bd39e568-7337-49a4-82ef-d1695a2cdc04" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "1zQk-P_tqRHgfmL4aJ8SbPvd3Ynw7YJ3oMjKCimZF9EhSoNPO8TuWerwpFV7EPCPu0-_lPy9mGCYtg8Y8CECZKwUrnc1c7_zcXO_0lHmdBknEbm2aA9v2iHN0ArAWpsssn9NGr3lvmSujMewgu00bA.PDAqz3x8gkV5IfrnHyV7cBkbB7Vh-D81C54z6IO2piI" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:55 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/55efbd63-5997-409e-9945-1cb0a438c1eb?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NWVmYmQ2My01OTk3LTQwOWUtOTk0NS0xY2IwYTQzOGMxZWI/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "HRG+aiSn0E9z3GzhPJ46HhJjFcqCria5fvIemYT7auo=" + ], + "request-id": [ + "d9309ccd-90a1-4153-97de-54290fbeb3e9" + ], + "client-request-id": [ + "92a9466f-07ce-48cc-b28d-8b3ec7b6940f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "pZtVNZwtzgL_C72Osfn_W-GZV3yePi-zO__3Oo01vNbHknJYn4e8UWJ8Eu5z1D1kXKuH5fC1alh9499xT1j7BsVC-1m1SvmADyx3Av-hWHajGHPFL20c79otSsrYm-RQH4AlM6Pmrwf-354wIuy8VA.9jq4G8i07apYUS2EDJvUEmrha9UvwwkKokGbI4UYa7Q" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:55 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser8015", + "adpass8750" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadObjectId.json new file mode 100644 index 000000000000..db64e4826c86 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadObjectId.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/deadbeef-dead-beef-dead-beefdeadbeef?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9kZWFkYmVlZi1kZWFkLWJlZWYtZGVhZC1iZWVmZGVhZGJlZWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'deadbeef-dead-beef-dead-beefdeadbeef' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "890bd2e0-ab72-41c9-878a-0889c536ae9a" + ], + "client-request-id": [ + "fb87c23f-b9a8-44df-8223-aadab4b4758a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "ryOyWzen7TM4A_3AoFflF4kePmSgiMrFUvZd1NOpbnjxmauoWluguwMGMSdo0gLvPveq0NsQjs7KoUbn6EgCflVtJUTl7yLYL0Co3XJXjnU.ES-FVohAyIQrkaQveOeDSpM0fFOm3od0CbPxVT24NcI" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:30:24 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSPN.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSPN.json new file mode 100644 index 000000000000..9a872b1048c6 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSPN.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'badspn')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXNlcnZpY2VQcmluY2lwYWxOYW1lcy9hbnkoYzpjJTIwZXElMjAnYmFkc3BuJykmYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "3bdc30f4-57dc-4474-8bea-6ae57b30c098" + ], + "client-request-id": [ + "6cb622a7-bc18-44bd-832e-29ea7b860b7a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Z-e3P6LiB2MWFnCVUW56nhi6wuoeNbBMJ45fThUAPDcvupwr7W1Uhyk_M6-4HERmsWS5UP0z_mn1ZtHp5f2--V2GZgG9_pAMNxCo9ciw5qM.tiJiN2Jo8Mp6isBG7smeKLUxSI0H1qiQNgnVNkM31Eo" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:32:34 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSearchString.json new file mode 100644 index 000000000000..4fd12fdc33c1 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithBadSearchString.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals?$filter=startswith(displayName,'badsearchstring')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXN0YXJ0c3dpdGgoZGlzcGxheU5hbWUsJ2JhZHNlYXJjaHN0cmluZycpJmFwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "80756763-d621-48dc-ae58-7c97c5252d82" + ], + "client-request-id": [ + "07992303-551b-4166-8a07-ea34751e07bb" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "-NAjpYBrD6W2Urj5I-OB_mJ3sDrmVZphZNTREqYoqAcBXnWGwysOCXJuboNgGKj8mVv9PjRmlTY3HKXVjUZnPuJ75ejECtVTJb3ziSCcKLE.47OUZi4WXxsXbZQXWWUTN4Y4lDr6VOCHsyonnV-D1ns" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:31:10 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithObjectId.json new file mode 100644 index 000000000000..171fde5ff663 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithObjectId.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication8579\",\r\n \"homepage\": \"http://adApplication8579/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"replyUrls\": [\r\n \"http://adApplication8579/home\"\r\n ]\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Application/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Application\",\r\n \"objectType\": \"Application\",\r\n \"objectId\": \"b258ecb0-a5c8-4cba-91b5-f72aa3c3b47e\",\r\n \"softDeletionTimestamp\": null,\r\n \"appId\": \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\",\r\n \"appMetadata\": null,\r\n \"appPermissions\": [],\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication8579\",\r\n \"errorUrl\": null,\r\n \"homepage\": \"http://adApplication8579/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"keyCredentials\": [],\r\n \"knownClientApplications\": [],\r\n \"logoutUrl\": null,\r\n \"passwordCredentials\": [],\r\n \"publicClient\": null,\r\n \"replyUrls\": [\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"requiredResourceAccess\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "870" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "d3bd57bc-25dc-4ab0-982c-058788b59ac1" + ], + "client-request-id": [ + "22b01a0a-363d-4634-9f87-2af835feba3e" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Uz02cEKAhpAjzwq15YPGfC-69xN-pEWhLqeCmo5-_sgBXBZQYmsP5q2vgFZndpxjb2ENRDuia_-eCPVwna7usZzJI1MuWVpxt5i-o3mzHBrRfP6kLTIdA6YNGnrcYsF0H3hlzzpul2nNGDohT_qW2g.CAWlKZpVorFqCfq1NO3HsSIx0MGPhnl5F59rkiFrlhE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/b258ecb0-a5c8-4cba-91b5-f72aa3c3b47e/Microsoft.WindowsAzure.ActiveDirectory.Application" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:36 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"appId\": \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\",\r\n \"accountEnabled\": true\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"241d7dfc-9251-4eba-9765-eadc6b25da68\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication8579\",\r\n \"appId\": \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication8579\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication8579/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\",\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1068" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "8eb9b26c-3add-4993-aa20-cacbbaa73c5d" + ], + "client-request-id": [ + "10f5b0bd-cc19-4113-ae66-27a5145e168d" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Zw3Eysjr8X3rRfjwc8MRV_LkNwigEqp206LNMRvcTQGz5aOh_8BdAJJKqJpuQLfxMf-TL5VA7rqJudQgQ04Hl-hqLCUZWwZYeAKO3k_fcfNG-GRv3TcWNFIdgB8mxCp9vzMBTM83ZoQ6wQltQ1_CQQ.AxfcqMu_CBh3QxtXZ8iDgtI_vzPWVvH4IHNERhQWRH0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/241d7dfc-9251-4eba-9765-eadc6b25da68/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:42 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals/241d7dfc-9251-4eba-9765-eadc6b25da68?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscy8yNDFkN2RmYy05MjUxLTRlYmEtOTc2NS1lYWRjNmIyNWRhNjg/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"241d7dfc-9251-4eba-9765-eadc6b25da68\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication8579\",\r\n \"appId\": \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication8579\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication8579/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication8579/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"http://adApplication8579/home\",\r\n \"0a89e309-b6bf-4051-9c89-4b585c3c86b8\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1068" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "46e3747f-5078-466d-9883-c6481e217155" + ], + "client-request-id": [ + "f82e69dc-d242-4abf-8ec7-90976426c822" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "eQamhbR8JDXdZ_9uUxKdVv2ddcq9cqJfMvvXylfrP4K1OqLjf9i5XvXXQv5GX2WHxf5EAsednZCj92wKIh3u8CdZ2lJn3HNv0F12vupOO39LWlahme9AT4qY1nfDx0KD4Z3l7TqMJlh_F9j_jkhsRg.z7NKc9dteYmxmjc1JqTtELftX1QplpRjk5SO8kYLE9M" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals/241d7dfc-9251-4eba-9765-eadc6b25da68?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscy8yNDFkN2RmYy05MjUxLTRlYmEtOTc2NS1lYWRjNmIyNWRhNjg/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "eeaa8b6c-941b-4ca7-b8e6-e0accb6d0768" + ], + "client-request-id": [ + "5bcbd90e-edde-4546-ba3a-260583cb23c9" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "uPEXzbBitooUj9ZZfRz5NEBQOdJam8-Bzhn5YzosQQ2ZIEGoE3UVITjQhZicgeXk83U3Jt3IUIsR_VSZ8vnkw5VY0cnfbjF9ScoBqfJV-8qBo-kNqHMkIE_KEO0meyeFW7uj3cJ2xyEU72lCBq9rsw.vZ5cdtqiJP6iU05Z5nrbx6TP9fYqdbPRlh0EZRCiCP4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:43 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications/b258ecb0-a5c8-4cba-91b5-f72aa3c3b47e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnMvYjI1OGVjYjAtYTVjOC00Y2JhLTkxYjUtZjcyYWEzYzNiNDdlP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "e345f842-3bbb-4fc5-abb8-218473ca1265" + ], + "client-request-id": [ + "62b46839-d221-4a7a-9c15-e8064ba589f7" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "BEvgSAMyd2NRZ1DHVad5GmOUkB5Sxm6_H0ZaScllfx126Xu0HxVmGVsVKf2T2GDDoW40E0SL28tX-w6RVbUD7OLcYkXi_dtyuDOTewyIyotv0JsKUna8G-h9uoRSXj8cDOwWKpCK-j_EDkCF3cNmxQ.dAWCK1i3IzLrC_sb775k234uwY2316zpVQwGTCaNW-U" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:43 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdApp": [ + "adApplication8579" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "Domain": "microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSPN.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSPN.json new file mode 100644 index 000000000000..a33a9a06613d --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSPN.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication2285\",\r\n \"homepage\": \"http://adApplication2285/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"replyUrls\": [\r\n \"http://adApplication2285/home\"\r\n ]\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Application/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Application\",\r\n \"objectType\": \"Application\",\r\n \"objectId\": \"bc29bb9e-119e-4dc0-bf31-5913095ef1c9\",\r\n \"softDeletionTimestamp\": null,\r\n \"appId\": \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\",\r\n \"appMetadata\": null,\r\n \"appPermissions\": [],\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication2285\",\r\n \"errorUrl\": null,\r\n \"homepage\": \"http://adApplication2285/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"keyCredentials\": [],\r\n \"knownClientApplications\": [],\r\n \"logoutUrl\": null,\r\n \"passwordCredentials\": [],\r\n \"publicClient\": null,\r\n \"replyUrls\": [\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"requiredResourceAccess\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "870" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "4af73fba-1a1e-47b9-8236-0e6985d44e9b" + ], + "client-request-id": [ + "f688eba9-2340-4a18-9605-26bb0c83dcb0" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "zSv6VAHvx--RqF-UXZD6yEdOTBK9A5jRvnOkmCIQwx8NzqK-5Qduzk9DY3HUaCLpKr1w-XSPT_875w5sV3eFEOfnlFNI3FzjVB1ycFs-Wx4KPfTTeWpjjI93ngtnDzD-B2wGHwkKvno9u_b6VhmWOQ.4yr0CeheJMyP40k05rGSLIAIkjHpMsVNY6A4uwId7js" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/bc29bb9e-119e-4dc0-bf31-5913095ef1c9/Microsoft.WindowsAzure.ActiveDirectory.Application" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:21:59 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"appId\": \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\",\r\n \"accountEnabled\": true\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"11e438eb-6dc1-4e40-b874-104c02ed7049\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication2285\",\r\n \"appId\": \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication2285\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication2285/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\",\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1068" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "c5987cab-9351-425d-b005-da3eb3b4a3fd" + ], + "client-request-id": [ + "9756f41d-2c46-479e-aaa9-dbae4704c0f3" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Jt3E3XcyuXilBr0_FNmBfcBW2pWG2QJ_R9aG3c-Fz8Sn7wdclrTcdOc83XBDWK8TgMWvchE8A3UDXSw28aGu9UzOS-banxkHzLzWcyB6GyKfV1RJ9Yhbl4_PpmVzuV9MXLs9Ry_oais_sUefq1LJ4w.c0kpHkgLt0bC4NSSntu7eJ5F8vCOxEr9SekkVOrKmZs" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/11e438eb-6dc1-4e40-b874-104c02ed7049/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:06 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'http:%2F%2FadApplication2285%2Fhome')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXNlcnZpY2VQcmluY2lwYWxOYW1lcy9hbnkoYzpjJTIwZXElMjAnaHR0cCUzQSUyRiUyRmFkQXBwbGljYXRpb24yMjg1JTJGaG9tZScpJmFwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"11e438eb-6dc1-4e40-b874-104c02ed7049\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication2285\",\r\n \"appId\": \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication2285\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication2285/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication2285/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"http://adApplication2285/home\",\r\n \"bf7d1887-3474-415f-abc3-e1ea0cc0aea5\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1071" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "0793c74e-9e07-4296-8905-a12dad47beac" + ], + "client-request-id": [ + "da781bb4-0c9e-4573-8e64-629e354d8267" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "wrrxxOZtNaX52DHfW79Nfm3B9g1mcFu1DTKfORpVSyhAnWuQbmQeZPnEaWJqLQ0_D7hLb8_GC2-ykXHn8OudI0iihH-DyObrvc0erecwUqAa7OFzzhcrWigMSoezoSOXJxj_SWF413QWydRJdC_TIw.z_kEbtD-SmRmV3FcbYYq6w9B3Zjq63dp8ksOBpUagqE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals/11e438eb-6dc1-4e40-b874-104c02ed7049?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscy8xMWU0MzhlYi02ZGMxLTRlNDAtYjg3NC0xMDRjMDJlZDcwNDk/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "8108a874-d190-4e2a-b25c-d9ca64fc4050" + ], + "client-request-id": [ + "0dd58216-c02e-431b-b117-a80af423cc5b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "0Rfv1lM4VtSPW261GeJBa6CU2HcbXtgcU-bS54CRGnJb5AA0u7Ttsz0_AB5ZFbtJdQ428GoDBAxZrVL2QzdEYgt7qG8heRUg63TSvt3ez_IzAwWlZ_PiPzLtQmdM7xiOWNqisZzyw3RWkWu_QapqWg.tv9yAsRtjsSj-H2Fej2tUiwzcGG2nsPmbkN7bl5cfWo" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:07 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications/bc29bb9e-119e-4dc0-bf31-5913095ef1c9?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnMvYmMyOWJiOWUtMTE5ZS00ZGMwLWJmMzEtNTkxMzA5NWVmMWM5P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "776da7f3-fbc6-4422-9844-472df3d0d1ad" + ], + "client-request-id": [ + "967945ab-7340-4a58-93f6-6c1b11d71d9f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "_UZp4kW0Y53NiNIZhrqObD29sIALLlz8A8TWFPCUtysjX28ERG1Gbp8-Z-fBDwmG0--gPYLrYbQDa4SlYS28HJVnkax1WTYctxV6-KnyMQZzusyKQ8T8Xmcg9ltxOHMrRrQuqtpBuTRTtkeel8oqtw.kNZY_wTJqtVLFXgGLVP2sVr_B-Ptn8IWuuSPiQhsD-M" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:07 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdApp": [ + "adApplication2285" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "Domain": "microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSearchString.json new file mode 100644 index 000000000000..ed88b93df7aa --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithSearchString.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication8739\",\r\n \"homepage\": \"http://adApplication8739/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"replyUrls\": [\r\n \"http://adApplication8739/home\"\r\n ]\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Application/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Application\",\r\n \"objectType\": \"Application\",\r\n \"objectId\": \"1987af8a-ca98-40b1-a873-0d168b928d77\",\r\n \"softDeletionTimestamp\": null,\r\n \"appId\": \"98344e72-14a0-4a19-8dcb-f6c852f475a2\",\r\n \"appMetadata\": null,\r\n \"appPermissions\": [],\r\n \"availableToOtherTenants\": false,\r\n \"displayName\": \"adApplication8739\",\r\n \"errorUrl\": null,\r\n \"homepage\": \"http://adApplication8739/home\",\r\n \"identifierUris\": [\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"keyCredentials\": [],\r\n \"knownClientApplications\": [],\r\n \"logoutUrl\": null,\r\n \"passwordCredentials\": [],\r\n \"publicClient\": null,\r\n \"replyUrls\": [\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"requiredResourceAccess\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "870" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "9be7d2ba-f4fd-430e-be42-d0da98c4c72f" + ], + "client-request-id": [ + "84377dab-588a-4b44-87d8-4aa62abd9c38" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "x6YvHeZa0Y71AupxVXajgKp2QrgnTy6qpuVamcIvHLl-veWFbgFeDy5mRxVWDhJgmU--aRFw4K0lt4u1IBeXM9rmNoODAyGpZ0hrgpmtDrc5OW6vJLxRPseNBXcPD5TA3a0s1648eRCeAPVgLVrBDg.puDZxM-zlen_qYHAEvlL7ZJM4SVnRKzDPTG9Itmw1Qg" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/1987af8a-ca98-40b1-a873-0d168b928d77/Microsoft.WindowsAzure.ActiveDirectory.Application" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:21 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"appId\": \"98344e72-14a0-4a19-8dcb-f6c852f475a2\",\r\n \"accountEnabled\": true\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"86eac091-56ad-4ceb-8ce5-415edc3da17c\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication8739\",\r\n \"appId\": \"98344e72-14a0-4a19-8dcb-f6c852f475a2\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication8739\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication8739/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"98344e72-14a0-4a19-8dcb-f6c852f475a2\",\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1068" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "4d85de82-5106-4824-af95-9cc971354f83" + ], + "client-request-id": [ + "6c4efbdf-f922-4f4f-8e7b-054c9b05eb3f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "hAbFm4ES-5bkGCno5D744i2U0Y-R-ounJzCo7TdDU01T-wxpLYsFlSAqMoYMDWgEDffngBlvYZdxCe1ZBzh_GHjLigViKdJEvoN3kQOJRAIqIG21RFxGP2IH_bn24YacEu9yFkZBe6Lzzl_mxP-qNQ.g1zoZG-AjQrMnBWDnzyiHVDHmtLCd6rFrGWYvHNM7DI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/directoryObjects/86eac091-56ad-4ceb-8ce5-415edc3da17c/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals?$filter=startswith(displayName,'adApplication8739')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXN0YXJ0c3dpdGgoZGlzcGxheU5hbWUsJ2FkQXBwbGljYXRpb244NzM5JykmYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"86eac091-56ad-4ceb-8ce5-415edc3da17c\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"adApplication8739\",\r\n \"appId\": \"98344e72-14a0-4a19-8dcb-f6c852f475a2\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"adApplication8739\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://adApplication8739/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"Microsoft\",\r\n \"replyUrls\": [\r\n \"http://adApplication8739/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"http://adApplication8739/home\",\r\n \"98344e72-14a0-4a19-8dcb-f6c852f475a2\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1071" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "94987f17-93de-47e3-8bbc-12fa9bcd4406" + ], + "client-request-id": [ + "54cd6b83-e4bb-460e-86c1-a6bd85f39d18" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "50ffI1aYpyw0zuweEuXqo9WBAHPQfixYxPYA1KOoZV6rezGaQaTRtNBDKWVNyba6jiYAHveQyyJ0UbfiP2VVlvV0nV5P40Ykxh6YT-2Dv6pIsvXzZMLMBqoj6xjtT5gLut27DTyB3ivD0BqgwscVBw.r-0waTJkqMf00LPaAA8khV5gJMDwXel-yNiOBn0S-VQ" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipals/86eac091-56ad-4ceb-8ce5-415edc3da17c?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9zZXJ2aWNlUHJpbmNpcGFscy84NmVhYzA5MS01NmFkLTRjZWItOGNlNS00MTVlZGMzZGExN2M/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "fa9edd9a-3b28-49ac-a797-0d6b9a1ca7be" + ], + "client-request-id": [ + "a8264755-e0d4-4d51-83c7-c34ef33cb0be" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "A-E-sj0hvS-ayyc2rbj71d_E3T4kLgcxLExgLGNVhIkaNSuy83B8Er910hUw_LnlM3_dQb6jsJrdG7XqzrU14enBZXwAzeaXQZoV6cMKHMqluXGuZOzkpAGu89cg-4SyDO3tXWsvQ2nwuJ1SqbZ_vw.LwQhpw5zPV2h_QWFiRPvQVLZB-rxphc8QV2_e9ALKWo" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:28 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/72f988bf-86f1-41af-91ab-2d7cd011db47/applications/1987af8a-ca98-40b1-a873-0d168b928d77?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny9hcHBsaWNhdGlvbnMvMTk4N2FmOGEtY2E5OC00MGIxLWE4NzMtMGQxNjhiOTI4ZDc3P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GpZBqv1HpLKoq8DomLBjVg0qidYJApbIcc5XfQ74dc8=" + ], + "request-id": [ + "a285c00d-d73a-478b-aba2-fad96c34ee6d" + ], + "client-request-id": [ + "90206c6c-1d88-495d-95fb-6b12bf27b3f1" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "2dB7tI9Xfgqgub9YtFHGx_EkggtqMi0MD1cfMpSsK7Ne2Vcz5VF7uIBzP41mUDMlh3e9jY28Ab_Vz8dZMA6FbjEoRV7X642JNT5V2dwWQzPLISUu5_tIAq9rS00Ll5qvIBoFrdGbYm3HFXIjEM5NCQ.jDvUblxaPK3CJX8Wug_aEr7aR-fSFMnCb9xRMWK5v7k" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 22:22:28 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdApp": [ + "adApplication8739" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "Domain": "microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithUserObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithUserObjectId.json new file mode 100644 index 000000000000..17a1726433dd --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADServicePrincipalWithUserObjectId.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser8731@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser8731\",\r\n \"mailNickname\": \"aduser8731test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass13760#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"b624e656-4cd4-41ce-b681-a0d044a12dd8\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser8731\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser8731test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD416D9\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser8731@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser8731@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "b37961bf-5e08-45b0-99b2-e94b7cdc9593" + ], + "client-request-id": [ + "4270cfdc-96e6-4cb0-b212-5eb6d3421eec" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "0aF5D81t1SYuTKHRoZXTBtbP_1Q7pbidDmC4t4DAXP_J0Q-QM8NQizhA8OO-vLixukZBj3iUrDvyZBZukzMLVzpaTefMqi1Ag1mcxcSgRVZ1wiJNR6RFmmcBCShNpnwl1lcUnlwOMA-GsmyyXewDkQ.7xDEsyFX4WgbtAAx-Dk_pMmf_UEBzQUhxnYaqhcDVDc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/b624e656-4cd4-41ce-b681-a0d044a12dd8/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:39 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/b624e656-4cd4-41ce-b681-a0d044a12dd8?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9iNjI0ZTY1Ni00Y2Q0LTQxY2UtYjY4MS1hMGQwNDRhMTJkZDg/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'b624e656-4cd4-41ce-b681-a0d044a12dd8' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "3f271e75-b1de-4afd-a45b-63fc31544cb7" + ], + "client-request-id": [ + "6177f1ad-aedf-43a9-b493-314555890aaf" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "SJgwHgaVh3YVboL3cNLcBMVwLLhu6SdwyjeJFJTKnwVYgf06XgklFh8z40ShMXhVzusdYo1fnzT8MThOCzzOhsVgMwgJyGF8ybM7vnppG_jFpj67a8zie-ZWWbefuGxqU6JeUEW2mQvOOyXFDmssHA.w_z3be7PHYc0SIXHkehNqpRqfRD93HNU2YtUW79zbsw" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:39 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/b624e656-4cd4-41ce-b681-a0d044a12dd8?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9iNjI0ZTY1Ni00Y2Q0LTQxY2UtYjY4MS1hMGQwNDRhMTJkZDg/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "0722840f-b864-46f5-9939-6ec6dda21168" + ], + "client-request-id": [ + "33e944d4-7a29-48c0-9557-014514bb81f4" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "1--RN6ruycssv9sbA4o7nPIiXVL0WOx8bF6JuEvkoOQOWLROrX-msmvXMjwbAzEV8s2PLSM4-HRK_zJqoThFhq9pzdhUTRUJrhhnAEm4BQ4-aScPOW6XfKjHmAF8WoLaiv5KFd1wHz8-mJcVRPTUKg.4BZd6iYvWviPh4eb6N1DEc-f1yp7-oef_bQVlFosHLM" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:40 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser8731", + "adpass1376" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadObjectId.json new file mode 100644 index 000000000000..2872b0ea8f88 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadObjectId.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/deadbeef-dead-beef-dead-beefdeadbeef?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9kZWFkYmVlZi1kZWFkLWJlZWYtZGVhZC1iZWVmZGVhZGJlZWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'deadbeef-dead-beef-dead-beefdeadbeef' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "4JBXES2oJSo7EFxoGUZySbVZz5f0jRgg9xWilhxiOOk=" + ], + "request-id": [ + "30043711-1a46-4472-958e-492295a37ce2" + ], + "client-request-id": [ + "a3c5d621-995d-4df7-9d81-acceb8f6776b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "n6cm_BxePNEZE5rrVazgMmHIivZb_AAUbC_JSaXkSGSmM-pB8-L7kgCji6V77Rqe6auPEFtQpJ44LS6Q1mQjEGyg9YPWcHQNbgg4DhSZpWQ.hnvJMcGdt47s_LUaPyitXSWNjc5DabhuNOLo95-KRBI" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:32:39 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadSearchString.json new file mode 100644 index 000000000000..857798181dba --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadSearchString.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&$filter=startswith(displayName,'badsearchstring')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mJGZpbHRlcj1zdGFydHN3aXRoKGRpc3BsYXlOYW1lLCdiYWRzZWFyY2hzdHJpbmcnKSZhcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "HRG+aiSn0E9z3GzhPJ46HhJjFcqCria5fvIemYT7auo=" + ], + "request-id": [ + "f4d5ab0c-aa38-4614-a0d5-5ea7443ee486" + ], + "client-request-id": [ + "fbc09dcc-e547-4580-bc41-c1b531872906" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "QwM3wJkgE7zAxh5owRQDdQa5OX69utF-dawGGYg2XHab3IeuY7CszrX3fgdy4RZR_xoHxAVRkBF9QPEwhWGfwPLEmG5bgSIBUKLMSi3Fu7A.OHd8Qz1Ojslwm_UPh9pswN0jN3Nj3SNolqHSZaK3NF8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:32:04 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadUPN.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadUPN.json new file mode 100644 index 000000000000..788fa4f73285 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithBadUPN.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/baduser@rbactest.onmicrosoft.com?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9iYWR1c2VyQHJiYWN0ZXN0Lm9ubWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'baduser@rbactest.onmicrosoft.com' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "HRG+aiSn0E9z3GzhPJ46HhJjFcqCria5fvIemYT7auo=" + ], + "request-id": [ + "a07eb1b0-89ac-4413-85d4-899b0da8e689" + ], + "client-request-id": [ + "b603be85-7f11-4b73-84c8-435511e831d5" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "1tUxM_e5jlIdG1aoC1P0xt1XAZ39GMSMFwNAPOVMqbGhC8hjwNwKE4ANsonEeBUx9yi53ciyM2coY37Qc8UKOkKc8oPizr2HT1u-LQhaoNo.Q2mKjl2BYoQGIiHOt5oaorr_HuIk0eIEngwoihMUT9I" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:31:46 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithFPOUPN.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithFPOUPN.json new file mode 100644 index 000000000000..3854e6942d17 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithFPOUPN.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/azsdkposhteam_outlook.com", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9henNka3Bvc2h0ZWFtX291dGxvb2suY29t", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_DataContractVersionMissing\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"The specified api-version is invalid. The value must exactly match a supported version.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "TeRcHeoqA22BHcRGBKky0IV4jTQ6ab7yWgt9gZFyqCs=" + ], + "request-id": [ + "9b850efb-1789-4581-b78d-2c6096a97823" + ], + "client-request-id": [ + "2df56c9d-2a3a-4c9b-8cae-b87eade6b69d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Tue, 16 Sep 2014 00:41:43 GMT" + ] + }, + "StatusCode": 400 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithGroupObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithGroupObjectId.json new file mode 100644 index 000000000000..7fcbe08d0772 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithGroupObjectId.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup8383\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail1240\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"69971398-1374-44d3-8d32-d8ef9e165808\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup8383\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail1240\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "da489c2f-ae7f-4580-9c5d-a64d3a752d39" + ], + "client-request-id": [ + "ebb87429-e116-4011-81b9-a071e189afd9" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "D7TeJDsCrIOs7rYaYGPYKcrBwBnj5G7CiX5IM1t9MhOhdT_Ka8osg-XjyIADXouPACk43aEerqMkgSM-YBXirxj3aX3RzLvE7SSsOeBi7_exgGVheZcjmtts0fEBh_CTzx-e507kJUQs_mRoQGnPSQ.K4fYNBsv54PH-bs4lwNfQ7Rsecmg23FkolyhDRZeZ18" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/69971398-1374-44d3-8d32-d8ef9e165808/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:27:47 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/69971398-1374-44d3-8d32-d8ef9e165808?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82OTk3MTM5OC0xMzc0LTQ0ZDMtOGQzMi1kOGVmOWUxNjU4MDg/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource '69971398-1374-44d3-8d32-d8ef9e165808' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "050c6a97-0f25-4451-9d0e-2f9dbca2d033" + ], + "client-request-id": [ + "729009e7-d34e-4d65-a235-3e2b71a8f6c6" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Pckl2ZZnVkmb12yKrQh4fyXIJW8fRWjP21BN6t_eTXMN1ynGuywAN4nYME_vaXrR4342jZfvzP4yYgzs50fZUObc05x2F3VsMszARLHYJ2pjHa9zGZ9EaMczY7-tCqnzENgemidq1FX2z-Ogok5F6w.-orsvs9FgMS_wZ9IieQXsj4qee-bJu-lMZ7zsR7wWRM" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:27:48 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/69971398-1374-44d3-8d32-d8ef9e165808?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvNjk5NzEzOTgtMTM3NC00NGQzLThkMzItZDhlZjllMTY1ODA4P2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "94ab1abe-63f0-4104-94cd-733a0bdc2c5a" + ], + "client-request-id": [ + "7e8f31e9-0d75-4e41-9bf4-1b3479ad4ee3" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "UJZ29TnX5ML2J6qK6_vT_oywzaAe6Usz-zrOi8zTuD5GPf6WO2kd1vTx8oYph8FqGhVNhMbdMGXiM5nhluLHjOKAGgqBQPy3lfPzwAJhaWIlMaCEypV4Awu9UqZz9FkXhhE84dLvpigm4e-bTvobuA.zkWjkPElsgzyjezA6KvPtkvCThBTK37d7E67ejEjUI0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:27:49 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdGroup": [ + "adgroup8383", + "adgroupmail1240" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithObjectId.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithObjectId.json new file mode 100644 index 000000000000..f84d4de400f5 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithObjectId.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser9002@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser9002\",\r\n \"mailNickname\": \"aduser9002test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass46690#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"6baab4d3-a157-4119-b8f4-d9b2c481ee0e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9002\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9002test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD4168E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9002@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9002@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "4961cff0-2818-45c9-bf23-494ec94fe0fd" + ], + "client-request-id": [ + "458d240d-0880-45f5-98a6-d3f529823262" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "rvNOZP1VCExI-3C2G8A26TnUKAqmwZCypuuvUagHWd_xOFZnPe88IuuNcz3w94rERG36J34PMckylXhX8cS57Efy-YzdBAW1FurUAP6ZRC1RIKlEOjrZ8TcSbt47e3LSo0iL7MP2NZbNhyXqKR2_LQ.v3Eo0-Z5LkzE9qT-nAJXsOt5OS1o50m74gUnle7gZUA" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/6baab4d3-a157-4119-b8f4-d9b2c481ee0e/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/6baab4d3-a157-4119-b8f4-d9b2c481ee0e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82YmFhYjRkMy1hMTU3LTQxMTktYjhmNC1kOWIyYzQ4MWVlMGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"6baab4d3-a157-4119-b8f4-d9b2c481ee0e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9002\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9002test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD4168E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9002@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9002@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "f19228c0-5e40-408d-bce9-e7307242f044" + ], + "client-request-id": [ + "9e554f15-c8be-4cba-862c-f09c8c8758f4" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "khA_ixKi0yBdSWiZpcGZuZLgDG3h1zLeiJnwMnlTiDtQiMqwkoZHKR5teizrqq0SkKdHMSr6U__1e0Ai2KCiU3aQyH0pMzlYotpbJBG-5dr-WkJ6MH3itW3ZExwNVEj1t_HazssVhDEg8c6GJMQXuA.wob3WvpnWeFwzy-S4r3E1F_iwJm0-ZwxQXhRzJZ3uQI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/6baab4d3-a157-4119-b8f4-d9b2c481ee0e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82YmFhYjRkMy1hMTU3LTQxMTktYjhmNC1kOWIyYzQ4MWVlMGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "b6a64ef0-b8f8-4ce5-90b2-82003965509b" + ], + "client-request-id": [ + "e4d74d11-b5d9-4c2a-b829-c0cf3d026e23" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "9MFyOhO7m0dNijqO2TEUKwnihDAaB7S2lbr6PNoPLpbbie2NHYxbrj-_jlVjANAxH_FiQxZFhbJwUGsoyd6VSNicBdKW4tc40KBHGQQq2TsACfpfi2r2UwE3cxr1w93QCJbXTBuBXDeiCPljIttYsQ.HFndWnjoNOPFjNsQQq7nTpxNueRBhxSVsZMDWQBTfqs" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:19 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser9002", + "adpass4669" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithSearchString.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithSearchString.json new file mode 100644 index 000000000000..916a0ffd70b5 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithSearchString.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser7065@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser7065\",\r\n \"mailNickname\": \"aduser7065test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass23550#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e253bc25-fbe6-4d8a-888b-f828d4b37e60\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser7065\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser7065test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BCF0657\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser7065@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser7065@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "MsH+7bNxSLKcmuX3JqvzScisCtZwuMTpgstB41T1Viw=" + ], + "request-id": [ + "067e8699-af54-4dd5-b275-eb7cd6d5c12d" + ], + "client-request-id": [ + "e2e5ec8c-8778-4553-a65d-0b5ae439b7a0" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Ua4Epva-Z0idIMmMgoK9d04E4vmYG-PkKKg4U3mkAY5XcSaeSgpEfIKoTzg5tO96i-qfhEoMsG63AX-3MLfDH-YI5rUU-JHM8SW8fh1WUCuPppxcgypiwkWw7yGwyGG46LKufSv6SgVDccnNZgnb0A.pW54EchnrgZZmzBhExKwAM3ykZD4jKrqEEGyldYsg44" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/e253bc25-fbe6-4d8a-888b-f828d4b37e60/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:02 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&$filter=startswith(displayName,'aduser7065')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mJGZpbHRlcj1zdGFydHN3aXRoKGRpc3BsYXlOYW1lLCdhZHVzZXI3MDY1JykmYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e253bc25-fbe6-4d8a-888b-f828d4b37e60\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser7065\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser7065test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BCF0657\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser7065@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser7065@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "MsH+7bNxSLKcmuX3JqvzScisCtZwuMTpgstB41T1Viw=" + ], + "request-id": [ + "2fd0029b-a1c5-4ec8-a7b5-2280d453702f" + ], + "client-request-id": [ + "2d76e151-5c0d-4073-835c-2e528d0cff1a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "fLHEx66JJRGOJmV3x4OYf7Knu13i5QFkdKV9B1XZFAo9VE1YwOI9VVjuCVQxzCSdmxKxoZS3WTwuyy_As0cajpvt4Yd0q4nlO38pX_64qSu25sjXhm-VbnkAAAWmZzDTvIJa1S_DS3-QryrSlrfPmQ.9yERlgnkW2cWGBDbPfh2xi7cUsRYJmubXQIDhVp5kSU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/e253bc25-fbe6-4d8a-888b-f828d4b37e60?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9lMjUzYmMyNS1mYmU2LTRkOGEtODg4Yi1mODI4ZDRiMzdlNjA/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "MsH+7bNxSLKcmuX3JqvzScisCtZwuMTpgstB41T1Viw=" + ], + "request-id": [ + "78389e2c-ecb8-4a7b-aeef-5217f1d888a1" + ], + "client-request-id": [ + "ed798624-4de3-4d8b-acfe-b7654a835929" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "pXrw9oczVcFljV01GU5YwycJynLc-4StPbW7C_JjqS6eS6C5m1TYScsgYCxuhEX10DizrVvKeTFnYquP4DmySqs2c8RatYNW2WguhmPpBSzstTGSRxdzY6j6PKe37gVxi2mJQoTReLBBMmzs_otMFQ.FF8t94IftJ9HB2IYSbPPSIVSI75-jd7mM7YMSfrW97Q" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:03 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser7065", + "adpass2355" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithUPN.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithUPN.json new file mode 100644 index 000000000000..1fce9312c452 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetADUserWithUPN.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser8219@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser8219\",\r\n \"mailNickname\": \"aduser8219test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass36950#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"58fde812-dd19-488a-87cd-68bf5273fcad\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser8219\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser8219test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD416E1\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser8219@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser8219@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "b285edbb-bd7f-4915-8753-45d31b397082" + ], + "client-request-id": [ + "540522a4-dd60-4af2-b955-807be511ea47" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "CZNStMCsMTIwgsC4UvxA_Yt3hklXp_J0gx-ibZU_sT9q_MNKN4VSAWKrAP2eZR8llqTHjd24zZRIwWk214RXP99Aalk97lnFc-buKy1fHCrKYbSTdyF7ai6AYd0mhiFppRH7NxO3hOTLA5WsulVdDw.s_qEWwEJ5BhOS2lsciGOwyrT9AvJ4nYbkz4tOodG1Es" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/58fde812-dd19-488a-87cd-68bf5273fcad/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:10 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/aduser8219@rbactest.onmicrosoft.com?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hZHVzZXI4MjE5QHJiYWN0ZXN0Lm9ubWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"58fde812-dd19-488a-87cd-68bf5273fcad\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser8219\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser8219test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD416E1\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser8219@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser8219@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "dc7eeba7-05df-47d0-8aee-966b77dc184f" + ], + "client-request-id": [ + "fc966d36-9af6-4127-8508-efaf91c7095f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "d8KTsghFHeHLY2zFVU0VGHopBtlyMf6hdkdDLeFNLhStzbGsOXek7pGjiIYHP5ugPPFbtIxaGNSiy6N8_Ioz06m7vgLt_oPLKcqqcAr0BzqWM6acaMXFAgP805Chr0qBefzGqcUqyYkpcDx7tR-Ucg.VOsOWwCpXPVe4ZIAFzhoQZALmuOYeDYqhbwdOan4dwQ" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/58fde812-dd19-488a-87cd-68bf5273fcad?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81OGZkZTgxMi1kZDE5LTQ4OGEtODdjZC02OGJmNTI3M2ZjYWQ/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "b560fa5c-fcef-4661-8b53-07577352a6b2" + ], + "client-request-id": [ + "57c6c16f-fdf8-4a57-8cf7-908c9c6ef11f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "DY1t_FXH_ErpBRCLuEo64goE-QiE8CA6ApCTfnkVIdJ2A5shvj-Xm0jeWKe_nBe1-Ov4c3EWvN-bl4iLdf_Jk92AV7dTWr6wijov5BPPpPcdIQmK_cjvYFSOZanLpoewCo5m5QFwSEkxDYSxAmg45Q.aQryWDUn8w-YPqb3qiEUn6m2uxuMNihSvQCx7j5wcDs" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:10 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser8219", + "adpass3695" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADGroups.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADGroups.json new file mode 100644 index 000000000000..eb574a3e3cdc --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADGroups.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"displayName\": \"adgroup8266\",\r\n \"mailEnabled\": false,\r\n \"mailNickname\": \"adgroupmail196\",\r\n \"securityEnabled\": true\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"5a2bae3d-6c6c-4f04-9f15-9b73738499f1\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup8266\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail196\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "c954482c-f68d-4140-82bd-5b0131d67aa6" + ], + "client-request-id": [ + "8123163f-a590-4dc9-92e1-1f8039a2f52b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "5iAWZebsZ0jQXgybB5g55ao4vwW0shOihhRAicwE3NRnSQwNyxn_-WiLWyPTCX47mfqAk3l7LbgN4hhEu7iozT9QnYB3yHEPN2iG2rzON3wuYCoRctkv18dB3XpyGRgeDnt0dCnYjbE-lorFfF-qnA.Z5qZXHjS46XDEqka8Znyi8Jdi9SFoOAnR4mJ2Np-VLU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/5a2bae3d-6c6c-4f04-9f15-9b73738499f1/Microsoft.WindowsAzure.ActiveDirectory.Group" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:52 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/JmFwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"1ddba6df-e959-456b-8f02-50252ece007f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of admins\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admingroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"481689dd-0a1c-44d0-a848-a02e7d591a3a\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"2823a770-d3f7-4e84-8e5d-2542d5b08e13\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"hello2\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"hello\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"de93d080-c9de-4120-bf7d-cdb78cb3f655\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"2ff5c0e4-40cf-48b6-be7e-174615c4956d\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"2nd group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup2\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"46f915be-2f40-4908-8c6b-9a0232567640\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"5a2bae3d-6c6c-4f04-9f15-9b73738499f1\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"adgroup8266\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"adgroupmail196\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"8fd46a09-454e-41f1-b70f-f28331b12a31\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"an empty group\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"emptygroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"9764488b-bdf2-4169-8045-916fc8083f3d\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"d5fbb343-cf1d-47bb-9aa8-5c3dd57b336f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of owners\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"ownergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"d9dc3124-a996-44d6-9049-3f379194fd1c\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "79f9b532-048d-4165-bd56-2a1f495f126e" + ], + "client-request-id": [ + "f5deacf9-68f7-439c-8aba-c9f9432a2a6f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "2ycJD01u63mOuC77PdetEOlnLGc2ixY4mzN4uqLAzPSOBhiIF6-3sNFNQsG_G_T4UUFRtnzieGUtjenz4ogmQrvq0rR_-uAdaDRdbdgoIY5oMXl0xyjXmDK3EwxWCVl1kOQTnGsBcmSXemR44Tds_w.oQOlinED2Ybr6DpvjGP3HLLBOazoh9q-fB-8keGnWyU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/5a2bae3d-6c6c-4f04-9f15-9b73738499f1?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvNWEyYmFlM2QtNmM2Yy00ZjA0LTlmMTUtOWI3MzczODQ5OWYxP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "v3yGAWrccus9FzuzL9cLf8vSbclXQ3anB0vIyjf36ac=" + ], + "request-id": [ + "7b13b39f-419e-4618-8e7c-cb78f64aeb32" + ], + "client-request-id": [ + "9b51ea1c-bc59-49c6-81a4-aa029af996b1" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Q3WvL7dC7o0OAQhFu3mg_fhnT4GosoT6OU5MVt6HV6mKt2_zB2GBp9x3kue-yODbIhWOb82OA1oo__dSs8A01KZ_Q92i9YKPO8lc0YmXBW-y-5GRm11_5yc8Y7XrTBQgxJ3SW3_yJYzkVS0cNYicpw.qz00rZY0PqWkdHevowIqMdEN5ONbVMs2LbBy6OM8X74" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:32:53 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdGroup": [ + "adgroup8266", + "adgroupmail196" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADUser.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADUser.json new file mode 100644 index 000000000000..eefc166a39c0 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ActiveDirectoryTests/TestGetAllADUser.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser3142@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser3142\",\r\n \"mailNickname\": \"aduser3142test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass38910#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"073f97d2-5e29-488e-85ec-9658b598f7f9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3142\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3142test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD416B1\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3142@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3142@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "bfc942b2-861c-4fd9-a54f-977766883ef2" + ], + "client-request-id": [ + "5679f3b7-2d43-4bb5-8f3d-d0a051f2a2a5" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "hctrL4w9KHCrH853inS4l7AJq6jo0Fk8jICgsWsLyQplS6WiNMPP5GPa2Fysx3v27v7jqHhucta3Af-q0GDH0Sh1ShWlabjmXQcQewLf5tJckzekQbZyM-WFKbkr1XjYA9z0a9gs_HQLGYn0sWxBwA.-fYE71sbALJaoknUR1YH6xPjNQH1uKwO4En9x5nwAM4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/073f97d2-5e29-488e-85ec-9658b598f7f9/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:27 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"073f97d2-5e29-488e-85ec-9658b598f7f9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3142\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3142test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD416B1\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3142@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3142@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7148b59c-070d-470e-b6b0-d00007d11b83\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3894\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3894test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD002D8\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3894@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3894@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"17488b60-ea0b-4960-b24f-a6cbd499cf8f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAO//cP46cM=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"LiveIdUser\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Test\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"auxtm596_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8BBB8658\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"auxtm596@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"auxtm596@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"User\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"auxtm596_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "ab39b433-002e-4561-99ec-b7a9756096dd" + ], + "client-request-id": [ + "f4db3035-5052-4f55-b395-ebaff94493b8" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "75a1nM0cvppiT2hqeXYi7_x5Dr6WkjCEf4l9g9JMzfBE6tMYLECIzNKKZeSpBbS4UeOyN0oHEtkBUjqegvJ5o1m6v53_FcjZ86TzDXrTVbeL3uGOMEa6kgtf2_ntRiMRsJwMoKqzIEGM87LzBc-5Kw.Jxoa-gCb8wNkplZ1CbZK9rjo9qObPfJpk3x0VBaFPUE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/073f97d2-5e29-488e-85ec-9658b598f7f9?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy8wNzNmOTdkMi01ZTI5LTQ4OGUtODVlYy05NjU4YjU5OGY3Zjk/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "e1695ac4-3d88-4c48-8799-835bd57e901d" + ], + "client-request-id": [ + "0fe4281e-63f6-42d7-be44-857391ebde16" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "uIlugGICxIHzObzUXoNH_5tGiaPAzH-JYxEK6lTGoIrygJbs4tnxtmDrIysDS9jth4i1ZBwHSiCSN-56i4G1nPvq2txNWH6hvFoJYAmH1pKTxbBc5YhnIOSZXaCYjovFZsM7nownaJW0XBVOXQDzmg.y9907T-G_uZyjIxCFGGfRAe4VSEtLHfQx-7Qy814h0Y" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 24 Sep 2014 21:31:27 GMT" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateNewAdUser": [ + "aduser3142", + "adpass3891" + ] + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json index 1fb5fc50e6e6..533c64c2aa31 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json @@ -7,7 +7,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/ogail/\",\r\n \"tagName\": \"ogail\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -43,7 +43,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/ogail/\",\r\n \"tagName\": \"ogail\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -79,7 +79,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -115,7 +115,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -151,7 +151,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -187,7 +187,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -223,7 +223,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -259,7 +259,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -295,7 +295,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -331,7 +331,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -367,7 +367,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -403,7 +403,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -439,7 +439,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -475,7 +475,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -511,7 +511,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -547,7 +547,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -583,7 +583,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -619,7 +619,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -655,7 +655,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -691,7 +691,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -727,7 +727,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -763,7 +763,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -799,7 +799,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -835,7 +835,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -871,7 +871,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -907,7 +907,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -943,7 +943,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -979,7 +979,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1015,7 +1015,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1051,7 +1051,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1087,7 +1087,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1123,7 +1123,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1159,7 +1159,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1195,7 +1195,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1231,7 +1231,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1267,7 +1267,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1303,7 +1303,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1339,7 +1339,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1375,7 +1375,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", @@ -1411,7 +1411,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.8" + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "", diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesAndRemoveResourceGroupViaPiping.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesAndRemoveResourceGroupViaPiping.json index b7bd581472b7..9f9a41c5426e 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesAndRemoveResourceGroupViaPiping.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesAndRemoveResourceGroupViaPiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "31985" ], "x-ms-request-id": [ - "d00a2477-6803-451b-b8ff-c999183616f7" + "ab16ce2a-750c-4182-a464-ea39bf37a6a7" ], "x-ms-correlation-request-id": [ - "d00a2477-6803-451b-b8ff-c999183616f7" + "ab16ce2a-750c-4182-a464-ea39bf37a6a7" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172814Z:d00a2477-6803-451b-b8ff-c999183616f7" + "WESTUS:20140911T075916Z:ab16ce2a-750c-4182-a464-ea39bf37a6a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:13 GMT" + "Thu, 11 Sep 2014 07:59:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -55,16 +55,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "31984" ], "x-ms-request-id": [ - "ad51908b-e291-40fa-bc82-87ca6e6ebffa" + "281ec2c9-6c82-4399-b7f1-b59a37e84873" ], "x-ms-correlation-request-id": [ - "ad51908b-e291-40fa-bc82-87ca6e6ebffa" + "281ec2c9-6c82-4399-b7f1-b59a37e84873" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172814Z:ad51908b-e291-40fa-bc82-87ca6e6ebffa" + "WESTUS:20140911T075916Z:281ec2c9-6c82-4399-b7f1-b59a37e84873" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:14 GMT" + "Thu, 11 Sep 2014 07:59:16 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31986" + "31974" ], "x-ms-request-id": [ - "5cf43d35-b192-41c9-adc4-6eade8169192" + "3581db7d-e611-4e16-afd7-c76ab499218d" ], "x-ms-correlation-request-id": [ - "5cf43d35-b192-41c9-adc4-6eade8169192" + "3581db7d-e611-4e16-afd7-c76ab499218d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172908Z:5cf43d35-b192-41c9-adc4-6eade8169192" + "WESTUS:20140911T075952Z:3581db7d-e611-4e16-afd7-c76ab499218d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:08 GMT" + "Thu, 11 Sep 2014 07:59:51 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -127,22 +127,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4949\",\r\n \"name\": \"onesdk4949\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9160\",\r\n \"name\": \"onesdk9160\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1195" ], "x-ms-request-id": [ - "69b0756f-ce6f-4412-8dbd-16d99fb0c554" + "4cecf39b-567f-4e31-b82a-f3a5f7031651" ], "x-ms-correlation-request-id": [ - "69b0756f-ce6f-4412-8dbd-16d99fb0c554" + "4cecf39b-567f-4e31-b82a-f3a5f7031651" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172816Z:69b0756f-ce6f-4412-8dbd-16d99fb0c554" + "WESTUS:20140911T075916Z:4cecf39b-567f-4e31-b82a-f3a5f7031651" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:16 GMT" + "Thu, 11 Sep 2014 07:59:16 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4949/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazQ5NDkvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9160/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazkxNjAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "31983" ], "x-ms-request-id": [ - "6a229f98-389b-44d7-9b13-c1a623af51e9" + "f792fe13-b0e7-446d-8dd0-d329f32ac8c9" ], "x-ms-correlation-request-id": [ - "6a229f98-389b-44d7-9b13-c1a623af51e9" + "f792fe13-b0e7-446d-8dd0-d329f32ac8c9" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172817Z:6a229f98-389b-44d7-9b13-c1a623af51e9" + "WESTUS:20140911T075917Z:f792fe13-b0e7-446d-8dd0-d329f32ac8c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:16 GMT" + "Thu, 11 Sep 2014 07:59:17 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -211,16 +211,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31985" + "31987" ], "x-ms-request-id": [ - "b6b8e394-5e32-47d2-9a29-fd48f25c8db0" + "2cce5000-335a-4802-bb3b-9c836afd7e8f" ], "x-ms-correlation-request-id": [ - "b6b8e394-5e32-47d2-9a29-fd48f25c8db0" + "2cce5000-335a-4802-bb3b-9c836afd7e8f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172817Z:b6b8e394-5e32-47d2-9a29-fd48f25c8db0" + "WESTUS:20140911T075917Z:2cce5000-335a-4802-bb3b-9c836afd7e8f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:17 GMT" + "Thu, 11 Sep 2014 07:59:17 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "31982" ], "x-ms-request-id": [ - "7f372e02-ab38-471c-bdbb-3f00c3467d15" + "f1a6d84e-1f78-42e3-9f87-6c9a45b43c3c" ], "x-ms-correlation-request-id": [ - "7f372e02-ab38-471c-bdbb-3f00c3467d15" + "f1a6d84e-1f78-42e3-9f87-6c9a45b43c3c" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172817Z:7f372e02-ab38-471c-bdbb-3f00c3467d15" + "WESTUS:20140911T075918Z:f1a6d84e-1f78-42e3-9f87-6c9a45b43c3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:17 GMT" + "Thu, 11 Sep 2014 07:59:18 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -289,16 +289,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "31978" ], "x-ms-request-id": [ - "41759e60-c092-4602-9ce4-1a675d992996" + "26c1a046-6d0f-4887-89e7-cde3e45d815d" ], "x-ms-correlation-request-id": [ - "41759e60-c092-4602-9ce4-1a675d992996" + "26c1a046-6d0f-4887-89e7-cde3e45d815d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172820Z:41759e60-c092-4602-9ce4-1a675d992996" + "WESTUS:20140911T075920Z:26c1a046-6d0f-4887-89e7-cde3e45d815d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:20 GMT" + "Thu, 11 Sep 2014 07:59:20 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -322,22 +322,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk2897\",\r\n \"name\": \"onesdk2897\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk216\",\r\n \"name\": \"onesdk216\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1194" ], "x-ms-request-id": [ - "4a79ee14-fa80-40d7-af8f-ac4b56732f0e" + "c5eb6bdd-4c88-47e0-ac62-c0e893e3f14b" ], "x-ms-correlation-request-id": [ - "4a79ee14-fa80-40d7-af8f-ac4b56732f0e" + "c5eb6bdd-4c88-47e0-ac62-c0e893e3f14b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172818Z:4a79ee14-fa80-40d7-af8f-ac4b56732f0e" + "WESTUS:20140911T075918Z:c5eb6bdd-4c88-47e0-ac62-c0e893e3f14b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:17 GMT" + "Thu, 11 Sep 2014 07:59:18 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk2897/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazI4OTcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk216/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazIxNi9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -367,16 +367,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "31981" ], "x-ms-request-id": [ - "2bb153d0-f499-44f1-a9ca-1558aa068952" + "ea3d32ac-c568-4e5d-a172-974eb58e35f5" ], "x-ms-correlation-request-id": [ - "2bb153d0-f499-44f1-a9ca-1558aa068952" + "ea3d32ac-c568-4e5d-a172-974eb58e35f5" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172818Z:2bb153d0-f499-44f1-a9ca-1558aa068952" + "WESTUS:20140911T075919Z:ea3d32ac-c568-4e5d-a172-974eb58e35f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,14 +385,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:17 GMT" + "Thu, 11 Sep 2014 07:59:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,16 +406,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31984" + "31986" ], "x-ms-request-id": [ - "f5f373fa-473d-4200-8175-0edf7bf7f901" + "a67f80c4-1044-4598-84f5-de7f062ba458" ], "x-ms-correlation-request-id": [ - "f5f373fa-473d-4200-8175-0edf7bf7f901" + "a67f80c4-1044-4598-84f5-de7f062ba458" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172819Z:f5f373fa-473d-4200-8175-0edf7bf7f901" + "WESTUS:20140911T075919Z:a67f80c4-1044-4598-84f5-de7f062ba458" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,14 +424,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:19 GMT" + "Thu, 11 Sep 2014 07:59:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -439,22 +439,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk2897\",\r\n \"name\": \"onesdk2897\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4949\",\r\n \"name\": \"onesdk4949\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk216\",\r\n \"name\": \"onesdk216\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9160\",\r\n \"name\": \"onesdk9160\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "31980" ], "x-ms-request-id": [ - "d1d5f247-be86-41d4-9be3-2752eeef0cb0" + "87307163-13e7-4c2a-90d5-d6e8dd879cb4" ], "x-ms-correlation-request-id": [ - "d1d5f247-be86-41d4-9be3-2752eeef0cb0" + "87307163-13e7-4c2a-90d5-d6e8dd879cb4" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172819Z:d1d5f247-be86-41d4-9be3-2752eeef0cb0" + "WESTUS:20140911T075919Z:87307163-13e7-4c2a-90d5-d6e8dd879cb4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -463,14 +463,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:19 GMT" + "Thu, 11 Sep 2014 07:59:19 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -478,22 +478,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk2897\",\r\n \"name\": \"onesdk2897\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4949\",\r\n \"name\": \"onesdk4949\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk216\",\r\n \"name\": \"onesdk216\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9160\",\r\n \"name\": \"onesdk9160\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "31979" ], "x-ms-request-id": [ - "1b8dfba3-c1ef-40bd-8818-4d880ddb3c53" + "60b982ed-720b-4d80-831a-d7a2ef518cf3" ], "x-ms-correlation-request-id": [ - "1b8dfba3-c1ef-40bd-8818-4d880ddb3c53" + "60b982ed-720b-4d80-831a-d7a2ef518cf3" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172820Z:1b8dfba3-c1ef-40bd-8818-4d880ddb3c53" + "WESTUS:20140911T075920Z:60b982ed-720b-4d80-831a-d7a2ef518cf3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,14 +502,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:20 GMT" + "Thu, 11 Sep 2014 07:59:20 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -517,7 +517,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "53" + "13" ] }, "ResponseBody": "", @@ -529,16 +529,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1193" ], "x-ms-request-id": [ - "e3d7dca4-1b64-49f6-a871-f8e3e60f4b7a" + "90742cbe-dd65-4ccb-9e6a-f3eee73c66e6" ], "x-ms-correlation-request-id": [ - "e3d7dca4-1b64-49f6-a871-f8e3e60f4b7a" + "90742cbe-dd65-4ccb-9e6a-f3eee73c66e6" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172821Z:e3d7dca4-1b64-49f6-a871-f8e3e60f4b7a" + "WESTUS:20140911T075921Z:90742cbe-dd65-4ccb-9e6a-f3eee73c66e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,17 +547,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:20 GMT" + "Thu, 11 Sep 2014 07:59:20 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lPRGszTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lNVFl0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -568,7 +568,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "53" + "13" ] }, "ResponseBody": "", @@ -580,16 +580,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31990" + "31977" ], "x-ms-request-id": [ - "78fcf33c-0243-451d-a1aa-3772a90a23d9" + "051d2a8f-826e-4495-a146-a8710582ce66" ], "x-ms-correlation-request-id": [ - "78fcf33c-0243-451d-a1aa-3772a90a23d9" + "051d2a8f-826e-4495-a146-a8710582ce66" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172821Z:78fcf33c-0243-451d-a1aa-3772a90a23d9" + "WESTUS:20140911T075921Z:051d2a8f-826e-4495-a146-a8710582ce66" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,17 +598,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:21 GMT" + "Thu, 11 Sep 2014 07:59:21 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lPRGszTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lNVFl0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -619,7 +619,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "53" + "13" ] }, "ResponseBody": "", @@ -631,16 +631,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "31976" ], "x-ms-request-id": [ - "faf82430-d3be-408a-8e52-c7680cf4407e" + "c8d63235-3df0-47e5-a7a1-c6409ed19a34" ], "x-ms-correlation-request-id": [ - "faf82430-d3be-408a-8e52-c7680cf4407e" + "c8d63235-3df0-47e5-a7a1-c6409ed19a34" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172836Z:faf82430-d3be-408a-8e52-c7680cf4407e" + "WESTUS:20140911T075936Z:c8d63235-3df0-47e5-a7a1-c6409ed19a34" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -649,17 +649,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:36 GMT" + "Thu, 11 Sep 2014 07:59:36 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lPRGszTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lNVFl0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -670,7 +670,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "53" + "13" ] }, "ResponseBody": "", @@ -678,20 +678,17 @@ "Pragma": [ "no-cache" ], - "Retry-After": [ - "15" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31988" + "31975" ], "x-ms-request-id": [ - "dd5ec4c9-acde-45b5-89ee-f0867ed20248" + "49776140-731e-4d9f-8041-cc30c1fc6451" ], "x-ms-correlation-request-id": [ - "dd5ec4c9-acde-45b5-89ee-f0867ed20248" + "49776140-731e-4d9f-8041-cc30c1fc6451" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172852Z:dd5ec4c9-acde-45b5-89ee-f0867ed20248" + "WESTUS:20140911T075952Z:49776140-731e-4d9f-8041-cc30c1fc6451" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -700,28 +697,22 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:52 GMT" - ], - "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "Thu, 11 Sep 2014 07:59:51 GMT" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyODk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lPRGszTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { - "x-ms-version": [ - "2014-04-01-preview" - ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "53" + "19" ] }, "ResponseBody": "", @@ -729,17 +720,20 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31987" + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" ], "x-ms-request-id": [ - "af260727-932a-4534-97cb-017f2f14f726" + "b9eedb8e-d559-45b9-aef3-a1c5831f3d46" ], "x-ms-correlation-request-id": [ - "af260727-932a-4534-97cb-017f2f14f726" + "b9eedb8e-d559-45b9-aef3-a1c5831f3d46" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172908Z:af260727-932a-4534-97cb-017f2f14f726" + "WESTUS:20140911T075953Z:b9eedb8e-d559-45b9-aef3-a1c5831f3d46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -748,22 +742,28 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:07 GMT" + "Thu, 11 Sep 2014 07:59:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNVFl3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "60" + "19" ] }, "ResponseBody": "", @@ -774,17 +774,17 @@ "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" ], "x-ms-request-id": [ - "53901e70-5a75-4c55-ad02-1e6337a1a002" + "8244637f-0e80-4d89-9824-622d02a4bb93" ], "x-ms-correlation-request-id": [ - "53901e70-5a75-4c55-ad02-1e6337a1a002" + "8244637f-0e80-4d89-9824-622d02a4bb93" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172908Z:53901e70-5a75-4c55-ad02-1e6337a1a002" + "WESTUS:20140911T075953Z:8244637f-0e80-4d89-9824-622d02a4bb93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,17 +793,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:08 GMT" + "Thu, 11 Sep 2014 07:59:52 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBPVFE1TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNVFl3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -814,7 +814,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "60" + "19" ] }, "ResponseBody": "", @@ -826,16 +826,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31985" + "31972" ], "x-ms-request-id": [ - "a885d65e-dc2f-4e27-b1d0-4c15358f9cff" + "34b800f5-0cd1-41b3-86af-4d0e0dda767b" ], "x-ms-correlation-request-id": [ - "a885d65e-dc2f-4e27-b1d0-4c15358f9cff" + "34b800f5-0cd1-41b3-86af-4d0e0dda767b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172909Z:a885d65e-dc2f-4e27-b1d0-4c15358f9cff" + "WESTUS:20140911T080009Z:34b800f5-0cd1-41b3-86af-4d0e0dda767b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -844,17 +844,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:08 GMT" + "Thu, 11 Sep 2014 08:00:08 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBPVFE1TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNVFl3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -865,7 +865,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "60" + "19" ] }, "ResponseBody": "", @@ -877,16 +877,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31984" + "31971" ], "x-ms-request-id": [ - "921bb3d1-9c86-463a-a760-9e9c011f3e24" + "26f13fb3-583d-4e72-a4af-3b1a42aa0bb6" ], "x-ms-correlation-request-id": [ - "921bb3d1-9c86-463a-a760-9e9c011f3e24" + "26f13fb3-583d-4e72-a4af-3b1a42aa0bb6" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172924Z:921bb3d1-9c86-463a-a760-9e9c011f3e24" + "WESTUS:20140911T080024Z:26f13fb3-583d-4e72-a4af-3b1a42aa0bb6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -895,17 +895,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:24 GMT" + "Thu, 11 Sep 2014 08:00:23 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0OTQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBPVFE1TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNVFl3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -916,7 +916,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "60" + "19" ] }, "ResponseBody": "", @@ -925,16 +925,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31983" + "31970" ], "x-ms-request-id": [ - "c16a6569-018f-4495-b53f-eef07540a733" + "51f5e9cc-4716-44b8-a232-96a1b3be2e72" ], "x-ms-correlation-request-id": [ - "c16a6569-018f-4495-b53f-eef07540a733" + "51f5e9cc-4716-44b8-a232-96a1b3be2e72" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172940Z:c16a6569-018f-4495-b53f-eef07540a733" + "WESTUS:20140911T080040Z:51f5e9cc-4716-44b8-a232-96a1b3be2e72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -943,14 +943,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:40 GMT" + "Thu, 11 Sep 2014 08:00:39 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4949?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ5NDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9160?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkxNjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -958,22 +958,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk4949' could not be found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk9160' could not be found.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31982" + "31969" ], "x-ms-request-id": [ - "8d687493-2623-43fe-9e2a-5d8515caed76" + "fb6c89d5-ddc0-4809-8845-769b16b09ad0" ], "x-ms-correlation-request-id": [ - "8d687493-2623-43fe-9e2a-5d8515caed76" + "fb6c89d5-ddc0-4809-8845-769b16b09ad0" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172940Z:8d687493-2623-43fe-9e2a-5d8515caed76" + "WESTUS:20140911T080041Z:fb6c89d5-ddc0-4809-8845-769b16b09ad0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -982,14 +982,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:40 GMT" + "Thu, 11 Sep 2014 08:00:41 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk2897?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4OTc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk216?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazIxNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -997,22 +997,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk2897' could not be found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk216' could not be found.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31981" + "31968" ], "x-ms-request-id": [ - "e71e3725-5691-43b0-813e-51f323d5335b" + "2efecd14-e973-486d-ac05-6029df0c74e6" ], "x-ms-correlation-request-id": [ - "e71e3725-5691-43b0-813e-51f323d5335b" + "2efecd14-e973-486d-ac05-6029df0c74e6" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172941Z:e71e3725-5691-43b0-813e-51f323d5335b" + "WESTUS:20140911T080041Z:2efecd14-e973-486d-ac05-6029df0c74e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1021,7 +1021,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:29:41 GMT" + "Thu, 11 Sep 2014 08:00:41 GMT" ] }, "StatusCode": 404 @@ -1029,11 +1029,12 @@ ], "Names": { "Test-CreatesAndRemoveResourceGroupViaPiping": [ - "onesdk4949", - "onesdk2897" + "onesdk9160", + "onesdk216" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesNewSimpleResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesNewSimpleResourceGroup.json index 22bc0b149d39..91009bb69f67 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesNewSimpleResourceGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestCreatesNewSimpleResourceGroup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "31999" ], "x-ms-request-id": [ - "8493b13f-b9b0-4989-ada7-c3c0242b7d03" + "8f9bdfe3-b269-4799-9050-c6e1ab1b0ee1" ], "x-ms-correlation-request-id": [ - "8493b13f-b9b0-4989-ada7-c3c0242b7d03" + "8f9bdfe3-b269-4799-9050-c6e1ab1b0ee1" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172709Z:8493b13f-b9b0-4989-ada7-c3c0242b7d03" + "WESTUS:20140911T075520Z:8f9bdfe3-b269-4799-9050-c6e1ab1b0ee1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:09 GMT" + "Thu, 11 Sep 2014 07:55:20 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -55,16 +55,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "31998" ], "x-ms-request-id": [ - "3d94fad0-e602-4111-b041-6b52bdba884f" + "a86f33d8-ea92-4d65-bd3d-a1385b5c544e" ], "x-ms-correlation-request-id": [ - "3d94fad0-e602-4111-b041-6b52bdba884f" + "a86f33d8-ea92-4d65-bd3d-a1385b5c544e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172709Z:3d94fad0-e602-4111-b041-6b52bdba884f" + "WESTUS:20140911T075521Z:a86f33d8-ea92-4d65-bd3d-a1385b5c544e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:09 GMT" + "Thu, 11 Sep 2014 07:55:20 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "31994" ], "x-ms-request-id": [ - "460eb521-82db-46b0-96cc-51195f551680" + "3682cf0b-2773-4e57-b099-4a70e14e9a1c" ], "x-ms-correlation-request-id": [ - "460eb521-82db-46b0-96cc-51195f551680" + "3682cf0b-2773-4e57-b099-4a70e14e9a1c" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172712Z:460eb521-82db-46b0-96cc-51195f551680" + "WESTUS:20140911T075524Z:3682cf0b-2773-4e57-b099-4a70e14e9a1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:11 GMT" + "Thu, 11 Sep 2014 07:55:24 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { @@ -127,7 +127,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk6318\",\r\n \"name\": \"onesdk6318\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7261\",\r\n \"name\": \"onesdk7261\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -136,13 +136,13 @@ "1199" ], "x-ms-request-id": [ - "6937796c-3811-4bf0-a24d-5a0662772cbc" + "5f4ebca6-0e0d-4a0c-aa52-3da3385423c5" ], "x-ms-correlation-request-id": [ - "6937796c-3811-4bf0-a24d-5a0662772cbc" + "5f4ebca6-0e0d-4a0c-aa52-3da3385423c5" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172710Z:6937796c-3811-4bf0-a24d-5a0662772cbc" + "WESTUS:20140911T075521Z:5f4ebca6-0e0d-4a0c-aa52-3da3385423c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:09 GMT" + "Thu, 11 Sep 2014 07:55:21 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk6318/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazYzMTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7261/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNjEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "31997" ], "x-ms-request-id": [ - "2016a3b0-5386-4180-adf6-a4831b23631b" + "1ea210f8-2efb-4e63-94ea-35bdde3b3f33" ], "x-ms-correlation-request-id": [ - "2016a3b0-5386-4180-adf6-a4831b23631b" + "1ea210f8-2efb-4e63-94ea-35bdde3b3f33" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172710Z:2016a3b0-5386-4180-adf6-a4831b23631b" + "WESTUS:20140911T075522Z:1ea210f8-2efb-4e63-94ea-35bdde3b3f33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:10 GMT" + "Thu, 11 Sep 2014 07:55:21 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk6318/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazYzMTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7261/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNjEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -211,16 +211,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "31995" ], "x-ms-request-id": [ - "d9eb9670-ba8b-4fd9-8955-117b683590f5" + "e852277f-ca67-4870-8c20-62f39ffd42f4" ], "x-ms-correlation-request-id": [ - "d9eb9670-ba8b-4fd9-8955-117b683590f5" + "e852277f-ca67-4870-8c20-62f39ffd42f4" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172711Z:d9eb9670-ba8b-4fd9-8955-117b683590f5" + "WESTUS:20140911T075523Z:e852277f-ca67-4870-8c20-62f39ffd42f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:11 GMT" + "Thu, 11 Sep 2014 07:55:23 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "31999" ], "x-ms-request-id": [ - "46ed2c96-7012-4f45-823b-e547ad682eae" + "5a3e6b91-571e-4677-b522-dc82c1c90bc2" ], "x-ms-correlation-request-id": [ - "46ed2c96-7012-4f45-823b-e547ad682eae" + "5a3e6b91-571e-4677-b522-dc82c1c90bc2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172711Z:46ed2c96-7012-4f45-823b-e547ad682eae" + "WESTUS:20140911T075522Z:5a3e6b91-571e-4677-b522-dc82c1c90bc2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:10 GMT" + "Thu, 11 Sep 2014 07:55:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -289,16 +289,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31990" + "31998" ], "x-ms-request-id": [ - "699def37-44c6-41a2-8639-b1e4f9316f7d" + "3cc353a3-b219-4afb-a584-30f07e2e022e" ], "x-ms-correlation-request-id": [ - "699def37-44c6-41a2-8639-b1e4f9316f7d" + "3cc353a3-b219-4afb-a584-30f07e2e022e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172712Z:699def37-44c6-41a2-8639-b1e4f9316f7d" + "WESTUS:20140911T075524Z:3cc353a3-b219-4afb-a584-30f07e2e022e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:11 GMT" + "Thu, 11 Sep 2014 07:55:23 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -322,22 +322,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk6318\",\r\n \"name\": \"onesdk6318\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7261\",\r\n \"name\": \"onesdk7261\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "31996" ], "x-ms-request-id": [ - "6a5a1d0e-ea63-4ad2-a2c5-0e9f678b2f9f" + "d2bc184a-b3b8-4dea-9e0d-455a594ce138" ], "x-ms-correlation-request-id": [ - "6a5a1d0e-ea63-4ad2-a2c5-0e9f678b2f9f" + "d2bc184a-b3b8-4dea-9e0d-455a594ce138" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172711Z:6a5a1d0e-ea63-4ad2-a2c5-0e9f678b2f9f" + "WESTUS:20140911T075523Z:d2bc184a-b3b8-4dea-9e0d-455a594ce138" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:10 GMT" + "Thu, 11 Sep 2014 07:55:23 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk6318?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazYzMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7261?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -361,7 +361,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "34" + "10" ] }, "ResponseBody": "", @@ -376,13 +376,13 @@ "1198" ], "x-ms-request-id": [ - "f3054d75-ecf6-485f-ab01-cdcf27423ad7" + "579f2d59-3add-4bab-843b-04fe5d607f44" ], "x-ms-correlation-request-id": [ - "f3054d75-ecf6-485f-ab01-cdcf27423ad7" + "579f2d59-3add-4bab-843b-04fe5d607f44" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172713Z:f3054d75-ecf6-485f-ab01-cdcf27423ad7" + "WESTUS:20140911T075525Z:579f2d59-3add-4bab-843b-04fe5d607f44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -391,17 +391,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:13 GMT" + "Thu, 11 Sep 2014 07:55:24 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJNekU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNNall4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -412,7 +412,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "34" + "10" ] }, "ResponseBody": "", @@ -424,16 +424,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31988" + "31993" ], "x-ms-request-id": [ - "46b901d1-7831-4537-953a-1cea4bfc96bb" + "c7d5d69c-89ed-44b0-95d8-7c2c34e5b13d" ], "x-ms-correlation-request-id": [ - "46b901d1-7831-4537-953a-1cea4bfc96bb" + "c7d5d69c-89ed-44b0-95d8-7c2c34e5b13d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172713Z:46b901d1-7831-4537-953a-1cea4bfc96bb" + "WESTUS:20140911T075525Z:c7d5d69c-89ed-44b0-95d8-7c2c34e5b13d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -442,17 +442,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:13 GMT" + "Thu, 11 Sep 2014 07:55:25 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJNekU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNNall4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -463,7 +463,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "34" + "10" ] }, "ResponseBody": "", @@ -475,16 +475,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31987" + "31992" ], "x-ms-request-id": [ - "2e24121c-5225-43e7-af4b-090f0da0674a" + "c9ac0f7b-230f-4ea5-8571-3af2570b1056" ], "x-ms-correlation-request-id": [ - "2e24121c-5225-43e7-af4b-090f0da0674a" + "c9ac0f7b-230f-4ea5-8571-3af2570b1056" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172729Z:2e24121c-5225-43e7-af4b-090f0da0674a" + "WESTUS:20140911T075540Z:c9ac0f7b-230f-4ea5-8571-3af2570b1056" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -493,17 +493,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:28 GMT" + "Thu, 11 Sep 2014 07:55:40 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2MzE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJNekU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3MjYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNNall4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -514,7 +514,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "34" + "10" ] }, "ResponseBody": "", @@ -523,16 +523,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31986" + "31991" ], "x-ms-request-id": [ - "064318d2-2819-408e-9b1e-0eb954a3b7bc" + "7e0d0af7-2969-417f-b031-1e3ad929727d" ], "x-ms-correlation-request-id": [ - "064318d2-2819-408e-9b1e-0eb954a3b7bc" + "7e0d0af7-2969-417f-b031-1e3ad929727d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172744Z:064318d2-2819-408e-9b1e-0eb954a3b7bc" + "WESTUS:20140911T075556Z:7e0d0af7-2969-417f-b031-1e3ad929727d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,7 +541,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:27:44 GMT" + "Thu, 11 Sep 2014 07:55:56 GMT" ] }, "StatusCode": 200 @@ -549,10 +549,11 @@ ], "Names": { "Test-CreatesNewSimpleResourceGroup": [ - "onesdk6318" + "onesdk7261" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestGetNonExistingResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestGetNonExistingResourceGroup.json index 713be3a7a1c2..2fecc9823833 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestGetNonExistingResourceGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestGetNonExistingResourceGroup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4853?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4NTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1426?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MjY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk4853' could not be found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk1426' could not be found.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "31967" ], "x-ms-request-id": [ - "1387d995-0dce-40cf-b61c-9b197a098ebf" + "39c310ce-10b4-4fcc-9ac6-304ab96bb8b5" ], "x-ms-correlation-request-id": [ - "1387d995-0dce-40cf-b61c-9b197a098ebf" + "39c310ce-10b4-4fcc-9ac6-304ab96bb8b5" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172545Z:1387d995-0dce-40cf-b61c-9b197a098ebf" + "WESTUS:20140911T080134Z:39c310ce-10b4-4fcc-9ac6-304ab96bb8b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,7 +34,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:44 GMT" + "Thu, 11 Sep 2014 08:01:33 GMT" ] }, "StatusCode": 404 @@ -42,10 +42,11 @@ ], "Names": { "Test-GetNonExistingResourceGroup": [ - "onesdk4853" + "onesdk1426" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupInNonExistingLocation.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupInNonExistingLocation.json index e34ca25f51ec..351315ec45a3 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupInNonExistingLocation.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupInNonExistingLocation.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3280?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyODA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3874?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4NzQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -16,16 +16,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31983" + "31985" ], "x-ms-request-id": [ - "ea035062-2894-47d3-be5c-a12215af7bd0" + "e517579c-4aa8-4d84-9edd-86b0aa72c869" ], "x-ms-correlation-request-id": [ - "ea035062-2894-47d3-be5c-a12215af7bd0" + "e517579c-4aa8-4d84-9edd-86b0aa72c869" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173307Z:ea035062-2894-47d3-be5c-a12215af7bd0" + "WESTUS:20140911T080208Z:e517579c-4aa8-4d84-9edd-86b0aa72c869" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:33:07 GMT" + "Thu, 11 Sep 2014 08:02:08 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3280?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyODA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3874?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM4NzQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"non-existing\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -49,22 +49,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidResourceLocation\",\r\n \"message\": \"The provided location 'non-existing' is not supported. List of available regions is 'centralus, eastasia, southeastasia, eastus, westus, northcentralus, southcentralus, northeurope, westeurope'\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DisallowedLocation\",\r\n \"message\": \"The provided location 'non-existing' is not permitted for subscription. List of permitted regions is ',eastasia,southeastasia,eastus,westus,northcentralus,southcentralus,centralus,northeurope,westeurope'. Please contact support to change your supported regions.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1196" ], "x-ms-request-id": [ - "5e707600-c582-4bf3-b396-eac0d3b4edce" + "2ee12605-8299-4047-abad-226667ec8fc4" ], "x-ms-correlation-request-id": [ - "5e707600-c582-4bf3-b396-eac0d3b4edce" + "2ee12605-8299-4047-abad-226667ec8fc4" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173308Z:5e707600-c582-4bf3-b396-eac0d3b4edce" + "WESTUS:20140911T080208Z:2ee12605-8299-4047-abad-226667ec8fc4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,7 +73,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:33:08 GMT" + "Thu, 11 Sep 2014 08:02:08 GMT" ] }, "StatusCode": 400 @@ -81,10 +81,11 @@ ], "Names": { "Test-NewResourceGroupInNonExistingLocation": [ - "onesdk3280" + "onesdk3874" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupWithTemplateThenGetWithAndWithoutDetails.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupWithTemplateThenGetWithAndWithoutDetails.json index d74f89067478..e273368409dc 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupWithTemplateThenGetWithAndWithoutDetails.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestNewResourceGroupWithTemplateThenGetWithAndWithoutDetails.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,1504 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31985" + "31984" + ], + "x-ms-request-id": [ + "6e8d98b1-7532-4819-8b52-4924d88565b6" + ], + "x-ms-correlation-request-id": [ + "6e8d98b1-7532-4819-8b52-4924d88565b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080327Z:6e8d98b1-7532-4819-8b52-4924d88565b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "2a7faac5-2a8d-4c64-949a-b9891a806206" + ], + "x-ms-correlation-request-id": [ + "2a7faac5-2a8d-4c64-949a-b9891a806206" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080328Z:2a7faac5-2a8d-4c64-949a-b9891a806206" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:27 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31919" + ], + "x-ms-request-id": [ + "e4bdaaa1-d4c1-45a6-9ec5-9d5f600f7b4a" + ], + "x-ms-correlation-request-id": [ + "e4bdaaa1-d4c1-45a6-9ec5-9d5f600f7b4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080429Z:e4bdaaa1-d4c1-45a6-9ec5-9d5f600f7b4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:04:29 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "31dda6aa-c24d-4e87-8802-3f9009c83189" + ], + "x-ms-correlation-request-id": [ + "31dda6aa-c24d-4e87-8802-3f9009c83189" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080328Z:31dda6aa-c24d-4e87-8802-3f9009c83189" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"string\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"0\",\r\n \"1\",\r\n \"2\"\r\n ],\r\n \"defaultValue\": \"0\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('siteName')]\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"tags\": {\r\n \"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\": \"Resource\"\r\n },\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\"\r\n ],\r\n \"properties\": {\r\n \"name\": \"[parameters('siteName')]\",\r\n \"serverFarm\": \"[parameters('hostingPlanName')]\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-11T08:03:29.0834937Z\",\r\n \"correlationId\": \"4736e62d-f28f-4afc-9c34-5455cff790fb\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "4736e62d-f28f-4afc-9c34-5455cff790fb" + ], + "x-ms-correlation-request-id": [ + "4736e62d-f28f-4afc-9c34-5455cff790fb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080329Z:4736e62d-f28f-4afc-9c34-5455cff790fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"string\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"0\",\r\n \"1\",\r\n \"2\"\r\n ],\r\n \"defaultValue\": \"0\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('siteName')]\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"tags\": {\r\n \"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\": \"Resource\"\r\n },\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\"\r\n ],\r\n \"properties\": {\r\n \"name\": \"[parameters('siteName')]\",\r\n \"serverFarm\": \"[parameters('hostingPlanName')]\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-11T08:03:29.5939544Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "16eb59b6-ce06-4cc4-bde7-5e4c76a89398" + ], + "x-ms-correlation-request-id": [ + "16eb59b6-ce06-4cc4-bde7-5e4c76a89398" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080329Z:16eb59b6-ce06-4cc4-bde7-5e4c76a89398" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "4d357073-8310-4354-8429-f7aefe5139af" + ], + "x-ms-correlation-request-id": [ + "4d357073-8310-4354-8429-f7aefe5139af" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080330Z:4d357073-8310-4354-8429-f7aefe5139af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "1e3d8e06-ef7a-49be-a5f5-a37ad9006351" + ], + "x-ms-correlation-request-id": [ + "1e3d8e06-ef7a-49be-a5f5-a37ad9006351" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080332Z:1e3d8e06-ef7a-49be-a5f5-a37ad9006351" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "a36ed322-9cdd-4a2c-8cce-675ada1c7bd5" + ], + "x-ms-correlation-request-id": [ + "a36ed322-9cdd-4a2c-8cce-675ada1c7bd5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080335Z:a36ed322-9cdd-4a2c-8cce-675ada1c7bd5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "40653591-9379-4b47-adce-746eb30a1dfc" + ], + "x-ms-correlation-request-id": [ + "40653591-9379-4b47-adce-746eb30a1dfc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080338Z:40653591-9379-4b47-adce-746eb30a1dfc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/F964C0838D10090B\",\r\n \"operationId\": \"F964C0838D10090B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:39.4255229Z\",\r\n \"trackingId\": \"aa42e4ed-f0da-4bc2-b850-1818c2c59a62\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "06de1f51-897e-41cb-aa4a-3745806eea44" + ], + "x-ms-correlation-request-id": [ + "06de1f51-897e-41cb-aa4a-3745806eea44" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080341Z:06de1f51-897e-41cb-aa4a-3745806eea44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/F964C0838D10090B\",\r\n \"operationId\": \"F964C0838D10090B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:39.4255229Z\",\r\n \"trackingId\": \"aa42e4ed-f0da-4bc2-b850-1818c2c59a62\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "ae784d50-9edb-4a10-9539-d30ab563cd3a" + ], + "x-ms-correlation-request-id": [ + "ae784d50-9edb-4a10-9539-d30ab563cd3a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080344Z:ae784d50-9edb-4a10-9539-d30ab563cd3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/7BEF0ECB7BA616F9\",\r\n \"operationId\": \"7BEF0ECB7BA616F9\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:45.9490245Z\",\r\n \"trackingId\": \"fa4c2289-f9e8-43ce-b053-c426c64bdda5\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/F964C0838D10090B\",\r\n \"operationId\": \"F964C0838D10090B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:39.4255229Z\",\r\n \"trackingId\": \"aa42e4ed-f0da-4bc2-b850-1818c2c59a62\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "67e96874-322c-44bc-a471-98c0d76966f3" + ], + "x-ms-correlation-request-id": [ + "67e96874-322c-44bc-a471-98c0d76966f3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080346Z:67e96874-322c-44bc-a471-98c0d76966f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/7BEF0ECB7BA616F9\",\r\n \"operationId\": \"7BEF0ECB7BA616F9\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:45.9490245Z\",\r\n \"trackingId\": \"fa4c2289-f9e8-43ce-b053-c426c64bdda5\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate/operations/F964C0838D10090B\",\r\n \"operationId\": \"F964C0838D10090B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:39.4255229Z\",\r\n \"trackingId\": \"aa42e4ed-f0da-4bc2-b850-1818c2c59a62\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "0589b183-2d1f-4a06-be3e-80a4dc921c1b" + ], + "x-ms-correlation-request-id": [ + "0589b183-2d1f-4a06-be3e-80a4dc921c1b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080349Z:0589b183-2d1f-4a06-be3e-80a4dc921c1b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-11T08:03:29.5939544Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "8d8ec501-14dd-49df-b754-82f05ed34adb" + ], + "x-ms-correlation-request-id": [ + "8d8ec501-14dd-49df-b754-82f05ed34adb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080330Z:8d8ec501-14dd-49df-b754-82f05ed34adb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "c64857ee-2ed8-49e5-9701-039532cb3a77" + ], + "x-ms-correlation-request-id": [ + "c64857ee-2ed8-49e5-9701-039532cb3a77" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080333Z:c64857ee-2ed8-49e5-9701-039532cb3a77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "7a425249-7c2f-4f23-9273-9f8c34e6610d" + ], + "x-ms-correlation-request-id": [ + "7a425249-7c2f-4f23-9273-9f8c34e6610d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080336Z:7a425249-7c2f-4f23-9273-9f8c34e6610d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "6cb5da83-e825-4bf1-bcf0-f2b956049489" + ], + "x-ms-correlation-request-id": [ + "6cb5da83-e825-4bf1-bcf0-f2b956049489" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080338Z:6cb5da83-e825-4bf1-bcf0-f2b956049489" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "6114946c-e5dd-43b7-a45a-26ba1191ea8d" + ], + "x-ms-correlation-request-id": [ + "6114946c-e5dd-43b7-a45a-26ba1191ea8d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080341Z:6114946c-e5dd-43b7-a45a-26ba1191ea8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "471a2e23-ca35-4cea-a563-dbe7ff64ef88" + ], + "x-ms-correlation-request-id": [ + "471a2e23-ca35-4cea-a563-dbe7ff64ef88" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080344Z:471a2e23-ca35-4cea-a563-dbe7ff64ef88" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-11T08:03:32.8666439Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "636a6248-794e-4127-a9c8-63f6dcf24b78" + ], + "x-ms-correlation-request-id": [ + "636a6248-794e-4127-a9c8-63f6dcf24b78" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080347Z:636a6248-794e-4127-a9c8-63f6dcf24b78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5452\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-11T08:03:49.7355328Z\",\r\n \"correlationId\": \"16eb59b6-ce06-4cc4-bde7-5e4c76a89398\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5452\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "48f8ae8e-aea2-4661-ba05-3e76e6d4aa4e" + ], + "x-ms-correlation-request-id": [ + "48f8ae8e-aea2-4661-ba05-3e76e6d4aa4e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080349Z:48f8ae8e-aea2-4661-ba05-3e76e6d4aa4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazkzODEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"name\": \"onesdk5452\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "5e493a0b-e714-4a35-a0b1-7b94e7ab7386" + ], + "x-ms-correlation-request-id": [ + "5e493a0b-e714-4a35-a0b1-7b94e7ab7386" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080352Z:5e493a0b-e714-4a35-a0b1-7b94e7ab7386" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazkzODEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"name\": \"onesdk5452\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "6b20e10a-471e-46f2-b4a1-a9c2e2fabc06" + ], + "x-ms-correlation-request-id": [ + "6b20e10a-471e-46f2-b4a1-a9c2e2fabc06" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080353Z:6b20e10a-471e-46f2-b4a1-a9c2e2fabc06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazkzODEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/sites/onesdk5452\",\r\n \"name\": \"onesdk5452\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "39874882-8d56-42b5-8c7b-fc6181439b97" + ], + "x-ms-correlation-request-id": [ + "39874882-8d56-42b5-8c7b-fc6181439b97" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080423Z:39874882-8d56-42b5-8c7b-fc6181439b97" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:04:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "3c43a851-4ea4-44ff-a736-574dbd313def" + ], + "x-ms-correlation-request-id": [ + "3c43a851-4ea4-44ff-a736-574dbd313def" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080352Z:3c43a851-4ea4-44ff-a736-574dbd313def" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "044c1aca-aaab-46bd-a2f1-d6c079b6a4e0" + ], + "x-ms-correlation-request-id": [ + "044c1aca-aaab-46bd-a2f1-d6c079b6a4e0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080354Z:044c1aca-aaab-46bd-a2f1-d6c079b6a4e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "5e8aceb3-07ad-4658-a206-d155067ff01f" + ], + "x-ms-correlation-request-id": [ + "5e8aceb3-07ad-4658-a206-d155067ff01f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080424Z:5e8aceb3-07ad-4658-a206-d155067ff01f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:04:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "7a52eb1d-6bfa-4da5-a444-ed03baf07625" + ], + "x-ms-correlation-request-id": [ + "7a52eb1d-6bfa-4da5-a444-ed03baf07625" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080353Z:7a52eb1d-6bfa-4da5-a444-ed03baf07625" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "8633b3e8-c703-462a-a094-bade0851bbfd" + ], + "x-ms-correlation-request-id": [ + "8633b3e8-c703-462a-a094-bade0851bbfd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080354Z:8633b3e8-c703-462a-a094-bade0851bbfd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "83b491df-14e0-4b59-93d8-d7d8e2d3b731" + ], + "x-ms-correlation-request-id": [ + "83b491df-14e0-4b59-93d8-d7d8e2d3b731" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080354Z:83b491df-14e0-4b59-93d8-d7d8e2d3b731" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "81f0d070-f432-4bc8-85ce-10e253db3f32" + ], + "x-ms-correlation-request-id": [ + "81f0d070-f432-4bc8-85ce-10e253db3f32" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080355Z:81f0d070-f432-4bc8-85ce-10e253db3f32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno\",\r\n \"name\": \"alborno\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"name\": \"ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633\",\r\n \"name\": \"ATMTest633\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293\",\r\n \"name\": \"ATMTest7293\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03\",\r\n \"name\": \"azuresdktest03\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05\",\r\n \"name\": \"azuresdktest05\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067\",\r\n \"name\": \"csmrg1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713\",\r\n \"name\": \"csmrg2713\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357\",\r\n \"name\": \"csmrg4357\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164\",\r\n \"name\": \"csmrg5164\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"department\": \"finance\",\r\n \"tagname\": \"tagvalue\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831\",\r\n \"name\": \"csmrg8831\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope\",\r\n \"name\": \"Default-Storage-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS\",\r\n \"name\": \"Default-Web-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13\",\r\n \"name\": \"foo13\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"foo\": \"bar\",\r\n \"dtag\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14\",\r\n \"name\": \"foo14\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {\r\n \"dtag\": \"val2\",\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1\",\r\n \"name\": \"jianghlutestcs1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk9381\",\r\n \"name\": \"onesdk9381\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121\",\r\n \"name\": \"testrg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"Accounting\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage\",\r\n \"name\": \"tr19demostage\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group\",\r\n \"name\": \"VS-azuresdktest01-Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo\",\r\n \"name\": \"zoo\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2\",\r\n \"name\": \"zoo2\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"dtag2\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "1d18798f-9606-4d94-bd86-e0b0c925d0db" + ], + "x-ms-correlation-request-id": [ + "1d18798f-9606-4d94-bd86-e0b0c925d0db" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080355Z:1d18798f-9606-4d94-bd86-e0b0c925d0db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2FsYm9ybm8vcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/alborno/providers/Microsoft.ClassicCompute/domainNames/alborno\",\r\n \"name\": \"alborno\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "ff89c50f-6957-4d74-afd5-90d1001fc1be" + ], + "x-ms-correlation-request-id": [ + "ff89c50f-6957-4d74-afd5-90d1001fc1be" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080355Z:ff89c50f-6957-4d74-afd5-90d1001fc1be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/alborno/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2FsYm9ybm8vcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "ea7390f7-d284-44c7-a07e-788232f509ea" + ], + "x-ms-correlation-request-id": [ + "ea7390f7-d284-44c7-a07e-788232f509ea" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080356Z:ea7390f7-d284-44c7-a07e-788232f509ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0FUTVRlc3QyM2VjYjMwYi1mYmQwLTQ2ZmQtYWFkNy00YjBiYzczNTk2NjgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "d16878e8-efd6-4870-be37-ec032218ee80" + ], + "x-ms-correlation-request-id": [ + "d16878e8-efd6-4870-be37-ec032218ee80" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080356Z:d16878e8-efd6-4870-be37-ec032218ee80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/ATMTest23ecb30b-fbd0-46fd-aad7-4b0bc7359668/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0FUTVRlc3QyM2VjYjMwYi1mYmQwLTQ2ZmQtYWFkNy00YjBiYzczNTk2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "f2a454ac-436b-47c1-9f3e-3410c62366df" + ], + "x-ms-correlation-request-id": [ + "f2a454ac-436b-47c1-9f3e-3410c62366df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080356Z:f2a454ac-436b-47c1-9f3e-3410c62366df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest633/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0FUTVRlc3Q2MzMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-request-id": [ + "632629d8-4ff9-4998-a3b7-d418ca69a5a0" + ], + "x-ms-correlation-request-id": [ + "632629d8-4ff9-4998-a3b7-d418ca69a5a0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140911T080357Z:632629d8-4ff9-4998-a3b7-d418ca69a5a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 11 Sep 2014 08:03:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/ATMTest633/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0FUTVRlc3Q2MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" ], "x-ms-request-id": [ - "8728b990-b23f-4bcc-86be-5e5999630072" + "5416fee4-8b3f-46c9-addd-3dc2fcbe7cb4" ], "x-ms-correlation-request-id": [ - "8728b990-b23f-4bcc-86be-5e5999630072" + "5416fee4-8b3f-46c9-addd-3dc2fcbe7cb4" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173019Z:8728b990-b23f-4bcc-86be-5e5999630072" + "WESTUS:20140911T080357Z:5416fee4-8b3f-46c9-addd-3dc2fcbe7cb4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,37 +1516,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:19 GMT" + "Thu, 11 Sep 2014 08:03:57 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "HEAD", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/ATMTest7293/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0FUTVRlc3Q3MjkzL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31984" + "31956" ], "x-ms-request-id": [ - "7210ba65-925e-43a9-bc46-71c0dcc908b2" + "057c564f-73b5-4985-996e-85b0220c4c0f" ], "x-ms-correlation-request-id": [ - "7210ba65-925e-43a9-bc46-71c0dcc908b2" + "057c564f-73b5-4985-996e-85b0220c4c0f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173019Z:7210ba65-925e-43a9-bc46-71c0dcc908b2" + "WESTUS:20140911T080357Z:057c564f-73b5-4985-996e-85b0220c4c0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,37 +1555,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:19 GMT" + "Thu, 11 Sep 2014 08:03:57 GMT" ] }, - "StatusCode": 404 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "HEAD", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/ATMTest7293/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0FUTVRlc3Q3MjkzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31938" + "31992" ], "x-ms-request-id": [ - "b40842e6-bc6a-4945-8f09-18e894d85fb1" + "3c85b834-4aa4-47ac-acff-d82463d15764" ], "x-ms-correlation-request-id": [ - "b40842e6-bc6a-4945-8f09-18e894d85fb1" + "3c85b834-4aa4-47ac-acff-d82463d15764" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173110Z:b40842e6-bc6a-4945-8f09-18e894d85fb1" + "WESTUS:20140911T080358Z:3c85b834-4aa4-47ac-acff-d82463d15764" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,37 +1594,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:10 GMT" + "Thu, 11 Sep 2014 08:03:57 GMT" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest03/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2F6dXJlc2RrdGVzdDAzL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" ], "x-ms-request-id": [ - "8b53cd6a-7482-4bd7-8c69-d257728c060b" + "33dae8f8-f8f3-4f7b-a6b7-e7f75d44bd5a" ], "x-ms-correlation-request-id": [ - "8b53cd6a-7482-4bd7-8c69-d257728c060b" + "33dae8f8-f8f3-4f7b-a6b7-e7f75d44bd5a" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173020Z:8b53cd6a-7482-4bd7-8c69-d257728c060b" + "WESTUS:20140911T080358Z:33dae8f8-f8f3-4f7b-a6b7-e7f75d44bd5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,37 +1633,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:19 GMT" + "Thu, 11 Sep 2014 08:03:58 GMT" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/validate?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"string\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"0\",\r\n \"1\",\r\n \"2\"\r\n ],\r\n \"defaultValue\": \"0\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('siteName')]\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"tags\": {\r\n \"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\": \"Resource\"\r\n },\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\"\r\n ],\r\n \"properties\": {\r\n \"name\": \"[parameters('siteName')]\",\r\n \"serverFarm\": \"[parameters('hostingPlanName')]\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/azuresdktest03/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2F6dXJlc2RrdGVzdDAzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-05T17:30:20.5563393Z\",\r\n \"correlationId\": \"e07b8fe4-9738-4fbc-aa83-203e08e0218a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" ], "x-ms-request-id": [ - "e07b8fe4-9738-4fbc-aa83-203e08e0218a" + "3b88dea9-1168-47c9-ac42-d244573d3f2e" ], "x-ms-correlation-request-id": [ - "e07b8fe4-9738-4fbc-aa83-203e08e0218a" + "3b88dea9-1168-47c9-ac42-d244573d3f2e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173020Z:e07b8fe4-9738-4fbc-aa83-203e08e0218a" + "WESTUS:20140911T080359Z:3b88dea9-1168-47c9-ac42-d244573d3f2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,37 +1672,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:20 GMT" + "Thu, 11 Sep 2014 08:03:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"string\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"0\",\r\n \"1\",\r\n \"2\"\r\n ],\r\n \"defaultValue\": \"0\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('siteName')]\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"tags\": {\r\n \"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\": \"Resource\"\r\n },\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]\"\r\n ],\r\n \"properties\": {\r\n \"name\": \"[parameters('siteName')]\",\r\n \"serverFarm\": \"[parameters('hostingPlanName')]\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/azuresdktest05/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2F6dXJlc2RrdGVzdDA1L3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-05T17:30:21.1103467Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31954" ], "x-ms-request-id": [ - "dee2f397-ebed-4590-84f3-b9a325d5d28c" + "68ac8c1d-bae1-4243-9d33-88edd3e75f18" ], "x-ms-correlation-request-id": [ - "dee2f397-ebed-4590-84f3-b9a325d5d28c" + "68ac8c1d-bae1-4243-9d33-88edd3e75f18" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173021Z:dee2f397-ebed-4590-84f3-b9a325d5d28c" + "WESTUS:20140911T080359Z:68ac8c1d-bae1-4243-9d33-88edd3e75f18" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,37 +1711,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:20 GMT" + "Thu, 11 Sep 2014 08:03:58 GMT" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/azuresdktest05/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2F6dXJlc2RrdGVzdDA1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31983" + "31990" ], "x-ms-request-id": [ - "86a8ddd2-4256-4660-b652-664dbc52184c" + "875febe2-97a4-4811-8b3e-322dcb142790" ], "x-ms-correlation-request-id": [ - "86a8ddd2-4256-4660-b652-664dbc52184c" + "875febe2-97a4-4811-8b3e-322dcb142790" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173021Z:86a8ddd2-4256-4660-b652-664dbc52184c" + "WESTUS:20140911T080359Z:875febe2-97a4-4811-8b3e-322dcb142790" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +1750,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:21 GMT" + "Thu, 11 Sep 2014 08:03:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NsaS1jczEyOTEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -283,22 +1765,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs1291/providers/Microsoft.ClassicCompute/domainNames/cli-cs1291\",\r\n \"name\": \"cli-cs1291\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31981" + "31953" ], "x-ms-request-id": [ - "7e941ffe-54f6-4eaf-87c5-5c9a94410f27" + "6a69490b-8637-48bd-89a7-588ead366a16" ], "x-ms-correlation-request-id": [ - "7e941ffe-54f6-4eaf-87c5-5c9a94410f27" + "6a69490b-8637-48bd-89a7-588ead366a16" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173024Z:7e941ffe-54f6-4eaf-87c5-5c9a94410f27" + "WESTUS:20140911T080400Z:6a69490b-8637-48bd-89a7-588ead366a16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,37 +1789,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:24 GMT" + "Thu, 11 Sep 2014 08:03:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/cli-cs1291/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NsaS1jczEyOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31979" + "31989" ], "x-ms-request-id": [ - "e6daf231-86cc-4275-b1c0-a2fa2132cf11" + "87eb6346-c329-468b-a047-e1c80b6fae9b" ], "x-ms-correlation-request-id": [ - "e6daf231-86cc-4275-b1c0-a2fa2132cf11" + "87eb6346-c329-468b-a047-e1c80b6fae9b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173027Z:e6daf231-86cc-4275-b1c0-a2fa2132cf11" + "WESTUS:20140911T080400Z:87eb6346-c329-468b-a047-e1c80b6fae9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +1828,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:27 GMT" + "Thu, 11 Sep 2014 08:04:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NsaS1jczQ0NzEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -361,22 +1843,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs4471/providers/Microsoft.ClassicCompute/domainNames/cli-cs4471\",\r\n \"name\": \"cli-cs4471\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31977" + "31952" ], "x-ms-request-id": [ - "181cd50d-7b9d-48cf-8c43-90bc6edada10" + "32e27e2e-5a69-44a7-bf37-89456497b8f5" ], "x-ms-correlation-request-id": [ - "181cd50d-7b9d-48cf-8c43-90bc6edada10" + "32e27e2e-5a69-44a7-bf37-89456497b8f5" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173030Z:181cd50d-7b9d-48cf-8c43-90bc6edada10" + "WESTUS:20140911T080400Z:32e27e2e-5a69-44a7-bf37-89456497b8f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,37 +1867,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:30 GMT" + "Thu, 11 Sep 2014 08:03:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/cli-cs4471/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NsaS1jczQ0NzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/DB13D43425CEC576\",\r\n \"operationId\": \"DB13D43425CEC576\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:32.0449079Z\",\r\n \"trackingId\": \"79c624f8-0931-4053-8dd4-21e923874122\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31975" + "31988" ], "x-ms-request-id": [ - "7b51ac04-a7a4-4abf-bfa7-5c86012f801f" + "efeb65ab-6e36-41e5-8394-4ee6e82159ef" ], "x-ms-correlation-request-id": [ - "7b51ac04-a7a4-4abf-bfa7-5c86012f801f" + "efeb65ab-6e36-41e5-8394-4ee6e82159ef" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173033Z:7b51ac04-a7a4-4abf-bfa7-5c86012f801f" + "WESTUS:20140911T080401Z:efeb65ab-6e36-41e5-8394-4ee6e82159ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,14 +1906,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:33 GMT" + "Thu, 11 Sep 2014 08:04:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NsaS1jczUzMjEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -439,22 +1921,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/DB13D43425CEC576\",\r\n \"operationId\": \"DB13D43425CEC576\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:32.0449079Z\",\r\n \"trackingId\": \"79c624f8-0931-4053-8dd4-21e923874122\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cli-cs5321/providers/Microsoft.ClassicCompute/domainNames/cli-cs5321\",\r\n \"name\": \"cli-cs5321\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31973" + "31951" ], "x-ms-request-id": [ - "ef82f4cb-b27d-4fcb-b67e-1f2a31f46d74" + "670c05dd-5676-45fe-94fc-568d09cbf2ee" ], "x-ms-correlation-request-id": [ - "ef82f4cb-b27d-4fcb-b67e-1f2a31f46d74" + "670c05dd-5676-45fe-94fc-568d09cbf2ee" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173036Z:ef82f4cb-b27d-4fcb-b67e-1f2a31f46d74" + "WESTUS:20140911T080401Z:670c05dd-5676-45fe-94fc-568d09cbf2ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -463,37 +1945,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:36 GMT" + "Thu, 11 Sep 2014 08:04:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/cli-cs5321/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NsaS1jczUzMjEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/7F78255F821C7FFE\",\r\n \"operationId\": \"7F78255F821C7FFE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:40.6173586Z\",\r\n \"trackingId\": \"ae50bf5d-88e7-4954-a47b-0f1430d8886a\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/DB13D43425CEC576\",\r\n \"operationId\": \"DB13D43425CEC576\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:32.0449079Z\",\r\n \"trackingId\": \"79c624f8-0931-4053-8dd4-21e923874122\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31971" + "31987" ], "x-ms-request-id": [ - "29c1f4c7-ea5a-4125-a604-ff643a7e4d4f" + "e8da6d0f-06fe-447c-9645-08cd1d94a85d" ], "x-ms-correlation-request-id": [ - "29c1f4c7-ea5a-4125-a604-ff643a7e4d4f" + "e8da6d0f-06fe-447c-9645-08cd1d94a85d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173039Z:29c1f4c7-ea5a-4125-a604-ff643a7e4d4f" + "WESTUS:20140911T080401Z:e8da6d0f-06fe-447c-9645-08cd1d94a85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,14 +1984,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:38 GMT" + "Thu, 11 Sep 2014 08:04:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NsaXRlc3R2bTE0MDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -517,22 +1999,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/7F78255F821C7FFE\",\r\n \"operationId\": \"7F78255F821C7FFE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:40.6173586Z\",\r\n \"trackingId\": \"ae50bf5d-88e7-4954-a47b-0f1430d8886a\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/DB13D43425CEC576\",\r\n \"operationId\": \"DB13D43425CEC576\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:32.0449079Z\",\r\n \"trackingId\": \"79c624f8-0931-4053-8dd4-21e923874122\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/clitestvm1402/providers/Microsoft.ClassicCompute/domainNames/clitestvm1402\",\r\n \"name\": \"clitestvm1402\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31969" + "31950" ], "x-ms-request-id": [ - "e4d5983e-9526-4f1a-b565-8510eb95f1f3" + "988a3d50-7aab-49c0-a6e4-2e3373714b2b" ], "x-ms-correlation-request-id": [ - "e4d5983e-9526-4f1a-b565-8510eb95f1f3" + "988a3d50-7aab-49c0-a6e4-2e3373714b2b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173042Z:e4d5983e-9526-4f1a-b565-8510eb95f1f3" + "WESTUS:20140911T080402Z:988a3d50-7aab-49c0-a6e4-2e3373714b2b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,37 +2023,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:42 GMT" + "Thu, 11 Sep 2014 08:04:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGUvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/clitestvm1402/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NsaXRlc3R2bTE0MDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/7F78255F821C7FFE\",\r\n \"operationId\": \"7F78255F821C7FFE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:40.6173586Z\",\r\n \"trackingId\": \"ae50bf5d-88e7-4954-a47b-0f1430d8886a\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate/operations/DB13D43425CEC576\",\r\n \"operationId\": \"DB13D43425CEC576\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:32.0449079Z\",\r\n \"trackingId\": \"79c624f8-0931-4053-8dd4-21e923874122\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31967" + "31986" ], "x-ms-request-id": [ - "d2ca5e4f-7fd7-4db9-a57c-9882fbb3c01e" + "7d650f2d-83a6-4bc4-9b5c-9f8f80d2e959" ], "x-ms-correlation-request-id": [ - "d2ca5e4f-7fd7-4db9-a57c-9882fbb3c01e" + "7d650f2d-83a6-4bc4-9b5c-9f8f80d2e959" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173045Z:d2ca5e4f-7fd7-4db9-a57c-9882fbb3c01e" + "WESTUS:20140911T080402Z:7d650f2d-83a6-4bc4-9b5c-9f8f80d2e959" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -580,14 +2062,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:44 GMT" + "Thu, 11 Sep 2014 08:04:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NzbXJnMTA2Ny9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -595,22 +2077,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-05T17:30:21.1103467Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067/providers/Microsoft.Web/serverFarms/Default1\",\r\n \"name\": \"Default1\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg1067/providers/Microsoft.Web/sites/jianghlutest\",\r\n \"name\": \"jianghlutest\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg1067/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31982" + "31949" ], "x-ms-request-id": [ - "65b592b9-7427-4d54-92c5-88f9d99f5936" + "6bbb4566-64ba-4837-a60e-21641b7c18ab" ], "x-ms-correlation-request-id": [ - "65b592b9-7427-4d54-92c5-88f9d99f5936" + "6bbb4566-64ba-4837-a60e-21641b7c18ab" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173022Z:65b592b9-7427-4d54-92c5-88f9d99f5936" + "WESTUS:20140911T080402Z:6bbb4566-64ba-4837-a60e-21641b7c18ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,37 +2101,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:21 GMT" + "Thu, 11 Sep 2014 08:04:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg1067/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NzbXJnMTA2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" + "31985" ], "x-ms-request-id": [ - "abfc33d6-a65f-4eb1-8eba-781938defbcd" + "38364f26-bba0-48a4-9cfd-7aa9ab6bf7f2" ], "x-ms-correlation-request-id": [ - "abfc33d6-a65f-4eb1-8eba-781938defbcd" + "38364f26-bba0-48a4-9cfd-7aa9ab6bf7f2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173024Z:abfc33d6-a65f-4eb1-8eba-781938defbcd" + "WESTUS:20140911T080403Z:38364f26-bba0-48a4-9cfd-7aa9ab6bf7f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -658,14 +2140,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:24 GMT" + "Thu, 11 Sep 2014 08:04:03 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg2713/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NzbXJnMjcxMy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -673,22 +2155,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31978" + "31948" ], "x-ms-request-id": [ - "e0490a61-2fb1-4968-aa4b-7c0cdef3c972" + "99ee00e2-9836-4546-a873-cbf3041eaead" ], "x-ms-correlation-request-id": [ - "e0490a61-2fb1-4968-aa4b-7c0cdef3c972" + "99ee00e2-9836-4546-a873-cbf3041eaead" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173028Z:e0490a61-2fb1-4968-aa4b-7c0cdef3c972" + "WESTUS:20140911T080403Z:99ee00e2-9836-4546-a873-cbf3041eaead" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -697,37 +2179,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:27 GMT" + "Thu, 11 Sep 2014 08:04:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg2713/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NzbXJnMjcxMy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31976" + "31984" ], "x-ms-request-id": [ - "ddd677cd-ff74-4a92-87c4-380afeb5bd2d" + "c2fa4efa-6fd3-48a3-9b1b-6aeeb683d4f2" ], "x-ms-correlation-request-id": [ - "ddd677cd-ff74-4a92-87c4-380afeb5bd2d" + "c2fa4efa-6fd3-48a3-9b1b-6aeeb683d4f2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173031Z:ddd677cd-ff74-4a92-87c4-380afeb5bd2d" + "WESTUS:20140911T080403Z:c2fa4efa-6fd3-48a3-9b1b-6aeeb683d4f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,14 +2218,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:30 GMT" + "Thu, 11 Sep 2014 08:04:03 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg4357/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NzbXJnNDM1Ny9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -751,22 +2233,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31974" + "31947" ], "x-ms-request-id": [ - "fc4df3c7-df7e-446c-8388-6a97e7cb2052" + "f5bc5a42-5181-4723-b711-d01cb3a9eaf9" ], "x-ms-correlation-request-id": [ - "fc4df3c7-df7e-446c-8388-6a97e7cb2052" + "f5bc5a42-5181-4723-b711-d01cb3a9eaf9" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173034Z:fc4df3c7-df7e-446c-8388-6a97e7cb2052" + "WESTUS:20140911T080404Z:f5bc5a42-5181-4723-b711-d01cb3a9eaf9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -775,37 +2257,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:33 GMT" + "Thu, 11 Sep 2014 08:04:04 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg4357/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NzbXJnNDM1Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31972" + "31983" ], "x-ms-request-id": [ - "40694e36-4f38-4a82-b336-89b8543feb50" + "825d29f7-1205-4b1c-bc68-bbe971b7bcc6" ], "x-ms-correlation-request-id": [ - "40694e36-4f38-4a82-b336-89b8543feb50" + "825d29f7-1205-4b1c-bc68-bbe971b7bcc6" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173037Z:40694e36-4f38-4a82-b336-89b8543feb50" + "WESTUS:20140911T080404Z:825d29f7-1205-4b1c-bc68-bbe971b7bcc6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -814,14 +2296,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:37 GMT" + "Thu, 11 Sep 2014 08:04:04 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg5164/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NzbXJnNTE2NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -829,22 +2311,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31970" + "31946" ], "x-ms-request-id": [ - "17397d5a-49fc-49c0-bc35-4994f42e08d6" + "c361790f-0611-4368-b215-1dfe4e34e8eb" ], "x-ms-correlation-request-id": [ - "17397d5a-49fc-49c0-bc35-4994f42e08d6" + "c361790f-0611-4368-b215-1dfe4e34e8eb" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173039Z:17397d5a-49fc-49c0-bc35-4994f42e08d6" + "WESTUS:20140911T080404Z:c361790f-0611-4368-b215-1dfe4e34e8eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -853,37 +2335,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:39 GMT" + "Thu, 11 Sep 2014 08:04:04 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg5164/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NzbXJnNTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-05T17:30:24.5449811Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31968" + "31982" ], "x-ms-request-id": [ - "f299e31f-3034-455a-a7ff-48532f0477df" + "d78eb9c0-f951-4d3a-8ce2-e1fba8899a32" ], "x-ms-correlation-request-id": [ - "f299e31f-3034-455a-a7ff-48532f0477df" + "d78eb9c0-f951-4d3a-8ce2-e1fba8899a32" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173042Z:f299e31f-3034-455a-a7ff-48532f0477df" + "WESTUS:20140911T080406Z:d78eb9c0-f951-4d3a-8ce2-e1fba8899a32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -892,14 +2374,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:42 GMT" + "Thu, 11 Sep 2014 08:04:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/deployments/EmptyWebsiteTemplate?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvZGVwbG95bWVudHMvRW1wdHlXZWJzaXRlVGVtcGxhdGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/csmrg8831/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2NzbXJnODgzMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -907,22 +2389,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/deployments/EmptyWebsiteTemplate\",\r\n \"name\": \"EmptyWebsiteTemplate\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"siteName\": {\r\n \"type\": \"String\",\r\n \"value\": \"onesdk5145\"\r\n },\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"test\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"String\",\r\n \"value\": \"0\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-05T17:30:46.2247186Z\",\r\n \"correlationId\": \"dee2f397-ebed-4590-84f3-b9a325d5d28c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"test\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"resourceType\": \"Microsoft.Web/sites\",\r\n \"resourceName\": \"onesdk5145\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31966" + "31945" ], "x-ms-request-id": [ - "5c694195-3bfc-4dbc-99d4-f8572267740c" + "8eafaa4e-4168-4dbe-92b1-c1aa7e9062f2" ], "x-ms-correlation-request-id": [ - "5c694195-3bfc-4dbc-99d4-f8572267740c" + "8eafaa4e-4168-4dbe-92b1-c1aa7e9062f2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173045Z:5c694195-3bfc-4dbc-99d4-f8572267740c" + "WESTUS:20140911T080406Z:8eafaa4e-4168-4dbe-92b1-c1aa7e9062f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -931,37 +2413,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:45 GMT" + "Thu, 11 Sep 2014 08:04:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazMyMDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/csmrg8831/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2NzbXJnODgzMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"name\": \"onesdk5145\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31965" + "31981" ], "x-ms-request-id": [ - "630518b5-3051-4e23-9e68-845104416bf0" + "fd7b362f-1527-4d91-bc38-518336c2efef" ], "x-ms-correlation-request-id": [ - "630518b5-3051-4e23-9e68-845104416bf0" + "fd7b362f-1527-4d91-bc38-518336c2efef" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173048Z:630518b5-3051-4e23-9e68-845104416bf0" + "WESTUS:20140911T080406Z:fd7b362f-1527-4d91-bc38-518336c2efef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -970,14 +2452,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:48 GMT" + "Thu, 11 Sep 2014 08:04:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazMyMDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtTmV0d29ya2luZy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -985,22 +2467,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"name\": \"onesdk5145\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/javasdkci\",\r\n \"name\": \"javasdkci\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/javatestvndawbblqwwt\",\r\n \"name\": \"javatestvndawbblqwwt\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/javatestvnmwutwhdyvr\",\r\n \"name\": \"javatestvnmwutwhdyvr\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/javatestvnwqjwttpwql\",\r\n \"name\": \"javatestvnwqjwttpwql\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/javatestvnzlovplxlbo\",\r\n \"name\": \"javatestvnzlovplxlbo\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31963" + "31944" ], "x-ms-request-id": [ - "7a12d426-a136-4621-8aa5-0e46486c746a" + "6b75eabc-3cf2-4c26-a42b-b927faa70bab" ], "x-ms-correlation-request-id": [ - "7a12d426-a136-4621-8aa5-0e46486c746a" + "6b75eabc-3cf2-4c26-a42b-b927faa70bab" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173050Z:7a12d426-a136-4621-8aa5-0e46486c746a" + "WESTUS:20140911T080407Z:6b75eabc-3cf2-4c26-a42b-b927faa70bab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1009,37 +2491,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:49 GMT" + "Thu, 11 Sep 2014 08:04:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazMyMDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Networking/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtTmV0d29ya2luZy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverFarms/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/sites/onesdk5145\",\r\n \"name\": \"onesdk5145\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202/providers/Microsoft.Web/serverfarms/test\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31940" + "31980" ], "x-ms-request-id": [ - "95cda46a-89ce-42d2-b1bd-caf3634f8993" + "34a6ac8d-92c3-4f6a-b034-7b74a6d6d81b" ], "x-ms-correlation-request-id": [ - "95cda46a-89ce-42d2-b1bd-caf3634f8993" + "34a6ac8d-92c3-4f6a-b034-7b74a6d6d81b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173109Z:95cda46a-89ce-42d2-b1bd-caf3634f8993" + "WESTUS:20140911T080407Z:34a6ac8d-92c3-4f6a-b034-7b74a6d6d81b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1048,37 +2530,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:08 GMT" + "Thu, 11 Sep 2014 08:04:07 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-SQL-WestUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" + "31943" ], "x-ms-request-id": [ - "ec1ed980-23ca-4e27-a464-3961d31f37ee" + "c9120b26-c536-44cb-ba91-561708cad6d8" ], "x-ms-correlation-request-id": [ - "ec1ed980-23ca-4e27-a464-3961d31f37ee" + "c9120b26-c536-44cb-ba91-561708cad6d8" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173049Z:ec1ed980-23ca-4e27-a464-3961d31f37ee" + "WESTUS:20140911T080408Z:c9120b26-c536-44cb-ba91-561708cad6d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1087,14 +2569,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:49 GMT" + "Thu, 11 Sep 2014 08:04:07 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-SQL-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1111,13 +2593,13 @@ "31979" ], "x-ms-request-id": [ - "9fd18fd2-8ef2-48ba-af1f-6e7fba0aeb3d" + "5bc9dba1-9529-41d0-8752-209cc372227e" ], "x-ms-correlation-request-id": [ - "9fd18fd2-8ef2-48ba-af1f-6e7fba0aeb3d" + "5bc9dba1-9529-41d0-8752-209cc372227e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173050Z:9fd18fd2-8ef2-48ba-af1f-6e7fba0aeb3d" + "WESTUS:20140911T080409Z:5bc9dba1-9529-41d0-8752-209cc372227e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1126,37 +2608,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:50 GMT" + "Thu, 11 Sep 2014 08:04:09 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0QXNpYS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31960" + "31942" ], "x-ms-request-id": [ - "9bc455a4-c6da-43f3-9ac1-2ac2c388db01" + "99f3c52e-b622-445e-a4bd-26ad06f522fd" ], "x-ms-correlation-request-id": [ - "9bc455a4-c6da-43f3-9ac1-2ac2c388db01" + "99f3c52e-b622-445e-a4bd-26ad06f522fd" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173109Z:9bc455a4-c6da-43f3-9ac1-2ac2c388db01" + "WESTUS:20140911T080409Z:99f3c52e-b622-445e-a4bd-26ad06f522fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1165,37 +2647,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:09 GMT" + "Thu, 11 Sep 2014 08:04:08 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-EastAsia/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0QXNpYS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31964" + "31978" ], "x-ms-request-id": [ - "98c2b2f4-4660-4512-8810-c2b5c80d5d6d" + "06ba29df-d712-4987-aa1c-f7d5c00ea9b2" ], "x-ms-correlation-request-id": [ - "98c2b2f4-4660-4512-8810-c2b5c80d5d6d" + "06ba29df-d712-4987-aa1c-f7d5c00ea9b2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173049Z:98c2b2f4-4660-4512-8810-c2b5c80d5d6d" + "WESTUS:20140911T080409Z:06ba29df-d712-4987-aa1c-f7d5c00ea9b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1204,14 +2686,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:49 GMT" + "Thu, 11 Sep 2014 08:04:09 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0VVMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1219,22 +2701,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/devtestvhds648784ad3677\",\r\n \"name\": \"devtestvhds648784ad3677\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1\",\r\n \"name\": \"portalvhds3285b8sydlcm1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31962" + "31941" ], "x-ms-request-id": [ - "78c374f2-4779-4adf-b019-495e0158b5d2" + "96b0c013-1df6-4835-9ee0-ba62bdf6f090" ], "x-ms-correlation-request-id": [ - "78c374f2-4779-4adf-b019-495e0158b5d2" + "96b0c013-1df6-4835-9ee0-ba62bdf6f090" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173050Z:78c374f2-4779-4adf-b019-495e0158b5d2" + "WESTUS:20140911T080410Z:96b0c013-1df6-4835-9ee0-ba62bdf6f090" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1243,37 +2725,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:50 GMT" + "Thu, 11 Sep 2014 08:04:10 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-EastUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0VVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31961" + "31977" ], "x-ms-request-id": [ - "ad8e3efa-6480-4022-9316-aa658cd0118e" + "e5b5a3c9-7ea6-4c9b-ae09-e5c85b019bcb" ], "x-ms-correlation-request-id": [ - "ad8e3efa-6480-4022-9316-aa658cd0118e" + "e5b5a3c9-7ea6-4c9b-ae09-e5c85b019bcb" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173051Z:ad8e3efa-6480-4022-9316-aa658cd0118e" + "WESTUS:20140911T080410Z:e5b5a3c9-7ea6-4c9b-ae09-e5c85b019bcb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1282,14 +2764,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:50 GMT" + "Thu, 11 Sep 2014 08:04:10 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthCentralUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Ob3J0aENlbnRyYWxVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1297,22 +2779,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31960" + "31940" ], "x-ms-request-id": [ - "0d8a99f8-767b-4387-a7d7-531dc020fd57" + "44a2f237-c0a5-4ce4-ab83-ca63347724bb" ], "x-ms-correlation-request-id": [ - "0d8a99f8-767b-4387-a7d7-531dc020fd57" + "44a2f237-c0a5-4ce4-ab83-ca63347724bb" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173051Z:0d8a99f8-767b-4387-a7d7-531dc020fd57" + "WESTUS:20140911T080410Z:44a2f237-c0a5-4ce4-ab83-ca63347724bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1321,37 +2803,37 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:50 GMT" + "Thu, 11 Sep 2014 08:04:10 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-NorthCentralUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Ob3J0aENlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia\",\r\n \"name\": \"Default-Storage-EastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210\",\r\n \"name\": \"mytestg1210\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk3202\",\r\n \"name\": \"onesdk3202\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760\",\r\n \"name\": \"testrg18760\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31959" + "31976" ], "x-ms-request-id": [ - "4dbde1c6-f966-48a2-b18f-23b75ce3b341" + "8f607da5-36de-4843-9b3b-2a304a448368" ], "x-ms-correlation-request-id": [ - "4dbde1c6-f966-48a2-b18f-23b75ce3b341" + "8f607da5-36de-4843-9b3b-2a304a448368" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173052Z:4dbde1c6-f966-48a2-b18f-23b75ce3b341" + "WESTUS:20140911T080412Z:8f607da5-36de-4843-9b3b-2a304a448368" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1360,14 +2842,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:52 GMT" + "Thu, 11 Sep 2014 08:04:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NjaDA5ODcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Ob3J0aEV1cm9wZS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1375,22 +2857,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cch0987/providers/Microsoft.ClassicCompute/domainNames/cch0987\",\r\n \"name\": \"cch0987\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"centralus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-NorthEurope/providers/Microsoft.ClassicStorage/storageAccounts/othersto\",\r\n \"name\": \"othersto\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"northeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31958" + "31939" ], "x-ms-request-id": [ - "c6e59f1e-9705-4d02-963d-96eec02e84a3" + "4ad7af58-66a6-4918-8871-749a134c6dfc" ], "x-ms-correlation-request-id": [ - "c6e59f1e-9705-4d02-963d-96eec02e84a3" + "4ad7af58-66a6-4918-8871-749a134c6dfc" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173052Z:c6e59f1e-9705-4d02-963d-96eec02e84a3" + "WESTUS:20140911T080412Z:4ad7af58-66a6-4918-8871-749a134c6dfc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1399,14 +2881,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:52 GMT" + "Thu, 11 Sep 2014 08:04:12 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/cch0987/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NjaDA5ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-NorthEurope/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Ob3J0aEV1cm9wZS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1420,16 +2902,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31978" + "31975" ], "x-ms-request-id": [ - "bf6fd49d-f677-499c-90b1-3e677f9d98d8" + "6ea1bc67-06ed-41e5-a885-51530e5d90e3" ], "x-ms-correlation-request-id": [ - "bf6fd49d-f677-499c-90b1-3e677f9d98d8" + "6ea1bc67-06ed-41e5-a885-51530e5d90e3" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173053Z:bf6fd49d-f677-499c-90b1-3e677f9d98d8" + "WESTUS:20140911T080412Z:6ea1bc67-06ed-41e5-a885-51530e5d90e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1438,14 +2920,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:53 GMT" + "Thu, 11 Sep 2014 08:04:12 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaS1jczQzNzQvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-SouthCentralUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Tb3V0aENlbnRyYWxVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1453,22 +2935,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs4374/providers/Microsoft.ClassicCompute/domainNames/cli-cs4374\",\r\n \"name\": \"cli-cs4374\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31957" + "31938" ], "x-ms-request-id": [ - "6bc2b7ec-b711-4cf5-ab04-4aa9acf5973e" + "21d6447f-5d13-42ae-b44a-e893377aa802" ], "x-ms-correlation-request-id": [ - "6bc2b7ec-b711-4cf5-ab04-4aa9acf5973e" + "21d6447f-5d13-42ae-b44a-e893377aa802" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173053Z:6bc2b7ec-b711-4cf5-ab04-4aa9acf5973e" + "WESTUS:20140911T080413Z:21d6447f-5d13-42ae-b44a-e893377aa802" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1477,14 +2959,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:53 GMT" + "Thu, 11 Sep 2014 08:04:12 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/cli-cs4374/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaS1jczQzNzQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-SouthCentralUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1Tb3V0aENlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1498,16 +2980,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31977" + "31974" ], "x-ms-request-id": [ - "5214baab-039e-4120-a7ec-1bcc66a09892" + "231e54cf-9cef-4c2a-aa5a-af711b91a020" ], "x-ms-correlation-request-id": [ - "5214baab-039e-4120-a7ec-1bcc66a09892" + "231e54cf-9cef-4c2a-aa5a-af711b91a020" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173054Z:5214baab-039e-4120-a7ec-1bcc66a09892" + "WESTUS:20140911T080413Z:231e54cf-9cef-4c2a-aa5a-af711b91a020" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1516,14 +2998,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:54 GMT" + "Thu, 11 Sep 2014 08:04:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaS1jczYzOC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1XZXN0VVMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1531,22 +3013,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs638/providers/Microsoft.ClassicCompute/domainNames/cli-cs638\",\r\n \"name\": \"cli-cs638\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/aztstmediastoragemqovl\",\r\n \"name\": \"aztstmediastoragemqovl\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/aztstvmosycryqj\",\r\n \"name\": \"aztstvmosycryqj\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/contosoads5\",\r\n \"name\": \"contosoads5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/devtestvhds0e5c3ff9f9ec\",\r\n \"name\": \"devtestvhds0e5c3ff9f9ec\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/devtestvhdsb5a2174ca7c6\",\r\n \"name\": \"devtestvhdsb5a2174ca7c6\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/emptysto\",\r\n \"name\": \"emptysto\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/gongchen1\",\r\n \"name\": \"gongchen1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/lujavadev\",\r\n \"name\": \"lujavadev\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/newacct\",\r\n \"name\": \"newacct\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9\",\r\n \"name\": \"portalvhds2wdcfvkv5phc9\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/uptestnew\",\r\n \"name\": \"uptestnew\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31956" + "31937" ], "x-ms-request-id": [ - "7411f339-fe6c-48a0-b1ea-4a6f0e6a784c" + "fc3ac6ab-6937-49d2-88dd-5af800ff7382" ], "x-ms-correlation-request-id": [ - "7411f339-fe6c-48a0-b1ea-4a6f0e6a784c" + "fc3ac6ab-6937-49d2-88dd-5af800ff7382" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173054Z:7411f339-fe6c-48a0-b1ea-4a6f0e6a784c" + "WESTUS:20140911T080414Z:fc3ac6ab-6937-49d2-88dd-5af800ff7382" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1555,14 +3037,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:53 GMT" + "Thu, 11 Sep 2014 08:04:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/cli-cs638/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaS1jczYzOC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Storage-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1XZXN0VVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1576,16 +3058,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31976" + "31973" ], "x-ms-request-id": [ - "9ec21842-5281-4d1b-b058-bc5513fdfdc2" + "ada8af74-bff4-4c9b-b1fa-02cc9d0a1f91" ], "x-ms-correlation-request-id": [ - "9ec21842-5281-4d1b-b058-bc5513fdfdc2" + "ada8af74-bff4-4c9b-b1fa-02cc9d0a1f91" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173055Z:9ec21842-5281-4d1b-b058-bc5513fdfdc2" + "WESTUS:20140911T080414Z:ada8af74-bff4-4c9b-b1fa-02cc9d0a1f91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1594,14 +3076,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:54 GMT" + "Thu, 11 Sep 2014 08:04:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaS1jczY3MDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2ViLUVhc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1609,22 +3091,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/cli-cs6702/providers/Microsoft.ClassicCompute/domainNames/cli-cs6702\",\r\n \"name\": \"cli-cs6702\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS/providers/Microsoft.Web/serverFarms/DefaultServerFarm\",\r\n \"name\": \"DefaultServerFarm\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-EastUS/providers/Microsoft.Web/sites/ATMTest8720\",\r\n \"name\": \"ATMTest8720\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-EastUS/providers/Microsoft.Web/serverfarms/DefaultServerFarm\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31955" + "31936" ], "x-ms-request-id": [ - "4f552f43-8fe6-4070-aa9f-18b8c7bb62f9" + "69977b7d-2dea-4980-ba4d-ad20271cfae8" ], "x-ms-correlation-request-id": [ - "4f552f43-8fe6-4070-aa9f-18b8c7bb62f9" + "69977b7d-2dea-4980-ba4d-ad20271cfae8" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173055Z:4f552f43-8fe6-4070-aa9f-18b8c7bb62f9" + "WESTUS:20140911T080414Z:69977b7d-2dea-4980-ba4d-ad20271cfae8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1633,14 +3115,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:54 GMT" + "Thu, 11 Sep 2014 08:04:14 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/cli-cs6702/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaS1jczY3MDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-EastUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtV2ViLUVhc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1654,16 +3136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31975" + "31972" ], "x-ms-request-id": [ - "6f6fee81-ab30-4df1-be34-48feb08e8afd" + "16780abb-895f-47f5-b41d-b334acbda21e" ], "x-ms-correlation-request-id": [ - "6f6fee81-ab30-4df1-be34-48feb08e8afd" + "16780abb-895f-47f5-b41d-b334acbda21e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173056Z:6f6fee81-ab30-4df1-be34-48feb08e8afd" + "WESTUS:20140911T080416Z:16780abb-895f-47f5-b41d-b334acbda21e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1672,14 +3154,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:55 GMT" + "Thu, 11 Sep 2014 08:04:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaXRlc3R2bTE0MzMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-NorthCentralUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2ViLU5vcnRoQ2VudHJhbFVTL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1687,22 +3169,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433/providers/Microsoft.ClassicCompute/domainNames/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433/providers/Microsoft.ClassicCompute/virtualMachines/clitestvm1433\",\r\n \"name\": \"clitestvm1433\",\r\n \"type\": \"Microsoft.ClassicCompute/virtualMachines\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm1433/providers/Microsoft.ClassicCompute/virtualMachines/clitestvm1433-2\",\r\n \"name\": \"clitestvm1433-2\",\r\n \"type\": \"Microsoft.ClassicCompute/virtualMachines\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31954" + "31935" ], "x-ms-request-id": [ - "c72f6e0c-8961-4ca6-9c9f-cb9100fd4273" + "1b88adde-5f87-421e-a2b7-e40a8fbd9f41" ], "x-ms-correlation-request-id": [ - "c72f6e0c-8961-4ca6-9c9f-cb9100fd4273" + "1b88adde-5f87-421e-a2b7-e40a8fbd9f41" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173056Z:c72f6e0c-8961-4ca6-9c9f-cb9100fd4273" + "WESTUS:20140911T080416Z:1b88adde-5f87-421e-a2b7-e40a8fbd9f41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1711,14 +3193,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:56 GMT" + "Thu, 11 Sep 2014 08:04:16 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/clitestvm1433/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaXRlc3R2bTE0MzMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-NorthCentralUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtV2ViLU5vcnRoQ2VudHJhbFVTL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1732,16 +3214,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31974" + "31971" ], "x-ms-request-id": [ - "2b034a7b-5222-4dc0-9c95-3e29bc7e5b7e" + "c8412d76-430e-41e7-ade5-c7dd749f2267" ], "x-ms-correlation-request-id": [ - "2b034a7b-5222-4dc0-9c95-3e29bc7e5b7e" + "c8412d76-430e-41e7-ade5-c7dd749f2267" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173057Z:2b034a7b-5222-4dc0-9c95-3e29bc7e5b7e" + "WESTUS:20140911T080417Z:c8412d76-430e-41e7-ade5-c7dd749f2267" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1750,14 +3232,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:56 GMT" + "Thu, 11 Sep 2014 08:04:17 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaXRlc3R2bTg2OTUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2ViLVdlc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1765,22 +3247,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695/providers/Microsoft.ClassicCompute/domainNames/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695/providers/Microsoft.ClassicCompute/virtualMachines/clitestvm8695\",\r\n \"name\": \"clitestvm8695\",\r\n \"type\": \"Microsoft.ClassicCompute/virtualMachines\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm8695/providers/Microsoft.ClassicCompute/virtualMachines/clitestvm8695-2\",\r\n \"name\": \"clitestvm8695-2\",\r\n \"type\": \"Microsoft.ClassicCompute/virtualMachines\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/serverFarms/Default1\",\r\n \"name\": \"Default1\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/serverFarms/Default2\",\r\n \"name\": \"Default2\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/cli7891\",\r\n \"name\": \"cli7891\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clisitescale-247\",\r\n \"name\": \"clisitescale-247\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clisitescale-697\",\r\n \"name\": \"clisitescale-697\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default2\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clisitescale-867\",\r\n \"name\": \"clisitescale-867\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests7029\",\r\n \"name\": \"clitests7029\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests7360\",\r\n \"name\": \"clitests7360\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests9978\",\r\n \"name\": \"clitests9978\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31953" + "31934" ], "x-ms-request-id": [ - "954d2d8a-345f-456d-bc72-1356ebe65c5e" + "e11623df-7315-4851-98c1-5fa3b2c49968" ], "x-ms-correlation-request-id": [ - "954d2d8a-345f-456d-bc72-1356ebe65c5e" + "e11623df-7315-4851-98c1-5fa3b2c49968" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173057Z:954d2d8a-345f-456d-bc72-1356ebe65c5e" + "WESTUS:20140911T080417Z:e11623df-7315-4851-98c1-5fa3b2c49968" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1789,14 +3271,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:57 GMT" + "Thu, 11 Sep 2014 08:04:16 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/clitestvm8695/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaXRlc3R2bTg2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/Default-Web-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtV2ViLVdlc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1810,16 +3292,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31973" + "31970" ], "x-ms-request-id": [ - "ceaf9a84-0e76-4101-a2c7-21be7f6f9148" + "e727c49c-4e00-4e8d-9826-0d13bc9ac9fd" ], "x-ms-correlation-request-id": [ - "ceaf9a84-0e76-4101-a2c7-21be7f6f9148" + "e727c49c-4e00-4e8d-9826-0d13bc9ac9fd" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173058Z:ceaf9a84-0e76-4101-a2c7-21be7f6f9148" + "WESTUS:20140911T080418Z:e727c49c-4e00-4e8d-9826-0d13bc9ac9fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1828,14 +3310,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:58 GMT" + "Thu, 11 Sep 2014 08:04:17 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL2NsaXRlc3R2bTk3MzVWbmV0L3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo13/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2ZvbzEzL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1843,22 +3325,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/clitestvm9735Vnet/providers/Microsoft.ClassicCompute/domainNames/clitestvm9735Vnet\",\r\n \"name\": \"clitestvm9735Vnet\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31952" + "31933" ], "x-ms-request-id": [ - "6442a9c3-a610-4d5b-b356-58c489d7734d" + "3abde7ce-a319-43c7-985f-421e4133946a" ], "x-ms-correlation-request-id": [ - "6442a9c3-a610-4d5b-b356-58c489d7734d" + "3abde7ce-a319-43c7-985f-421e4133946a" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173058Z:6442a9c3-a610-4d5b-b356-58c489d7734d" + "WESTUS:20140911T080418Z:3abde7ce-a319-43c7-985f-421e4133946a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1867,14 +3349,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:57 GMT" + "Thu, 11 Sep 2014 08:04:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/clitestvm9735Vnet/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL2NsaXRlc3R2bTk3MzVWbmV0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/foo13/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2ZvbzEzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1888,16 +3370,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31972" + "31969" ], "x-ms-request-id": [ - "39b1f5be-64c5-4327-a615-fbc8e48bea22" + "83844d49-92fe-47a2-9f86-6efbf28ba610" ], "x-ms-correlation-request-id": [ - "39b1f5be-64c5-4327-a615-fbc8e48bea22" + "83844d49-92fe-47a2-9f86-6efbf28ba610" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173058Z:39b1f5be-64c5-4327-a615-fbc8e48bea22" + "WESTUS:20140911T080418Z:83844d49-92fe-47a2-9f86-6efbf28ba610" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1906,14 +3388,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:58 GMT" + "Thu, 11 Sep 2014 08:04:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtTmV0d29ya2luZy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo14/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2ZvbzE0L3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1921,22 +3403,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/integration-test-virtual-network\",\r\n \"name\": \"integration-test-virtual-network\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/newvnet\",\r\n \"name\": \"newvnet\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/vm-test-virtual-network-3\",\r\n \"name\": \"vm-test-virtual-network-3\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/vnet01\",\r\n \"name\": \"vnet01\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/vnet-integration-test\",\r\n \"name\": \"vnet-integration-test\",\r\n \"type\": \"Microsoft.ClassicNetwork/virtualNetworks\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31951" + "31932" ], "x-ms-request-id": [ - "fc8edd30-88c8-4ae8-a770-54ee035c1e65" + "af316593-e6ea-497b-9450-24e06020196a" ], "x-ms-correlation-request-id": [ - "fc8edd30-88c8-4ae8-a770-54ee035c1e65" + "af316593-e6ea-497b-9450-24e06020196a" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173059Z:fc8edd30-88c8-4ae8-a770-54ee035c1e65" + "WESTUS:20140911T080419Z:af316593-e6ea-497b-9450-24e06020196a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1945,14 +3427,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:58 GMT" + "Thu, 11 Sep 2014 08:04:19 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Networking/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtTmV0d29ya2luZy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/foo14/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2ZvbzE0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1966,16 +3448,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31971" + "31968" ], "x-ms-request-id": [ - "f0d7c07f-ec52-456f-ba56-41db994cf4e9" + "5606af1b-9333-4735-8262-920339a57435" ], "x-ms-correlation-request-id": [ - "f0d7c07f-ec52-456f-ba56-41db994cf4e9" + "5606af1b-9333-4735-8262-920339a57435" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173059Z:f0d7c07f-ec52-456f-ba56-41db994cf4e9" + "WESTUS:20140911T080419Z:5606af1b-9333-4735-8262-920339a57435" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1984,14 +3466,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:59 GMT" + "Thu, 11 Sep 2014 08:04:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL2ppYW5naGx1dGVzdGNzMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1999,22 +3481,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS/providers/Microsoft.Sql/servers/p1ekryilpj\",\r\n \"name\": \"p1ekryilpj\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-SQL-WestUS/providers/Microsoft.Sql/servers/p1ekryilpj/databases/sampedb101\",\r\n \"name\": \"p1ekryilpj/sampedb101\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/alertrules/CPUHigh Plan\",\r\n \"name\": \"CPUHigh Plan\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/serverfarms/Plan\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/alertrules/ForbiddenRequests xplatIssue1144\",\r\n \"name\": \"ForbiddenRequests xplatIssue1144\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/sites/xplatIssue1144\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/alertrules/LongHttpQueue Plan\",\r\n \"name\": \"LongHttpQueue Plan\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/serverfarms/Plan\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/alertrules/ServerErrors xplatIssue1144\",\r\n \"name\": \"ServerErrors xplatIssue1144\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/sites/xplatIssue1144\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/autoscalesettings/Plan-jianghlutestcs1\",\r\n \"name\": \"Plan-jianghlutestcs1\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/serverfarms/Plan\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/microsoft.insights/components/xplatIssue1144\",\r\n \"name\": \"xplatIssue1144\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/jianghlutestcs1/providers/Microsoft.Web/sites/xplatIssue1144\": \"Resource\",\r\n \"applicationType\": \"Web\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31950" + "31931" ], "x-ms-request-id": [ - "75f7a431-4956-43a5-b831-b0f8e70fa1cc" + "e45b05e9-553b-477d-81be-75234abd1223" ], "x-ms-correlation-request-id": [ - "75f7a431-4956-43a5-b831-b0f8e70fa1cc" + "e45b05e9-553b-477d-81be-75234abd1223" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173100Z:75f7a431-4956-43a5-b831-b0f8e70fa1cc" + "WESTUS:20140911T080419Z:e45b05e9-553b-477d-81be-75234abd1223" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2023,14 +3505,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:59 GMT" + "Thu, 11 Sep 2014 08:04:19 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-SQL-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/jianghlutestcs1/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL2ppYW5naGx1dGVzdGNzMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2044,16 +3526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31970" + "31967" ], "x-ms-request-id": [ - "90761b9c-3d62-4173-9133-bce914029b09" + "8a39f153-95e2-4ada-9182-adac209ff2b5" ], "x-ms-correlation-request-id": [ - "90761b9c-3d62-4173-9133-bce914029b09" + "8a39f153-95e2-4ada-9182-adac209ff2b5" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173100Z:90761b9c-3d62-4173-9133-bce914029b09" + "WESTUS:20140911T080420Z:8a39f153-95e2-4ada-9182-adac209ff2b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2062,14 +3544,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:30:59 GMT" + "Thu, 11 Sep 2014 08:04:20 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0QXNpYS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL215bm9kZW4wODMwMDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2077,22 +3559,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/clitestvm3364vnet1407194\",\r\n \"name\": \"clitestvm3364vnet1407194\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/mynoden083001/providers/Microsoft.ClassicCompute/domainNames/mynoden083001\",\r\n \"name\": \"mynoden083001\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"brazilsouth\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31949" + "31930" ], "x-ms-request-id": [ - "161e2a82-e6a5-49a5-a35c-dacba0e3f209" + "d5629a54-2217-494c-86d4-ad0533fc5e12" ], "x-ms-correlation-request-id": [ - "161e2a82-e6a5-49a5-a35c-dacba0e3f209" + "d5629a54-2217-494c-86d4-ad0533fc5e12" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173101Z:161e2a82-e6a5-49a5-a35c-dacba0e3f209" + "WESTUS:20140911T080420Z:d5629a54-2217-494c-86d4-ad0533fc5e12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2101,14 +3583,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:00 GMT" + "Thu, 11 Sep 2014 08:04:20 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Storage-EastAsia/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1FYXN0QXNpYS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/mynoden083001/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL215bm9kZW4wODMwMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2122,16 +3604,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31969" + "31966" ], "x-ms-request-id": [ - "a528142e-4818-4ecc-a200-e4504dd07226" + "7c66b55d-455b-484d-80c9-ff43b507d9cd" ], "x-ms-correlation-request-id": [ - "a528142e-4818-4ecc-a200-e4504dd07226" + "7c66b55d-455b-484d-80c9-ff43b507d9cd" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173101Z:a528142e-4818-4ecc-a200-e4504dd07226" + "WESTUS:20140911T080420Z:7c66b55d-455b-484d-80c9-ff43b507d9cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2140,14 +3622,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:01 GMT" + "Thu, 11 Sep 2014 08:04:20 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1XZXN0VVMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL25vZGVzZGs0MDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2155,22 +3637,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/teststorage101\",\r\n \"name\": \"teststorage101\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk401/providers/Microsoft.ClassicCompute/domainNames/nodesdk401\",\r\n \"name\": \"nodesdk401\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31948" + "31929" ], "x-ms-request-id": [ - "ff19d53e-1f03-40e5-af46-39626af7351b" + "f50cb203-99dd-4915-b707-d75f3eb63f6c" ], "x-ms-correlation-request-id": [ - "ff19d53e-1f03-40e5-af46-39626af7351b" + "f50cb203-99dd-4915-b707-d75f3eb63f6c" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173101Z:ff19d53e-1f03-40e5-af46-39626af7351b" + "WESTUS:20140911T080421Z:f50cb203-99dd-4915-b707-d75f3eb63f6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2179,14 +3661,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:01 GMT" + "Thu, 11 Sep 2014 08:04:21 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Storage-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtU3RvcmFnZS1XZXN0VVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/nodesdk401/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL25vZGVzZGs0MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2200,16 +3682,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31968" + "31965" ], "x-ms-request-id": [ - "227509b4-9e1d-4d90-9dc9-64fff9c1a446" + "a98487e9-797f-46d1-9767-862dc48bceac" ], "x-ms-correlation-request-id": [ - "227509b4-9e1d-4d90-9dc9-64fff9c1a446" + "a98487e9-797f-46d1-9767-862dc48bceac" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173102Z:227509b4-9e1d-4d90-9dc9-64fff9c1a446" + "WESTUS:20140911T080421Z:a98487e9-797f-46d1-9767-862dc48bceac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2218,14 +3700,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:02 GMT" + "Thu, 11 Sep 2014 08:04:21 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-EastUS/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2ViLUVhc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL25vZGVzZGs2NzQ5L3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2233,22 +3715,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/nodesdk6749/providers/Microsoft.ClassicCompute/domainNames/nodesdk6749\",\r\n \"name\": \"nodesdk6749\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31947" + "31928" ], "x-ms-request-id": [ - "0c189fc6-1fc6-41b1-a979-74a5a19bd5fd" + "9e35b6dc-6aad-4072-8526-3a65ae662429" ], "x-ms-correlation-request-id": [ - "0c189fc6-1fc6-41b1-a979-74a5a19bd5fd" + "9e35b6dc-6aad-4072-8526-3a65ae662429" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173102Z:0c189fc6-1fc6-41b1-a979-74a5a19bd5fd" + "WESTUS:20140911T080421Z:9e35b6dc-6aad-4072-8526-3a65ae662429" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2257,14 +3739,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:02 GMT" + "Thu, 11 Sep 2014 08:04:21 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-EastUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtV2ViLUVhc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/nodesdk6749/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL25vZGVzZGs2NzQ5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2278,16 +3760,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31967" + "31964" ], "x-ms-request-id": [ - "77e25af5-6206-4c88-826f-0fdbceaee746" + "3beaca0e-15f9-4332-8cce-bc9e4be5fc3b" ], "x-ms-correlation-request-id": [ - "77e25af5-6206-4c88-826f-0fdbceaee746" + "3beaca0e-15f9-4332-8cce-bc9e4be5fc3b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173103Z:77e25af5-6206-4c88-826f-0fdbceaee746" + "WESTUS:20140911T080422Z:3beaca0e-15f9-4332-8cce-bc9e4be5fc3b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2296,14 +3778,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:02 GMT" + "Thu, 11 Sep 2014 08:04:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2ViLVdlc3RVUy9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazI4NDIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2311,22 +3793,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/serverFarms/Default1\",\r\n \"name\": \"Default1\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests5345\",\r\n \"name\": \"clitests5345\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests755\",\r\n \"name\": \"clitests755\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/clitests8482\",\r\n \"name\": \"clitests8482\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/contests409\",\r\n \"name\": \"contests409\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-WestUS/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk2842/providers/Microsoft.ClassicCompute/domainNames/onesdk2842\",\r\n \"name\": \"onesdk2842\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31946" + "31927" ], "x-ms-request-id": [ - "346d9f2c-4d9a-4cea-8146-0b94e6175f15" + "4a4e5c34-c278-46b8-aee4-a52d3704ed6d" ], "x-ms-correlation-request-id": [ - "346d9f2c-4d9a-4cea-8146-0b94e6175f15" + "4a4e5c34-c278-46b8-aee4-a52d3704ed6d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173103Z:346d9f2c-4d9a-4cea-8146-0b94e6175f15" + "WESTUS:20140911T080422Z:4a4e5c34-c278-46b8-aee4-a52d3704ed6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2335,14 +3817,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:02 GMT" + "Thu, 11 Sep 2014 08:04:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/Default-Web-WestUS/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL0RlZmF1bHQtV2ViLVdlc3RVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk2842/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2356,16 +3838,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31966" + "31963" ], "x-ms-request-id": [ - "c45720f4-b704-41f9-b5d0-be98cdb5f713" + "9ba2481f-b854-4554-be9b-35b67bca6538" ], "x-ms-correlation-request-id": [ - "c45720f4-b704-41f9-b5d0-be98cdb5f713" + "9ba2481f-b854-4554-be9b-35b67bca6538" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173104Z:c45720f4-b704-41f9-b5d0-be98cdb5f713" + "WESTUS:20140911T080423Z:9ba2481f-b854-4554-be9b-35b67bca6538" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2374,14 +3856,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:04 GMT" + "Thu, 11 Sep 2014 08:04:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL215bWNuY2FjaGUwMDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg121/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL3Rlc3RyZzEyMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2389,22 +3871,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mymcncache001/providers/Microsoft.ClassicCompute/domainNames/mymcncache001\",\r\n \"name\": \"mymcncache001\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31945" + "31925" ], "x-ms-request-id": [ - "da42fdc4-1031-4c6d-9147-22bfa10cf707" + "c6965094-c7d1-4e3b-8cb5-62777755dc41" ], "x-ms-correlation-request-id": [ - "da42fdc4-1031-4c6d-9147-22bfa10cf707" + "c6965094-c7d1-4e3b-8cb5-62777755dc41" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173104Z:da42fdc4-1031-4c6d-9147-22bfa10cf707" + "WESTUS:20140911T080424Z:c6965094-c7d1-4e3b-8cb5-62777755dc41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2413,14 +3895,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:04 GMT" + "Thu, 11 Sep 2014 08:04:23 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/mymcncache001/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL215bWNuY2FjaGUwMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg121/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL3Rlc3RyZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2434,16 +3916,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31965" + "31961" ], "x-ms-request-id": [ - "4ae6101c-b69a-499b-9696-44a77acada64" + "554f6c40-6742-41fe-97a3-d9d96727314d" ], "x-ms-correlation-request-id": [ - "4ae6101c-b69a-499b-9696-44a77acada64" + "554f6c40-6742-41fe-97a3-d9d96727314d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173105Z:4ae6101c-b69a-499b-9696-44a77acada64" + "WESTUS:20140911T080424Z:554f6c40-6742-41fe-97a3-d9d96727314d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2452,14 +3934,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:04 GMT" + "Thu, 11 Sep 2014 08:04:24 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL215bm9kZXMwMDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL3RyMTlkZW1vc3RhZ2UvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2467,22 +3949,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynodes001/providers/Microsoft.ClassicCompute/domainNames/mynodes001\",\r\n \"name\": \"mynodes001\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"centralus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/alertrules/CPUHigh tr19demostage\",\r\n \"name\": \"CPUHigh tr19demostage\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/serverfarms/tr19demostage\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/alertrules/ForbiddenRequests tr19demostagesite\",\r\n \"name\": \"ForbiddenRequests tr19demostagesite\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/sites/tr19demostagesite\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/alertrules/LongHttpQueue tr19demostage\",\r\n \"name\": \"LongHttpQueue tr19demostage\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/serverfarms/tr19demostage\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/alertrules/ServerErrors tr19demostagesite\",\r\n \"name\": \"ServerErrors tr19demostagesite\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/sites/tr19demostagesite\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/autoscalesettings/tr19demostage-tr19demostage\",\r\n \"name\": \"tr19demostage-tr19demostage\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/serverfarms/tr19demostage\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/microsoft.insights/components/tr19demostagesite\",\r\n \"name\": \"tr19demostagesite\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/tr19demostage/providers/Microsoft.Web/sites/tr19demostagesite\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31944" + "31924" ], "x-ms-request-id": [ - "f9550fa8-d518-495c-b515-9807cda5eb82" + "98f095c7-88cd-4dd3-83d2-f6b9481c31c4" ], "x-ms-correlation-request-id": [ - "f9550fa8-d518-495c-b515-9807cda5eb82" + "98f095c7-88cd-4dd3-83d2-f6b9481c31c4" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173105Z:f9550fa8-d518-495c-b515-9807cda5eb82" + "WESTUS:20140911T080425Z:98f095c7-88cd-4dd3-83d2-f6b9481c31c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2491,14 +3973,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:05 GMT" + "Thu, 11 Sep 2014 08:04:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/mynodes001/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL215bm9kZXMwMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/tr19demostage/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL3RyMTlkZW1vc3RhZ2UvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2512,16 +3994,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31964" + "31960" ], "x-ms-request-id": [ - "91c48d77-ecf6-4d24-9bfb-c4ee2226a98c" + "8333e64d-53ce-476f-8657-3f23651f61eb" ], "x-ms-correlation-request-id": [ - "91c48d77-ecf6-4d24-9bfb-c4ee2226a98c" + "8333e64d-53ce-476f-8657-3f23651f61eb" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173106Z:91c48d77-ecf6-4d24-9bfb-c4ee2226a98c" + "WESTUS:20140911T080425Z:8333e64d-53ce-476f-8657-3f23651f61eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2530,14 +4012,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:06 GMT" + "Thu, 11 Sep 2014 08:04:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL215bnByb2owMDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL1ZTLWF6dXJlc2RrdGVzdDAxLUdyb3VwL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2545,22 +4027,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mynproj001/providers/Microsoft.ClassicCompute/domainNames/mynproj001\",\r\n \"name\": \"mynproj001\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastasia\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/VS-azuresdktest01-Group/providers/Microsoft.VisualStudio/account/azuresdktest01\",\r\n \"name\": \"azuresdktest01\",\r\n \"type\": \"Microsoft.VisualStudio/account\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31943" + "31923" ], "x-ms-request-id": [ - "afb8b1f2-1e3e-46bc-a3a7-052da2eeb81c" + "86d73440-fa3f-4a2d-9966-73671cf38fc2" ], "x-ms-correlation-request-id": [ - "afb8b1f2-1e3e-46bc-a3a7-052da2eeb81c" + "86d73440-fa3f-4a2d-9966-73671cf38fc2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173106Z:afb8b1f2-1e3e-46bc-a3a7-052da2eeb81c" + "WESTUS:20140911T080425Z:86d73440-fa3f-4a2d-9966-73671cf38fc2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2569,14 +4051,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:05 GMT" + "Thu, 11 Sep 2014 08:04:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/mynproj001/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL215bnByb2owMDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/VS-azuresdktest01-Group/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL1ZTLWF6dXJlc2RrdGVzdDAxLUdyb3VwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2590,16 +4072,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31963" + "31959" ], "x-ms-request-id": [ - "a5f779a5-e16a-4a20-8578-1b365ac66070" + "ef063498-a91e-4c96-922f-f3e592b67cde" ], "x-ms-correlation-request-id": [ - "a5f779a5-e16a-4a20-8578-1b365ac66070" + "ef063498-a91e-4c96-922f-f3e592b67cde" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173107Z:a5f779a5-e16a-4a20-8578-1b365ac66070" + "WESTUS:20140911T080426Z:ef063498-a91e-4c96-922f-f3e592b67cde" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2608,14 +4090,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:06 GMT" + "Thu, 11 Sep 2014 08:04:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/mytestg1210/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL215dGVzdGcxMjEwL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL3hwbGF0dGVzdHZtMi9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2623,22 +4105,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/xplattestvm2/providers/Microsoft.ClassicCompute/domainNames/xplattestvm2\",\r\n \"name\": \"xplattestvm2\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31942" + "31922" ], "x-ms-request-id": [ - "ba57dc49-c5f3-411a-bb30-bf24c828eaae" + "588def44-80da-4815-9f1c-d2daa7311524" ], "x-ms-correlation-request-id": [ - "ba57dc49-c5f3-411a-bb30-bf24c828eaae" + "588def44-80da-4815-9f1c-d2daa7311524" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173107Z:ba57dc49-c5f3-411a-bb30-bf24c828eaae" + "WESTUS:20140911T080426Z:588def44-80da-4815-9f1c-d2daa7311524" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2647,14 +4129,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:07 GMT" + "Thu, 11 Sep 2014 08:04:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/mytestg1210/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL215dGVzdGcxMjEwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/xplattestvm2/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL3hwbGF0dGVzdHZtMi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2668,16 +4150,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31962" + "31958" ], "x-ms-request-id": [ - "fd648ee0-4462-418e-86e1-917a440339e8" + "34af2d50-51fd-4312-8082-98ebdf6993a0" ], "x-ms-correlation-request-id": [ - "fd648ee0-4462-418e-86e1-917a440339e8" + "34af2d50-51fd-4312-8082-98ebdf6993a0" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173107Z:fd648ee0-4462-418e-86e1-917a440339e8" + "WESTUS:20140911T080427Z:34af2d50-51fd-4312-8082-98ebdf6993a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2686,14 +4168,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:07 GMT" + "Thu, 11 Sep 2014 08:04:27 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL25jYWNoZTAwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL3pvby9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2701,22 +4183,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/ncache001/providers/Microsoft.ClassicCompute/domainNames/ncache001\",\r\n \"name\": \"ncache001\",\r\n \"type\": \"Microsoft.ClassicCompute/domainNames\",\r\n \"location\": \"centralus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo/providers/Microsoft.Web/serverFarms/Default1\",\r\n \"name\": \"Default1\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo/providers/Microsoft.Web/sites/resource4\",\r\n \"name\": \"resource4\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dtag\": \"val\",\r\n \"department\": \"Accounting\",\r\n \"hidden-related:/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/zoo/providers/Microsoft.Web/serverfarms/Default1\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31941" + "31921" ], "x-ms-request-id": [ - "b6ba9a76-0e8c-4c35-8056-cbc479695969" + "6349d09f-e667-4c17-924c-15e884ec0ef1" ], "x-ms-correlation-request-id": [ - "b6ba9a76-0e8c-4c35-8056-cbc479695969" + "6349d09f-e667-4c17-924c-15e884ec0ef1" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173108Z:b6ba9a76-0e8c-4c35-8056-cbc479695969" + "WESTUS:20140911T080427Z:6349d09f-e667-4c17-924c-15e884ec0ef1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2725,14 +4207,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:07 GMT" + "Thu, 11 Sep 2014 08:04:27 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/ncache001/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL25jYWNoZTAwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/zoo/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL3pvby9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2746,16 +4228,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31961" + "31957" ], "x-ms-request-id": [ - "ce9998af-6889-4dbb-be4d-fe95b6fa27da" + "6761be5f-ee60-4a1f-bba6-2f366138feb0" ], "x-ms-correlation-request-id": [ - "ce9998af-6889-4dbb-be4d-fe95b6fa27da" + "6761be5f-ee60-4a1f-bba6-2f366138feb0" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173108Z:ce9998af-6889-4dbb-be4d-fe95b6fa27da" + "WESTUS:20140911T080428Z:6761be5f-ee60-4a1f-bba6-2f366138feb0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2764,14 +4246,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:08 GMT" + "Thu, 11 Sep 2014 08:04:28 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/testrg18760/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL3Rlc3RyZzE4NzYwL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/zoo2/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL3pvbzIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2785,16 +4267,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31939" + "31920" ], "x-ms-request-id": [ - "a226943c-5537-4a5f-9041-73c71c6b26cd" + "f4510cf1-603f-4e4c-816e-0d5870f911b7" ], "x-ms-correlation-request-id": [ - "a226943c-5537-4a5f-9041-73c71c6b26cd" + "f4510cf1-603f-4e4c-816e-0d5870f911b7" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173109Z:a226943c-5537-4a5f-9041-73c71c6b26cd" + "WESTUS:20140911T080428Z:f4510cf1-603f-4e4c-816e-0d5870f911b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2803,14 +4285,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:09 GMT" + "Thu, 11 Sep 2014 08:04:27 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/testrg18760/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL3Rlc3RyZzE4NzYwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/zoo2/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL3pvbzIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2824,16 +4306,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31959" + "31956" ], "x-ms-request-id": [ - "6c18e406-9d43-404f-8af7-411cc7447271" + "7113a9c0-48b8-4eb5-b5e0-57b0fef9bb2f" ], "x-ms-correlation-request-id": [ - "6c18e406-9d43-404f-8af7-411cc7447271" + "7113a9c0-48b8-4eb5-b5e0-57b0fef9bb2f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173110Z:6c18e406-9d43-404f-8af7-411cc7447271" + "WESTUS:20140911T080429Z:7113a9c0-48b8-4eb5-b5e0-57b0fef9bb2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2842,14 +4324,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:09 GMT" + "Thu, 11 Sep 2014 08:04:28 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk3202?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazMyMDI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk9381?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazkzODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -2857,7 +4339,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -2869,16 +4351,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1192" ], "x-ms-request-id": [ - "7fe5867a-bc88-49a2-8289-96f7ed1dfdaa" + "59aef3a0-0915-44c2-a1d3-ec47c134c22c" ], "x-ms-correlation-request-id": [ - "7fe5867a-bc88-49a2-8289-96f7ed1dfdaa" + "59aef3a0-0915-44c2-a1d3-ec47c134c22c" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173111Z:7fe5867a-bc88-49a2-8289-96f7ed1dfdaa" + "WESTUS:20140911T080429Z:59aef3a0-0915-44c2-a1d3-ec47c134c22c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2887,17 +4369,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:10 GMT" + "Thu, 11 Sep 2014 08:04:29 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2908,7 +4390,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -2920,16 +4402,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31937" + "31918" ], "x-ms-request-id": [ - "2dd18ade-3e17-48bf-b48b-b158c64d3689" + "02676853-59b1-483d-813e-097efb8c6352" ], "x-ms-correlation-request-id": [ - "2dd18ade-3e17-48bf-b48b-b158c64d3689" + "02676853-59b1-483d-813e-097efb8c6352" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173111Z:2dd18ade-3e17-48bf-b48b-b158c64d3689" + "WESTUS:20140911T080430Z:02676853-59b1-483d-813e-097efb8c6352" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2938,17 +4420,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:11 GMT" + "Thu, 11 Sep 2014 08:04:30 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2959,7 +4441,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -2971,16 +4453,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31936" + "31917" ], "x-ms-request-id": [ - "88a3a63a-3d6f-4912-959d-38629d526ef1" + "e8d34616-7220-4369-9125-06a9cf704ae3" ], "x-ms-correlation-request-id": [ - "88a3a63a-3d6f-4912-959d-38629d526ef1" + "e8d34616-7220-4369-9125-06a9cf704ae3" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173127Z:88a3a63a-3d6f-4912-959d-38629d526ef1" + "WESTUS:20140911T080445Z:e8d34616-7220-4369-9125-06a9cf704ae3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2989,17 +4471,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:27 GMT" + "Thu, 11 Sep 2014 08:04:45 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3010,7 +4492,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -3022,16 +4504,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31935" + "31916" ], "x-ms-request-id": [ - "8a25fc4a-cac2-458f-bcd1-03a053b058f2" + "8326a93b-422e-4dbc-bf34-2940d25a095b" ], "x-ms-correlation-request-id": [ - "8a25fc4a-cac2-458f-bcd1-03a053b058f2" + "8326a93b-422e-4dbc-bf34-2940d25a095b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173142Z:8a25fc4a-cac2-458f-bcd1-03a053b058f2" + "WESTUS:20140911T080500Z:8326a93b-422e-4dbc-bf34-2940d25a095b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3040,17 +4522,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:42 GMT" + "Thu, 11 Sep 2014 08:05:00 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3061,7 +4543,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -3073,16 +4555,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31934" + "31915" ], "x-ms-request-id": [ - "7be9dbe3-e63f-4848-ab97-88836ede973b" + "5e5b38d4-c8fe-46c1-8ca3-0b26e1f4e84e" ], "x-ms-correlation-request-id": [ - "7be9dbe3-e63f-4848-ab97-88836ede973b" + "5e5b38d4-c8fe-46c1-8ca3-0b26e1f4e84e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173158Z:7be9dbe3-e63f-4848-ab97-88836ede973b" + "WESTUS:20140911T080516Z:5e5b38d4-c8fe-46c1-8ca3-0b26e1f4e84e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3091,17 +4573,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:31:58 GMT" + "Thu, 11 Sep 2014 08:05:15 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3112,7 +4594,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -3124,16 +4606,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31933" + "31914" ], "x-ms-request-id": [ - "762d1bbe-34d6-4d56-8c73-ac15f862cef9" + "fc186eb5-88c9-41a3-9330-c6a72efbbdcb" ], "x-ms-correlation-request-id": [ - "762d1bbe-34d6-4d56-8c73-ac15f862cef9" + "fc186eb5-88c9-41a3-9330-c6a72efbbdcb" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173213Z:762d1bbe-34d6-4d56-8c73-ac15f862cef9" + "WESTUS:20140911T080531Z:fc186eb5-88c9-41a3-9330-c6a72efbbdcb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3142,17 +4624,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:32:13 GMT" + "Thu, 11 Sep 2014 08:05:30 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3163,7 +4645,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -3175,16 +4657,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31932" + "31913" ], "x-ms-request-id": [ - "f2be6802-90d0-4a6e-8fbe-258524f9dc18" + "ac862ef2-7150-449a-8ec1-c2063389e2d9" ], "x-ms-correlation-request-id": [ - "f2be6802-90d0-4a6e-8fbe-258524f9dc18" + "ac862ef2-7150-449a-8ec1-c2063389e2d9" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173229Z:f2be6802-90d0-4a6e-8fbe-258524f9dc18" + "WESTUS:20140911T080547Z:ac862ef2-7150-449a-8ec1-c2063389e2d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3193,17 +4675,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:32:29 GMT" + "Thu, 11 Sep 2014 08:05:47 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszMjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pNakF5TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MzgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNemd4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3214,7 +4696,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "142" + "112" ] }, "ResponseBody": "", @@ -3223,16 +4705,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31931" + "31912" ], "x-ms-request-id": [ - "9ec40e48-69e2-4c25-adba-1eadfb55bc67" + "0ca5cba5-1e00-4fbd-95da-7982105a9d25" ], "x-ms-correlation-request-id": [ - "9ec40e48-69e2-4c25-adba-1eadfb55bc67" + "0ca5cba5-1e00-4fbd-95da-7982105a9d25" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T173244Z:9ec40e48-69e2-4c25-adba-1eadfb55bc67" + "WESTUS:20140911T080602Z:0ca5cba5-1e00-4fbd-95da-7982105a9d25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3241,7 +4723,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:32:44 GMT" + "Thu, 11 Sep 2014 08:06:02 GMT" ] }, "StatusCode": 200 @@ -3249,11 +4731,12 @@ ], "Names": { "Test-NewResourceGroupWithTemplateThenGetWithAndWithoutDetails": [ - "onesdk3202", - "onesdk5145" + "onesdk9381", + "onesdk5452" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestRemoveNonExistingResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestRemoveNonExistingResourceGroup.json index 7af5930d5bc0..ab9dba9f4a71 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestRemoveNonExistingResourceGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestRemoveNonExistingResourceGroup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk1371?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzNzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5100?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -19,13 +19,13 @@ "31999" ], "x-ms-request-id": [ - "63329a6c-6c6f-4275-9aa6-c49cd4088d99" + "f6ac24c7-f453-4961-9276-13b1e4ed3b97" ], "x-ms-correlation-request-id": [ - "63329a6c-6c6f-4275-9aa6-c49cd4088d99" + "f6ac24c7-f453-4961-9276-13b1e4ed3b97" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172807Z:63329a6c-6c6f-4275-9aa6-c49cd4088d99" + "WESTUS:20140911T080242Z:f6ac24c7-f453-4961-9276-13b1e4ed3b97" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,7 +34,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:28:06 GMT" + "Thu, 11 Sep 2014 08:02:42 GMT" ] }, "StatusCode": 404 @@ -42,10 +42,11 @@ ], "Names": { "Test-RemoveNonExistingResourceGroup": [ - "onesdk1371" + "onesdk5100" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestUpdatesExistingResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestUpdatesExistingResourceGroup.json index 628db760fb0a..631e58405354 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestUpdatesExistingResourceGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestUpdatesExistingResourceGroup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,7 +10,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -19,13 +19,13 @@ "31999" ], "x-ms-request-id": [ - "97e35ed9-983f-4ac7-ad9e-c2edbbd7a4e8" + "c21bc5fa-e3de-4d77-9c10-6b13cbc24876" ], "x-ms-correlation-request-id": [ - "97e35ed9-983f-4ac7-ad9e-c2edbbd7a4e8" + "c21bc5fa-e3de-4d77-9c10-6b13cbc24876" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172553Z:97e35ed9-983f-4ac7-ad9e-c2edbbd7a4e8" + "WESTUS:20140911T075736Z:c21bc5fa-e3de-4d77-9c10-6b13cbc24876" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:52 GMT" + "Thu, 11 Sep 2014 07:57:35 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -49,7 +49,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk4358' could not be found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk5940' could not be found.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -58,13 +58,13 @@ "31998" ], "x-ms-request-id": [ - "08b23149-f2ae-4602-8074-c24bc83cd46e" + "a903d76e-a1d1-4565-b6b6-3850f2b91d36" ], "x-ms-correlation-request-id": [ - "08b23149-f2ae-4602-8074-c24bc83cd46e" + "a903d76e-a1d1-4565-b6b6-3850f2b91d36" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172553Z:08b23149-f2ae-4602-8074-c24bc83cd46e" + "WESTUS:20140911T075737Z:a903d76e-a1d1-4565-b6b6-3850f2b91d36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:53 GMT" + "Thu, 11 Sep 2014 07:57:37 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -97,13 +97,13 @@ "31995" ], "x-ms-request-id": [ - "1817de2f-be49-47ef-b80e-9ed3c7ab738f" + "f9da70b5-fe50-4fe6-96d5-d6e10f3c5b54" ], "x-ms-correlation-request-id": [ - "1817de2f-be49-47ef-b80e-9ed3c7ab738f" + "f9da70b5-fe50-4fe6-96d5-d6e10f3c5b54" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172556Z:1817de2f-be49-47ef-b80e-9ed3c7ab738f" + "WESTUS:20140911T075739Z:f9da70b5-fe50-4fe6-96d5-d6e10f3c5b54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:55 GMT" + "Thu, 11 Sep 2014 07:57:39 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -127,7 +127,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -136,13 +136,13 @@ "31994" ], "x-ms-request-id": [ - "d8a10ad0-d195-4462-bc6a-4fd61862bcb1" + "74b9e790-64b4-480b-9cab-9b1db6c9bd11" ], "x-ms-correlation-request-id": [ - "d8a10ad0-d195-4462-bc6a-4fd61862bcb1" + "74b9e790-64b4-480b-9cab-9b1db6c9bd11" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172556Z:d8a10ad0-d195-4462-bc6a-4fd61862bcb1" + "WESTUS:20140911T075740Z:74b9e790-64b4-480b-9cab-9b1db6c9bd11" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:55 GMT" + "Thu, 11 Sep 2014 07:57:40 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -166,7 +166,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -175,13 +175,13 @@ "31993" ], "x-ms-request-id": [ - "58f65811-c621-402a-b9f4-bda6282dc833" + "c2e5ecad-c4c2-403f-bdec-888a91217a96" ], "x-ms-correlation-request-id": [ - "58f65811-c621-402a-b9f4-bda6282dc833" + "c2e5ecad-c4c2-403f-bdec-888a91217a96" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172557Z:58f65811-c621-402a-b9f4-bda6282dc833" + "WESTUS:20140911T075740Z:c2e5ecad-c4c2-403f-bdec-888a91217a96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:57 GMT" + "Thu, 11 Sep 2014 07:57:40 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -205,7 +205,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" @@ -214,13 +214,13 @@ "31991" ], "x-ms-request-id": [ - "b0812d98-76c7-4556-9544-9f4b2ecc05ec" + "4263a6ed-2cd1-4c14-8a05-f2c99c19a8bd" ], "x-ms-correlation-request-id": [ - "b0812d98-76c7-4556-9544-9f4b2ecc05ec" + "4263a6ed-2cd1-4c14-8a05-f2c99c19a8bd" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172558Z:b0812d98-76c7-4556-9544-9f4b2ecc05ec" + "WESTUS:20140911T075742Z:4263a6ed-2cd1-4c14-8a05-f2c99c19a8bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:58 GMT" + "Thu, 11 Sep 2014 07:57:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -253,13 +253,13 @@ "31997" ], "x-ms-request-id": [ - "045b4d2a-6a8f-404d-8cc4-ec292980bc80" + "d8f9ae6c-276b-4363-bb27-b65dc60ae01d" ], "x-ms-correlation-request-id": [ - "045b4d2a-6a8f-404d-8cc4-ec292980bc80" + "d8f9ae6c-276b-4363-bb27-b65dc60ae01d" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172554Z:045b4d2a-6a8f-404d-8cc4-ec292980bc80" + "WESTUS:20140911T075737Z:d8f9ae6c-276b-4363-bb27-b65dc60ae01d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:53 GMT" + "Thu, 11 Sep 2014 07:57:37 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -292,13 +292,13 @@ "31989" ], "x-ms-request-id": [ - "83863ca6-d14b-4a66-9769-caeaec4df73c" + "49f00ad1-ae7d-4fd3-b1cd-794f35c94f9c" ], "x-ms-correlation-request-id": [ - "83863ca6-d14b-4a66-9769-caeaec4df73c" + "49f00ad1-ae7d-4fd3-b1cd-794f35c94f9c" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172600Z:83863ca6-d14b-4a66-9769-caeaec4df73c" + "WESTUS:20140911T075743Z:49f00ad1-ae7d-4fd3-b1cd-794f35c94f9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:26:00 GMT" + "Thu, 11 Sep 2014 07:57:43 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -322,22 +322,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1198" ], "x-ms-request-id": [ - "1497c83f-9320-4028-b131-37869cae8ea1" + "bb030f93-b18f-46a1-8902-1e7c94bb478f" ], "x-ms-correlation-request-id": [ - "1497c83f-9320-4028-b131-37869cae8ea1" + "bb030f93-b18f-46a1-8902-1e7c94bb478f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172554Z:1497c83f-9320-4028-b131-37869cae8ea1" + "WESTUS:20140911T075738Z:bb030f93-b18f-46a1-8902-1e7c94bb478f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:54 GMT" + "Thu, 11 Sep 2014 07:57:38 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { @@ -361,22 +361,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358\",\r\n \"name\": \"onesdk4358\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940\",\r\n \"name\": \"onesdk5940\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-request-id": [ - "d0eb5e1e-f5cc-48e3-979e-0fdc18745e70" + "9a5e21be-45e1-484c-ac51-022c64a428b2" ], "x-ms-correlation-request-id": [ - "d0eb5e1e-f5cc-48e3-979e-0fdc18745e70" + "9a5e21be-45e1-484c-ac51-022c64a428b2" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172557Z:d0eb5e1e-f5cc-48e3-979e-0fdc18745e70" + "WESTUS:20140911T075741Z:9a5e21be-45e1-484c-ac51-022c64a428b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,14 +385,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:57 GMT" + "Thu, 11 Sep 2014 07:57:41 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazQzNTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazU5NDAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -409,13 +409,13 @@ "31996" ], "x-ms-request-id": [ - "18181b1e-2081-4837-ba85-f6d515cf86c8" + "abce26ed-07fa-4194-8699-591b8750879f" ], "x-ms-correlation-request-id": [ - "18181b1e-2081-4837-ba85-f6d515cf86c8" + "abce26ed-07fa-4194-8699-591b8750879f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172555Z:18181b1e-2081-4837-ba85-f6d515cf86c8" + "WESTUS:20140911T075738Z:abce26ed-07fa-4194-8699-591b8750879f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,14 +424,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:54 GMT" + "Thu, 11 Sep 2014 07:57:38 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazQzNTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazU5NDAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -448,13 +448,13 @@ "31992" ], "x-ms-request-id": [ - "2db04143-5e84-4665-bd9d-4bf985ad9215" + "29cd8131-5845-4cee-9229-c2ee8946f47e" ], "x-ms-correlation-request-id": [ - "2db04143-5e84-4665-bd9d-4bf985ad9215" + "29cd8131-5845-4cee-9229-c2ee8946f47e" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172558Z:2db04143-5e84-4665-bd9d-4bf985ad9215" + "WESTUS:20140911T075741Z:29cd8131-5845-4cee-9229-c2ee8946f47e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -463,14 +463,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:57 GMT" + "Thu, 11 Sep 2014 07:57:41 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourceGroups/onesdk4358/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlR3JvdXBzL29uZXNkazQzNTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5940/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazU5NDAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -487,13 +487,13 @@ "31990" ], "x-ms-request-id": [ - "a5078e9c-0f38-40cd-ab91-1ad75688741a" + "19ea5d83-395a-4730-b933-801e0c383c36" ], "x-ms-correlation-request-id": [ - "a5078e9c-0f38-40cd-ab91-1ad75688741a" + "19ea5d83-395a-4730-b933-801e0c383c36" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172559Z:a5078e9c-0f38-40cd-ab91-1ad75688741a" + "WESTUS:20140911T075742Z:19ea5d83-395a-4730-b933-801e0c383c36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,14 +502,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:59 GMT" + "Thu, 11 Sep 2014 07:57:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -523,16 +523,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "31990" ], "x-ms-request-id": [ - "f93c0934-15c0-44f6-a680-8584afeae341" + "1e461d05-1edd-4ddb-a408-ce7619ec3b10" ], "x-ms-correlation-request-id": [ - "f93c0934-15c0-44f6-a680-8584afeae341" + "1e461d05-1edd-4ddb-a408-ce7619ec3b10" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172555Z:f93c0934-15c0-44f6-a680-8584afeae341" + "WESTUS:20140911T075739Z:1e461d05-1edd-4ddb-a408-ce7619ec3b10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,14 +541,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:55 GMT" + "Thu, 11 Sep 2014 07:57:38 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -562,16 +562,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "31989" ], "x-ms-request-id": [ - "f3b4b610-7cfd-41b3-ac62-5046d2814e63" + "6ed9d9d0-3c1f-442d-9069-c6f5548411f9" ], "x-ms-correlation-request-id": [ - "f3b4b610-7cfd-41b3-ac62-5046d2814e63" + "6ed9d9d0-3c1f-442d-9069-c6f5548411f9" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172558Z:f3b4b610-7cfd-41b3-ac62-5046d2814e63" + "WESTUS:20140911T075741Z:6ed9d9d0-3c1f-442d-9069-c6f5548411f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -580,14 +580,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:57 GMT" + "Thu, 11 Sep 2014 07:57:41 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -601,16 +601,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "31988" ], "x-ms-request-id": [ - "2fdd3d5e-a140-451e-be3d-fc870e3b9f43" + "8b851df9-c492-43ae-8701-e5a29169cc54" ], "x-ms-correlation-request-id": [ - "2fdd3d5e-a140-451e-be3d-fc870e3b9f43" + "8b851df9-c492-43ae-8701-e5a29169cc54" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172559Z:2fdd3d5e-a140-451e-be3d-fc870e3b9f43" + "WESTUS:20140911T075743Z:8b851df9-c492-43ae-8701-e5a29169cc54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -619,14 +619,14 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:25:59 GMT" + "Thu, 11 Sep 2014 07:57:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/resourcegroups/onesdk4358?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL3Jlc291cmNlZ3JvdXBzL29uZXNkazQzNTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5940?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazU5NDA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -634,7 +634,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "18" + "17" ] }, "ResponseBody": "", @@ -646,16 +646,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" ], "x-ms-request-id": [ - "f0007efc-5591-440a-9fe8-b066ef1bced6" + "1911ee4b-6566-4b95-a9c5-257bf7a7cc0f" ], "x-ms-correlation-request-id": [ - "f0007efc-5591-440a-9fe8-b066ef1bced6" + "1911ee4b-6566-4b95-a9c5-257bf7a7cc0f" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172600Z:f0007efc-5591-440a-9fe8-b066ef1bced6" + "WESTUS:20140911T075744Z:1911ee4b-6566-4b95-a9c5-257bf7a7cc0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -664,17 +664,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:26:00 GMT" + "Thu, 11 Sep 2014 07:57:43 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNelU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFPVFF3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -685,7 +685,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "18" + "17" ] }, "ResponseBody": "", @@ -700,13 +700,13 @@ "31988" ], "x-ms-request-id": [ - "8ae8d1c4-7145-4b0f-b8c3-93a098e1307e" + "cfaebe9a-a06c-4430-840f-4e3f0a8d88dd" ], "x-ms-correlation-request-id": [ - "8ae8d1c4-7145-4b0f-b8c3-93a098e1307e" + "cfaebe9a-a06c-4430-840f-4e3f0a8d88dd" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172601Z:8ae8d1c4-7145-4b0f-b8c3-93a098e1307e" + "WESTUS:20140911T075744Z:cfaebe9a-a06c-4430-840f-4e3f0a8d88dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -715,17 +715,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:26:01 GMT" + "Thu, 11 Sep 2014 07:57:44 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNelU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFPVFF3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -736,7 +736,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "18" + "17" ] }, "ResponseBody": "", @@ -751,13 +751,13 @@ "31987" ], "x-ms-request-id": [ - "54051297-cb83-461d-931b-2ddb3a8a5f02" + "909cd074-738c-46f1-ae94-b6865b8fc14b" ], "x-ms-correlation-request-id": [ - "54051297-cb83-461d-931b-2ddb3a8a5f02" + "909cd074-738c-46f1-ae94-b6865b8fc14b" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172616Z:54051297-cb83-461d-931b-2ddb3a8a5f02" + "WESTUS:20140911T075759Z:909cd074-738c-46f1-ae94-b6865b8fc14b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -766,17 +766,17 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:26:16 GMT" + "Thu, 11 Sep 2014 07:57:59 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" + "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzljYmQ5MjAtYzAwYy00MjdjLTg1MmItOGFhZjM4YmFkYWViL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNelU0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1OTQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFPVFF3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -787,7 +787,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ], "client-tracking-id": [ - "18" + "17" ] }, "ResponseBody": "", @@ -799,13 +799,13 @@ "31986" ], "x-ms-request-id": [ - "7380488a-9e77-4289-be64-5c8bf1d66b4c" + "abe09c64-7fe7-40c0-b512-86cbe7f30612" ], "x-ms-correlation-request-id": [ - "7380488a-9e77-4289-be64-5c8bf1d66b4c" + "abe09c64-7fe7-40c0-b512-86cbe7f30612" ], "x-ms-routing-request-id": [ - "WESTUS:20140905T172632Z:7380488a-9e77-4289-be64-5c8bf1d66b4c" + "WESTUS:20140911T075815Z:abe09c64-7fe7-40c0-b512-86cbe7f30612" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -814,7 +814,7 @@ "no-cache" ], "Date": [ - "Fri, 05 Sep 2014 17:26:32 GMT" + "Thu, 11 Sep 2014 07:58:14 GMT" ] }, "StatusCode": 200 @@ -822,10 +822,11 @@ ], "Names": { "Test-UpdatesExistingResourceGroup": [ - "onesdk4358" + "onesdk5940" ] }, "Variables": { - "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewComplexResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewComplexResource.json index f84d8bafbe07..964c6893cf97 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewComplexResource.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewComplexResource.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31875" + "31901" ], "x-ms-request-id": [ - "7e552118-bd6d-4f2c-a6a9-b961f19a6a1b" + "c88b5772-d6a8-4e2f-96aa-89cfc78559bc" ], "x-ms-correlation-request-id": [ - "7e552118-bd6d-4f2c-a6a9-b961f19a6a1b" + "c88b5772-d6a8-4e2f-96aa-89cfc78559bc" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003155Z:7e552118-bd6d-4f2c-a6a9-b961f19a6a1b" + "WESTUS:20140911T081001Z:c88b5772-d6a8-4e2f-96aa-89cfc78559bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:55 GMT" + "Thu, 11 Sep 2014 08:10:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -49,22 +49,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31874" + "31900" ], "x-ms-request-id": [ - "c8ff89c2-ebcb-4627-9702-5bb2f4a3cb93" + "ffeda298-be04-4174-b7b4-2c2397ecb732" ], "x-ms-correlation-request-id": [ - "c8ff89c2-ebcb-4627-9702-5bb2f4a3cb93" + "ffeda298-be04-4174-b7b4-2c2397ecb732" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003155Z:c8ff89c2-ebcb-4627-9702-5bb2f4a3cb93" + "WESTUS:20140911T081001Z:ffeda298-be04-4174-b7b4-2c2397ecb732" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:55 GMT" + "Thu, 11 Sep 2014 08:10:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31873" + "31899" ], "x-ms-request-id": [ - "efa7b712-4ec1-4be8-b6da-e4c52062b9df" + "e33e2baf-449f-4379-9308-f9c847ef9b1c" ], "x-ms-correlation-request-id": [ - "efa7b712-4ec1-4be8-b6da-e4c52062b9df" + "e33e2baf-449f-4379-9308-f9c847ef9b1c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003156Z:efa7b712-4ec1-4be8-b6da-e4c52062b9df" + "WESTUS:20140911T081001Z:e33e2baf-449f-4379-9308-f9c847ef9b1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:55 GMT" + "Thu, 11 Sep 2014 08:10:01 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31871" + "31897" ], "x-ms-request-id": [ - "bcbd3ed0-a119-40ab-a732-c9588c6ffbd8" + "4383d3ff-331c-409c-89ab-3ca9b3726524" ], "x-ms-correlation-request-id": [ - "bcbd3ed0-a119-40ab-a732-c9588c6ffbd8" + "4383d3ff-331c-409c-89ab-3ca9b3726524" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003157Z:bcbd3ed0-a119-40ab-a732-c9588c6ffbd8" + "WESTUS:20140911T081003Z:4383d3ff-331c-409c-89ab-3ca9b3726524" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:57 GMT" + "Thu, 11 Sep 2014 08:10:03 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31867" + "31893" ], "x-ms-request-id": [ - "5669fd94-adef-4c60-b58d-60d09a5c99cc" + "46fa4e60-57b5-4b3b-ab03-47133f554be8" ], "x-ms-correlation-request-id": [ - "5669fd94-adef-4c60-b58d-60d09a5c99cc" + "46fa4e60-57b5-4b3b-ab03-47133f554be8" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003252Z:5669fd94-adef-4c60-b58d-60d09a5c99cc" + "WESTUS:20140911T081056Z:46fa4e60-57b5-4b3b-ab03-47133f554be8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:51 GMT" + "Thu, 11 Sep 2014 08:10:56 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -205,22 +205,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205\",\r\n \"name\": \"onesdk6205\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313\",\r\n \"name\": \"onesdk1313\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1172" + "1188" ], "x-ms-request-id": [ - "57062bf5-9ee6-4b71-af59-47c7d00ca986" + "4d36b14b-64f1-48c2-952b-27dc0473b625" ], "x-ms-correlation-request-id": [ - "57062bf5-9ee6-4b71-af59-47c7d00ca986" + "4d36b14b-64f1-48c2-952b-27dc0473b625" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003156Z:57062bf5-9ee6-4b71-af59-47c7d00ca986" + "WESTUS:20140911T081002Z:4d36b14b-64f1-48c2-952b-27dc0473b625" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:56 GMT" + "Thu, 11 Sep 2014 08:10:01 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMDUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazEzMTMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31872" + "31898" ], "x-ms-request-id": [ - "daebbcb2-2045-4ecf-a87f-31344f7a2c5d" + "2f03c55d-410a-487a-85de-bfd7ea0a0b32" ], "x-ms-correlation-request-id": [ - "daebbcb2-2045-4ecf-a87f-31344f7a2c5d" + "2f03c55d-410a-487a-85de-bfd7ea0a0b32" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003157Z:daebbcb2-2045-4ecf-a87f-31344f7a2c5d" + "WESTUS:20140911T081002Z:2f03c55d-410a-487a-85de-bfd7ea0a0b32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:56 GMT" + "Thu, 11 Sep 2014 08:10:01 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMDUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazEzMTMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -283,22 +283,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306\",\r\n \"name\": \"onesdk4306\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484\",\r\n \"name\": \"onesdk4306/onesdk5484\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967\",\r\n \"name\": \"onesdk967\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156\",\r\n \"name\": \"onesdk967/onesdk1156\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31863" + "31889" ], "x-ms-request-id": [ - "a792a3d5-5d7d-409d-af20-db4968ebe29e" + "fe212c26-2801-4ab8-ba97-cd9a1e66e546" ], "x-ms-correlation-request-id": [ - "a792a3d5-5d7d-409d-af20-db4968ebe29e" + "fe212c26-2801-4ab8-ba97-cd9a1e66e546" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003300Z:a792a3d5-5d7d-409d-af20-db4968ebe29e" + "WESTUS:20140911T081105Z:fe212c26-2801-4ab8-ba97-cd9a1e66e546" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:59 GMT" + "Thu, 11 Sep 2014 08:11:05 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -328,16 +328,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31959" + "31951" ], "x-ms-request-id": [ - "e6bdd53a-e7f9-423f-b55f-484db8757326" + "b2dbbba1-593c-41ff-adc8-dd7b7399f445" ], "x-ms-correlation-request-id": [ - "e6bdd53a-e7f9-423f-b55f-484db8757326" + "b2dbbba1-593c-41ff-adc8-dd7b7399f445" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003157Z:e6bdd53a-e7f9-423f-b55f-484db8757326" + "WESTUS:20140911T081003Z:b2dbbba1-593c-41ff-adc8-dd7b7399f445" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:57 GMT" + "Thu, 11 Sep 2014 08:10:03 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -367,13 +367,13 @@ "no-cache" ], "x-ms-request-id": [ - "ccd9043a-239d-4640-b862-8983ee21a266" + "6baeaab8-04f0-4ff5-b91f-828b125cdb35" ], "x-ms-correlation-request-id": [ - "ccd9043a-239d-4640-b862-8983ee21a266" + "6baeaab8-04f0-4ff5-b91f-828b125cdb35" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003158Z:ccd9043a-239d-4640-b862-8983ee21a266" + "WESTUS:20140911T081003Z:6baeaab8-04f0-4ff5-b91f-828b125cdb35" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -382,14 +382,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:57 GMT" + "Thu, 11 Sep 2014 08:10:03 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -397,10 +397,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306\",\r\n \"name\": \"onesdk4306\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4306.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967\",\r\n \"name\": \"onesdk967\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk967.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "56ba371e-7d6d-4e9c-b04c-7239d0103a43" + "6738fc81-9a3e-431f-80e2-77ca83d32c57" ], "X-Content-Type-Options": [ "nosniff" @@ -409,13 +409,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31869" + "31895" ], "x-ms-correlation-request-id": [ - "788d96e7-73a7-440c-be85-42bf93a675ba" + "1b9bfbb9-87ac-4e37-bdc4-720bf27b9077" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003250Z:788d96e7-73a7-440c-be85-42bf93a675ba" + "WESTUS:20140911T081055Z:1b9bfbb9-87ac-4e37-bdc4-720bf27b9077" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,7 +424,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:49 GMT" + "Thu, 11 Sep 2014 08:10:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -433,8 +433,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -442,10 +442,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306\",\r\n \"name\": \"onesdk4306\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4306.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967\",\r\n \"name\": \"onesdk967\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk967.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "c48b6e19-9ae3-441c-b291-6fe91e1da551" + "6c6fe4bc-7dbc-4c68-90fa-72b29464e966" ], "X-Content-Type-Options": [ "nosniff" @@ -454,13 +454,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31868" + "31894" ], "x-ms-correlation-request-id": [ - "f80b0153-b9e3-4f10-959d-4f66560652b0" + "90bebd6b-1bb9-4a63-8011-cea14cd3421b" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003251Z:f80b0153-b9e3-4f10-959d-4f66560652b0" + "WESTUS:20140911T081056Z:90bebd6b-1bb9-4a63-8011-cea14cd3421b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -469,7 +469,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:51 GMT" + "Thu, 11 Sep 2014 08:10:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -478,8 +478,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -487,10 +487,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306\",\r\n \"name\": \"onesdk4306\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4306.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967\",\r\n \"name\": \"onesdk967\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk967.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "c5c4c994-112e-4403-9d7f-3a6ed1261e19" + "fa4fc843-4b73-4bd1-aae4-83deb36df2c3" ], "X-Content-Type-Options": [ "nosniff" @@ -502,13 +502,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1171" + "1187" ], "x-ms-correlation-request-id": [ - "194ee5dc-f4ea-45b5-985a-c94f4d69918a" + "806008f6-7086-4ab0-a1a9-bd0ee0f0e5c3" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003250Z:194ee5dc-f4ea-45b5-985a-c94f4d69918a" + "WESTUS:20140911T081054Z:806008f6-7086-4ab0-a1a9-bd0ee0f0e5c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -517,7 +517,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:49 GMT" + "Thu, 11 Sep 2014 08:10:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -526,8 +526,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -541,16 +541,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31958" + "31950" ], "x-ms-request-id": [ - "0ab57f57-e1ee-4901-8f5d-370ade83f5ef" + "6c19633f-8d57-434d-b61f-8b2ddaf0f054" ], "x-ms-correlation-request-id": [ - "0ab57f57-e1ee-4901-8f5d-370ade83f5ef" + "6c19633f-8d57-434d-b61f-8b2ddaf0f054" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003250Z:0ab57f57-e1ee-4901-8f5d-370ade83f5ef" + "WESTUS:20140911T081055Z:6c19633f-8d57-434d-b61f-8b2ddaf0f054" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -559,14 +559,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:50 GMT" + "Thu, 11 Sep 2014 08:10:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -580,16 +580,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31957" + "31949" ], "x-ms-request-id": [ - "465f50da-456a-49d2-960e-5a60a930301e" + "65feb902-0707-4930-b736-1084982cf6d2" ], "x-ms-correlation-request-id": [ - "465f50da-456a-49d2-960e-5a60a930301e" + "65feb902-0707-4930-b736-1084982cf6d2" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003251Z:465f50da-456a-49d2-960e-5a60a930301e" + "WESTUS:20140911T081056Z:65feb902-0707-4930-b736-1084982cf6d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,14 +598,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:51 GMT" + "Thu, 11 Sep 2014 08:10:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -619,16 +619,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31954" + "31946" ], "x-ms-request-id": [ - "b33b207d-1728-42e0-82e3-85b5ff46051d" + "976e173e-a96f-425a-aec6-250b2c4d5c9a" ], "x-ms-correlation-request-id": [ - "b33b207d-1728-42e0-82e3-85b5ff46051d" + "976e173e-a96f-425a-aec6-250b2c4d5c9a" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003300Z:b33b207d-1728-42e0-82e3-85b5ff46051d" + "WESTUS:20140911T081106Z:976e173e-a96f-425a-aec6-250b2c4d5c9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,14 +637,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:00 GMT" + "Thu, 11 Sep 2014 08:11:05 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql//servers/onesdk4306/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDMwNi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql//servers/onesdk967/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrOTY3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -658,16 +658,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31952" + "31944" ], "x-ms-request-id": [ - "7d0eefa5-5d7f-4211-9333-bcbb891f8e2d" + "6c2015e1-96d3-4578-abb9-6dfb861e7624" ], "x-ms-correlation-request-id": [ - "7d0eefa5-5d7f-4211-9333-bcbb891f8e2d" + "6c2015e1-96d3-4578-abb9-6dfb861e7624" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003302Z:7d0eefa5-5d7f-4211-9333-bcbb891f8e2d" + "WESTUS:20140911T081107Z:6c2015e1-96d3-4578-abb9-6dfb861e7624" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -676,14 +676,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:01 GMT" + "Thu, 11 Sep 2014 08:11:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -697,13 +697,13 @@ "no-cache" ], "x-ms-request-id": [ - "f4165cda-0155-4a49-95ab-9b3a872f9a90" + "fc3fec37-5361-408d-b25d-882cd51a2af0" ], "x-ms-correlation-request-id": [ - "f4165cda-0155-4a49-95ab-9b3a872f9a90" + "fc3fec37-5361-408d-b25d-882cd51a2af0" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003252Z:f4165cda-0155-4a49-95ab-9b3a872f9a90" + "WESTUS:20140911T081057Z:fc3fec37-5361-408d-b25d-882cd51a2af0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -712,14 +712,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:52 GMT" + "Thu, 11 Sep 2014 08:10:57 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -727,10 +727,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484\",\r\n \"name\": \"onesdk5484\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"5048c148-f1cd-45fe-b881-3adc0be86d67\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:32:54.163Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156\",\r\n \"name\": \"onesdk1156\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"30b7b3f4-a583-48d6-b86a-ddc504fa887e\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:10:59.477Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "940b347e-7820-4497-b3e7-f59bcef308c3" + "978c8861-6da3-4b47-a5ae-72f3b817bc10" ], "X-Content-Type-Options": [ "nosniff" @@ -739,13 +739,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31865" + "31891" ], "x-ms-correlation-request-id": [ - "5f2a576b-d249-4b4d-857a-a89301c4befb" + "786b6eeb-1599-430b-8328-55bca3b8d7e1" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003257Z:5f2a576b-d249-4b4d-857a-a89301c4befb" + "WESTUS:20140911T081102Z:786b6eeb-1599-430b-8328-55bca3b8d7e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -754,7 +754,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:57 GMT" + "Thu, 11 Sep 2014 08:11:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -763,8 +763,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -772,10 +772,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484\",\r\n \"name\": \"onesdk5484\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"5048c148-f1cd-45fe-b881-3adc0be86d67\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:32:54.163Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156\",\r\n \"name\": \"onesdk1156\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"30b7b3f4-a583-48d6-b86a-ddc504fa887e\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:10:59.477Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "5f35925c-a19f-436d-8e4b-55098db36ad5" + "72a27a25-ae3e-46b4-b513-87e84494fb90" ], "X-Content-Type-Options": [ "nosniff" @@ -784,13 +784,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31864" + "31890" ], "x-ms-correlation-request-id": [ - "2e2a44f4-601d-44f8-92ac-bca6b4c6e50f" + "2e2e954a-aba4-44ad-ab38-32eec2c2a006" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003259Z:2e2a44f4-601d-44f8-92ac-bca6b4c6e50f" + "WESTUS:20140911T081105Z:2e2e954a-aba4-44ad-ab38-32eec2c2a006" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -799,7 +799,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:59 GMT" + "Thu, 11 Sep 2014 08:11:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -808,8 +808,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"edition\": \"Web\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -817,10 +817,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484\",\r\n \"name\": \"onesdk5484\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"5048c148-f1cd-45fe-b881-3adc0be86d67\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:32:54.163Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156\",\r\n \"name\": \"onesdk1156\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"30b7b3f4-a583-48d6-b86a-ddc504fa887e\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:10:59.477Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "f414e4c3-deb6-4260-bc12-c41f46149031" + "fcfe21b9-dfbe-48f2-99a9-ef443851f002" ], "X-Content-Type-Options": [ "nosniff" @@ -832,13 +832,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1170" + "1186" ], "x-ms-correlation-request-id": [ - "b9ac5d49-2887-4c27-af4c-093f9c960a12" + "e785965d-8f88-4c9c-929d-99ba89c46abb" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003255Z:b9ac5d49-2887-4c27-af4c-093f9c960a12" + "WESTUS:20140911T081100Z:e785965d-8f88-4c9c-929d-99ba89c46abb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -847,7 +847,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:55 GMT" + "Thu, 11 Sep 2014 08:10:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -856,8 +856,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -871,16 +871,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31956" + "31948" ], "x-ms-request-id": [ - "22642f04-5556-444b-8390-3e1f5f1c0674" + "125a51f4-9865-4793-9d3d-fea836f457b9" ], "x-ms-correlation-request-id": [ - "22642f04-5556-444b-8390-3e1f5f1c0674" + "125a51f4-9865-4793-9d3d-fea836f457b9" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003258Z:22642f04-5556-444b-8390-3e1f5f1c0674" + "WESTUS:20140911T081103Z:125a51f4-9865-4793-9d3d-fea836f457b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -889,14 +889,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:32:58 GMT" + "Thu, 11 Sep 2014 08:11:03 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -910,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31955" + "31947" ], "x-ms-request-id": [ - "9db26a1d-1709-45f0-8d7d-af61bd63844e" + "52d6e33d-a0b2-4826-9ab3-980b58007756" ], "x-ms-correlation-request-id": [ - "9db26a1d-1709-45f0-8d7d-af61bd63844e" + "52d6e33d-a0b2-4826-9ab3-980b58007756" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003300Z:9db26a1d-1709-45f0-8d7d-af61bd63844e" + "WESTUS:20140911T081105Z:52d6e33d-a0b2-4826-9ab3-980b58007756" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,14 +928,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:00 GMT" + "Thu, 11 Sep 2014 08:11:05 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -949,16 +949,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31953" + "31945" ], "x-ms-request-id": [ - "5f5a0136-8c1a-4682-bc3e-ca357d0c7da8" + "ee425548-4801-4db9-8528-d41b1184c127" ], "x-ms-correlation-request-id": [ - "5f5a0136-8c1a-4682-bc3e-ca357d0c7da8" + "ee425548-4801-4db9-8528-d41b1184c127" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003301Z:5f5a0136-8c1a-4682-bc3e-ca357d0c7da8" + "WESTUS:20140911T081106Z:ee425548-4801-4db9-8528-d41b1184c127" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -967,14 +967,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:01 GMT" + "Thu, 11 Sep 2014 08:11:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazYyMDUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MzA2L2RhdGFiYXNlcy9vbmVzZGs1NDg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzMTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5NjcvZGF0YWJhc2VzL29uZXNkazExNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -988,16 +988,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31951" + "31943" ], "x-ms-request-id": [ - "cfd16e9f-bea0-4828-9ef0-94842879d1dd" + "a5cd0bcd-2eb2-4b19-b6b0-d384ff3a2f86" ], "x-ms-correlation-request-id": [ - "cfd16e9f-bea0-4828-9ef0-94842879d1dd" + "a5cd0bcd-2eb2-4b19-b6b0-d384ff3a2f86" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003302Z:cfd16e9f-bea0-4828-9ef0-94842879d1dd" + "WESTUS:20140911T081108Z:a5cd0bcd-2eb2-4b19-b6b0-d384ff3a2f86" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1006,14 +1006,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:02 GMT" + "Thu, 11 Sep 2014 08:11:08 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/resources?$filter=resourceType%20eq%20'Microsoft.Sql%2Fservers'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMDUvcmVzb3VyY2VzPyRmaWx0ZXI9cmVzb3VyY2VUeXBlJTIwZXElMjAnTWljcm9zb2Z0LlNxbCUyRnNlcnZlcnMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/resources?$filter=resourceType%20eq%20'Microsoft.Sql%2Fservers'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazEzMTMvcmVzb3VyY2VzPyRmaWx0ZXI9cmVzb3VyY2VUeXBlJTIwZXElMjAnTWljcm9zb2Z0LlNxbCUyRnNlcnZlcnMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1021,22 +1021,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306\",\r\n \"name\": \"onesdk4306\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967\",\r\n \"name\": \"onesdk967\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31862" + "31888" ], "x-ms-request-id": [ - "2b74fd6c-ee91-488e-abb6-d04ab72db7a3" + "1171b97c-f9c4-45cc-88d3-2bc856cc0023" ], "x-ms-correlation-request-id": [ - "2b74fd6c-ee91-488e-abb6-d04ab72db7a3" + "1171b97c-f9c4-45cc-88d3-2bc856cc0023" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003301Z:2b74fd6c-ee91-488e-abb6-d04ab72db7a3" + "WESTUS:20140911T081107Z:1171b97c-f9c4-45cc-88d3-2bc856cc0023" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1045,14 +1045,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:01 GMT" + "Thu, 11 Sep 2014 08:11:06 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/resources?$filter=resourceType%20eq%20'Microsoft.Sql%2Fservers%2Fdatabases'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazYyMDUvcmVzb3VyY2VzPyRmaWx0ZXI9cmVzb3VyY2VUeXBlJTIwZXElMjAnTWljcm9zb2Z0LlNxbCUyRnNlcnZlcnMlMkZkYXRhYmFzZXMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/resources?$filter=resourceType%20eq%20'Microsoft.Sql%2Fservers%2Fdatabases'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazEzMTMvcmVzb3VyY2VzPyRmaWx0ZXI9cmVzb3VyY2VUeXBlJTIwZXElMjAnTWljcm9zb2Z0LlNxbCUyRnNlcnZlcnMlMkZkYXRhYmFzZXMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1060,22 +1060,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk6205/providers/Microsoft.Sql/servers/onesdk4306/databases/onesdk5484\",\r\n \"name\": \"onesdk4306/onesdk5484\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk1313/providers/Microsoft.Sql/servers/onesdk967/databases/onesdk1156\",\r\n \"name\": \"onesdk967/onesdk1156\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31861" + "31887" ], "x-ms-request-id": [ - "b97e4cab-00fc-4989-9f91-7328e4eff457" + "97682ee0-52a4-490f-b35a-0c901b1847e1" ], "x-ms-correlation-request-id": [ - "b97e4cab-00fc-4989-9f91-7328e4eff457" + "97682ee0-52a4-490f-b35a-0c901b1847e1" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003302Z:b97e4cab-00fc-4989-9f91-7328e4eff457" + "WESTUS:20140911T081107Z:97682ee0-52a4-490f-b35a-0c901b1847e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1084,7 +1084,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:33:01 GMT" + "Thu, 11 Sep 2014 08:11:07 GMT" ] }, "StatusCode": 200 @@ -1092,12 +1092,13 @@ ], "Names": { "Test-CreatesNewComplexResource": [ - "onesdk6205", - "onesdk4306", - "onesdk5484" + "onesdk1313", + "onesdk967", + "onesdk1156" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewSimpleResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewSimpleResource.json index cdf9061cd096..d8f5767605bc 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewSimpleResource.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestCreatesNewSimpleResource.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "31911" ], "x-ms-request-id": [ - "351b6137-4570-4895-a80a-f85b022d7cf7" + "506ef961-0d12-4aee-9706-a51cf8f7dc81" ], "x-ms-correlation-request-id": [ - "351b6137-4570-4895-a80a-f85b022d7cf7" + "506ef961-0d12-4aee-9706-a51cf8f7dc81" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002749Z:351b6137-4570-4895-a80a-f85b022d7cf7" + "WESTUS:20140911T080800Z:506ef961-0d12-4aee-9706-a51cf8f7dc81" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:49 GMT" + "Thu, 11 Sep 2014 08:07:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -49,22 +49,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" + "31910" ], "x-ms-request-id": [ - "1c7ad5fb-281b-4e5b-96be-f64d942137fa" + "2a80f9a8-cf72-4771-8b53-2378fb29eb3a" ], "x-ms-correlation-request-id": [ - "1c7ad5fb-281b-4e5b-96be-f64d942137fa" + "2a80f9a8-cf72-4771-8b53-2378fb29eb3a" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002750Z:1c7ad5fb-281b-4e5b-96be-f64d942137fa" + "WESTUS:20140911T080800Z:2a80f9a8-cf72-4771-8b53-2378fb29eb3a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:49 GMT" + "Thu, 11 Sep 2014 08:08:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31908" + "31909" ], "x-ms-request-id": [ - "6a15fba9-400b-48bf-98b8-37e5a5164ae4" + "c2a4456b-10e5-44bb-a95c-6af31fd87220" ], "x-ms-correlation-request-id": [ - "6a15fba9-400b-48bf-98b8-37e5a5164ae4" + "c2a4456b-10e5-44bb-a95c-6af31fd87220" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002750Z:6a15fba9-400b-48bf-98b8-37e5a5164ae4" + "WESTUS:20140911T080801Z:c2a4456b-10e5-44bb-a95c-6af31fd87220" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:50 GMT" + "Thu, 11 Sep 2014 08:08:00 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "31907" ], "x-ms-request-id": [ - "00737c08-a1c0-4fde-b8be-e0143e0f045a" + "877ce18d-d752-4c07-953f-5d7cf487e4a4" ], "x-ms-correlation-request-id": [ - "00737c08-a1c0-4fde-b8be-e0143e0f045a" + "877ce18d-d752-4c07-953f-5d7cf487e4a4" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002752Z:00737c08-a1c0-4fde-b8be-e0143e0f045a" + "WESTUS:20140911T080803Z:877ce18d-d752-4c07-953f-5d7cf487e4a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:52 GMT" + "Thu, 11 Sep 2014 08:08:02 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -166,22 +166,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801\",\r\n \"name\": \"onesdk7801\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298\",\r\n \"name\": \"onesdk5298\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1191" ], "x-ms-request-id": [ - "7de543a2-492a-4a41-b162-debb67f30344" + "1fd615f1-1e03-4761-97ba-45c3b9625b45" ], "x-ms-correlation-request-id": [ - "7de543a2-492a-4a41-b162-debb67f30344" + "1fd615f1-1e03-4761-97ba-45c3b9625b45" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002751Z:7de543a2-492a-4a41-b162-debb67f30344" + "WESTUS:20140911T080801Z:1fd615f1-1e03-4761-97ba-45c3b9625b45" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:50 GMT" + "Thu, 11 Sep 2014 08:08:00 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazc4MDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazUyOTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -211,16 +211,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" + "31908" ], "x-ms-request-id": [ - "9235dfd2-4ef1-4965-b39d-895848804ad5" + "e5d39fc1-0b5a-4a23-ae39-2ec9e692f806" ], "x-ms-correlation-request-id": [ - "9235dfd2-4ef1-4965-b39d-895848804ad5" + "e5d39fc1-0b5a-4a23-ae39-2ec9e692f806" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002751Z:9235dfd2-4ef1-4965-b39d-895848804ad5" + "WESTUS:20140911T080802Z:e5d39fc1-0b5a-4a23-ae39-2ec9e692f806" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:50 GMT" + "Thu, 11 Sep 2014 08:08:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazc4MDEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazUyOTgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -244,22 +244,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/providers/Microsoft.Sql/servers/onesdk3935\",\r\n \"name\": \"onesdk3935\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/providers/Microsoft.Sql/servers/onesdk2638\",\r\n \"name\": \"onesdk2638\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31902" + "31903" ], "x-ms-request-id": [ - "42fc3676-1c19-4778-b87f-66d6222c72da" + "7c253cec-9513-4a27-9ab1-02d70f9d5217" ], "x-ms-correlation-request-id": [ - "42fc3676-1c19-4778-b87f-66d6222c72da" + "7c253cec-9513-4a27-9ab1-02d70f9d5217" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002846Z:42fc3676-1c19-4778-b87f-66d6222c72da" + "WESTUS:20140911T080856Z:7c253cec-9513-4a27-9ab1-02d70f9d5217" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:46 GMT" + "Thu, 11 Sep 2014 08:08:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -289,16 +289,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31899" + "31955" ], "x-ms-request-id": [ - "e6ae2fca-27f5-4480-bdf1-e86075703ad5" + "7056b4b2-6025-4589-b569-68a048002c98" ], "x-ms-correlation-request-id": [ - "e6ae2fca-27f5-4480-bdf1-e86075703ad5" + "7056b4b2-6025-4589-b569-68a048002c98" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002752Z:e6ae2fca-27f5-4480-bdf1-e86075703ad5" + "WESTUS:20140911T080802Z:7056b4b2-6025-4589-b569-68a048002c98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:52 GMT" + "Thu, 11 Sep 2014 08:08:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -328,13 +328,13 @@ "no-cache" ], "x-ms-request-id": [ - "3837a1cf-db27-467c-abe9-aed52c3d8023" + "2a055768-16ae-4a89-ac8b-c94dd9f3248e" ], "x-ms-correlation-request-id": [ - "3837a1cf-db27-467c-abe9-aed52c3d8023" + "2a055768-16ae-4a89-ac8b-c94dd9f3248e" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002753Z:3837a1cf-db27-467c-abe9-aed52c3d8023" + "WESTUS:20140911T080803Z:2a055768-16ae-4a89-ac8b-c94dd9f3248e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -343,14 +343,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:52 GMT" + "Thu, 11 Sep 2014 08:08:03 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -358,10 +358,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/providers/Microsoft.Sql/servers/onesdk3935\",\r\n \"name\": \"onesdk3935\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk3935.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/providers/Microsoft.Sql/servers/onesdk2638\",\r\n \"name\": \"onesdk2638\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2638.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "5038c151-16eb-47b4-b4af-6a3dcc9db57d" + "f90fb596-3d9c-4a18-8619-711baae0bf4d" ], "X-Content-Type-Options": [ "nosniff" @@ -370,13 +370,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31904" + "31905" ], "x-ms-correlation-request-id": [ - "0587f252-955c-44a7-b1ce-a66c75483aa1" + "e47497d1-a703-42df-b014-42b3fb5142f3" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002845Z:0587f252-955c-44a7-b1ce-a66c75483aa1" + "WESTUS:20140911T080855Z:e47497d1-a703-42df-b014-42b3fb5142f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,7 +385,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:44 GMT" + "Thu, 11 Sep 2014 08:08:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -394,8 +394,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -403,10 +403,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/providers/Microsoft.Sql/servers/onesdk3935\",\r\n \"name\": \"onesdk3935\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk3935.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/providers/Microsoft.Sql/servers/onesdk2638\",\r\n \"name\": \"onesdk2638\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2638.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "dd1b53f9-9d66-4659-bc79-b28376ca282b" + "75bc4076-9288-4cd2-9c7f-c1e39822d3e9" ], "X-Content-Type-Options": [ "nosniff" @@ -415,13 +415,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31903" + "31904" ], "x-ms-correlation-request-id": [ - "043b2cf9-9f0d-48e5-a87d-b9a049622e72" + "932a8f98-c812-4819-9684-f9a314394639" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002846Z:043b2cf9-9f0d-48e5-a87d-b9a049622e72" + "WESTUS:20140911T080856Z:932a8f98-c812-4819-9684-f9a314394639" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -430,7 +430,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:46 GMT" + "Thu, 11 Sep 2014 08:08:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -439,8 +439,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n },\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { @@ -448,10 +448,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7801/providers/Microsoft.Sql/servers/onesdk3935\",\r\n \"name\": \"onesdk3935\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk3935.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk5298/providers/Microsoft.Sql/servers/onesdk2638\",\r\n \"name\": \"onesdk2638\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2638.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "a32f0417-771a-4cac-bc25-f31da15507b9" + "999d1ac4-c1e8-49f8-940c-64eddcbd40e5" ], "X-Content-Type-Options": [ "nosniff" @@ -463,13 +463,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" + "1190" ], "x-ms-correlation-request-id": [ - "441ac157-d338-459a-a8d2-fe29cc94579e" + "0e8d25bc-d191-470c-a330-71ab18025056" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002844Z:441ac157-d338-459a-a8d2-fe29cc94579e" + "WESTUS:20140911T080854Z:0e8d25bc-d191-470c-a330-71ab18025056" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,7 +478,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:44 GMT" + "Thu, 11 Sep 2014 08:08:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -487,8 +487,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -502,16 +502,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31898" + "31954" ], "x-ms-request-id": [ - "1fbe506d-bd79-4db4-bc49-9876a65e2a5c" + "0ac084e9-c7f0-4b49-8922-3788759cea4f" ], "x-ms-correlation-request-id": [ - "1fbe506d-bd79-4db4-bc49-9876a65e2a5c" + "0ac084e9-c7f0-4b49-8922-3788759cea4f" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002845Z:1fbe506d-bd79-4db4-bc49-9876a65e2a5c" + "WESTUS:20140911T080855Z:0ac084e9-c7f0-4b49-8922-3788759cea4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,14 +520,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:45 GMT" + "Thu, 11 Sep 2014 08:08:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -541,16 +541,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31897" + "31953" ], "x-ms-request-id": [ - "89fce716-63d3-4efd-bb1d-807ed1f22a6e" + "bfaa85e8-03f8-43a0-894c-517d7fe9d555" ], "x-ms-correlation-request-id": [ - "89fce716-63d3-4efd-bb1d-807ed1f22a6e" + "bfaa85e8-03f8-43a0-894c-517d7fe9d555" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002846Z:89fce716-63d3-4efd-bb1d-807ed1f22a6e" + "WESTUS:20140911T080856Z:bfaa85e8-03f8-43a0-894c-517d7fe9d555" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -559,14 +559,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:45 GMT" + "Thu, 11 Sep 2014 08:08:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7801/providers/Microsoft.Sql//servers/onesdk3935/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzkzNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk5298/providers/Microsoft.Sql//servers/onesdk2638/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazUyOTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjYzOC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -580,16 +580,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31896" + "31952" ], "x-ms-request-id": [ - "1e3a59c7-a1a2-44a8-9d99-f82f189288fb" + "7a391261-afd7-46fe-9bfd-c5b86f7d4c58" ], "x-ms-correlation-request-id": [ - "1e3a59c7-a1a2-44a8-9d99-f82f189288fb" + "7a391261-afd7-46fe-9bfd-c5b86f7d4c58" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002847Z:1e3a59c7-a1a2-44a8-9d99-f82f189288fb" + "WESTUS:20140911T080857Z:7a391261-afd7-46fe-9bfd-c5b86f7d4c58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,7 +598,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:28:46 GMT" + "Thu, 11 Sep 2014 08:08:57 GMT" ] }, "StatusCode": 200 @@ -606,11 +606,12 @@ ], "Names": { "Test-CreatesNewSimpleResource": [ - "onesdk7801", - "onesdk3935" + "onesdk5298", + "onesdk2638" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceForNonExisingResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceForNonExisingResource.json index bb6679bc116c..69f9e54710fd 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceForNonExisingResource.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceForNonExisingResource.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31894" + "31878" ], "x-ms-request-id": [ - "58ca9d1a-0644-4eb5-99dc-d317cfd618bf" + "45764ae3-8066-4efb-8fc9-ee7a88ce80da" ], "x-ms-correlation-request-id": [ - "58ca9d1a-0644-4eb5-99dc-d317cfd618bf" + "45764ae3-8066-4efb-8fc9-ee7a88ce80da" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002924Z:58ca9d1a-0644-4eb5-99dc-d317cfd618bf" + "WESTUS:20140911T081556Z:45764ae3-8066-4efb-8fc9-ee7a88ce80da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:24 GMT" + "Thu, 11 Sep 2014 08:15:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4Njk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -55,16 +55,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31893" + "31877" ], "x-ms-request-id": [ - "49dbfa39-f1f5-48ea-aad9-edce66d581db" + "01eca751-ab60-4df1-a324-466deb5b0f3f" ], "x-ms-correlation-request-id": [ - "49dbfa39-f1f5-48ea-aad9-edce66d581db" + "01eca751-ab60-4df1-a324-466deb5b0f3f" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002925Z:49dbfa39-f1f5-48ea-aad9-edce66d581db" + "WESTUS:20140911T081556Z:01eca751-ab60-4df1-a324-466deb5b0f3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:24 GMT" + "Thu, 11 Sep 2014 08:15:56 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4Njk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -88,22 +88,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk4869\",\r\n \"name\": \"onesdk4869\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk285\",\r\n \"name\": \"onesdk285\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" + "1183" ], "x-ms-request-id": [ - "f29accdc-72f9-4a03-9d52-d382e62f5892" + "254bd37f-7cd1-4b83-a50c-d0d8ae2fbebd" ], "x-ms-correlation-request-id": [ - "f29accdc-72f9-4a03-9d52-d382e62f5892" + "254bd37f-7cd1-4b83-a50c-d0d8ae2fbebd" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002925Z:f29accdc-72f9-4a03-9d52-d382e62f5892" + "WESTUS:20140911T081557Z:254bd37f-7cd1-4b83-a50c-d0d8ae2fbebd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:25 GMT" + "Thu, 11 Sep 2014 08:15:56 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk4869/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazQ4NjkvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk285/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazI4NS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31892" + "31876" ], "x-ms-request-id": [ - "d30cd14a-ac84-433f-9311-754a6ef58e6b" + "2e52ac14-789f-4fbb-a750-4a07b2e4b9de" ], "x-ms-correlation-request-id": [ - "d30cd14a-ac84-433f-9311-754a6ef58e6b" + "2e52ac14-789f-4fbb-a750-4a07b2e4b9de" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002926Z:d30cd14a-ac84-433f-9311-754a6ef58e6b" + "WESTUS:20140911T081557Z:2e52ac14-789f-4fbb-a750-4a07b2e4b9de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:25 GMT" + "Thu, 11 Sep 2014 08:15:57 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31978" + "31927" ], "x-ms-request-id": [ - "ae6e7037-c927-4ae0-bbc8-2ec42503d278" + "5d4d7288-f61a-4399-a89c-39d68f7f5011" ], "x-ms-correlation-request-id": [ - "ae6e7037-c927-4ae0-bbc8-2ec42503d278" + "5d4d7288-f61a-4399-a89c-39d68f7f5011" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002926Z:ae6e7037-c927-4ae0-bbc8-2ec42503d278" + "WESTUS:20140911T081558Z:5d4d7288-f61a-4399-a89c-39d68f7f5011" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:26 GMT" + "Thu, 11 Sep 2014 08:15:57 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869/providers/Microsoft.Web//sites/onesdk3428?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvL3NpdGVzL29uZXNkazM0Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285/providers/Microsoft.Web//sites/onesdk6363?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi8vc2l0ZXMvb25lc2RrNjM2Mz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -211,13 +211,13 @@ "no-cache" ], "x-ms-request-id": [ - "2dc2a8e5-ea21-4964-8643-5c5e33b14d9b" + "86971375-bb35-4f9f-99c0-d94313328c9e" ], "x-ms-correlation-request-id": [ - "2dc2a8e5-ea21-4964-8643-5c5e33b14d9b" + "86971375-bb35-4f9f-99c0-d94313328c9e" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002927Z:2dc2a8e5-ea21-4964-8643-5c5e33b14d9b" + "WESTUS:20140911T081558Z:86971375-bb35-4f9f-99c0-d94313328c9e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -226,14 +226,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:27 GMT" + "Thu, 11 Sep 2014 08:15:57 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869/providers/Microsoft.Sql//servers/onesdk3428?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMzQyOD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285/providers/Microsoft.Sql//servers/onesdk6363?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC8vc2VydmVycy9vbmVzZGs2MzYzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -247,13 +247,13 @@ "no-cache" ], "x-ms-request-id": [ - "0d6d4e5b-b671-4dfa-8756-93696ebfcc64" + "d51eb3c4-097a-494d-8552-7a0064d66793" ], "x-ms-correlation-request-id": [ - "0d6d4e5b-b671-4dfa-8756-93696ebfcc64" + "d51eb3c4-097a-494d-8552-7a0064d66793" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002927Z:0d6d4e5b-b671-4dfa-8756-93696ebfcc64" + "WESTUS:20140911T081558Z:d51eb3c4-097a-494d-8552-7a0064d66793" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -262,14 +262,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:27 GMT" + "Thu, 11 Sep 2014 08:15:58 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk4869/providers/Microsoft.Fake//nonexisting/onesdk3428?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5GYWtlLy9ub25leGlzdGluZy9vbmVzZGszNDI4P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk285/providers/Microsoft.Fake//nonexisting/onesdk6363?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazI4NS9wcm92aWRlcnMvTWljcm9zb2Z0LkZha2UvL25vbmV4aXN0aW5nL29uZXNkazYzNjM/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -283,13 +283,13 @@ "no-cache" ], "x-ms-request-id": [ - "5fc3c62a-29a3-4f72-8c7e-d7ece7db58a4" + "da6df6f7-5767-4ad3-a3d8-985c330de66a" ], "x-ms-correlation-request-id": [ - "5fc3c62a-29a3-4f72-8c7e-d7ece7db58a4" + "da6df6f7-5767-4ad3-a3d8-985c330de66a" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002927Z:5fc3c62a-29a3-4f72-8c7e-d7ece7db58a4" + "WESTUS:20140911T081559Z:da6df6f7-5767-4ad3-a3d8-985c330de66a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -298,7 +298,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:29:27 GMT" + "Thu, 11 Sep 2014 08:15:58 GMT" ] }, "StatusCode": 404 @@ -306,11 +306,12 @@ ], "Names": { "Test-GetResourceForNonExisingResource": [ - "onesdk4869", - "onesdk3428" + "onesdk285", + "onesdk6363" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesForNonExisingType.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesForNonExisingType.json index 7a76965d756a..f19ac2c80391 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesForNonExisingType.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesForNonExisingType.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resources?$filter=resourceType%20eq%20'Non-Existing'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ05vbi1FeGlzdGluZycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$filter=resourceType%20eq%20'Non-Existing'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ05vbi1FeGlzdGluZycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -16,16 +16,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31977" + "31964" ], "x-ms-request-id": [ - "9384bce1-c979-45ea-af6b-c904e084a7bd" + "25a5d758-b9d3-4967-8e00-d8447eb8109b" ], "x-ms-correlation-request-id": [ - "9384bce1-c979-45ea-af6b-c904e084a7bd" + "25a5d758-b9d3-4967-8e00-d8447eb8109b" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003005Z:9384bce1-c979-45ea-af6b-c904e084a7bd" + "WESTUS:20140911T081515Z:25a5d758-b9d3-4967-8e00-d8447eb8109b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,7 +34,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:05 GMT" + "Thu, 11 Sep 2014 08:15:15 GMT" ] }, "StatusCode": 200 @@ -42,6 +42,7 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromEmptyGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromEmptyGroup.json index 3d3bcb4af634..6bfb0bf6f744 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromEmptyGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromEmptyGroup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31974" + "31886" ], "x-ms-request-id": [ - "fd240326-03b4-4fe8-b400-b39feb8a56eb" + "0b4f0c91-a887-43b4-ad64-a95e5afaf6cb" ], "x-ms-correlation-request-id": [ - "fd240326-03b4-4fe8-b400-b39feb8a56eb" + "0b4f0c91-a887-43b4-ad64-a95e5afaf6cb" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002708Z:fd240326-03b4-4fe8-b400-b39feb8a56eb" + "WESTUS:20140911T081349Z:0b4f0c91-a887-43b4-ad64-a95e5afaf6cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:08 GMT" + "Thu, 11 Sep 2014 08:13:49 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk2127?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazIxMjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3167?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -55,16 +55,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31973" + "31885" ], "x-ms-request-id": [ - "2ee52d91-cdc1-457d-aaf2-339732c9bbee" + "15a63e79-d418-49d7-ba78-859cd6529a2f" ], "x-ms-correlation-request-id": [ - "2ee52d91-cdc1-457d-aaf2-339732c9bbee" + "15a63e79-d418-49d7-ba78-859cd6529a2f" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002709Z:2ee52d91-cdc1-457d-aaf2-339732c9bbee" + "WESTUS:20140911T081350Z:15a63e79-d418-49d7-ba78-859cd6529a2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:08 GMT" + "Thu, 11 Sep 2014 08:13:50 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk2127?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazIxMjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3167?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -88,22 +88,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127\",\r\n \"name\": \"onesdk2127\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167\",\r\n \"name\": \"onesdk3167\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1185" ], "x-ms-request-id": [ - "01510076-62e0-44ab-966a-14357d476cb6" + "7ebb8bf8-890d-4039-a4eb-bcbefaf95233" ], "x-ms-correlation-request-id": [ - "01510076-62e0-44ab-966a-14357d476cb6" + "7ebb8bf8-890d-4039-a4eb-bcbefaf95233" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002709Z:01510076-62e0-44ab-966a-14357d476cb6" + "WESTUS:20140911T081350Z:7ebb8bf8-890d-4039-a4eb-bcbefaf95233" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:08 GMT" + "Thu, 11 Sep 2014 08:13:50 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazIxMjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31972" + "31884" ], "x-ms-request-id": [ - "8fab5035-79bb-495e-94d4-028a020458fd" + "fb7fde1c-1799-422a-b13b-599261a975d5" ], "x-ms-correlation-request-id": [ - "8fab5035-79bb-495e-94d4-028a020458fd" + "fb7fde1c-1799-422a-b13b-599261a975d5" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002709Z:8fab5035-79bb-495e-94d4-028a020458fd" + "WESTUS:20140911T081351Z:fb7fde1c-1799-422a-b13b-599261a975d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:09 GMT" + "Thu, 11 Sep 2014 08:13:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazIxMjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31970" + "31882" ], "x-ms-request-id": [ - "9faba9bc-464c-45f6-89af-322a3a20e8c2" + "c749808c-c530-4ba0-a2cf-2776b41b45ac" ], "x-ms-correlation-request-id": [ - "9faba9bc-464c-45f6-89af-322a3a20e8c2" + "c749808c-c530-4ba0-a2cf-2776b41b45ac" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002711Z:9faba9bc-464c-45f6-89af-322a3a20e8c2" + "WESTUS:20140911T081352Z:c749808c-c530-4ba0-a2cf-2776b41b45ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:10 GMT" + "Thu, 11 Sep 2014 08:13:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazIxMjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -211,16 +211,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31969" + "31881" ], "x-ms-request-id": [ - "6b30881f-fa69-4996-a493-97e4ac621e52" + "cb6df029-f19c-40aa-bd09-02fffdd3b21b" ], "x-ms-correlation-request-id": [ - "6b30881f-fa69-4996-a493-97e4ac621e52" + "cb6df029-f19c-40aa-bd09-02fffdd3b21b" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002712Z:6b30881f-fa69-4996-a493-97e4ac621e52" + "WESTUS:20140911T081353Z:cb6df029-f19c-40aa-bd09-02fffdd3b21b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:12 GMT" + "Thu, 11 Sep 2014 08:13:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazIxMjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazMxNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31968" + "31880" ], "x-ms-request-id": [ - "10bf7451-ff0b-483e-b44a-a127e2bfcb02" + "054ad00b-a3c4-4807-81b1-56f82eaae0b1" ], "x-ms-correlation-request-id": [ - "10bf7451-ff0b-483e-b44a-a127e2bfcb02" + "054ad00b-a3c4-4807-81b1-56f82eaae0b1" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002712Z:10bf7451-ff0b-483e-b44a-a127e2bfcb02" + "WESTUS:20140911T081353Z:054ad00b-a3c4-4807-81b1-56f82eaae0b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:12 GMT" + "Thu, 11 Sep 2014 08:13:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk2127/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazIxMjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3167/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -289,16 +289,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" + "31929" ], "x-ms-request-id": [ - "38423fb5-3a58-4e9f-95cd-d1a2f2fe9f66" + "04d4653f-34bb-4378-92fc-1f50f74bbee2" ], "x-ms-correlation-request-id": [ - "38423fb5-3a58-4e9f-95cd-d1a2f2fe9f66" + "04d4653f-34bb-4378-92fc-1f50f74bbee2" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002710Z:38423fb5-3a58-4e9f-95cd-d1a2f2fe9f66" + "WESTUS:20140911T081351Z:04d4653f-34bb-4378-92fc-1f50f74bbee2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:09 GMT" + "Thu, 11 Sep 2014 08:13:51 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk2127/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazIxMjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3167/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -328,16 +328,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31979" + "31928" ], "x-ms-request-id": [ - "07c140a3-b17d-4f6b-8d73-c7b3bef1534c" + "f92e75ca-552c-44dc-a170-814f02f56d58" ], "x-ms-correlation-request-id": [ - "07c140a3-b17d-4f6b-8d73-c7b3bef1534c" + "f92e75ca-552c-44dc-a170-814f02f56d58" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002711Z:07c140a3-b17d-4f6b-8d73-c7b3bef1534c" + "WESTUS:20140911T081353Z:f92e75ca-552c-44dc-a170-814f02f56d58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:11 GMT" + "Thu, 11 Sep 2014 08:13:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk2127?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazIxMjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3167?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazMxNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -361,22 +361,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk2127\",\r\n \"name\": \"onesdk2127\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3167\",\r\n \"name\": \"onesdk3167\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31971" + "31883" ], "x-ms-request-id": [ - "6f3de679-e66f-449e-b193-2e4caf7986b7" + "c9bf0b1d-13b5-4b8c-b8f4-43e6bdc55965" ], "x-ms-correlation-request-id": [ - "6f3de679-e66f-449e-b193-2e4caf7986b7" + "c9bf0b1d-13b5-4b8c-b8f4-43e6bdc55965" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002710Z:6f3de679-e66f-449e-b193-2e4caf7986b7" + "WESTUS:20140911T081352Z:c9bf0b1d-13b5-4b8c-b8f4-43e6bdc55965" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,7 +385,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:27:10 GMT" + "Thu, 11 Sep 2014 08:13:51 GMT" ] }, "StatusCode": 200 @@ -393,10 +393,11 @@ ], "Names": { "Test-GetResourcesFromEmptyGroup": [ - "onesdk2127" + "onesdk3167" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromNonExisingGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromNonExisingGroup.json index 2416769d9bb4..a4a2536e005d 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromNonExisingGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesFromNonExisingGroup.json @@ -1,30 +1,31 @@ { "Entries": [ { - "RequestUri": "/subscriptions/1165e0f9-4535-44ce-bc6b-c73c00b5fb2c/resourcegroups/onesdk1428?api-version=2014-04-01-preview", - "RequestMethod": "HEAD", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3830/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'onesdk3830' could not be found.\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31864" + "31992" ], "x-ms-request-id": [ - "b15d25dc-a034-4bf1-b672-aefcdc7c6ed0" + "8b60c3b2-77a8-4757-a557-6bb2b0ff4f13" ], "x-ms-correlation-request-id": [ - "b15d25dc-a034-4bf1-b672-aefcdc7c6ed0" + "8b60c3b2-77a8-4757-a557-6bb2b0ff4f13" ], "x-ms-routing-request-id": [ - "CENTRALUS:20140822T002335Z:b15d25dc-a034-4bf1-b672-aefcdc7c6ed0" + "WESTUS:20140911T081452Z:8b60c3b2-77a8-4757-a557-6bb2b0ff4f13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -33,7 +34,7 @@ "no-cache" ], "Date": [ - "Fri, 22 Aug 2014 00:23:34 GMT" + "Thu, 11 Sep 2014 08:14:52 GMT" ] }, "StatusCode": 404 @@ -41,10 +42,11 @@ ], "Names": { "Test-GetResourcesFromNonExisingGroup": [ - "onesdk1428" + "onesdk3830" ] }, "Variables": { - "SubscriptionId": "1165e0f9-4535-44ce-bc6b-c73c00b5fb2c" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPiping.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPiping.json index bd13e7ae2a3a..b2379d90673e 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPiping.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31913" + "31942" ], "x-ms-request-id": [ - "3b9aae78-ad9b-47e1-a325-1ad21ecb180d" + "e4ff3af3-01a0-48ea-92ab-996be5de4209" ], "x-ms-correlation-request-id": [ - "3b9aae78-ad9b-47e1-a325-1ad21ecb180d" + "e4ff3af3-01a0-48ea-92ab-996be5de4209" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002526Z:3b9aae78-ad9b-47e1-a325-1ad21ecb180d" + "WESTUS:20140911T081156Z:e4ff3af3-01a0-48ea-92ab-996be5de4209" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:26 GMT" + "Thu, 11 Sep 2014 08:11:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -49,22 +49,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31912" + "31941" ], "x-ms-request-id": [ - "917e0bd8-ab12-47ac-9728-0cc6424b861b" + "18eb62a0-0440-4b0c-8ad0-badaaf8fa5bb" ], "x-ms-correlation-request-id": [ - "917e0bd8-ab12-47ac-9728-0cc6424b861b" + "18eb62a0-0440-4b0c-8ad0-badaaf8fa5bb" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002526Z:917e0bd8-ab12-47ac-9728-0cc6424b861b" + "WESTUS:20140911T081157Z:18eb62a0-0440-4b0c-8ad0-badaaf8fa5bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:26 GMT" + "Thu, 11 Sep 2014 08:11:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31911" + "31940" ], "x-ms-request-id": [ - "e7219e87-dda9-4007-9538-1d5ef8eeecb0" + "5c1e0a8a-2e2d-461c-969f-559333c68716" ], "x-ms-correlation-request-id": [ - "e7219e87-dda9-4007-9538-1d5ef8eeecb0" + "5c1e0a8a-2e2d-461c-969f-559333c68716" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002527Z:e7219e87-dda9-4007-9538-1d5ef8eeecb0" + "WESTUS:20140911T081157Z:5c1e0a8a-2e2d-461c-969f-559333c68716" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:27 GMT" + "Thu, 11 Sep 2014 08:11:57 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" + "31938" ], "x-ms-request-id": [ - "98b22096-c1c5-4e5d-ba95-735b3e1ed928" + "3a49c73c-8ba1-4196-afe2-3424c7d6a2c5" ], "x-ms-correlation-request-id": [ - "98b22096-c1c5-4e5d-ba95-735b3e1ed928" + "3a49c73c-8ba1-4196-afe2-3424c7d6a2c5" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002529Z:98b22096-c1c5-4e5d-ba95-735b3e1ed928" + "WESTUS:20140911T081159Z:3a49c73c-8ba1-4196-afe2-3424c7d6a2c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:29 GMT" + "Thu, 11 Sep 2014 08:11:58 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "31935" ], "x-ms-request-id": [ - "598c5e4c-1a2b-4767-b49d-a145e657f2db" + "f0d93534-7901-442d-9e1d-92b70bc45895" ], "x-ms-correlation-request-id": [ - "598c5e4c-1a2b-4767-b49d-a145e657f2db" + "f0d93534-7901-442d-9e1d-92b70bc45895" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002622Z:598c5e4c-1a2b-4767-b49d-a145e657f2db" + "WESTUS:20140911T081253Z:f0d93534-7901-442d-9e1d-92b70bc45895" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:21 GMT" + "Thu, 11 Sep 2014 08:12:53 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -205,22 +205,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251\",\r\n \"name\": \"onesdk1251\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675\",\r\n \"name\": \"onesdk3675\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1196" ], "x-ms-request-id": [ - "f875619d-a9ba-4148-97ac-af3d1f555f2b" + "cc21247f-4941-4523-bf11-adaea9fcd107" ], "x-ms-correlation-request-id": [ - "f875619d-a9ba-4148-97ac-af3d1f555f2b" + "cc21247f-4941-4523-bf11-adaea9fcd107" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002527Z:f875619d-a9ba-4148-97ac-af3d1f555f2b" + "WESTUS:20140911T081158Z:cc21247f-4941-4523-bf11-adaea9fcd107" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:27 GMT" + "Thu, 11 Sep 2014 08:11:57 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazEyNTEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM2NzUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "31939" ], "x-ms-request-id": [ - "2bb56494-1e30-4104-bf35-c93e47a15393" + "7c9b0d4c-3f86-423a-ab24-7ff920f4ad6c" ], "x-ms-correlation-request-id": [ - "2bb56494-1e30-4104-bf35-c93e47a15393" + "7c9b0d4c-3f86-423a-ab24-7ff920f4ad6c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002528Z:2bb56494-1e30-4104-bf35-c93e47a15393" + "WESTUS:20140911T081158Z:7c9b0d4c-3f86-423a-ab24-7ff920f4ad6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:27 GMT" + "Thu, 11 Sep 2014 08:11:58 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazEyNTEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM2NzUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -283,22 +283,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452\",\r\n \"name\": \"onesdk2452\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370\",\r\n \"name\": \"onesdk2452/onesdk7370\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801\",\r\n \"name\": \"onesdk8801\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589\",\r\n \"name\": \"onesdk8801/onesdk2589\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31902" + "31931" ], "x-ms-request-id": [ - "e12f6821-1679-4db8-91e0-6bd396802b12" + "d2555e6b-cefb-415b-bd96-89555fdc5683" ], "x-ms-correlation-request-id": [ - "e12f6821-1679-4db8-91e0-6bd396802b12" + "d2555e6b-cefb-415b-bd96-89555fdc5683" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002629Z:e12f6821-1679-4db8-91e0-6bd396802b12" + "WESTUS:20140911T081300Z:d2555e6b-cefb-415b-bd96-89555fdc5683" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:29 GMT" + "Thu, 11 Sep 2014 08:13:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazEyNTEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazM2NzUvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -322,22 +322,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452\",\r\n \"name\": \"onesdk2452\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370\",\r\n \"name\": \"onesdk2452/onesdk7370\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801\",\r\n \"name\": \"onesdk8801\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589\",\r\n \"name\": \"onesdk8801/onesdk2589\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31901" + "31930" ], "x-ms-request-id": [ - "b1ab4b3e-9c4a-467f-9e19-c4a28dfaab6e" + "52b50102-c612-42a9-9f90-a61344d0dbde" ], "x-ms-correlation-request-id": [ - "b1ab4b3e-9c4a-467f-9e19-c4a28dfaab6e" + "52b50102-c612-42a9-9f90-a61344d0dbde" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002630Z:b1ab4b3e-9c4a-467f-9e19-c4a28dfaab6e" + "WESTUS:20140911T081301Z:52b50102-c612-42a9-9f90-a61344d0dbde" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:29 GMT" + "Thu, 11 Sep 2014 08:13:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -367,16 +367,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" + "31998" ], "x-ms-request-id": [ - "439a625d-3af4-4781-ac5b-d23b7b0ac3bb" + "5793d583-1241-4796-9b1e-d5036e137373" ], "x-ms-correlation-request-id": [ - "439a625d-3af4-4781-ac5b-d23b7b0ac3bb" + "5793d583-1241-4796-9b1e-d5036e137373" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002528Z:439a625d-3af4-4781-ac5b-d23b7b0ac3bb" + "WESTUS:20140911T081159Z:5793d583-1241-4796-9b1e-d5036e137373" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,14 +385,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:28 GMT" + "Thu, 11 Sep 2014 08:11:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,16 +406,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31977" + "31995" ], "x-ms-request-id": [ - "980d9249-ff43-4a6f-b697-ed1ede9bcf73" + "fb40e24a-1748-4e3c-ae20-1862fb27f563" ], "x-ms-correlation-request-id": [ - "980d9249-ff43-4a6f-b697-ed1ede9bcf73" + "fb40e24a-1748-4e3c-ae20-1862fb27f563" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002630Z:980d9249-ff43-4a6f-b697-ed1ede9bcf73" + "WESTUS:20140911T081300Z:fb40e24a-1748-4e3c-ae20-1862fb27f563" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,14 +424,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:30 GMT" + "Thu, 11 Sep 2014 08:13:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql//servers/onesdk2452?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjQ1Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql//servers/onesdk8801?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODgwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -445,13 +445,13 @@ "no-cache" ], "x-ms-request-id": [ - "9714afdf-6ed7-429e-b653-2cb2e5bac069" + "fe3cb7bb-5f2e-43f9-8633-3f8b9f342f81" ], "x-ms-correlation-request-id": [ - "9714afdf-6ed7-429e-b653-2cb2e5bac069" + "fe3cb7bb-5f2e-43f9-8633-3f8b9f342f81" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002529Z:9714afdf-6ed7-429e-b653-2cb2e5bac069" + "WESTUS:20140911T081200Z:fe3cb7bb-5f2e-43f9-8633-3f8b9f342f81" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -460,14 +460,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:25:29 GMT" + "Thu, 11 Sep 2014 08:11:59 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql//servers/onesdk2452?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjQ1Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql//servers/onesdk8801?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODgwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -475,10 +475,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452\",\r\n \"name\": \"onesdk2452\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2452.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801\",\r\n \"name\": \"onesdk8801\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk8801.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "d8fefc03-368a-41ad-9c34-723321ce7c17" + "956ecebf-98a1-4611-bc37-5b3b6fd4bb96" ], "X-Content-Type-Options": [ "nosniff" @@ -487,13 +487,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" + "31936" ], "x-ms-correlation-request-id": [ - "7f228a78-68e7-4a9e-aa65-0b2ba90caac5" + "be7dee6a-d4a3-41c0-bcba-227fc9489504" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002621Z:7f228a78-68e7-4a9e-aa65-0b2ba90caac5" + "WESTUS:20140911T081252Z:be7dee6a-d4a3-41c0-bcba-227fc9489504" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,7 +502,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:20 GMT" + "Thu, 11 Sep 2014 08:12:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -511,8 +511,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql//servers/onesdk2452?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjQ1Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql//servers/onesdk8801?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODgwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -520,10 +520,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452\",\r\n \"name\": \"onesdk2452\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2452.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801\",\r\n \"name\": \"onesdk8801\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk8801.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "134745fc-3dd6-4057-b24a-4ea45e4852cf" + "d0534c9c-3b21-4aa5-9038-a662a1f78323" ], "X-Content-Type-Options": [ "nosniff" @@ -535,13 +535,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" + "1195" ], "x-ms-correlation-request-id": [ - "e75d27c4-b9b1-4007-8185-2fd0840b21c7" + "1f98e0fb-660a-4840-a28b-77c55199138c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002620Z:e75d27c4-b9b1-4007-8185-2fd0840b21c7" + "WESTUS:20140911T081251Z:1f98e0fb-660a-4840-a28b-77c55199138c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -550,7 +550,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:20 GMT" + "Thu, 11 Sep 2014 08:12:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,8 +559,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql//servers/onesdk2452/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjQ1Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql//servers/onesdk8801/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -574,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31979" + "31997" ], "x-ms-request-id": [ - "43e9d5dd-f3fd-4eef-b5bf-7b55dbf6c3a7" + "65e3877d-f474-48f8-9016-a53ee6e114b9" ], "x-ms-correlation-request-id": [ - "43e9d5dd-f3fd-4eef-b5bf-7b55dbf6c3a7" + "65e3877d-f474-48f8-9016-a53ee6e114b9" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002621Z:43e9d5dd-f3fd-4eef-b5bf-7b55dbf6c3a7" + "WESTUS:20140911T081252Z:65e3877d-f474-48f8-9016-a53ee6e114b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,14 +592,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:21 GMT" + "Thu, 11 Sep 2014 08:12:51 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql//servers/onesdk2452/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrMjQ1Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql//servers/onesdk8801/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -613,16 +613,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31976" + "31994" ], "x-ms-request-id": [ - "2c12e360-74fc-434e-906b-8f6436c34ab7" + "a04ba2c2-edf9-47ae-a9b5-9bd0d04fba5c" ], "x-ms-correlation-request-id": [ - "2c12e360-74fc-434e-906b-8f6436c34ab7" + "a04ba2c2-edf9-47ae-a9b5-9bd0d04fba5c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002631Z:2c12e360-74fc-434e-906b-8f6436c34ab7" + "WESTUS:20140911T081301Z:a04ba2c2-edf9-47ae-a9b5-9bd0d04fba5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -631,14 +631,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:30 GMT" + "Thu, 11 Sep 2014 08:13:00 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyNDUyL2RhdGFiYXNlcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4ODAxL2RhdGFiYXNlcy9vbmVzZGsyNTg5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -652,13 +652,13 @@ "no-cache" ], "x-ms-request-id": [ - "7abddb28-6cb6-44cc-b69b-a7da8cc5f94d" + "73495993-ac3e-4a10-b43c-5a08197bafd1" ], "x-ms-correlation-request-id": [ - "7abddb28-6cb6-44cc-b69b-a7da8cc5f94d" + "73495993-ac3e-4a10-b43c-5a08197bafd1" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002622Z:7abddb28-6cb6-44cc-b69b-a7da8cc5f94d" + "WESTUS:20140911T081253Z:73495993-ac3e-4a10-b43c-5a08197bafd1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -667,14 +667,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:21 GMT" + "Thu, 11 Sep 2014 08:12:53 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyNDUyL2RhdGFiYXNlcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4ODAxL2RhdGFiYXNlcy9vbmVzZGsyNTg5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -682,10 +682,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370\",\r\n \"name\": \"onesdk7370\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"e7efa519-501a-4ed1-8fd0-f2e68d199312\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:26:25.333Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589\",\r\n \"name\": \"onesdk2589\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"4c8bad64-d8ba-4883-8bcb-e2298b580ccf\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:12:56.167Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "9e0b47eb-1eea-47c3-97cd-4b9fff868fa8" + "0b03bdde-2b0a-4c4b-ae54-6dcbae7869a3" ], "X-Content-Type-Options": [ "nosniff" @@ -694,13 +694,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31904" + "31933" ], "x-ms-correlation-request-id": [ - "b66a39f8-153e-41ff-bad0-494b16a9c53f" + "0922cbe9-1c0f-4b4c-af70-151abaf0895d" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002628Z:b66a39f8-153e-41ff-bad0-494b16a9c53f" + "WESTUS:20140911T081259Z:0922cbe9-1c0f-4b4c-af70-151abaf0895d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -709,7 +709,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:28 GMT" + "Thu, 11 Sep 2014 08:12:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -718,8 +718,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyNDUyL2RhdGFiYXNlcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4ODAxL2RhdGFiYXNlcy9vbmVzZGsyNTg5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"edition\": \"Web\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -727,10 +727,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370\",\r\n \"name\": \"onesdk7370\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"e7efa519-501a-4ed1-8fd0-f2e68d199312\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:26:25.333Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589\",\r\n \"name\": \"onesdk2589\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"4c8bad64-d8ba-4883-8bcb-e2298b580ccf\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:12:56.167Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "ece3899b-5e4a-4cc7-901f-1f18f2f2fdc9" + "a80c1270-783d-42ec-a3be-f1056f94ba08" ], "X-Content-Type-Options": [ "nosniff" @@ -742,13 +742,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" + "1194" ], "x-ms-correlation-request-id": [ - "87aaf1ab-c5b0-48f8-923a-625b39fe6207" + "7ba49563-0d3c-4cba-a816-f119a76341f8" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002626Z:87aaf1ab-c5b0-48f8-923a-625b39fe6207" + "WESTUS:20140911T081257Z:7ba49563-0d3c-4cba-a816-f119a76341f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -757,7 +757,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:25 GMT" + "Thu, 11 Sep 2014 08:12:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -766,8 +766,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyNDUyL2RhdGFiYXNlcy9vbmVzZGs3MzcwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4ODAxL2RhdGFiYXNlcy9vbmVzZGsyNTg5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -781,16 +781,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31978" + "31996" ], "x-ms-request-id": [ - "1aec0c5a-092e-481d-a667-669979703e2e" + "e1e6c3da-7756-4812-ad1c-2f5d7d9e012c" ], "x-ms-correlation-request-id": [ - "1aec0c5a-092e-481d-a667-669979703e2e" + "e1e6c3da-7756-4812-ad1c-2f5d7d9e012c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002628Z:1aec0c5a-092e-481d-a667-669979703e2e" + "WESTUS:20140911T081259Z:e1e6c3da-7756-4812-ad1c-2f5d7d9e012c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -799,14 +799,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:28 GMT" + "Thu, 11 Sep 2014 08:12:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251/providers/Microsoft.Sql/servers/onesdk2452/databases/onesdk7370/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyNDUyL2RhdGFiYXNlcy9vbmVzZGs3MzcwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675/providers/Microsoft.Sql/servers/onesdk8801/databases/onesdk2589/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4ODAxL2RhdGFiYXNlcy9vbmVzZGsyNTg5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -820,16 +820,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31975" + "31993" ], "x-ms-request-id": [ - "d0011ce6-cefb-4e6f-842c-a403b129a1a7" + "15a308bf-222b-406e-9c51-edd209d29644" ], "x-ms-correlation-request-id": [ - "d0011ce6-cefb-4e6f-842c-a403b129a1a7" + "15a308bf-222b-406e-9c51-edd209d29644" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002631Z:d0011ce6-cefb-4e6f-842c-a403b129a1a7" + "WESTUS:20140911T081302Z:15a308bf-222b-406e-9c51-edd209d29644" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -838,14 +838,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:31 GMT" + "Thu, 11 Sep 2014 08:13:02 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk1251?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk3675?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazM2NzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -853,22 +853,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk1251\",\r\n \"name\": \"onesdk1251\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk3675\",\r\n \"name\": \"onesdk3675\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31903" + "31932" ], "x-ms-request-id": [ - "9ca5760e-5717-40a3-96a5-5db72e23cdf5" + "c066ba36-9fe8-49a8-bde3-dc49022a51d5" ], "x-ms-correlation-request-id": [ - "9ca5760e-5717-40a3-96a5-5db72e23cdf5" + "c066ba36-9fe8-49a8-bde3-dc49022a51d5" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T002629Z:9ca5760e-5717-40a3-96a5-5db72e23cdf5" + "WESTUS:20140911T081300Z:c066ba36-9fe8-49a8-bde3-dc49022a51d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -877,7 +877,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:26:28 GMT" + "Thu, 11 Sep 2014 08:12:59 GMT" ] }, "StatusCode": 200 @@ -885,12 +885,13 @@ ], "Names": { "Test-GetResourcesViaPiping": [ - "onesdk1251", - "onesdk2452", - "onesdk7370" + "onesdk3675", + "onesdk8801", + "onesdk2589" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPipingFromAnotherResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPipingFromAnotherResource.json index 0f5ffd62af9d..1a3ae4c62500 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPipingFromAnotherResource.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourcesViaPipingFromAnotherResource.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,22 +10,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31888" + "31926" ], "x-ms-request-id": [ - "c05ef666-24c5-42dd-b722-65302041f63e" + "eaba0fe9-d5e8-464d-a265-3fdd8af844bc" ], "x-ms-correlation-request-id": [ - "c05ef666-24c5-42dd-b722-65302041f63e" + "eaba0fe9-d5e8-464d-a265-3fdd8af844bc" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003011Z:c05ef666-24c5-42dd-b722-65302041f63e" + "WESTUS:20140911T081646Z:eaba0fe9-d5e8-464d-a265-3fdd8af844bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -34,14 +34,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:11 GMT" + "Thu, 11 Sep 2014 08:16:46 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -49,22 +49,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourcecontrols\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31887" + "31925" ], "x-ms-request-id": [ - "4b2632f8-eef1-4d80-8c8e-e52ac3db93e1" + "38743b4f-167b-45e4-a32d-3ab1574cf862" ], "x-ms-correlation-request-id": [ - "4b2632f8-eef1-4d80-8c8e-e52ac3db93e1" + "38743b4f-167b-45e4-a32d-3ab1574cf862" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003012Z:4b2632f8-eef1-4d80-8c8e-e52ac3db93e1" + "WESTUS:20140911T081648Z:38743b4f-167b-45e4-a32d-3ab1574cf862" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -73,14 +73,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:11 GMT" + "Thu, 11 Sep 2014 08:16:47 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -94,16 +94,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31886" + "31924" ], "x-ms-request-id": [ - "26c11c94-d8e8-4f86-9e0f-0569c9e63e27" + "e6f5da2e-5c00-40c1-b837-2b6c62f31a67" ], "x-ms-correlation-request-id": [ - "26c11c94-d8e8-4f86-9e0f-0569c9e63e27" + "e6f5da2e-5c00-40c1-b837-2b6c62f31a67" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003012Z:26c11c94-d8e8-4f86-9e0f-0569c9e63e27" + "WESTUS:20140911T081648Z:e6f5da2e-5c00-40c1-b837-2b6c62f31a67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,14 +112,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:12 GMT" + "Thu, 11 Sep 2014 08:16:47 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -133,16 +133,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31884" + "31922" ], "x-ms-request-id": [ - "603f6468-fcdb-456f-9de4-03a363e3e6ed" + "23c169aa-fb05-4d97-b9b2-b37abc6d2b4a" ], "x-ms-correlation-request-id": [ - "603f6468-fcdb-456f-9de4-03a363e3e6ed" + "23c169aa-fb05-4d97-b9b2-b37abc6d2b4a" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003015Z:603f6468-fcdb-456f-9de4-03a363e3e6ed" + "WESTUS:20140911T081650Z:23c169aa-fb05-4d97-b9b2-b37abc6d2b4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -151,14 +151,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:15 GMT" + "Thu, 11 Sep 2014 08:16:50 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -172,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31881" + "31919" ], "x-ms-request-id": [ - "d68d97ce-217d-4ee2-927b-5ca937e97b05" + "e3f16f63-14c9-44cd-a449-57f25b9272c1" ], "x-ms-correlation-request-id": [ - "d68d97ce-217d-4ee2-927b-5ca937e97b05" + "e3f16f63-14c9-44cd-a449-57f25b9272c1" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003108Z:d68d97ce-217d-4ee2-927b-5ca937e97b05" + "WESTUS:20140911T081742Z:e3f16f63-14c9-44cd-a449-57f25b9272c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:08 GMT" + "Thu, 11 Sep 2014 08:17:42 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -205,22 +205,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572\",\r\n \"name\": \"onesdk7572\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053\",\r\n \"name\": \"onesdk7053\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1175" + "1193" ], "x-ms-request-id": [ - "fdcae984-236c-4e89-ab2d-9b9f6e037f9c" + "00e72564-a40f-47cc-aa19-ca9a73eaef75" ], "x-ms-correlation-request-id": [ - "fdcae984-236c-4e89-ab2d-9b9f6e037f9c" + "00e72564-a40f-47cc-aa19-ca9a73eaef75" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003013Z:fdcae984-236c-4e89-ab2d-9b9f6e037f9c" + "WESTUS:20140911T081648Z:00e72564-a40f-47cc-aa19-ca9a73eaef75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -229,14 +229,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:13 GMT" + "Thu, 11 Sep 2014 08:16:48 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazc1NzIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazcwNTMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -250,16 +250,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31885" + "31923" ], "x-ms-request-id": [ - "abe295e1-3140-432e-a961-4126b474bd70" + "4162c480-e2e5-4ef8-9e98-8dc290484f9c" ], "x-ms-correlation-request-id": [ - "abe295e1-3140-432e-a961-4126b474bd70" + "4162c480-e2e5-4ef8-9e98-8dc290484f9c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003014Z:abe295e1-3140-432e-a961-4126b474bd70" + "WESTUS:20140911T081649Z:4162c480-e2e5-4ef8-9e98-8dc290484f9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -268,14 +268,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:13 GMT" + "Thu, 11 Sep 2014 08:16:48 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL29uZXNkazc1NzIvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlR3JvdXBzL29uZXNkazcwNTMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -283,22 +283,22 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010\",\r\n \"name\": \"onesdk4010\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157\",\r\n \"name\": \"onesdk4010/onesdk4157\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259\",\r\n \"name\": \"onesdk8259\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603\",\r\n \"name\": \"onesdk8259/onesdk8603\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31878" + "31916" ], "x-ms-request-id": [ - "2854408c-cc0f-4f7e-9c22-1c04e38a48c3" + "30ac5a3a-e3cc-47ed-bb32-1434a2adfe1c" ], "x-ms-correlation-request-id": [ - "2854408c-cc0f-4f7e-9c22-1c04e38a48c3" + "30ac5a3a-e3cc-47ed-bb32-1434a2adfe1c" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003114Z:2854408c-cc0f-4f7e-9c22-1c04e38a48c3" + "WESTUS:20140911T081750Z:30ac5a3a-e3cc-47ed-bb32-1434a2adfe1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,14 +307,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:14 GMT" + "Thu, 11 Sep 2014 08:17:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -328,16 +328,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31967" + "31990" ], "x-ms-request-id": [ - "b89d9af1-4b73-4648-80f7-d8c19e68f0b1" + "2634ba85-8814-4f26-97ea-a3a06f6de764" ], "x-ms-correlation-request-id": [ - "b89d9af1-4b73-4648-80f7-d8c19e68f0b1" + "2634ba85-8814-4f26-97ea-a3a06f6de764" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003014Z:b89d9af1-4b73-4648-80f7-d8c19e68f0b1" + "WESTUS:20140911T081649Z:2634ba85-8814-4f26-97ea-a3a06f6de764" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -346,14 +346,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:14 GMT" + "Thu, 11 Sep 2014 08:16:49 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -367,13 +367,13 @@ "no-cache" ], "x-ms-request-id": [ - "29b53fde-53b3-4f41-94fb-eb2edda470bc" + "946514a5-1f2f-4adc-9e5e-d51d11a4ce37" ], "x-ms-correlation-request-id": [ - "29b53fde-53b3-4f41-94fb-eb2edda470bc" + "946514a5-1f2f-4adc-9e5e-d51d11a4ce37" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003015Z:29b53fde-53b3-4f41-94fb-eb2edda470bc" + "WESTUS:20140911T081650Z:946514a5-1f2f-4adc-9e5e-d51d11a4ce37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -382,14 +382,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:30:15 GMT" + "Thu, 11 Sep 2014 08:16:50 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -397,10 +397,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010\",\r\n \"name\": \"onesdk4010\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4010.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259\",\r\n \"name\": \"onesdk8259\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk8259.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "026c938d-3c06-4d89-8a2b-0ac47e3b066d" + "44b5c9e0-3fb9-44dd-87a5-a5368a1bffd9" ], "X-Content-Type-Options": [ "nosniff" @@ -409,13 +409,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31882" + "31920" ], "x-ms-correlation-request-id": [ - "3347e4ac-15e5-4d02-8f1a-5b05255c0920" + "affb5c10-1249-46b7-92c0-eed548df17a4" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003107Z:3347e4ac-15e5-4d02-8f1a-5b05255c0920" + "WESTUS:20140911T081742Z:affb5c10-1249-46b7-92c0-eed548df17a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,7 +424,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:06 GMT" + "Thu, 11 Sep 2014 08:17:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -433,8 +433,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -442,10 +442,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010\",\r\n \"name\": \"onesdk4010\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4010.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259\",\r\n \"name\": \"onesdk8259\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk8259.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": null,\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "998cf2e0-2e5a-48d4-b58c-d52c677cc539" + "909b0ab8-35ba-4a2b-bcf3-9c4ed517789d" ], "X-Content-Type-Options": [ "nosniff" @@ -454,13 +454,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31877" + "31915" ], "x-ms-correlation-request-id": [ - "7f12fc25-157c-4fee-babf-cdc21d243fed" + "7fe9665e-932d-489f-a2f9-fb21d40d02d3" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003115Z:7f12fc25-157c-4fee-babf-cdc21d243fed" + "WESTUS:20140911T081751Z:7fe9665e-932d-489f-a2f9-fb21d40d02d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -469,7 +469,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:15 GMT" + "Thu, 11 Sep 2014 08:17:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -478,8 +478,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -487,10 +487,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010\",\r\n \"name\": \"onesdk4010\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4010.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259\",\r\n \"name\": \"onesdk8259\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk8259.database.windows.net\",\r\n \"administratorLogin\": \"adminuser\",\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"version\": \"2.0\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "389c42d3-2331-4bac-a17c-fd97a82bf9b3" + "57b2d559-9f8a-4a42-9b4e-25019cdd17f5" ], "X-Content-Type-Options": [ "nosniff" @@ -502,13 +502,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1174" + "1192" ], "x-ms-correlation-request-id": [ - "0472b707-18f9-4211-b7d6-22caad5122f0" + "37d77ec6-d15f-4336-b5da-d55a6147c733" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003106Z:0472b707-18f9-4211-b7d6-22caad5122f0" + "WESTUS:20140911T081741Z:37d77ec6-d15f-4336-b5da-d55a6147c733" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -517,7 +517,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:06 GMT" + "Thu, 11 Sep 2014 08:17:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -526,8 +526,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -541,16 +541,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31966" + "31989" ], "x-ms-request-id": [ - "f7dfed9d-14aa-48d7-9e57-fa721ef07a4d" + "cb8b5060-d635-4026-815c-8f4e7715ceba" ], "x-ms-correlation-request-id": [ - "f7dfed9d-14aa-48d7-9e57-fa721ef07a4d" + "cb8b5060-d635-4026-815c-8f4e7715ceba" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003107Z:f7dfed9d-14aa-48d7-9e57-fa721ef07a4d" + "WESTUS:20140911T081742Z:cb8b5060-d635-4026-815c-8f4e7715ceba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -559,14 +559,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:07 GMT" + "Thu, 11 Sep 2014 08:17:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -580,16 +580,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31964" + "31987" ], "x-ms-request-id": [ - "6a6ab66e-c28c-47fa-b404-b3743820aeb6" + "68c5f5b0-b161-441a-b6de-76e4f67ccedc" ], "x-ms-correlation-request-id": [ - "6a6ab66e-c28c-47fa-b404-b3743820aeb6" + "68c5f5b0-b161-441a-b6de-76e4f67ccedc" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003114Z:6a6ab66e-c28c-47fa-b404-b3743820aeb6" + "WESTUS:20140911T081750Z:68c5f5b0-b161-441a-b6de-76e4f67ccedc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,14 +598,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:14 GMT" + "Thu, 11 Sep 2014 08:17:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql//servers/onesdk4010/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrNDAxMC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql//servers/onesdk8259/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvL3NlcnZlcnMvb25lc2RrODI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -619,16 +619,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31962" + "31985" ], "x-ms-request-id": [ - "4e62a259-9223-4431-b7a2-99c6d083f606" + "ddca468c-e6f3-4269-becd-56bbde0d7a9a" ], "x-ms-correlation-request-id": [ - "4e62a259-9223-4431-b7a2-99c6d083f606" + "ddca468c-e6f3-4269-becd-56bbde0d7a9a" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003116Z:4e62a259-9223-4431-b7a2-99c6d083f606" + "WESTUS:20140911T081752Z:ddca468c-e6f3-4269-becd-56bbde0d7a9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,14 +637,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:15 GMT" + "Thu, 11 Sep 2014 08:17:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -658,13 +658,13 @@ "no-cache" ], "x-ms-request-id": [ - "3fd8dd81-c3d8-4c1f-a9d0-e5c030bbee5e" + "af890f42-f1a6-4744-a5b5-71e58fcb3b47" ], "x-ms-correlation-request-id": [ - "3fd8dd81-c3d8-4c1f-a9d0-e5c030bbee5e" + "af890f42-f1a6-4744-a5b5-71e58fcb3b47" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003108Z:3fd8dd81-c3d8-4c1f-a9d0-e5c030bbee5e" + "WESTUS:20140911T081743Z:af890f42-f1a6-4744-a5b5-71e58fcb3b47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -673,14 +673,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:08 GMT" + "Thu, 11 Sep 2014 08:17:42 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -688,10 +688,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157\",\r\n \"name\": \"onesdk4157\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"ebb571bf-c2bb-4689-820c-585674e09c90\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:31:11.387Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603\",\r\n \"name\": \"onesdk8603\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"da152c4b-9c91-4013-aaa2-15ac799a583b\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:17:45.717Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "e1efd2e5-6a24-4955-956a-a013a50fc0fa" + "a3835334-ed5f-4ba4-8c31-ced0294d273e" ], "X-Content-Type-Options": [ "nosniff" @@ -700,13 +700,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31879" + "31917" ], "x-ms-correlation-request-id": [ - "05ce2ba4-745f-48ba-9928-f95e1e76c6e9" + "fc3fc8f4-baea-49be-9ff2-68512816645e" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003113Z:05ce2ba4-745f-48ba-9928-f95e1e76c6e9" + "WESTUS:20140911T081748Z:fc3fc8f4-baea-49be-9ff2-68512816645e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -715,7 +715,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:13 GMT" + "Thu, 11 Sep 2014 08:17:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -724,8 +724,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -733,10 +733,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157\",\r\n \"name\": \"onesdk4157\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"ebb571bf-c2bb-4689-820c-585674e09c90\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:31:11.387Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603\",\r\n \"name\": \"onesdk8603\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"da152c4b-9c91-4013-aaa2-15ac799a583b\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:17:45.717Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "e9e5dc91-d372-437f-97db-8982c64a2347" + "8076d553-35bb-4039-9088-4b2ed0a5f0a5" ], "X-Content-Type-Options": [ "nosniff" @@ -745,13 +745,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31876" + "31914" ], "x-ms-correlation-request-id": [ - "087b5718-b59a-4128-abee-f417265ee721" + "99ebbbc8-ba24-4353-883c-5ff4fbde2e97" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003117Z:087b5718-b59a-4128-abee-f417265ee721" + "WESTUS:20140911T081754Z:99ebbbc8-ba24-4353-883c-5ff4fbde2e97" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -760,7 +760,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:17 GMT" + "Thu, 11 Sep 2014 08:17:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -769,8 +769,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"edition\": \"Web\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"tags\": {}\r\n}", "RequestHeaders": { @@ -778,10 +778,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157\",\r\n \"name\": \"onesdk4157\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"ebb571bf-c2bb-4689-820c-585674e09c90\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-04T00:31:11.387Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603\",\r\n \"name\": \"onesdk8603\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Brazil South\",\r\n \"properties\": {\r\n \"databaseId\": \"da152c4b-9c91-4013-aaa2-15ac799a583b\",\r\n \"edition\": \"Web\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Shared\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"1073741824\",\r\n \"creationDate\": \"2014-09-11T08:17:45.717Z\",\r\n \"currentServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\",\r\n \"requestedServiceObjectiveId\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n }\r\n}", "ResponseHeaders": { "x-ms-request-id": [ - "4f73ddeb-5b24-4e32-a86c-7768dc5bded7" + "95db6c92-8b27-48e4-ba83-4a3dd2daff28" ], "X-Content-Type-Options": [ "nosniff" @@ -793,13 +793,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1173" + "1191" ], "x-ms-correlation-request-id": [ - "738b4dc4-d14e-4de2-a358-e13fba707a29" + "af0e97e0-3e07-4a9a-9088-660441bd6efd" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003111Z:738b4dc4-d14e-4de2-a358-e13fba707a29" + "WESTUS:20140911T081747Z:af0e97e0-3e07-4a9a-9088-660441bd6efd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -808,7 +808,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:11 GMT" + "Thu, 11 Sep 2014 08:17:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -817,8 +817,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -832,16 +832,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31965" + "31988" ], "x-ms-request-id": [ - "09dd05a5-6f08-45d3-aadc-40af9f851fb8" + "5def5d7b-2d95-4294-a36c-0dd34912d870" ], "x-ms-correlation-request-id": [ - "09dd05a5-6f08-45d3-aadc-40af9f851fb8" + "5def5d7b-2d95-4294-a36c-0dd34912d870" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003114Z:09dd05a5-6f08-45d3-aadc-40af9f851fb8" + "WESTUS:20140911T081749Z:5def5d7b-2d95-4294-a36c-0dd34912d870" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -850,14 +850,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:14 GMT" + "Thu, 11 Sep 2014 08:17:49 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -871,16 +871,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31963" + "31986" ], "x-ms-request-id": [ - "a778075b-f9f7-4ed1-997b-8c91c90bd3db" + "ac1df56c-8d3b-4519-9149-26f655724240" ], "x-ms-correlation-request-id": [ - "a778075b-f9f7-4ed1-997b-8c91c90bd3db" + "ac1df56c-8d3b-4519-9149-26f655724240" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003115Z:a778075b-f9f7-4ed1-997b-8c91c90bd3db" + "WESTUS:20140911T081750Z:ac1df56c-8d3b-4519-9149-26f655724240" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -889,14 +889,14 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:15 GMT" + "Thu, 11 Sep 2014 08:17:50 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/onesdk7572/providers/Microsoft.Sql/servers/onesdk4010/databases/onesdk4157/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL29uZXNkazc1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0MDEwL2RhdGFiYXNlcy9vbmVzZGs0MTU3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/onesdk7053/providers/Microsoft.Sql/servers/onesdk8259/databases/onesdk8603/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGIxYWI2ZjAtNDc2OS00YjI3LTkzMGUtMDFlMmVmOWMxMjNjL3Jlc291cmNlZ3JvdXBzL29uZXNkazcwNTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs4MjU5L2RhdGFiYXNlcy9vbmVzZGs4NjAzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -910,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31961" + "31984" ], "x-ms-request-id": [ - "fbfcf52d-cdb3-4355-8bb9-d8ea4276829f" + "46bdce9d-ba75-4f48-abaf-4217bde443df" ], "x-ms-correlation-request-id": [ - "fbfcf52d-cdb3-4355-8bb9-d8ea4276829f" + "46bdce9d-ba75-4f48-abaf-4217bde443df" ], "x-ms-routing-request-id": [ - "WESTUS:20140904T003118Z:fbfcf52d-cdb3-4355-8bb9-d8ea4276829f" + "WESTUS:20140911T081755Z:46bdce9d-ba75-4f48-abaf-4217bde443df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +928,7 @@ "no-cache" ], "Date": [ - "Thu, 04 Sep 2014 00:31:18 GMT" + "Thu, 11 Sep 2014 08:17:54 GMT" ] }, "StatusCode": 200 @@ -936,12 +936,13 @@ ], "Names": { "Test-GetResourcesViaPipingFromAnotherResource": [ - "onesdk7572", - "onesdk4010", - "onesdk4157" + "onesdk7053", + "onesdk8259", + "onesdk8603" ] }, "Variables": { - "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json new file mode 100644 index 000000000000..e65ba421d4b3 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json @@ -0,0 +1,1561 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHM/JmFwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"1ddba6df-e959-456b-8f02-50252ece007f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of admins\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admingroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"481689dd-0a1c-44d0-a848-a02e7d591a3a\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"2ff5c0e4-40cf-48b6-be7e-174615c4956d\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"2nd group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup2\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"46f915be-2f40-4908-8c6b-9a0232567640\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"8fd46a09-454e-41f1-b70f-f28331b12a31\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"an empty group\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"emptygroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"9764488b-bdf2-4169-8045-916fc8083f3d\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"d5fbb343-cf1d-47bb-9aa8-5c3dd57b336f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of owners\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"ownergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"d9dc3124-a996-44d6-9049-3f379194fd1c\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "4e39792c-9263-4e51-ab7b-58a21ec87566" + ], + "client-request-id": [ + "c48d3a86-84c5-41de-995a-d6628de7bc0e" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Izt6DXBwvL_zKi8izWa7W7KhhdUD-S3mBdB0URB-_pfLwcO2hzoSiLegrG-I9s4BRAPGF3IMDTXZYqIkybeMub2gZYrSsB3oeo92JEYdVw8._WgFkFGZ8-vgA-toErMdnGVOuRTrzTHasWLx3u_xtLw" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "1197b599-380e-4640-abe9-23804723ea29" + ], + "x-ms-correlation-request-id": [ + "1197b599-380e-4640-abe9-23804723ea29" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:1197b599-380e-4640-abe9-23804723ea29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "040cb9d1-dde1-42ce-90d4-aead73e5c244" + ], + "x-ms-correlation-request-id": [ + "040cb9d1-dde1-42ce-90d4-aead73e5c244" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:040cb9d1-dde1-42ce-90d4-aead73e5c244" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NvbnRyaWIxL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/CPUHigh default01\",\r\n \"name\": \"CPUHigh default01\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ForbiddenRequests wscontrib002\",\r\n \"name\": \"ForbiddenRequests wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ServerErrors wscontrib002\",\r\n \"name\": \"ServerErrors wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/autoscalesettings/default01-contrib1\",\r\n \"name\": \"default01-contrib1\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/components/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverFarms/default01\",\r\n \"name\": \"default01\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "b1fa901f-c28e-4ccd-bd52-ef040e238ba5" + ], + "x-ms-correlation-request-id": [ + "b1fa901f-c28e-4ccd-bd52-ef040e238ba5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:b1fa901f-c28e-4ccd-bd52-ef040e238ba5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/CPUHigh%20default01/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvQ1BVSGlnaCUyMGRlZmF1bHQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31902" + ], + "x-ms-request-id": [ + "18d2ad3e-1a23-4545-967f-e806126033dd" + ], + "x-ms-correlation-request-id": [ + "18d2ad3e-1a23-4545-967f-e806126033dd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:18d2ad3e-1a23-4545-967f-e806126033dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/ForbiddenRequests%20wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvRm9yYmlkZGVuUmVxdWVzdHMlMjB3c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31901" + ], + "x-ms-request-id": [ + "0eb4abee-6f23-40f1-83b6-82732e73a448" + ], + "x-ms-correlation-request-id": [ + "0eb4abee-6f23-40f1-83b6-82732e73a448" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:0eb4abee-6f23-40f1-83b6-82732e73a448" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/ServerErrors%20wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvU2VydmVyRXJyb3JzJTIwd3Njb250cmliMDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31900" + ], + "x-ms-request-id": [ + "9361dfd3-233f-447f-97fe-2a2f7cf2861f" + ], + "x-ms-correlation-request-id": [ + "9361dfd3-233f-447f-97fe-2a2f7cf2861f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:9361dfd3-233f-447f-97fe-2a2f7cf2861f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//autoscalesettings/default01-contrib1/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2F1dG9zY2FsZXNldHRpbmdzL2RlZmF1bHQwMS1jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31899" + ], + "x-ms-request-id": [ + "6d572757-a89e-4dab-a50d-2568b3816fca" + ], + "x-ms-correlation-request-id": [ + "6d572757-a89e-4dab-a50d-2568b3816fca" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:6d572757-a89e-4dab-a50d-2568b3816fca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//components/wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2NvbXBvbmVudHMvd3Njb250cmliMDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31898" + ], + "x-ms-request-id": [ + "d2a8218d-e829-4813-9af9-546d2a89e91e" + ], + "x-ms-correlation-request-id": [ + "d2a8218d-e829-4813-9af9-546d2a89e91e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:d2a8218d-e829-4813-9af9-546d2a89e91e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Web//serverFarms/default01/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViLy9zZXJ2ZXJGYXJtcy9kZWZhdWx0MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31897" + ], + "x-ms-request-id": [ + "b151b4ff-503f-45cc-93a4-7036e135689c" + ], + "x-ms-correlation-request-id": [ + "b151b4ff-503f-45cc-93a4-7036e135689c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:b151b4ff-503f-45cc-93a4-7036e135689c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Web//sites/wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViLy9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31896" + ], + "x-ms-request-id": [ + "73a0475d-4afb-4716-bbe6-a17a778910cb" + ], + "x-ms-correlation-request-id": [ + "73a0475d-4afb-4716-bbe6-a17a778910cb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:73a0475d-4afb-4716-bbe6-a17a778910cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:992e3388-57fb-45bf-9906-e2b474da3eb4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31895" + ], + "x-ms-correlation-request-id": [ + "dd9fe193-c96a-4e3b-a7e5-d823db5da62d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015111Z:dd9fe193-c96a-4e3b-a7e5-d823db5da62d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fe3d2c94-a7bb-4cb2-99bc-7c024bd204e0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-correlation-request-id": [ + "b1ead3b3-da5a-42d6-a2ac-85e99747b9f9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015113Z:b1ead3b3-da5a-42d6-a2ac-85e99747b9f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:59379dd3-de6b-4666-82f0-3eb9f411d623" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31894" + ], + "x-ms-correlation-request-id": [ + "1330c702-1a5f-4223-a157-76f013c17626" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015113Z:1330c702-1a5f-4223-a157-76f013c17626" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:4be65cfd-b6b4-47ec-8eb4-aa6c39f32336" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-correlation-request-id": [ + "3cfd0994-7164-4ccf-869c-6158629c1c8c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015113Z:3cfd0994-7164-4ccf-869c-6158629c1c8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:5ddf3188-5bab-4e34-a5c5-573a4db4687b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-correlation-request-id": [ + "d75d5910-9343-4dc5-bc12-d52ac094a527" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015114Z:d75d5910-9343-4dc5-bc12-d52ac094a527" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "9dec184f-822e-4a36-bb68-9ea177589a4f" + ], + "client-request-id": [ + "4c8ff897-ec1c-422f-9f5d-c0305588bb7a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "RzjQ3nAthrri0Lj9RTGpggwYxlRoCCzmhEBfU0wcEbhy1OQpy1xsF4LxrLQe9CJ1SazuHQ055A5soTISHKAVGainsbUx8C6U8lfgeU0jY8A.hHBXGnpJjG-8ubDu822eiDcOxDYmkEgrnS8tA3Blptc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "f76f1676-5a04-4844-bf60-495e5ef6d75d" + ], + "client-request-id": [ + "406be2fe-53da-4a05-9cf7-225953ee0708" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "8Q6GwaJpWW6lbBXq61aiPMw4Agwq3Y17isWAhkcDafcxx4sKfEp6KROpr5niO1gjhy_oSJvRscIVhhssm0Ks40N3lpl3rTRRt-Byx1rsipk.GJ-GiysFx-2j_UNdmuRVQn-uyjPlDHQ13_9Jr4PCOS4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "b90c294c-b933-41a8-8c5a-64d2ddc0f659" + ], + "client-request-id": [ + "9282b293-448c-4abc-8fa7-c9d35c7dde37" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "EwkXFcj0V_Pz21tYUjeA9xl_vHTVQ89Zlji_o6KrJ_-JtGTqDZ-hkAWhhmYodL-Hcm2X5DoxZWu7hDcDksnBxSC6K_I37P8lJj1XzPJeYTA.Gl1cFeNtQhirewsd6uDPQBu71shYKbIEMPq-bIXOFpc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "56941af9-30b8-4791-b35b-7cd8d149786f" + ], + "client-request-id": [ + "229c673a-8330-4611-ab5d-b217c52783b7" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "EddsNbx3P1g8fYRzTnRyGK01G9uHQ3GQSYhFiDMo54_sG6Yw5Vv3RsjpLbjDAaj-hclVpju-Glx3jnPxDQLs4Qe2qlL8DtQTR35QoMO51C0.MykDGH4UinoxYuxLzvVnrgqO12dBVNJIuq6Lw4_AuzM" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:16 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "61e3ab4a-102c-42aa-9b9d-3813108f10a4" + ], + "client-request-id": [ + "49601815-bf9b-4d6a-88ba-1f1e9e43f707" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "T9yLMbZwnu-brO4lvlOTyjguM-A_0ZA819hOZQLIviVYqj0_-kxXA7W1XLjoC2qR7nKXG_dE7ORqbinL1p8BVzO-OTL7yPdVjfRlpOK4egk.D4T0e7IWMi1yTbGu0gO0aYH4_F-pXPUUU88KO73Xi7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "ee2be43d-62b6-477b-b96a-09c5e9c826bb" + ], + "client-request-id": [ + "28f67a9b-4470-4234-b872-04b26ad05f58" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "jSHf2PsbEhOVh6MCaxZqAguAD_A2_-bbhDtah9iEWWq_-kGV4ArR9iTaQxaDhGB2gIHFuLF0rxJNMbPhfx098qcDIQqoc3NalS4bTDLH0LA.2kQ6ARmjmpgVpiJUtYB2JnLAVnw7IKkwm5T2AlzuEhQ" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "2876df1e-3b02-4ac9-a503-c7ce13592763" + ], + "client-request-id": [ + "cfa5926a-a7df-48e9-ae30-7f0357e7628b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Yzcq3IbRkCxWRtP3v3xgLtYtMgoVrRC-Lj-MRk6x5fQ5XYOxqMDsh5tT2Xdm8nNdwRtxloxzc5HqpsM8M9VyRX8GmFA0m8q1JJ7KHWSTDO0.9o0eapWwNJ9nLjgksQvdgNCBYyk3i4q3JHhh73cyx3U" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "79b5663e-a9d2-4c82-ba2b-39be65bd722e" + ], + "client-request-id": [ + "3d50f490-e120-4228-acf1-c37f5fad5b7f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "D4g6eTkn14OCdjPXAW7CwKod7x76bhXzQs-9kuai2mx1s_Az8pfvQCuz7nyt23Hr8VYjNXM5S6Kan04diO6mAZiUVhVOTJomddKzMJs6AyQ.3bimeBUGhCTn0iJSctWEPskrIy1FER3Ibq1kCYfCFxc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:16 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "fff6dfa3-3c85-430c-b55e-bce6c497ab8d" + ], + "client-request-id": [ + "0857c7e4-5a68-4920-9ac6-64e237808bbc" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "XIjREbONfIwkOWuYT4vazg2joAp7w29S7SPHS1FFCZIiHyzfCJJ_g4pWUvGUiwsUprmRfTfTICtm37M6sFpY4_oASNoAfH_0KQiEjbNs1hA.WfCYgwgesHBZDh-HZu73fBA2mftOIOa5iPzf7SnOU5U" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "91860c8f-f268-44ac-80bf-9349bd751c29" + ], + "client-request-id": [ + "8f33c96a-078c-4cfa-990b-b51d1800efa1" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "JbeOEguEZpyA0L-LfBYB9H_WEZdT-P70NQ8QGMDxUpD2RpBmzquB005S-dldtcDeiWV2O4UOzIU7Qgkbr9k3s25gB5LL0NQXvlR9dRn1aq4.kgcyw0kN67b_j-pxFkrzS1oZyb1bAuHTtLQ-pEhWKls" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "bd4f55d6-8c90-4792-8c42-00346d853d2c" + ], + "client-request-id": [ + "4d92dd6a-9889-487b-a072-a32c676f7d30" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "A0rnzbJgYY74Z7aec9IOgY2HcW6v68cZJLla-s6bNTHCxoBVFFw_D9lFjCNBgYTg9a7ANuh3HoPnzwB_wboD8cGbjzDquRcHlHJ0bOGrqnM.E8pY2pOzrVSz8EpxRFw2Y5iQzLLT06z0ZwQwJTkPx9E" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + ], + "request-id": [ + "39963c21-cdb4-4eba-af3e-ac352ef1de77" + ], + "client-request-id": [ + "475a3c2d-7def-4b39-abd6-4eac70e855c3" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "DdaR4G_nhTtnC9PavdOglglGzLHjQozZdP5FIBqCSxfROF6_ICGy1p7Jn8Bn-2hHnk-C4FAmAvM1q5m1VP2lS1YYLY52QLljhlnNH7M_lKc.NAPBlIVhafEHmTILwWBzTUOuKLv0lt1-VGokx8kPkRE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1/providers/Microsoft.Authorization/roleAssignments/76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:05e24c46-b2eb-44f7-a451-636a402b2ce8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-correlation-request-id": [ + "9e124fe4-778e-4c5b-b7d5-53128ecf3340" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015114Z:9e124fe4-778e-4c5b-b7d5-53128ecf3340" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1/providers/Microsoft.Authorization/roleAssignments/76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:895cd048-8333-46cf-b148-461972c528b5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31889" + ], + "x-ms-correlation-request-id": [ + "2351af96-aaab-4853-b8da-0b0be26dfdb8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015115Z:2351af96-aaab-4853-b8da-0b0be26dfdb8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:95b364c2-7ea9-4d2f-b2b6-21449af60d0b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-correlation-request-id": [ + "7a69af23-961d-4e48-b378-5932496460b9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015114Z:7a69af23-961d-4e48-b378-5932496460b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:6ede86d4-95bb-4021-baa3-2761415a66b1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-correlation-request-id": [ + "d87393cb-f70c-4077-800f-b0e94c03dc6e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015116Z:d87393cb-f70c-4077-800f-b0e94c03dc6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a49e9a01-0f74-4e60-9f8b-4ba3c61d3360" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-correlation-request-id": [ + "e8bd4700-ee61-4649-88cf-91d927fb528e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015115Z:e8bd4700-ee61-4649-88cf-91d927fb528e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:14 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json new file mode 100644 index 000000000000..d5ee92f1f445 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json @@ -0,0 +1,833 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "4JBXES2oJSo7EFxoGUZySbVZz5f0jRgg9xWilhxiOOk=" + ], + "request-id": [ + "0178fa54-41c4-4b31-b043-24711b9df42c" + ], + "client-request-id": [ + "e9a7e01d-4cab-49e2-b759-cd6d642ad4a8" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "hoTIeVFSOfrm1XlJUnItTU_3PfdBZm-m6AEtd_JNmQ1PtWywPI5--Ei-yGKR8LTjlrIw73daTXGn21F3hzH__LJ10e0GurrBEVz7KXTd2D8.yPqp4dIsTUCHFEBOcvmCLuuBEr0WieaIoOC7eKwc35Y" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "6d3614ef-766b-47ce-a7fb-6a3b450deefa" + ], + "x-ms-correlation-request-id": [ + "6d3614ef-766b-47ce-a7fb-6a3b450deefa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015125Z:6d3614ef-766b-47ce-a7fb-6a3b450deefa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + ], + "x-ms-correlation-request-id": [ + "b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015125Z:b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:f6287ab6-58b7-4f0a-a1b8-08ac5872556c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-correlation-request-id": [ + "3d5810d2-27d6-48d8-9c4f-e527b991ccef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015125Z:3d5810d2-27d6-48d8-9c4f-e527b991ccef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8dae3881-369c-498c-b104-c495f8431ef2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "6780d381-a168-4bc1-97c6-475b05a1acaf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:6780d381-a168-4bc1-97c6-475b05a1acaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:a16bff46-b2ea-4a75-8f61-815979173aee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-correlation-request-id": [ + "1538f4e8-f6d0-435a-a509-14ef6b7473f6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:1538f4e8-f6d0-435a-a509-14ef6b7473f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:8a9ba971-8547-4d88-b805-01ed96ef4b92" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-correlation-request-id": [ + "0682f03a-410a-40f2-a6fe-f72fd6312ef0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:0682f03a-410a-40f2-a6fe-f72fd6312ef0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:4df6c72a-de72-44f5-85f0-e43b6b95a33e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-correlation-request-id": [ + "71a35aa5-835c-4b9e-8716-aba0cbcaaa28" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:71a35aa5-835c-4b9e-8716-aba0cbcaaa28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + ], + "request-id": [ + "23521066-382b-453d-954d-093a7bc7a0df" + ], + "client-request-id": [ + "5871305c-d888-44dc-9649-363d68d98f6b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "lZcI48LEpr3JgZD_a9uLUi1f8TjzygfAaVdNSPpIlg-wlkQ90wmjruJ0SjY0FhwimDlM4VSL9wv-1Qh6iiX38oIwfpHiCED2mnYkcUGZ7q8.RtaEcX0QcjrMH7kebp84A7kPRXuWNU37vNABoREbFGk" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + ], + "request-id": [ + "3d4f4a6a-9747-4931-bd30-ac9911171dbb" + ], + "client-request-id": [ + "6a03c780-a2dc-4430-8af3-2289c7e281e8" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "At7ZxFOEJmI5oqABPI66bsp8jnFXhX6ajHHIIm1SwKjrXo-iPlTDFAowmel1gDpFbBOwptJzzw7UKidZUbGie4D-7S4v8LVgxdCT2p0mBnc.Ngmpz8R0xco4JRWsQSARLSLCY9QCrZQu1Te4QOnzhhA" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + ], + "request-id": [ + "3f730acd-e13f-4707-8f57-ca6894fb3a34" + ], + "client-request-id": [ + "4b8f5736-4b9d-46a5-819a-37b009f33b61" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "Fc2LZyuAiFIJFwH-KH4hY8y-bj6shIm61PqTAKZYF8xiyQhKMlxt7Fk2oKCcYTmXz34p4JV9tGLr_WM5knkAA6ds3iQDZdlwyepwM_pK4e4.xAs9DJX9czqN6tmqQ0O8mmo8nqKJAlEQi7qCUdkpaFU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + ], + "request-id": [ + "0ec9f9f5-57b4-4dda-bf0e-90d155a034a9" + ], + "client-request-id": [ + "3242a9b4-9722-4db9-8a24-a15b8b00b2f2" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "sPsqDJ2-f0Rmt9JBoio3XSPbGZ6HMfS4trGcW1_zh7DmGG8oZ5T5CkH1FP2eoj0UnrCG3wUA_LsR-mHDrM4SmUslh4jDlYmnvT_e3DEWVi8.MtW2JP6OvSCII7lREME-p8x-pB5XUSERm53Yd-xEDVM" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:72b7ce50-19b7-4780-a4c2-5b2eee69aa54" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-correlation-request-id": [ + "daa73e12-456a-400a-9044-6cd0b95f17fe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:daa73e12-456a-400a-9044-6cd0b95f17fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:2732686b-2755-426f-84b2-0ff19fe97f9e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31930" + ], + "x-ms-correlation-request-id": [ + "686928b9-bb51-4428-b5d5-e0e2d42e08d4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015128Z:686928b9-bb51-4428-b5d5-e0e2d42e08d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:360ef652-132c-44aa-be8e-88988a092b3f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-correlation-request-id": [ + "323d5d48-a311-487f-aad3-e1459ef61e8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015127Z:323d5d48-a311-487f-aad3-e1459ef61e8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:984651b1-a17a-4553-b576-77e4a259bb61" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-correlation-request-id": [ + "7cc264e6-3e74-44a8-aa68-95669ce22297" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015128Z:7cc264e6-3e74-44a8-aa68-95669ce22297" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6d65c6df-31de-4e36-8f4f-8a88a7ebd878" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "72f4057a-6c35-426c-856c-0f85a666a7a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015128Z:72f4057a-6c35-426c-856c-0f85a666a7a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:51:27 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json new file mode 100644 index 000000000000..c74694837c32 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json @@ -0,0 +1,543 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "468b5c11-1c38-498d-868f-9906a84b11b2" + ], + "client-request-id": [ + "a12b2967-1eec-4904-86fe-3bff7a166b0d" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "UTlJxnV4fhBX9ZPFJzAwtmWNCga6aVcQKiMSEe1LM2VhlVEkrZSy171cisVFA26XQxPrV7An6BSy7PIcPyHBHACFhjPQwi2tT6fti46xAB4.d8A7joD_MmQ5LPX7PN_ewEgh0_x222nOGPgOlGfuZyU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:65dce94c-0d71-43d0-8c25-6c5c8a7d9c73" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-correlation-request-id": [ + "ac597b0a-0576-4b93-960d-013b3aa68d2e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170930Z:ac597b0a-0576-4b93-960d-013b3aa68d2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1b563d0b-2b62-4417-8f67-d5c6b60d4189" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b81627c6-7f80-4114-a11d-b8ba18717a29" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170932Z:b81627c6-7f80-4114-a11d-b8ba18717a29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:939e98d6-c393-4227-9a0b-70af4a05601a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-correlation-request-id": [ + "9007f7fb-e1da-48b6-b6cf-e28fcf79dd60" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170932Z:9007f7fb-e1da-48b6-b6cf-e28fcf79dd60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:bdd4ea1e-2717-470b-bcdb-6d41cdbcdbfa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-correlation-request-id": [ + "97730561-aa7b-4f64-9f26-b016023c7e74" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170932Z:97730561-aa7b-4f64-9f26-b016023c7e74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:b8274877-7402-4a1e-b882-dc43b2243d2a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-correlation-request-id": [ + "61f6d871-f5b2-4a9e-8f16-8ad1233b344c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170932Z:61f6d871-f5b2-4a9e-8f16-8ad1233b344c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/a73a146e-93ad-43bf-8590-2f43343656b5?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "3a7969c7-c6e0-4838-b98e-2be07535a4c1" + ], + "client-request-id": [ + "8175d51e-628a-4749-898c-3c62870de4f3" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "SVUfJMoW7qydIiU0UJ-AxTM2JoiPKIWie2TIgXl3OB_qz2ggfHVLegPHwiYSNzAllnAEwZTIUSZCgulwElZZuCdGi7h8K9ShA_cEsLJ1hJo.DlUpQHi9DXiB3ZYNtHpSOgMvCFVd_0VFDJmw-teH4rI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/a73a146e-93ad-43bf-8590-2f43343656b5?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + ], + "request-id": [ + "ac8abe7f-85df-407a-b771-86cddb697af1" + ], + "client-request-id": [ + "a381898c-53ee-47a9-8bb8-481493b9529e" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "ODQK4353WQxz3ZjpKBykUaGRFAxDwDJUCfys4yo_dMjmJL45tRwVW8kKKv7MXNZ1pJAEHAya5_msIDvVwaYBATf4DmwjKI7brji9hkEwbho.bcl_X43Kiy18BEOPEDatREm19khPSR6VwMGl2Gdpms8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:7d283fda-2eab-48bd-ab54-d748ed8bb09c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-correlation-request-id": [ + "ab32d579-1b4d-4687-bf61-f696012ed277" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170932Z:ab32d579-1b4d-4687-bf61-f696012ed277" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:769b1f95-8e49-48f5-97ab-3a7fee63b86e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-correlation-request-id": [ + "8921b0f3-f900-4257-8048-9160a7e40c72" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170933Z:8921b0f3-f900-4257-8048-9160a7e40c72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9fb9dc83-0be6-4660-a54f-676c22a8540e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "353fde26-57a8-4f13-be67-cc60f0b600ac" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T170933Z:353fde26-57a8-4f13-be67-cc60f0b600ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:09:33 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json new file mode 100644 index 000000000000..47281922209f --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json @@ -0,0 +1,1024 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscz8mYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"038de80f-387d-48b7-b29f-b1f16253bdec\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Active Directory\",\r\n \"appId\": \"00000002-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access your organization's directory on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access your organization's directory (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"a42657d6-7f20-40e3-b6f0-cee03008a62a\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access your organization's directory information on your behalf, such as photo and contact information from your user profile.\",\r\n \"userConsentDisplayName\": \"Access your organization's directory (preview)\"\r\n },\r\n {\r\n \"claimValue\": \"Directory.Write\",\r\n \"description\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read and write directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"78c8a3c8-a07e-4b9e-af1b-b5ccab50a175\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"userConsentDisplayName\": \"Read and write directory data\"\r\n },\r\n {\r\n \"claimValue\": \"Directory.Read\",\r\n \"description\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"5778995a-e1bf-45b8-affa-663a9f3f4d04\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"userConsentDisplayName\": \"Read directory data\"\r\n },\r\n {\r\n \"claimValue\": \"UserProfile.Read\",\r\n \"description\": \"Allow users to sign in to the application with their organizational accounts and let the application read the profiles of signed-in users, such as their email address and contact information.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Enable sign-on and read users' profiles (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"311a71cc-e848-46a1-bdf8-97ff7156d8e6\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow you to sign in to the application with your organizational account and let the application read your profile, such as your email address and contact information.\",\r\n \"userConsentDisplayName\": \"Sign you in and read your profile (preview)\"\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectory\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/directory.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectory\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"2f3e66a5-a1b3-4094-a846-4baf81cdfc6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Policy Administration Service\",\r\n \"appId\": \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft Policy Administration Service\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://pas.windows.net\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://pas.windows.net\",\r\n \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"Microsoft Policy Administration Service\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"58fe5a3b-3a72-4924-ab1f-a4a26b39d9e5\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"0000000f-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.GraphExplorer\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000f-0000-0000-c000-000000000000/graphexplorer.windows.net\",\r\n \"0000000f-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.GraphExplorer\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"5ae77d41-2dec-41e6-9a34-b6928e4312be\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SupportTicketSubmission\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"Microsoft.SupportTicketSubmission\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"64a789b2-203d-4286-88f4-fcc9ef065b6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"RbacBackfill\",\r\n \"appId\": \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"RbacBackfill\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"RbacBackfill\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"75ed092d-8e37-466a-a09a-63ebb2e85746\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Azure Portal\",\r\n \"appId\": \"00000013-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.Portal\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://portal.windowsazure.com\",\r\n \"https://manage.windowsazure.com\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://manage.windowsazure.com\",\r\n \"00000013-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.Portal\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"8f379e12-3dbd-40e2-8e32-341e3d421d11\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Service Management API\",\r\n \"appId\": \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access the Azure Management Service API on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access Azure Service Management (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"41094075-9dad-400e-a0bd-54e686782033\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access Azure Service Management API on your behalf.\",\r\n \"userConsentDisplayName\": \"Access Azure Service Management (preview)\"\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Windows Azure Service Management API\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://management.core.windows.net/\",\r\n \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"Windows Azure Service Management API\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"d9d09142-a31e-4e25-a9b3-2c072b6f60f0\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Office 365 Configure\",\r\n \"appId\": \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Office365.Configure\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334/configure.office.net\",\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"Microsoft.Office365.Configure\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"dbea5a32-0033-4e62-9606-97f75431b5ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Microsoft App Access Panel\",\r\n \"appId\": \"0000000c-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectoryUX\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000c-0000-0000-c000-000000000000/activedirectory.windowsazure.com\",\r\n \"0000000c-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectoryUX\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"e68deb93-98e3-476f-8667-1bb60a7f867b\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"sampleapp\",\r\n \"appId\": \"20c58db7-4501-44e8-8e76-6febdb400c6b\",\r\n \"appMetadata\": {\r\n \"version\": 0,\r\n \"data\": []\r\n },\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": {\r\n \"defaultPolicy\": null,\r\n \"allowedPolicies\": []\r\n },\r\n \"displayName\": \"sampleapp\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"https://localhost:8080\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [\r\n \"https://localhost:8080\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://localhost:8080\",\r\n \"20c58db7-4501-44e8-8e76-6febdb400c6b\"\r\n ],\r\n \"tags\": [\r\n \"WindowsAzureActiveDirectoryIntegratedApp\"\r\n ],\r\n \"webApi\": null,\r\n \"webApp\": false\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "9494cf40-a56e-45dc-8df8-97d638fe98f3" + ], + "client-request-id": [ + "a9963ef0-2c23-4079-8228-fcc5b72de333" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "8_Jea31Z2eaS3S02sh5yBGJK2V8WgwHNRQ69CLy2ym6wiaUVZOJDK1NxP7mndFiMEAH_2Ro84dmTEdNV504tNow9VoWLA2FbFJoeVtMCqv0.d5D8NrQ_XnslTULhZUzjJfQi61YLjLpVAmOJ37fwEgI" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'Microsoft.SMIT')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXNlcnZpY2VQcmluY2lwYWxOYW1lcy9hbnkoYzpjJTIwZXElMjAnTWljcm9zb2Z0LlNNSVQnKSZhcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "ac2cefc6-81b2-4784-b9d9-9c3169713ce4" + ], + "client-request-id": [ + "d4d396b4-d0ac-4877-8a8d-2802e8ed8903" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "0wuO22DseV23GTkKelmD8Nrxw4XpQll-R5zvm7YCPzkTbABEkWYYQqQpRc2ImLt7plc9AZNx9O-xWhcNH25-kPeoAHZH8n4Aa38MOBAOppU.y6fTAOOr2MWG4F5jZdu-I4M8aL-omqK93cT9DuNml7w" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:52afb585-f902-4ddf-8c84-0b93336c5493" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-correlation-request-id": [ + "32971fce-1ab8-49f4-b856-875cdd30afe0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171356Z:32971fce-1ab8-49f4-b856-875cdd30afe0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2f3ccc15-1c2e-4658-a388-d7be7f5a3bf3" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "073e686e-2420-418d-913e-f552c965870f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171357Z:073e686e-2420-418d-913e-f552c965870f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:86add209-49b4-41cf-aa7e-db42ecde9697" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-correlation-request-id": [ + "ecfb6d32-f3e3-45d5-8eb7-f36886fd668a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171358Z:ecfb6d32-f3e3-45d5-8eb7-f36886fd668a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:d5cfe07f-d5da-4bcc-bdca-b0879bc77d58" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-correlation-request-id": [ + "2f0a1e88-7bb2-47c4-9412-c034f2128e86" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171358Z:2f0a1e88-7bb2-47c4-9412-c034f2128e86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:427274dd-b1ce-41ca-86e5-76097636d0cf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-correlation-request-id": [ + "c9e4cb26-7fe8-4bb1-b76e-590a41fba9c5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171358Z:c9e4cb26-7fe8-4bb1-b76e-590a41fba9c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:c702a86e-2007-4ddb-81ec-209708d8cd02" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-correlation-request-id": [ + "8c5a19da-35ee-4525-a5f0-dcf54e8b8c86" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171358Z:8c5a19da-35ee-4525-a5f0-dcf54e8b8c86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:04cccf77-7f1a-4609-bda9-2f2e0dd0d37d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-correlation-request-id": [ + "7bd05457-17f1-41cf-9040-9b768d352d18" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171400Z:7bd05457-17f1-41cf-9040-9b768d352d18" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:14:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "7c0e3e39-da11-41e0-b7a0-2adbae240ad7" + ], + "client-request-id": [ + "c7d4f827-01d4-47c0-a817-694ee8a04e19" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "dlonYkhzjlJDVZfm0SAHUBds3keZPC--K3FtiB-zOhDWQT_JbS1iMx6-ZYCfg4vh__TtOWcIOBQWPsF6WQdDaIoIvS8W8gmFErC1wNAKcoI.v-IeLNZNb0PASxdm-2OVIRgFjDz06zYv1663deZZL34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "c922cc80-c3bd-4394-b00f-e3b2b191d62f" + ], + "client-request-id": [ + "34a6890d-6750-43f3-9aca-8e54882fb719" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "FgQaKYUCI6rPJJ2LbGINFbGa_a7tHLubPbi0zwHvtZRIF7SrXdtCq53jHGSch9srwONCUrkgxYexRYJir_aTz0yfuM4qLHHJ29XITdKuc2Q.ds2YaS6szOn9u_KkehI69iBsyNwVf29VIBuTV45NB1Y" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:58 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "f0d1981b-3e55-416a-a7f4-caeec4156d3e" + ], + "client-request-id": [ + "989cb927-d083-43b6-96be-b52e667e8fda" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "BPyr3WQa0OXZVPV1_KweVO9dUe6u9rExeQK8EjzN9UnZ1nZs1zeJy54thv_DLUFSB7DM4PDnYldFPT3INvgdcXMgpBlSRpY2zooulNvxCyo.j9jifwk_TUSY72TPDQSTINXD2kRjGbnHtQUNYm5IsIM" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:58 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "b5c2d2fd-d825-4926-90c8-b88e9924d34b" + ], + "client-request-id": [ + "a9d82eac-27dd-49f0-a776-cd634b57115f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "fQ3Ixqs0wJ_N2QFaC1wC-Qe3i4uNaYh9e1UK3NpGwhQv3C_sd2YihPPkjIhGpKcHyNnYxBsn5sB1fBWJKKstaxYsGAMfTGiXpNlIRWgcOyA.Zp_vCPPCXWJhBlcGVprGSw1iBwrverFwyuRJ_pAXGY0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:59 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "7d34f197-1cf8-4f49-b01d-78e6e4761053" + ], + "client-request-id": [ + "e6bf2a26-569d-4a0d-b4b2-a1ff64ce461f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "_K9MXjY-cfiwVgUVwDZHQxESMaA5w50dHika0Jtkp4_zAMiiQQnv5KnRe_BLJeg0kKWoYPu0kvIkUcXEwlyZGyWo8s9e7NCHgvFFTShBvjA.U61rlrHg7Ddu3MSTQSHgPi-oA_N_VC1mP-HUBHXushU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "9766c45f-b854-4c6d-8ea5-de6ffb44707e" + ], + "client-request-id": [ + "31303330-bd97-49cf-b206-ba488a127544" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "JWEnX-Ts5W63Aqui9M8uhISNxuXrL7ids30k3bufUoB7wf_GO3PWM1JjkuxM6_t9SzBYbYs0ncSwCVJeFLEli0xSxRbOCaernHXQwZOWjTE._4rrU6FiTmHjjoBORGmOOsPMKq3JJVpucgZ00MVkHD0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "4c84466e-da3a-4f39-8b29-89335497fb45" + ], + "client-request-id": [ + "9a5fe4f6-fdc5-48f5-9840-e2ac566467af" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "rvCs5hUrNU4NDaHzcE-rRoVReWaqn-r0aZEk6hz0pCo2hFx9IhK0olP84YdQey6sjfIyRKtfL4ydW3h-ouUVc449A5aKsF8Tf3M1Rafir5Y.Q-mNxsTAp-PCC2Ry7o6H8lwk6Ru7OJh9SoHk87y1CUY" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "21abce32-4ea6-4ca4-8422-7098012c9c6e" + ], + "client-request-id": [ + "d76bbecb-4984-4f7a-8424-e76571a447c2" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "8Eo7Qn7MuDo8ecCbApKirA71tVD9N4AYykiNM48cT1E2iZc0h5gWlypRRJremOAd10yHh4mO_QpX-b6tZ8_jog-aON8isdY3yu67ovW1V4U.KYpzRLOcuiWd7V_tImvY-xzfooUzTLNMHUjtHCkqsaQ" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn/providers/Microsoft.Authorization/roleAssignments/bf13ced9-00e6-452c-bc8a-0121df14c994\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"bf13ced9-00e6-452c-bc8a-0121df14c994\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:ac2bc920-ba88-44d9-a366-a7db3d48626e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-correlation-request-id": [ + "5ac499f2-0db9-4448-a1c8-f7fae8ede35d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171358Z:5ac499f2-0db9-4448-a1c8-f7fae8ede35d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:13:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn/providers/Microsoft.Authorization/roleAssignments/bf13ced9-00e6-452c-bc8a-0121df14c994\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"bf13ced9-00e6-452c-bc8a-0121df14c994\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:1817520b-91a7-4d68-8cce-710d78334243" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-correlation-request-id": [ + "2ec1d779-2cd7-4d23-861d-b28cfa6a8ba1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171400Z:2ec1d779-2cd7-4d23-861d-b28cfa6a8ba1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:14:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:633f4f38-8f08-4f10-8d45-2cc039c69f87" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "62f1e1b6-9951-430c-9a35-545f5f4629a4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T171400Z:62f1e1b6-9951-430c-9a35-545f5f4629a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 17:14:00 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json new file mode 100644 index 000000000000..29f1b1c387f0 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json @@ -0,0 +1,894 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz8mYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "TeRcHeoqA22BHcRGBKky0IV4jTQ6ab7yWgt9gZFyqCs=" + ], + "request-id": [ + "f48f163f-0fa9-46c2-9a83-b050cc8d9e40" + ], + "client-request-id": [ + "c4706566-918c-4a2a-867e-acb135255632" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "YEa9ta2IYxCGGq1aUN9CXL7QwNO_ifWWGd7sDqJmy3QoKz0T5dLIkhX4XnojaVaNZk_hz1P4TydSdUv1_g4zOThnkdCHOCFuIAoeP-XbrQM.ITARncHmg7JIBFytX3gW7RfyzUrBoBZzBnSDCh4mPrc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "fc035f1d-42b9-455a-a898-0e0074db0d3a" + ], + "x-ms-correlation-request-id": [ + "fc035f1d-42b9-455a-a898-0e0074db0d3a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015039Z:fc035f1d-42b9-455a-a898-0e0074db0d3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "116f3eb9-68f7-4230-889e-eedd748ada26" + ], + "x-ms-correlation-request-id": [ + "116f3eb9-68f7-4230-889e-eedd748ada26" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015039Z:116f3eb9-68f7-4230-889e-eedd748ada26" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/webadmin2@rbactest.onmicrosoft.com?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy93ZWJhZG1pbjJAcmJhY3Rlc3Qub25taWNyb3NvZnQuY29tP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "cfe9024e-36ac-4f00-a311-b80dea7e13e0" + ], + "client-request-id": [ + "e1f4a635-4972-47eb-b076-8e9604b513d2" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "GOXHSIAxMCX8o1z7_DhOsw_omguYa-PZK3I1Om953Non79cosbBOTzrclInIPyUdUsVghbkhbGwhDOZ8Nt8kvON-QWnC-mBfhuFZlChBZ3M.bNp0GnEUbw8-f2cJhLgMSXQyhx3Za6WBC1mgqDTnW_A" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:2343b468-f6cf-4a30-a19e-3432a7f8a8ad" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31910" + ], + "x-ms-correlation-request-id": [ + "37e54548-79cf-42ea-b0b7-2a9f08b5cb1a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015040Z:37e54548-79cf-42ea-b0b7-2a9f08b5cb1a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:452dda8f-03ad-4853-84b5-2cddcdb87d2f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-correlation-request-id": [ + "fdd8c709-d9aa-4631-9d5f-37a875c0edc3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015041Z:fdd8c709-d9aa-4631-9d5f-37a875c0edc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:40 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:c0f34d11-74e0-4eb7-a078-b35c594c584e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31909" + ], + "x-ms-correlation-request-id": [ + "d9d63eb2-d557-4496-bc55-016c1bb743ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015041Z:d9d63eb2-d557-4496-bc55-016c1bb743ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:5b72b7e7-ef78-4efe-9825-78c78a7bb449" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31908" + ], + "x-ms-correlation-request-id": [ + "9f843a64-88c2-464f-89d9-266c717c455d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015041Z:9f843a64-88c2-464f-89d9-266c717c455d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:2684f89a-24dd-425a-b887-4f661b488368" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31905" + ], + "x-ms-correlation-request-id": [ + "580c2c33-98fe-473d-bcc8-2488089790f8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015042Z:580c2c33-98fe-473d-bcc8-2488089790f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "4474eae0-2c8c-4fc5-b0ef-c1031006f195" + ], + "client-request-id": [ + "e84aab2e-0714-4843-9098-e8f345928830" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "zIKavK5vvep4OMhwSEqLN4lLlAMnTDlBZVYKAw2poao2jZASwu3JcrfATRbOoz6Zu2BykSc19Q2NoWL2jD4LmMU3WTdhf1rweB3eY_DRkBQ.5XqvN83Is7ForfqIz3BC8sCAV28ZLsfdAyrKNEptMyE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "f669c5b4-3a1c-4868-8432-858de8c63251" + ], + "client-request-id": [ + "022d46a4-df85-4251-a7d2-0a749f3d784f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "xdj0Vv_cuQuVJi_rH4vuvvDyqWI9tZyaK40B6USHPa5myzOl44zNzpUJcSIxLpM9jd7sbcDX6pvkLi-aqO4k6-hJ605QWqwihsnnqKEXv-c.W9nf54wk6BZ_V8_CeUR3auGQoGd6NQ85b4ks7_66eqc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "ddaed303-67f8-4373-9c27-e1f715802710" + ], + "client-request-id": [ + "acb63867-c8e4-4138-b7fd-4027b8dff67f" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "465TuaCmL9dLd14KbGM3BDsQY7-naTi3icCRlo02ndSVv_3-PRB0F3PxEOdOXPltzxnOA29zA6uFTW3iCGBr9NbI6VQgRVJJmiJT5O2a7q0.7LKplQkrL3pwAfITtin6AMlSaovUSLNa2euLHORTnIw" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + ], + "request-id": [ + "1de3a8fa-bd61-4c26-a44f-80e5dff4b1ac" + ], + "client-request-id": [ + "d95cbd9f-9cdf-40cd-b9ab-f1b9b7b25611" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "YE11z2L4fBwkEZXyntND_Gy_iZIMTdXEo37nRjMGNZjD6msfFhfYFZ-3mXVweOLYPdyEjI7-qk87zMx4piBg06xWu9RCGAufimrqppJ_k0A.90sJoJnQmFjIWk8wUUyn81UwvSKsBoSD3w3A9nO3PzY" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:dbecf4b2-f5f1-4ea4-89b4-19646c5273e9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31907" + ], + "x-ms-correlation-request-id": [ + "bb189a8e-3189-47bd-8f03-53f0f6720449" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015042Z:bb189a8e-3189-47bd-8f03-53f0f6720449" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:6aaa5d56-1003-4e9a-8e5f-d0af398cabb8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31904" + ], + "x-ms-correlation-request-id": [ + "1f4ec3bd-dc4d-47fa-a8f1-29d7c9dbde9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015043Z:1f4ec3bd-dc4d-47fa-a8f1-29d7c9dbde9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:b15d7845-7304-4385-9283-d15185257e47" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31906" + ], + "x-ms-correlation-request-id": [ + "1dd22a71-e3c6-48af-95db-3c073e756392" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015042Z:1dd22a71-e3c6-48af-95db-3c073e756392" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:a4dc92ab-dbb9-4c97-8cd8-7caa5572758f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31903" + ], + "x-ms-correlation-request-id": [ + "51547a60-4b81-407c-89ae-eb8f4ce28f72" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015043Z:51547a60-4b81-407c-89ae-eb8f4ce28f72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:70ab6090-967a-4ced-9d3b-58514d9478de" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-correlation-request-id": [ + "6153d582-fc9b-4681-b11c-8f0e4cbb6bea" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140917T015043Z:6153d582-fc9b-4681-b11c-8f0e4cbb6bea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 01:50:43 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json new file mode 100644 index 000000000000..f10dd856ce60 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json @@ -0,0 +1,206 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa'&api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhYWFhYWFhYS1hYWFhLWFhYWEtYWFhYS1hYWFhYWFhYWFhYWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:d0c705e3-fad6-4f89-9a27-f7293422fb24" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-correlation-request-id": [ + "374d21e3-9749-4afc-8b9e-21e2ddfd34a5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140915T235131Z:374d21e3-9749-4afc-8b9e-21e2ddfd34a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 15 Sep 2014 23:51:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/nonexistent@provider.com?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9ub25leGlzdGVudEBwcm92aWRlci5jb20/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'nonexistent@provider.com' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "2a62d192-c67a-4c20-a233-2ac9036772c8" + ], + "client-request-id": [ + "bb4ec3b6-28d4-4aea-be83-33f05d250df6" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "oX-z3dVYrpKpqzPeQaNpWugF8eg9wOxNSHX-vb3Ntp6fOVrdaFyYfQ2MvbtUUv6HTnKdOJ0YoGLpasiMyR0Uqp7m97STF-xi91VvD23DS1A.mfZ-KCp8x6IT8EKPDbHHHYOPhEP1M-Nh3rhXi1uPc_c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "private" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Mon, 15 Sep 2014 23:51:31 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb')&api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscz8kZmlsdGVyPXNlcnZpY2VQcmluY2lwYWxOYW1lcy9hbnkoYzpjJTIwZXElMjAnYmJiYmJiYmItYmJiYi1iYmJiLWJiYmItYmJiYmJiYmJiYmJiJykmYXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + ], + "request-id": [ + "0f930761-2271-401b-9686-12aa512722b6" + ], + "client-request-id": [ + "6c3b2a3f-9cf6-4bbe-90d2-e86389cb250d" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "PmJ7L4OP3yAiB8K40dalrv6mxP8E_iQG5r5iNlv0CKix76r1DDj6DIYrlcZ7CWEAp2Yj-KG8IFyT9Xt8qnUIfxqj_ppuCM3YJPVB69xdVCw.q1P0Ad5McuvkwoUf9iEY4p6FIaEomTEov4InznXf2rg" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Mon, 15 Sep 2014 23:51:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/nonexistent/providers/Microsoft.Authorization/roleAssignments?$filter=atScope()&api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvbm9uZXhpc3RlbnQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cz8kZmlsdGVyPWF0U2NvcGUoKSZhcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidResourceNamespace\",\r\n \"message\": \"The resource namespace 'nonexistent' is invalid.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f3e798c6-279b-44c6-ae6b-1357525ee8b2" + ], + "x-ms-correlation-request-id": [ + "f3e798c6-279b-44c6-ae6b-1357525ee8b2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140915T235132Z:f3e798c6-279b-44c6-ae6b-1357525ee8b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 15 Sep 2014 23:51:31 GMT" + ] + }, + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json new file mode 100644 index 000000000000..7df4a1058d50 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json @@ -0,0 +1,122 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/68730ae1-2d5c-446b-b37c-bd495a91bf6d?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82ODczMGFlMS0yZDVjLTQ0NmItYjM3Yy1iZDQ5NWE5MWJmNmQ/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + ], + "request-id": [ + "a26fe1c3-5ac7-4ed0-90f3-8b2389cb6363" + ], + "client-request-id": [ + "d1806fcd-5342-440f-8e9a-cac57ed8088b" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "g76B0s0E53V6bbPU1FYqzXWtq50zj4D291xTO3DNHCC1tyP_Rt3QJgNjVWr2r-Au7iVzBYens9kYkUOV_tSWGnF8C6YhECcZwQ1ftOwQ1r8YTaQMIvXXAR5Uq_F4VLj2_m3rreF5_zoOYe5JObjWyA.rp4UgIeMaoSzJbSRsjzEZrEMSLFVcNQQkG3KP6_ty2M" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 17:34:35 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:75bb9eee-20db-48f8-b237-0cf3929206eb" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "620b9a6a-dbd8-4d8e-8e7e-d5ac0e4045aa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173440Z:620b9a6a-dbd8-4d8e-8e7e-d5ac0e4045aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:34:40 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json new file mode 100644 index 000000000000..1b098bb19d09 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json @@ -0,0 +1,428 @@ +{ + "Entries": [ + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser2365\",\r\n \"mailNickname\": \"aduser2365test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass37690#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "269" + ], + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser2365\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser2365test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD7259E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1955" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "c3a2e03e-51d2-414f-b181-ae628800a2f0" + ], + "client-request-id": [ + "4e4b96a9-abf2-4452-ba23-c5437312841a" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "U7Lwq4chXffR6ij10H7cSArGpCgYmaAAswKZ-PUP7uS19ycF7Jyo3mD2VY1sb5ZG2qzXrMUcgBwZHvJ83kRq31PMZEn6GvH9B3uV_Hns6zZH5OtAuX09KOcDquYwyz1s7nc34B6nGnbJtpUvSiJ8TQ.2kO9okTFU7HGGM-_PHr2CNK3goVeJhw3F1EWVAJq4HE" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/68730ae1-2d5c-446b-b37c-bd495a91bf6d/Microsoft.WindowsAzure.ActiveDirectory.User" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:05 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "721" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + ], + "x-ms-correlation-request-id": [ + "8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173309Z:8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1370" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:5f60f071-9b39-4e09-a96f-8a5f2296f4db" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-correlation-request-id": [ + "c934665b-827d-4a66-9fda-3b44bfa5c93c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173329Z:c934665b-827d-4a66-9fda-3b44bfa5c93c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"6a26d717-aba9-44e3-b971-c53694e413b2\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "580" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f557056b-afd8-4235-a8c8-27764bbaf858" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d18985a3-1a81-4860-8e71-6fb409562c4e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173330Z:d18985a3-1a81-4860-8e71-6fb409562c4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:30 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"6a26d717-aba9-44e3-b971-c53694e413b2\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "580" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:624ce38e-7be4-40e3-b361-12e94d005a16" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-correlation-request-id": [ + "54e08685-4dde-49eb-a65f-11dc02f646bc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173330Z:54e08685-4dde-49eb-a65f-11dc02f646bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-07-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:22850d2c-efeb-466e-a60b-f5f1af7191d0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-correlation-request-id": [ + "1eb43a14-921d-406e-8853-4f2d0d25d5ca" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173330Z:1eb43a14-921d-406e-8853-4f2d0d25d5ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/68730ae1-2d5c-446b-b37c-bd495a91bf6d?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82ODczMGFlMS0yZDVjLTQ0NmItYjM3Yy1iZDQ5NWE5MWJmNmQ/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser2365\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser2365test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD7259E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1955" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "ocp-aad-diagnostics-server-name": [ + "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + ], + "request-id": [ + "e6fa0d95-2b96-4eef-a83b-4d785b6a946d" + ], + "client-request-id": [ + "25674de1-b973-4455-b503-e114b5882158" + ], + "x-ms-gateway-rewrite": [ + "false" + ], + "x-ms-dirapi-data-contract-version": [ + "1.42-previewInternal" + ], + "ocp-aad-session-key": [ + "z1VUcReksQX8t7VPCQbY7u_LWqd-RiYc4oTwEhxd215VMDKbWtBb2JuMlCKPYheJeNfoBHGoy9mU59MHSseFQvnjAkCeqR5W-dvANrrHCauQSQSZhq3EKjyEZJ00wMut8XmtjlrqSHyjl7Li1ov0hg.9tIe2ChIZhaLL26oc9RbAIJeIlrVM2EmrABMkkYZTp4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "Date": [ + "Thu, 25 Sep 2014 17:33:30 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "b__2": [ + "aduser2365", + "adpass3769" + ] + }, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json new file mode 100644 index 000000000000..d4d46d8f95c2 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json @@ -0,0 +1,155 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "21f2d0d7-c225-405f-9513-0e34694d648e" + ], + "x-ms-correlation-request-id": [ + "21f2d0d7-c225-405f-9513-0e34694d648e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173413Z:21f2d0d7-c225-405f-9513-0e34694d648e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:34:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NvbnRyaWIxL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/CPUHigh default01\",\r\n \"name\": \"CPUHigh default01\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ForbiddenRequests wscontrib002\",\r\n \"name\": \"ForbiddenRequests wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ServerErrors wscontrib002\",\r\n \"name\": \"ServerErrors wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/autoscalesettings/default01-contrib1\",\r\n \"name\": \"default01-contrib1\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/components/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverFarms/default01\",\r\n \"name\": \"default01\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2541" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "be81ce03-35f7-40a7-b527-d5867529ac37" + ], + "x-ms-correlation-request-id": [ + "be81ce03-35f7-40a7-b527-d5867529ac37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173413Z:be81ce03-35f7-40a7-b527-d5867529ac37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:34:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "50" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "c3371547-844f-463a-aac4-a14ea1d768cf" + ], + "x-ms-correlation-request-id": [ + "c3371547-844f-463a-aac4-a14ea1d768cf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20140925T173413Z:c3371547-844f-463a-aac4-a14ea1d768cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 25 Sep 2014 17:34:13 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", + "UserId": "aduser2365@rbactest.onmicrosoft.com", + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config index f090022542b7..720547a45e3f 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config @@ -1,19 +1,20 @@  - - + + + - + - + - + diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 0efd28564d3d..f99a82551636 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.8.10.1' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -60,7 +60,10 @@ TypesToProcess = @() FormatsToProcess = @( '.\Resources\Microsoft.Azure.Commands.Resources.format.ps1xml', '.\Tags\Microsoft.Azure.Commands.Tags.format.ps1xml', - '.\Resources\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml' + '.\Resources\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml', + '.\DataFactories\Microsoft.Azure.Commands.DataFactories.format.ps1xml', + '.\RedisCache\Microsoft.Azure.Commands.RedisCache.format.ps1xml', + '.\Batch\Microsoft.Azure.Commands.Batch.format.ps1xml' ) # Modules to import as nested modules of the module specified in ModuleToProcess @@ -68,7 +71,10 @@ NestedModules = @( '.\Resources\Microsoft.Azure.Commands.Resources.dll', '.\Resources\Microsoft.WindowsAzure.Commands.Profile.dll', '.\Tags\Microsoft.Azure.Commands.Tags.dll', - '.\Sql\Microsoft.Azure.Commands.Sql.dll' + '.\Sql\Microsoft.Azure.Commands.Sql.dll', + '.\DataFactories\Microsoft.Azure.Commands.DataFactories.dll', + '.\RedisCache\Microsoft.Azure.Commands.RedisCache.dll', + '.\Batch\Microsoft.Azure.Commands.Batch.dll' ) # Functions to export from this module diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index 9ee53fca803c..eebaf66df062 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -52,9 +52,9 @@ False ..\..\..\packages\Microsoft.Azure.Gallery.2.2.0-preview\lib\net40\Microsoft.Azure.Gallery.dll - + False - ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.2.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll + ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.4.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll False @@ -68,13 +68,13 @@ False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -88,13 +88,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -218,6 +218,14 @@ {c60342b1-47d3-4a0e-8081-9b97ce60b7af} Commands.Profile + + {d470e50a-9607-48d6-a924-4f9f86502704} + Commands.Batch + + + {c972e3ef-4461-4758-ba31-93e0947b1253} + Commands.RedisCache + {69ed499e-6f3c-488f-86b8-b74cfda4d47e} Commands.Sql diff --git a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1 b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1 new file mode 100644 index 000000000000..e9b165e84f9b --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Resources' +# +# Generated by: Microsoft Corporation +# +# Generated on: 4/01/2014 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '81d522a4-6e5d-4105-8f58-376204c47458' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = ' Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Commands.Resources.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml index 162a245760ba..8c838ec7d477 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml +++ b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml @@ -1,77 +1,729 @@ - - - - - Get-AzureLocation - - Gets the resource types and the Azure data center locations that support them. - - - - - Get - AzureLocation - - - - The Get-AzureLocation cmdlet gets the Azure data center locations that support each resource type. This cmdlet returns all resource types and locations. It has no parameters. - A resource is a user-managed entity, such as a website, database server, or database. When you create a resource, you need to specify a location, and not every location supports all resource types. Before you create your resources, use this cmdlet to find a location for each resource. - Azure resources are members of a resource group, which is a collection of resources that are deployed as a unit. Resource groups have a location, but the group and its members do not need to be in the same location. - - - - Get-AzureLocation - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceProviderType - - - - - - - - - - - - - - - - - - The Get-AzureLocation cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get all locations - - - - - PS C:\>Get-AzureLocation + + + + + Get-AzureADGroup + + Filters active directory groups. + + + + + Get + AzureADGroup + + + + + Filters active directory groups. + + + + Get-AzureADGroup + + ObjectId + + Object id of the group. + + Guid + + + + Get-AzureADGroup + + SearchString + + The group display name + + String + + + + Get-AzureADGroup + + ObjectId + + Object id of the group. + + Guid + + + + + + ObjectId + + Object id of the group. + + Guid + + Guid + + + + + + SearchString + + The group display name + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters groups using object id -------------------------- + + + + PS C:\> Get-AzureADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE + + Gets group with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id + + + + + + + + + -------------------------- Filters groups using Search String -------------------------- + + + + PS C:\> Get-AzureADGroup -SearchString Joe + + Filters all ad groups that has Joe in the display name. + + + + + + + + + -------------------------- List AD groups -------------------------- + + + + PS C:\> Get-AzureADGroup + + Gets all AD groups + + + + + + + + + + + Get-AzureADUser + + + + Get-AzureADServicePrincipal + + + + Get-AzureADGroupMember + + + + + + + + Get-AzureADGroupMember + + Get a group members. + + + + + Get + AzureADGroupMember + + + + + Get a group members. + + + + Get-AzureADGroupMember + + GroupObjectId + + Object id of the group. + + Guid + + + + + + GroupObjectId + + Object id of the group. + + Guid + + Guid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters group members using group object id -------------------------- + + + + PS C:\> Get-AzureADGroupMember -GroupObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE + + Gets group members with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id + + + + + + + + + + + Get-AzureADUser + + + + Get-AzureADServicePrincipal + + + + Get-AzureADGroupMemberMember + + + + + + + + Get-AzureADServicePrincipal + + Filters active directory service principals. + + + + + Get + AzureADServicePrincipal + + + + + Filters active directory service principals. + + + + Get-AzureADServicePrincipal + + ServicePrincipalName + + SPN of the service. + + String + + + + Get-AzureADServicePrincipal + + SearchString + + The service principal display name + + String + + + + Get-AzureADServicePrincipal + + ObjectId + + Object id of the service principal. + + Guid + + + + Get-AzureADServicePrincipal + + ServicePrincipalName + + SPN of the service. + + String + + + + + + ServicePrincipalName + + SPN of the service. + + String + + String + + + + + + SearchString + + The service principal display name + + String + + String + + + + + + ObjectId + + Object id of the service principal. + + Guid + + Guid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters service principals using SPN -------------------------- + + + + PS C:\> Get-AzureADServicePrincipal -SPN 36f81fc3-b00f-48cd-8218-3879f51ff39f + + Gets service principals with 36f81fc3-b00f-48cd-8218-3879f51ff39f SPN + + + + + + + + + -------------------------- Filters service principals using Search String -------------------------- + + + + PS C:\> Get-AzureADServicePrincipal -SearchString Web + + Filters all ad service principals that has Web in the display name. + + + + + + + + + -------------------------- List AD service principals -------------------------- + + + + PS C:\> Get-AzureADServicePrincipal + + Gets all AD service principals + + + + + + + + + + + Get-AzureADGroup + + + + Get-AzureADUser + + + + Get-AzureADGroupMember + + + + + + + + Get-AzureADUser + + Filters active directory users. + + + + + Get + AzureADUser + + + + + Filters active directory users. + + + + Get-AzureADUser + + UserPrincipalName + + UPN of the user. + + String + + + + Get-AzureADUser + + SearchString + + The user display name + + String + + + + Get-AzureADUser + + ObjectId + + Object id of the user. + + Guid + + + + Get-AzureADUser + + UserPrincipalName + + UPN of the user. + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + SearchString + + The user display name + + String + + String + + + + + + ObjectId + + Object id of the user. + + Guid + + Guid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters users using UPN -------------------------- + + + + PS C:\> Get-AzureADUser -UPN foo@domain.com + + Gets user with foo@domain.com + + + + + + + + + -------------------------- Filters users using Search String -------------------------- + + + + PS C:\> Get-AzureADUser -SearchString Joe + + Filters all ad users that has Joe in the display name. + + + + + + + + + -------------------------- List AD users -------------------------- + + + + PS C:\> Get-AzureADUser + + Gets all AD users + + + + + + + + + + + Get-AzureADGroup + + + + Get-AzureADServicePrincipal + + + + Get-AzureADGroupMember + + + + + + + + Get-AzureLocation + + Gets the resource types and the Azure data center locations that support them. + + + + + Get + AzureLocation + + + + + The Get-AzureLocation cmdlet gets the Azure data center locations that support each resource type. This cmdlet returns all resource types and locations. It has no parameters.A resource is a user-managed entity, such as a website, database server, or database. When you create a resource, you need to specify a location, and not every location supports all resource types. Before you create your resources, use this cmdlet to find a location for each resource.Azure resources are members of a resource group, which is a collection of resources that are deployed as a unit. Resource groups have a location, but the group and its members do not need to be in the same location. + + + + Get-AzureLocation + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceProviderType + + + + + + + + + + + + + + The Get-AzureLocation cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get all locations -------------------------- + + + + PS C:\>Get-AzureLocation Name Locations @@ -96,26 +748,22 @@ microsoft.insights/webtests Central US microsoft.network/Subnets Central US, West Europe -... - - - - - This command gets all resources and the locations in which they are supported. - - - - - - - - - Example 2: Get locations that support web sites - - - - - PS C:\>Get-AzureLocation | Where-Object Name -like "*web*site*" +... + + This command gets all resources and the locations in which they are supported. + + + + + + + + + -------------------------- Example 2: Get locations that support web sites -------------------------- + + + + PS C:\>Get-AzureLocation | Where-Object Name -like "*web*site*" Name Locations ---- --------- @@ -123,240 +771,219 @@ Microsoft.Web/sites North Central US, Central USPS -C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' ... - - - This examples shows how to find a location that supports a web site resource and how to use the location in a command to create a web site. - The first command uses the Get-AzureLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include "web" and "site". The output shows that the Azure data centers in the North Central US and Central US support web sites. - The second command uses the New-AzureResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393458 - - - - - - Get-AzureResource - - Gets Azure resources - - - - - Get - AzureResource - - - - The Get-AzureResource cmdlet gets the Azure resources in the subscription. By default, it gets all resources in the subscription, but you can use the parameters in the cmdlet to filter the results. - An Azure resource is a user-managed Azure entity, such as a database server, database, or website. Every Azure resource is associated with a resource group, which is a collection of resources that are deployed as a unit. - - - - Get-AzureResource - - ResourceGroupName - - Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. - - String - - - ResourceType - - Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. - - String - - - Tag - - Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureResource or Set-AzureResource cmdlets. To create a predefined tag, use the New-AzureTag cmdlet. - For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. - - Hashtable - - - - Get-AzureResource - - Name - - Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureResource gets all resources in the subscription. - - String - - - ParentResource - - Gets only resources that are children of the specified parent resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. - - String - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required when you use the Name parameter. - - String - - - ResourceGroupName - - Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. - - String - - - ResourceType - - Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. - - String - - - - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required when you use the Name parameter. - - String - - String - - - - - - - Name - - Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureResource gets all resources in the subscription. - - String - - String - - - - - - - ParentResource - - Gets only resources that are children of the specified parent resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. - - String - - String - - - - - - - ResourceGroupName - - Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. - - String - - String - - - - - - - ResourceType - - Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. - - String - - String - - - - - - - Tag - - Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureResource or Set-AzureResource cmdlets. To create a predefined tag, use the New-AzureTag cmdlet. - For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. - - Hashtable - - Hashtable - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSResource - - - - - - - - Returns objects that represent the resources. - - - - - - - - - The Get-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get all resources - - - - - PS C:\>Get-AzureResource +C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' ... + + This examples shows how to find a location that supports a web site resource and how to use the location in a command to create a web site. + + + + The first command uses the Get-AzureLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include "web" and "site". The output shows that the Azure data centers in the North Central US and Central US support web sites.The second command uses the New-AzureResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393458 + + + + + + + Get-AzureResource + + Gets Azure resources + + + + + Get + AzureResource + + + + + The Get-AzureResource cmdlet gets the Azure resources in the subscription. By default, it gets all resources in the subscription, but you can use the parameters in the cmdlet to filter the results.An Azure resource is a user-managed Azure entity, such as a database server, database, or website. Every Azure resource is associated with a resource group, which is a collection of resources that are deployed as a unit. + + + + Get-AzureResource + + ResourceGroupName + + Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. + + String + + + ResourceType + + Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. + + String + + + Tag + + Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureResource or Set-AzureResource cmdlets. To create a predefined tag, use the New-AzureTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. + + Hashtable + + + + Get-AzureResource + + Name + + Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureResource gets all resources in the subscription. + + String + + + ResourceGroupName + + Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. + + String + + + ResourceType + + Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. + + String + + + ParentResource + + Gets only resources that are children of the specified parent resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. + + String + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required when you use the Name parameter. + + String + + + + + + ResourceGroupName + + Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureResource gets all resources in the subscription. + + String + + String + + + + + + ResourceType + + Gets only resources of the specified resource type. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, GetAzureResource gets all resources in the subscription. + + String + + String + + + + + + Tag + + Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureResource or Set-AzureResource cmdlets. To create a predefined tag, use the New-AzureTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. + + Hashtable + + Hashtable + + + + + + Name + + Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureResource gets all resources in the subscription. + + String + + String + + + + + + ParentResource + + Gets only resources that are children of the specified parent resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. + + String + + String + + + + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required when you use the Name parameter. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResource + + + + + + + + + + + + + + The Get-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get all resources -------------------------- + + + + PS C:\>Get-AzureResource Name : HostingFarm1 ResourceGroupName : ContosoHosting ResourceType : Microsoft.Web/serverFarms @@ -370,25 +997,22 @@ ResourceType : Microsoft.Web/sites Location : southcentralus ParentResource : -... - - - - This commands gets all Azure resources in the subscription. - - - - - - - - - Example 2: Get resources by resource group - - - - - PS C:\>Get-AzureResource -ResourceGroupName ContosoRG01 +... + + This commands gets all Azure resources in the subscription. + + + + + + + + + -------------------------- Example 2: Get resources by resource group -------------------------- + + + + PS C:\>Get-AzureResource -ResourceGroupName ContosoRG01 Name : Default1 ResourceGroupName : ContosoLabsRG @@ -401,25 +1025,22 @@ Name : ContosoLabWeb ResourceGroupName : ContosoLabsRG ResourceType : Microsoft.Web/sites Location : northeurope -ParentResource : - - - - This commands gets all Azure resources in the ContosoRG01 resource group. - - - - - - - - - Example 3: Get resources by resource type - - - - - PS C:\>Get-AzureResource | Group-Object ResourceType +ParentResource : + + This commands gets all Azure resources in the ContosoRG01 resource group. + + + + + + + + + -------------------------- Example 3: Get resources by resource type -------------------------- + + + + PS C:\>Get-AzureResource | Group-Object ResourceType Count Name Group ----- ---- ----- @@ -455,27 +1076,22 @@ Name : Default2 ResourceGroupName : ContosoEngineering ResourceType : Microsoft.Web/serverFarms Location : southcentralus -ParentResource : - - - - These commands get all resources with a specified resource type. - The first command finds the types of resources in the subscription. It uses the Get-AzureResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription. - The second command uses the ResourceType parameter of Get-AzureResource to get all server farms in the subscription. - - - - - - - - - Example 4: Get a resource by name - - - - - PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 +ParentResource : + + These commands get all resources with a specified resource type. + + + + The first command finds the types of resources in the subscription. It uses the Get-AzureResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription.The second command uses the ResourceType parameter of Get-AzureResource to get all server farms in the subscription. + + + + + -------------------------- Example 4: Get a resource by name -------------------------- + + + + PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 Name : ContosoLabWeb ResourceGroupName : ContosoLabsRG ResourceType : Microsoft.Web/sites @@ -485,45 +1101,39 @@ Properties : {[name, ContosoLabWeb], [state, Running], [hostNames, System.Collections.Generic.List`1[System.Object]], [webSpace, ContosoLabsRG-NorthEuropewebspace]...} -Tags : - - - This commands gets the "ContosoLabWeb" web site resource. When you use the Name parameter to get a particular resource, the ResourceGroupName, ResourceType, and APIVersion parameters are required. - You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureResource | Where-Object Name -eq "ConsotoLabWeb" - - - - - - - - - Example 5: Get a resource by its tag - - - - - PS C:\>Get-AzureResource -Tag @{Name="Department";Value="IT"} - - - - This command gets resources that have a tag named "Department with a value of "IT". - - - - - - - - - Example 6: Get all tags of a resource - - - - - PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 - -PS C:\>(Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01).Tags +Tags : + + This commands gets the "ContosoLabWeb" web site resource. When you use the Name parameter to get a particular resource, the ResourceGroupName, ResourceType, and APIVersion parameters are required. + + + + You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureResource | Where-Object Name -eq "ConsotoLabWeb" + + + + + -------------------------- Example 5: Get a resource by its tag -------------------------- + + + + PS C:\>Get-AzureResource -Tag @{Name="Department";Value="IT"} + + This command gets resources that have a tag named "Department with a value of "IT". + + + + + + + + + -------------------------- Example 6: Get all tags of a resource -------------------------- + + + + PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 + +PS C:\>(Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01).Tags Tags: @@ -532,164 +1142,148 @@ Tags: ==== ====== Department IT Status Approved - FY2016 - - - - - These commands get all tags of the ContosoWeb resource. The first command gets the resource by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393050 - - - - - - Get-AzureResourceGroup - - Gets Azure resource groups - - - - - Get - AzureResourceGroup - - - - The Get-AzureResourceGroup cmdlet gets the Azure resource groups in your subscription. You can use the Name parameter to select resource groups by name. The default is all resource groups. - An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. - - - - GetMultiple - - Name - - Specifies the name of the resource group. Wildcards are not permitted. This parameter is required. - - String - - - - GetSingle - - Tag - - Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureResourceGroup or Set-AzureResourceGroup cmdlets. To create a predefined tag, use the New-AzureTag cmdlet. - For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. - - Hashtable - - - Detailed - - Return the details of each resource group if specified. - - SwitchParameter - - - - - - Name - - Specifies the name of the resource group. Wildcards are not permitted. This parameter is optional. The default is all resource groups in the subscription - - String - - String - - - - - - - Tag - - Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureResourceGroup or Set-AzureResourceGroup cmdlets. To create a predefined tag, use the New-AzureTag cmdlet. - For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. - - Hashtable - - Hashtable - - - - - - - Detailed - - Return the details of each resource group if specified. - - SwitchParameter - - SwitchParameter - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.PSResourceGroup - - - - - - - - Returns an array of resource group objects. - - - - - - - - - The Get-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get all resource groups and their details - - - - - PS C:\>Get-AzureResourceGroup -Detailed + FY2016 + + These commands get all tags of the ContosoWeb resource. The first command gets the resource by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393050 + + + + + + + Get-AzureResourceGroup + + Gets Azure resource groups + + + + + Get + AzureResourceGroup + + + + + The Get-AzureResourceGroup cmdlet gets the Azure resource groups in your subscription. You can use the Name parameter to select resource groups by name. The default is all resource groups.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. + + + + Get-AzureResourceGroup + + Name + + Specifies the name of the resource group. Wildcards are not permitted. This parameter is optional. The default is all resource groups in the subscription + + String + + + + Get-AzureResourceGroup + + Tag + + Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureResourceGroup or Set-AzureResourceGroup cmdlets. To create a predefined tag, use the New-AzureTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. + + Hashtable + + + Detailed + + Return the details of each resource group if specified. + + SwitchParameter + + + + + + Name + + Specifies the name of the resource group. Wildcards are not permitted. This parameter is optional. The default is all resource groups in the subscription + + String + + String + + + + + + Tag + + Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureResourceGroup or Set-AzureResourceGroup cmdlets. To create a predefined tag, use the New-AzureTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables. + + Hashtable + + Hashtable + + + + + + Detailed + + Return the details of each resource group if specified. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.PSResourceGroup + + + + + + + + + + + + + + The Get-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get all resource groups and their details -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Detailed Name: Contoso Location: West US Resources: @@ -706,24 +1300,22 @@ Resources: =============== ======================= ======== EngineerBlog Microsoft.Web/sites West US EngSvr01 Microsoft.Sql/servers West US - EngDB02 Microsoft.Sql/databases West US - - - This command gets all resource groups in the subscription. - - - - - - - - - Example 2: Get resource groups by name - - - - - PS C:\>Get-AzureResourceGroup -Name EngineerBlog + EngDB02 Microsoft.Sql/databases West US + + This command gets all resource groups in the subscription. + + + + + + + + + -------------------------- Example 2: Get resource groups by name -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Name EngineerBlog Name: EngineerBlog Location: East US Resources: @@ -731,65 +1323,56 @@ Resources: =============== ======================= ======== EngineerBlog Microsoft.Web/sites West US EngSvr01 Microsoft.Sql/servers West US - EngDB02 Microsoft.Sql/databases West US - - - This command gets Azure resource groups in your subscription that have names that begin with "eng". - - - - - - - - - Example 3: Get resource groups by other properties - - - - - PS C:\>Get-AzureResourceGroup -Detailed | Where-Object {$_.Resources.Type -like "*serverFarms*"} | Select-Object -Property ResourceGroupName + EngDB02 Microsoft.Sql/databases West US + + This command gets Azure resource groups in your subscription that have names that begin with "eng". + + + + + + + + + -------------------------- Example 3: Get resource groups by other properties -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Detailed | Where-Object {$_.Resources.Type -like "*serverFarms*"} | Select-Object -Property ResourceGroupName Contoso -EngineerBlog - - - - The command uses the Where-Object, ForEach-Object, and Select-Object cmdlets to get the names of resource groups that include Azure database server farms. You can use commands like this one to find resource groups with resources or properties of interest. - The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group. - - - - - - - - - Example 4: Get resource groups by tag - - - - - PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter";Value="Development"} - -PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter"} - - - - These commands get resource groups by tag. The first command gets resource groups that have a "CostCenter" tag with a value of "Development". The second command gets all resource groups that have a "CostCenter" tag, regardless of its value. - - - - - - - - - Example 5: Get all tags of a resource group - - - - - PS C:\>Get-AzureResourceGroup -Name ContosoRG +EngineerBlog + + The command uses the Where-Object, ForEach-Object, and Select-Object cmdlets to get the names of resource groups that include Azure database server farms. You can use commands like this one to find resource groups with resources or properties of interest. + + + + The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group. + + + + + -------------------------- Example 4: Get resource groups by tag -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter";Value="Development"} + +PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter"} + + These commands get resource groups by tag. The first command gets resource groups that have a "CostCenter" tag with a value of "Development". The second command gets all resource groups that have a "CostCenter" tag, regardless of its value. + + + + + + + + + -------------------------- Example 5: Get all tags of a resource group -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Name ContosoRG PS C:\>(Get-AzureResourceGroup -Name ContosoRG).Tags @@ -799,166 +1382,153 @@ Tags: ==== ====== Department IT Status Approved - FY2016 - - - - - These commands get all tags of the ContosoRG resource group. The first command gets the resource group by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393047 - - - New-AzureResourceGroup - - - - Remove-AzureResourceGroup - - - - - - - Get-AzureResourceGroupDeployment - - Gets the deployments in a resource group. - - - - - Get - AzureResourceGroupDeployment - - - - The Get-AzureResourceGroupDeployment cmdlet gets the deployments in an Azure resource group. You can use the Name (DeploymentName) and ProvisioningState parameters to filter the deployments. By default, Get-AzureResourceGroupDeployment returns all deployments for a specified resource group. - An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. A deployment is the operation that makes the resources in the resource group available for use. - This cmdlet is very useful for tracking. For debugging, use it with the Get-AzureResourceGroupLog cmdlet. - - - - Get-AzureResourceGroupDeployment - - ResourceGroupName - - Gets the deployments for the specified resource group. Wildcards are not permitted. This parameter is required and you can specify only one resource group in each command. - - String - - - Name - - Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. - - String - - - ProvisioningState - - Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. - - String - - - - - - Name - - Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. - - String - - String - - - - - - - ProvisioningState - - Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. - - String - - String - - - - - - - ResourceGroupName - - Gets the deployments for the specified resource group. Wildcards are not permitted. This parameter is required and you can specify only one resource group in each command. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models. PSResourceGroupDeployment - - - - - - - - This cmdlet returns an array of objects that represent resource group deployments. - - - - - - - - - The Get-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get all deployments for a resource group - - - - - PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG + FY2016 + + These commands get all tags of the ContosoRG resource group. The first command gets the resource group by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393047 + + + New-AzureResourceGroup + + + + Remove-AzureResourceGroup + + + + + + + + Get-AzureResourceGroupDeployment + + Gets the deployments in a resource group. + + + + + Get + AzureResourceGroupDeployment + + + + + The Get-AzureResourceGroupDeployment cmdlet gets the deployments in an Azure resource group. You can use the Name (DeploymentName) and ProvisioningState parameters to filter the deployments. By default, Get-AzureResourceGroupDeployment returns all deployments for a specified resource group.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. A deployment is the operation that makes the resources in the resource group available for use.This cmdlet is very useful for tracking. For debugging, use it with the Get-AzureResourceGroupLog cmdlet. + + + + Get-AzureResourceGroupDeployment + + ResourceGroupName + + Gets the deployments for the specified resource group. Wildcards are not permitted. This parameter is required and you can specify only one resource group in each command. + + String + + + Name + + Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. + + String + + + ProvisioningState + + Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. + + String + + + + + + ResourceGroupName + + Gets the deployments for the specified resource group. Wildcards are not permitted. This parameter is required and you can specify only one resource group in each command. + + String + + String + + + + + + Name + + Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. + + String + + String + + + + + + ProvisioningState + + Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureResourceGroupDeployment returns all deployments for the specified resource group. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models. PSResourceGroupDeployment + + + + + + + + + + + + + + The Get-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get all deployments for a resource group -------------------------- + + + + PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG DeploymentName : WordPress.WordPress ResourceGroupName : ContosoLabsRG ProvisioningState : Succeeded @@ -987,61 +1557,52 @@ Parameters : dbSubscriptionId String c9cbd920-c00c-427c-852b-8aaf38babcde dbResourceGroup String WordPress-Group autoscaleEnabled Bool True -Outputs : - - - - This command gets all deployments for the ContosoLabsRG resource group. The output shows a deployment for a WordPress blog that used a gallery template. - - - - - - - - - Example 2: Get a deployment by name - - - - - PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -Name DeployWebsite1 - - - - This command gets the DeployWebsite1 deployment of the ContosoLabsRG resource group. You can assign a name to a deployment when you create it by using the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. If you do not assign a name, the cmdlets provide a default name based on the template used to create the deployment. - - - - - - - - - Example 3: Get a deployment by provisioning state - - - - - PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -ProvisioningState NotProvisioned - - - - This command gets the deployments of the ContosoLabsRG resource group that are not yet provisioned. - - - - - - - - - Example 4: Get the deployments of all resource groups - - - - - PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupDeployment | Format-Table ResourceGroupName, DeploymentName, ProvisioningState +Outputs : + + This command gets all deployments for the ContosoLabsRG resource group. The output shows a deployment for a WordPress blog that used a gallery template. + + + + + + + + + -------------------------- Example 2: Get a deployment by name -------------------------- + + + + PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -Name DeployWebsite1 + + This command gets the DeployWebsite1 deployment of the ContosoLabsRG resource group. You can assign a name to a deployment when you create it by using the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. If you do not assign a name, the cmdlets provide a default name based on the template used to create the deployment. + + + + + + + + + -------------------------- Example 3: Get a deployment by provisioning state -------------------------- + + + + PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -ProvisioningState NotProvisioned + + This command gets the deployments of the ContosoLabsRG resource group that are not yet provisioned. + + + + + + + + + -------------------------- Example 4: Get the deployments of all resource groups -------------------------- + + + + PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupDeployment | Format-Table ResourceGroupName, DeploymentName, ProvisioningState ResourceGroupName DeploymentName ProvisioningState ----------------- -------------- ----------------- ContosoAppa001 Microsoft.WebSiteSQLDatabase.0.1.0-p... Succeeded @@ -1050,251 +1611,236 @@ DevTest001 CakeSoftwareFoundation.CakePHP.0.1.0... Succ LabDeploy001 Ghost.Ghost.0.1.0-preview1 Succeeded ContosoDB CLrg001depl001 Succeeded ContosoBlog WordPress.WordPress.0.1.0-preview1 Succeeded -ContosoLabsRG WordPress.WordPress Succeeded - - - This command gets all deployments of all resource groups in the subscription and formats them in a table with their ResourceGroupName, DeploymentName and ProvisioningState property values. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393044 - - - - - - Get-AzureResourceGroupGalleryTemplate - - Gets resource group templates in the gallery - - - - - Get - AzureResourceGroupGalleryTemplate - - - - The Get-AzureResourceGroupGalleryTemplate cmdlet gets resource group gallery templates from the template gallery that Azure hosts. To save a gallery template as a JSON file, use the Save-AzureResourceGroupGalleryTemplate cmdlet. - A resource group template is a JSON string that defines a resource group for a complex entity, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. The template defines the resources that are typically needed for the entity, such as web sites, database servers, databases and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To create a resource group with a template, just identify the template and provide values for its parameters. - You can create your own templates or use the Get-AzureResourceGroupGalleryTemplate get a template from the template gallery that Azure hosts. You can also create templates by editing the gallery templates. If you create or edit a template, be sure to use the Test-AzureResourceGroupTemplate cmdlet to verify that your template and its parameters are valid. - To create a resource group with a custom or gallery template, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. - By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag. - - - - Get-AzureResourceGroupGalleryTemplate - - Publisher - - Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. - - String - - - Category - - Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. - - String - - - - Get-AzureResourceGroupGalleryTemplate - - Identity - - Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command. - To find the Identity of a gallery template, run Get-AzureResourceGroupGalleryTemplate without parameters. - - String - - - - - - Category - - Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. - - String - - String - - - - - - - Identity - - Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command. - To find the Identity of a gallery template, run Get-AzureResourceGroupGalleryTemplate without parameters. - - String - - String - - - - - - - Publisher - - Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. - - String - - String - - - - - - - AllVersions - - If specified, the cmdlet will return all versions of matching templates. By default only the latest version is returned. - - SwitchParameter - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - System.Management.Automation.PSCustomObject - - - - - - - - When you use the Identity parameter, this cmdlet returns a GalleryItem object. Otherwise, it returns a PSCustomObjet. - - - - - Microsoft.Azure.Gallery.GalleryItem - - - - - - - - When you use the Identity parameter, this cmdlet returns a GalleryItem object. Otherwise, it returns a PSCustomObjet. - - - - - - - - - The Get-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get all gallery templates - - - - - PS C:\>Get-AzureResourceGroupGalleryTemplate +ContosoLabsRG WordPress.WordPress Succeeded + + This command gets all deployments of all resource groups in the subscription and formats them in a table with their ResourceGroupName, DeploymentName and ProvisioningState property values. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393044 + + + + + + + Get-AzureResourceGroupGalleryTemplate + + Gets resource group templates in the gallery + + + + + Get + AzureResourceGroupGalleryTemplate + + + + + The Get-AzureResourceGroupGalleryTemplate cmdlet gets resource group gallery templates from the template gallery that Azure hosts. To save a gallery template as a JSON file, use the Save-AzureResourceGroupGalleryTemplate cmdlet.A resource group template is a JSON string that defines a resource group for a complex entity, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. The template defines the resources that are typically needed for the entity, such as web sites, database servers, databases and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To create a resource group with a template, just identify the template and provide values for its parameters.You can create your own templates or use the Get-AzureResourceGroupGalleryTemplate get a template from the template gallery that Azure hosts. You can also create templates by editing the gallery templates. If you create or edit a template, be sure to use the Test-AzureResourceGroupTemplate cmdlet to verify that your template and its parameters are valid.To create a resource group with a custom or gallery template, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag. + + + + Get-AzureResourceGroupGalleryTemplate + + Publisher + + Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. + + String + + + Category + + Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. + + String + + + ApplicationName + + + + String + + + AllVersions + + If specified, the cmdlet will return all versions of matching templates. By default only the latest version is returned. + + SwitchParameter + + + + Get-AzureResourceGroupGalleryTemplate + + Identity + + Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureResourceGroupGalleryTemplate without parameters. + + String + + + + + + Publisher + + Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. + + String + + String + + + + + + Category + + Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureResourceGroupGalleryTemplate gets all gallery templates. + + String + + String + + + + + + ApplicationName + + + + String + + String + + + + + + AllVersions + + If specified, the cmdlet will return all versions of matching templates. By default only the latest version is returned. + + SwitchParameter + + SwitchParameter + + + + + + Identity + + Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureResourceGroupGalleryTemplate without parameters. + + String + + String + + + + + + + + + None + + + + + + + + + + + + System.Management.Automation.PSCustomObject + + + + + + + + + + + + + + The Get-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get all gallery templates -------------------------- + + + + PS C:\>Get-AzureResourceGroupGalleryTemplate -Publisher Identity--------- --------Acquiacom Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1Acquiacom Acquiacom.AcquiaDrupal7SQL.0.1.0-preview1Avensoft Avensoft.nService.0.1.0-preview1BlogEngineNET BlogEngineNET.BlogEngineNET.0.1.0-preview1Brandoo Brandoo.BrandooWordPressMSSQLorAzureSQL.0.1.0-preview1bugnetproject bugnetproject.BugNET.0.1.0-preview1CakeSoftwareFoundation CakeSoftwareFoundation.CakePHP.0.1.0-preview1CommerceGuys CommerceGuys.DrupalCommerceKickstartMySQL.0.1.0-preview1... - - - - This command gets all gallery templates in the Azure template gallery and displays the Identity and Description of each gallery template in a list. The list lets you browse through the templates and select the ones that meet your needs. - To save the list in a text file that you can search, use the redirection operator (>). For example, Get-AzureResourceGroupGalleryTemplate | Format-List Identity, Description > $home\Documents\Azure\TemplateDescriptions.txt. - - - - - - - - - Example 2: Get a gallery template by its identity - - - - - PS C:\ps-test> Get-AzureResourceGroupGalleryTemplate -Identity WikimediaFoundation.MediaWiki.0.1.0-preview1 - - - - This command uses the Get-AzureResourceGroupGalleryTemplate cmdlet to get the WikimediaFoundation.MediaWiki.0.1.0-preview1 gallery template. You can review the gallery template and its properties, such as icons and screenshots. - - - - - - - - - Example 3: Save a gallery template as a JSON file - - - - - PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.PhotoGallery.0.1.0-preview1 -Path $home\Documents\Azure\MyTemplates +Publisher Identity--------- --------Acquiacom Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1Acquiacom Acquiacom.AcquiaDrupal7SQL.0.1.0-preview1Avensoft Avensoft.nService.0.1.0-preview1BlogEngineNET BlogEngineNET.BlogEngineNET.0.1.0-preview1Brandoo Brandoo.BrandooWordPressMSSQLorAzureSQL.0.1.0-preview1bugnetproject bugnetproject.BugNET.0.1.0-preview1CakeSoftwareFoundation CakeSoftwareFoundation.CakePHP.0.1.0-preview1CommerceGuys CommerceGuys.DrupalCommerceKickstartMySQL.0.1.0-preview1... + + This command gets all gallery templates in the Azure template gallery and displays the Identity and Description of each gallery template in a list. The list lets you browse through the templates and select the ones that meet your needs. + + + + To save the list in a text file that you can search, use the redirection operator (>). For example, Get-AzureResourceGroupGalleryTemplate | Format-List Identity, Description > $home\Documents\Azure\TemplateDescriptions.txt. + + + + + -------------------------- Example 2: Get a gallery template by its identity -------------------------- + + + + PS C:\> PS C:\ps-test> Get-AzureResourceGroupGalleryTemplate -Identity WikimediaFoundation.MediaWiki.0.1.0-preview1 + + This command uses the Get-AzureResourceGroupGalleryTemplate cmdlet to get the WikimediaFoundation.MediaWiki.0.1.0-preview1 gallery template. You can review the gallery template and its properties, such as icons and screenshots. + + + + + + + + + -------------------------- Example 3: Save a gallery template as a JSON file -------------------------- + + + + PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.PhotoGallery.0.1.0-preview1 -Path $home\Documents\Azure\MyTemplates -PS C:\>Get-Content -Path $home\Documents\Azure\MyTemplates Microsoft.PhotoGallery.0.1.0-preview1.json { "$schema": "http://johngosmanage.blob.core.windows.net/schemas/2014-04-01-preview/deploymentTemplate.json", "contentVersion": "1.0.0.0", "parameters": { "siteName": { "type": "string" }, "hostingPlanName": { "type": "string" },... "resources": [ { "apiVersion": "2014-04-01", "name": "[parameters('siteName')]", "type": "Microsoft.Web/sites", "location": "[parameters('siteLocation')]", "tags": { "[concat('hidden-related:/subscriptions/', }, "properties": { "name": "[parameters('siteName')]", "serverFarm": "[parameters('hostingPlanName')]", "computeMode": "[parameters('computeMode')]", "siteMode": "[parameters('siteMode')]" }... - - - - When you find a gallery template that matches your resource needs, +PS C:\>Get-Content -Path $home\Documents\Azure\MyTemplates Microsoft.PhotoGallery.0.1.0-preview1.json { "$schema": "http://johngosmanage.blob.core.windows.net/schemas/2014-04-01-preview/deploymentTemplate.json", "contentVersion": "1.0.0.0", "parameters": { "siteName": { "type": "string" }, "hostingPlanName": { "type": "string" },... "resources": [ { "apiVersion": "2014-04-01", "name": "[parameters('siteName')]", "type": "Microsoft.Web/sites", "location": "[parameters('siteLocation')]", "tags": { "[concat('hidden-related:/subscriptions/', }, "properties": { "name": "[parameters('siteName')]", "serverFarm": "[parameters('hostingPlanName')]", "computeMode": "[parameters('computeMode')]", "siteMode": "[parameters('siteMode')]" }... + + When you find a gallery template that matches your resource needs, you can save it as a JSON file on disk. This makes it easy to review and analyze the resources that the template creates and the parameters (user-defined values) that it defines for each resource. Then, you can use the template with the New-AzureResourceGroup and New-AzureResourceGroupDeployment cmdlets. - The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify. - The second command uses the Get-Content cmdlet to get the content of the template file. The output that's displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureResourceGroup or Get-Help New-AzureResourceGroupDeployment. - - - - - - - - - Example 4: Get the category, identity, and summary of the templates - - - - - PS C:\>Get-AzureResourceGroupGalleryTemplate | Foreach-Object {Get-AzureResourceGroupGalleryTemplate -Identity $_.Identity} | Format-List -Property CategoryIds, Identity, Summary + + + + The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify.The second command uses the Get-Content cmdlet to get the content of the template file. The output that's displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureResourceGroup or Get-Help New-AzureResourceGroupDeployment. + + + + + -------------------------- Example 4: Get the category, identity, and summary of the templates -------------------------- + + + + PS C:\>Get-AzureResourceGroupGalleryTemplate | Foreach-Object {Get-AzureResourceGroupGalleryTemplate -Identity $_.Identity} | Format-List -Property CategoryIds, Identity, Summary CategoryIds : {web, blogscms, ecommerce} Identity : Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1 Summary : Acquia Drupal 7 provides the fastest on-ramp to build dynamic and social web sites featuring both editorial and user-generated content. Includes Drupal core and popular modules. @@ -1303,178 +1849,165 @@ Summary : Acquia Drupal 7 provides the fastest on-ramp to build dynamic and CategoryIds : {web, other} Identity : Avensoft.nService.0.1.0-preview1 Summary : Help desk and service management software that empowers you to provide great services to your employees and customers. This free edition allows one concurrent technician and unlimited end users. -... - - - - This example shows you how to display the category (CategoryIds property), identity, and summary of each template in a list. You can use commands with this format to get any template property. To find all template properties, pipe a Get-AzureResourceGroupGalleryTemplate command with the Identity parameter to the Get-Member cmdlet. For example: (Get-AzureResourceGroupGalleryTemplate Microsoft.TeamProject.0.1.0-preview1 | Get-Member). - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393052 - - - - - - Get-AzureResourceGroupLog - - Gets the deployment log for a resource group - - - - - Get - AzureResourceGroupLog - - - - The Get-AzureResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging. - By default, Get-AzureResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments. - - - - Get-AzureResourceGroupLog - - Name - - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. - - String - - - - Get-AzureResourceGroupLog - - Name - - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. - - String - - - All - - Gets all deployment log entries for the resource group. - - - - - Get-AzureResourceGroupLog - - Name - - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. - - String - - - DeploymentName - - Gets the log entries for the deployments with the specified name. - To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. - - String - - - - - - All - - Gets all deployment log entries for the resource group. - - SwitchParameter - - SwitchParameter - - - - - - - DeploymentName - - Gets the log entries for the deployments with the specified name. - To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. - - String - - String - - - - - - - Name - - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSDeploymentEventData - - - - - - - - - - - - - - - - - - The Get-AzureResourceGroupLog cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Get the log entries for the most recent deployment - - - - - PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 +... + + This example shows you how to display the category (CategoryIds property), identity, and summary of each template in a list. You can use commands with this format to get any template property. To find all template properties, pipe a Get-AzureResourceGroupGalleryTemplate command with the Identity parameter to the Get-Member cmdlet. For example: (Get-AzureResourceGroupGalleryTemplate Microsoft.TeamProject.0.1.0-preview1 | Get-Member). + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393052 + + + + + + + Get-AzureResourceGroupLog + + Gets the deployment log for a resource group + + + + + Get + AzureResourceGroupLog + + + + + The Get-AzureResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging.By default, Get-AzureResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments. + + + + Get-AzureResourceGroupLog + + Name + + Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + + String + + + + Get-AzureResourceGroupLog + + Name + + Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + + String + + + All + + Gets all deployment log entries for the resource group. + + SwitchParameter + + + + Get-AzureResourceGroupLog + + Name + + Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + + String + + + DeploymentName + + Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. + + String + + + + + + Name + + Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + + String + + String + + + + + + All + + Gets all deployment log entries for the resource group. + + SwitchParameter + + SwitchParameter + + + + + + DeploymentName + + Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSDeploymentEventData + + + + + + + + + + + + + + The Get-AzureResourceGroupLog cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Get the log entries for the most recent deployment -------------------------- + + + + PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 Authorization : Scope : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 Action : Microsoft.Resources/subscriptions/resourcegroups/deployments/write @@ -1499,1375 +2032,2102 @@ ResourceGroupName : ContosoLabsRG ResourceProvider : Microsoft Resources EventSource : Microsoft Resources Properties : - statusCode : Created - - - - This command gets the log entries of the currently running or most recently completed deployment of the ContosoRG01 resource group. In this case, the log entries records the addition of a new web site. - - - - - - - - - Example 2: Get log entries by deployment name - - - - - PS C:\>(Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 -PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02 - - - - These commands get the log entries of the LabDeploy02 deployment of the ContosoLabsRG resource group. - The first command uses the Get-AzureResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name. - The second command uses the Get-AzureResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment. - - - - - - - - - Example 3: Get all failing log entries for a resource group - - - - - PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed - - - - This command gets all log entries of failed operations for the ContosoRG01 resource group. You might use a command like this for debugging. - The first command uses the All parameter of the Get-AzureResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property - - - - - - - - - Example 4: Get the logs of the most recent deployment for each resource group - - - - - PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupLog - - - - This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureResourceGroupLog which gets the log entries for the last deployment of each resource group. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393459 - - - - - - New-AzureResource - - Creates a new resource in a resource group - - - - - New - AzureResource - - - - The New-AzureResource cmdlet creates an Azure resource, such as a website, SQL Azure database server, or SQL Azure database, in a new or existing resource group. - If a resource with the same name exists in the resource group, the cmdlet prompts for confirmation before replacing the existing resource. To suppress the confirmation prompt, use the Force parameter. - A resource is a user-managed Azure entity. A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group. - Typically, you use a template to create a resource group (New-AzureResourceGroup) and its resources. Then, if necessary, you can use this cmdlet to add additional resources to it. - - - - New-AzureResource - - Force - - Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureResource displays by default when the resource group already contains a resource with the same resource name. - - - - ParentResource - - Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". The name is case-sensitive. Wildcards are not permitted. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. - - String - - - PropertyObject - - Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional. - Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureResourceGroupGalleryTemplate cmdlet returns. - For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844). - - Hashtable - - - Tag - - Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - - Location - - Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for a resource. This parameter is required. - The resource name must be unique in the resource group. If the name of a particular type of resource must be unique in a larger scope, the command will fail with an message that the name is not unique in the required scope. - - String - - - ResourceGroupName - - Specifies the resource group for this resource. This parameter is required. Enter the name of a new or existing resource group. If the resource group doesn't exist, this cmdlet creates it for you. - A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group. - - String - - - ResourceType - - Enter the type of the resource that you are creating, such as "Microsoft.Web/sites" or " Microsoft.Sql/servers/databases". This parameter is required and its value is case-sensitive. Wildcards are not permitted. - - String - - - - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - String - - - - - - - Force - - Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureResource displays by default when the resource group already contains a resource with the same resource name. - - SwitchParameter - - SwitchParameter - - - - - - - Location - - Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureLocation cmdlet. - - String - - String - - - - - - - Name - - Specifies a name for a resource. This parameter is required. - The resource name must be unique in the resource group. If the name of a particular type of resource must be unique in a larger scope, the command will fail with an message that the name is not unique in the required scope. - - String - - String - - - - - - - ParentResource - - Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". The name is case-sensitive. Wildcards are not permitted. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. - - String - - String - - - - - - - PropertyObject - - Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional. - Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureResourceGroupGalleryTemplate cmdlet returns. - For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844). - - Hashtable - - Hashtable - - - - - - - ResourceGroupName - - Specifies the resource group for this resource. This parameter is required. Enter the name of a new or existing resource group. If the resource group doesn't exist, this cmdlet creates it for you. - A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group. - - String - - String - - - - - - - ResourceType - - Enter the type of the resource that you are creating, such as "Microsoft.Web/sites" or " Microsoft.Sql/servers/databases". This parameter is required and its value is case-sensitive. Wildcards are not permitted. - - String - - String - - - - - - - Tag - - Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - Hashtable[] - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSResource - - - - - - - - The cmdlet returns a PSResource object that represents the new resource. - - - - - - - - - The New-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - When you add a resource to a resource group, Azure Resource Manager also adds to the resource group any resource that you need to support the new resource. - - - If you encounter the "Conflict: Not enough available reserved instance servers to satisfy this request" error, wait a few minutes and try the command again. If the request is automated, set it to retry repeatedly at random intervals. You can also try a different location for the resource. To find locations that support resources of a particular type, use the Get-AzureLocation cmdlet. - - - - - Example 1: Create a new web site - - - - - PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -PropertyObject @{"name" = "ContosoEngSite"; "siteMode" = "Limited"; "computeMode" = "Shared"} + statusCode : Created + + This command gets the log entries of the currently running or most recently completed deployment of the ContosoRG01 resource group. In this case, the log entries records the addition of a new web site. + + + + + + + + + -------------------------- Example 2: Get log entries by deployment name -------------------------- + + + + PS C:\>(Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 +PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02 + + These commands get the log entries of the LabDeploy02 deployment of the ContosoLabsRG resource group. + + + + The first command uses the Get-AzureResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name.The second command uses the Get-AzureResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment. + + + + + -------------------------- Example 3: Get all failing log entries for a resource group -------------------------- + + + + PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed + + This command gets all log entries of failed operations for the ContosoRG01 resource group. You might use a command like this for debugging. + + + + The first command uses the All parameter of the Get-AzureResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property + + + + + -------------------------- Example 4: Get the logs of the most recent deployment for each resource group -------------------------- + + + + PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupLog + + This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureResourceGroupLog which gets the log entries for the last deployment of each resource group. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393459 + + + + + + + Get-AzureRoleAssignment + + Filters role assignments. + + + + + Get + AzureRoleAssignment + + + + + Filters role assignments. + + + + Get-AzureRoleAssignment + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + Get-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + Get-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + Get-AzureRoleAssignment + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + + + RoleDefinitionName + + Role to assign the principals with. + + String + + String + + + + + + ObjectId + + Object id of the user, group or service principal. + + Guid + + Guid + + + + + + ResourceGroupName + + Resource group to assign the role to. + + String + + String + + + + + + ResourceName + + Name of the resource to assign the role to. + + String + + String + + + + + + ResourceType + + Type of the resource to assign the role to. + + String + + String + + + + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + String + + + + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + String + + + + + + Mail + + Mail of the user or group + + String + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + ServicePrincipalName + + SPN of the service principal. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters role assignment using UPN, Role Definition and Resource Group -------------------------- + + + + PS C:\> Get-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader + + gets role assignments for principal in a resource group that have Reader role definition + + + + + + + + + -------------------------- Filters role assignments using Service Principal Name -------------------------- + + + + PS C:\> Get-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor + + Gets role assignments of a service principal that have contribution role definition. + + + + + + + + + -------------------------- List all role assignments in the subscription -------------------------- + + + + PS C:\> Get-AzureRoleAssignment + + Gets all role assignments under the subscription + + + + + + + + + -------------------------- Filters role assignment using explict Scope -------------------------- + + + + PS C:\> Get-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" + + gets role assignment to a live email on a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used + + + + + + + + + + + New-AzureRoleAssignment + + + + Remove-AzureRoleAssignment + + + + Get-AzureRoleDefinition + + + + + + + + Get-AzureRoleDefinition + + Filters role definitions. + + + + + Get + AzureRoleDefinition + + + + + Gets role definitions. + + + + Get-AzureRoleDefinition + + Name + + Role definition name. + + String + + + + + + Name + + Role definition name. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Gets a role definition -------------------------- + + + + PS C:\> Get-AzureRoleDefinition -Name Reader + + Gets a role definition with Reader name + + + + + + + + + -------------------------- Lists all role definitions -------------------------- + + + + PS C:\> Get-AzureRoleDefinition + + Lists all role definitions + + + + + + + + + + + New-AzureRoleAssignment + + + + Get-AzureRoleAssignment + + + + Get-AzureRoleAssignment + + + + + + + + New-AzureResource + + Creates a new resource in a resource group + + + + + New + AzureResource + + + + + The New-AzureResource cmdlet creates an Azure resource, such as a website, SQL Azure database server, or SQL Azure database, in a new or existing resource group.If a resource with the same name exists in the resource group, the cmdlet prompts for confirmation before replacing the existing resource. To suppress the confirmation prompt, use the Force parameter.A resource is a user-managed Azure entity. A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group.Typically, you use a template to create a resource group (New-AzureResourceGroup) and its resources. Then, if necessary, you can use this cmdlet to add additional resources to it. + + + + New-AzureResource + + Location + + Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureLocation cmdlet. + + String + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + + PropertyObject + + Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional.Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureResourceGroupGalleryTemplate cmdlet returns.For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844). + + Hashtable + + + Tag + + Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureResource displays by default when the resource group already contains a resource with the same resource name. + + SwitchParameter + + + Name + + Specifies a name for a resource. This parameter is required. The resource name must be unique in the resource group. If the name of a particular type of resource must be unique in a larger scope, the command will fail with an message that the name is not unique in the required scope. + + String + + + ResourceGroupName + + Specifies the resource group for this resource. This parameter is required. Enter the name of a new or existing resource group. If the resource group doesn't exist, this cmdlet creates it for you.A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group. + + String + + + ResourceType + + Enter the type of the resource that you are creating, such as "Microsoft.Web/sites" or " Microsoft.Sql/servers/databases". This parameter is required and its value is case-sensitive. Wildcards are not permitted. + + String + + + ParentResource + + Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". The name is case-sensitive. Wildcards are not permitted.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. + + String + + + + + + Location + + Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureLocation cmdlet. + + String + + String + + + + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + String + + + + + + PropertyObject + + Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional.Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureResourceGroupGalleryTemplate cmdlet returns.For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844). + + Hashtable + + Hashtable + + + + + + Tag + + Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + Hashtable[] + + + + + + Force + + Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureResource displays by default when the resource group already contains a resource with the same resource name. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies a name for a resource. This parameter is required. The resource name must be unique in the resource group. If the name of a particular type of resource must be unique in a larger scope, the command will fail with an message that the name is not unique in the required scope. + + String + + String + + + + + + ResourceGroupName + + Specifies the resource group for this resource. This parameter is required. Enter the name of a new or existing resource group. If the resource group doesn't exist, this cmdlet creates it for you.A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group. + + String + + String + + + + + + ResourceType + + Enter the type of the resource that you are creating, such as "Microsoft.Web/sites" or " Microsoft.Sql/servers/databases". This parameter is required and its value is case-sensitive. Wildcards are not permitted. + + String + + String + + + + + + ParentResource + + Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". The name is case-sensitive. Wildcards are not permitted.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database is associated with a SQL Azure database server. A resource group is not a parent of its resources. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResource + + + + + + + + + + + + + + The New-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Create a new web site -------------------------- + + + + PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -PropertyObject @{"name" = "ContosoEngSite"; "siteMode" = "Limited"; "computeMode" = "Shared"} Name : ContosoEngSite ResourceGroupName : ContosoEngineering ResourceType : Microsoft.Web/sites Location : North Europe Properties : {[name, ContosoEngSite], [state, Running], [hostNames, System.Collections.Generic.List`1[System.Object]], [webSpace, - ContosoEngineering-NorthEuropewebspace]...} - - - This command uses the New-AzureResource cmdlet to create the ContosoEngSite web site in the ContosoEngineering resource group. If the ContosoEngineering resource group doesn't exist, New-AzureResource creates it. If the ContosoEngineering resource group already has a resource named ContosoEngSite, the cmdlet prompt for confirmation before replacing it. - The command uses the Location parameter to place the new web in the "North Europe" data center, although the resource group and its resources are located in several different locations. - The cmdlet returns a PSResource object that represents the new database. - - - - - - - - - Example 2: Create a web site with property values - - - - - PS C:\>$WebsiteProperties = @{name = "ContosoWeb"; serverFarm = CS01; computeMode = "Shared"; siteMode = "Limited";}PS C:\>New-AzureResource -Name ContosoWeb -ResouceGroupName CRG01 -ResourceType 'Microsoft.Web/sites' -Location "South Central US" -ApiVersion 2014-04-01 -PropertyObject $WebsiteProperties + ContosoEngineering-NorthEuropewebspace]...} + + This command uses the New-AzureResource cmdlet to create the ContosoEngSite web site in the ContosoEngineering resource group. If the ContosoEngineering resource group doesn't exist, New-AzureResource creates it. If the ContosoEngineering resource group already has a resource named ContosoEngSite, the cmdlet prompt for confirmation before replacing it. + + + + The command uses the Location parameter to place the new web in the "North Europe" data center, although the resource group and its resources are located in several different locations.The cmdlet returns a PSResource object that represents the new database. + + + + + -------------------------- Example 2: Create a web site with property values -------------------------- + + + + PS C:\>$WebsiteProperties = @{name = "ContosoWeb"; serverFarm = CS01; computeMode = "Shared"; siteMode = "Limited";}PS C:\>New-AzureResource -Name ContosoWeb -ResouceGroupName CRG01 -ResourceType 'Microsoft.Web/sites' -Location "South Central US" -ApiVersion 2014-04-01 -PropertyObject $WebsiteProperties Name : ContosoWeb ResourceGroupName : ContosoEngineering ResourceType : Microsoft.Web/sites Location : South Central US Properties : {[name, ContosoWeb], [state, Running], [hostNames, System.Collections.Generic.List`1[System.Object]], [webSpace, - CRG01-Southcentralwebspace]...} - - - These commands create the ContosoWeb Azure website in the CRG01 resource group. - The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureResourceGroupGalleryTemplate cmdlet return. - The second command uses the New-AzureResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable. - - - - - - - - - Example 3: Add a website to a resource group - - - - - PS C:\>New-AzureResourceGroup -Name ContosoPortal -Location "West US" -GalleryTemplateIdentity WordPress.WordPress.0.1.0-preview1 -TemplateParameterFile ".\WordPressParameters.json" - - -PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/servers/databases" –ResourceGroup ContosoPortal –Location "West US" –ParentResource "Microsoft.Sql/servers/ContosoServer01" –PropertyObject @{Edition = "Enterprise"; MaxSizeGB = 100} - - - - This example shows a typical use of this cmdlet. The first command uses the New-AzureResourceGroup cmdlet to create the ContosoPortal resource group. The command uses the WordPress gallery template (Get-AzureResourceGroupGalleryTemplate) and a JSON file, WordPressParameters.json, to specify values for the template-specific parameters, such as the name and location of the database, a name for the hosting plan, and web deployment credentials. - The second command uses the New-AzureResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file. - - - - - - - - - Example 4: Create a resource group with tags - - - - - PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="Status";Value="Approved"},@{Name="New"} - - - - This command creates a new website and applies two tags to it. The command uses the Tag parameter to apply a "Status" tag with a value of "Approved" and a tag named "New" with no value. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393051 - - - - - - New-AzureResourceGroup - - Creates an Azure resource group and its resources - - - - - New - AzureResourceGroup - - - - The New-AzureResourceGroup cmdlet creates an Azure resource group and its resources and returns an object that represents the resource group. - Use this cmdlet to create a new resource group. To add a deployment to an existing resource group, use the New-AzureResourceGroupDeployment cmdlet. To add a resource to an existing resource group, use the New-AzureResource cmdlet. - An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. - You can create a resource group with just a name and location, and then use the New-AzureResource cmdlet to create resources and add them to the resource group. However, typically, you use a resource group template, which is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates. - To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroup to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file. - You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name. - The template includes parameters (placeholders) for configurable property values, likes names and sizes. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, you can use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter values that you specify at the command line take precedence over template parameter values in a template parameter object or file. - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - New-AzureResourceGroup - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - - - DeploymentName - - Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - String - - - - - - - Force - - Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. - - SwitchParameter - - SwitchParameter - - - - - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - String - - - - - - - Location - - Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". - You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. - - String - - String - - - - - - - Name - - Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription. - You can use -Name or its alias, -ResourceGroupName. - If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. - - String - - String - - - - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - Tag - - Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. - - Hashtable[] - - Hashtable[] - - - - - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - String - - - - - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - Hashtable - - - - - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - String - - - - - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceGroup - - - - - - - - New-AzureResourceGroup returns an object that represents the resource group. - - - - - - - - - The New-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - If a resource group with this name already exists in the subscription, the cmdlet prompts you before replacing it. To suppress the confirmation prompt, use the Force parameter. - - - - - Example 1: Create an empty resource group - - - - - PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" + CRG01-Southcentralwebspace]...} + + These commands create the ContosoWeb Azure website in the CRG01 resource group. + + + + The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureResourceGroupGalleryTemplate cmdlet return.The second command uses the New-AzureResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable. + + + + + -------------------------- Example 3: Add a website to a resource group -------------------------- + + + + PS C:\>New-AzureResourceGroup -Name ContosoPortal -Location "West US" -GalleryTemplateIdentity WordPress.WordPress.0.1.0-preview1 -TemplateParameterFile ".\WordPressParameters.json" + + +PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/servers/databases" –ResourceGroup ContosoPortal –Location "West US" –ParentResource "Microsoft.Sql/servers/ContosoServer01" –PropertyObject @{Edition = "Enterprise"; MaxSizeGB = 100} + + This example shows a typical use of this cmdlet. The first command uses the New-AzureResourceGroup cmdlet to create the ContosoPortal resource group. The command uses the WordPress gallery template (Get-AzureResourceGroupGalleryTemplate) and a JSON file, WordPressParameters.json, to specify values for the template-specific parameters, such as the name and location of the database, a name for the hosting plan, and web deployment credentials. + + + + The second command uses the New-AzureResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file. + + + + + -------------------------- Example 4: Create a resource group with tags -------------------------- + + + + PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="Status";Value="Approved"},@{Name="New"} + + This command creates a new website and applies two tags to it. The command uses the Tag parameter to apply a "Status" tag with a value of "Approved" and a tag named "New" with no value. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393051 + + + + + + + New-AzureResourceGroup + + Creates an Azure resource group and its resources + + + + + New + AzureResourceGroup + + + + + The New-AzureResourceGroup cmdlet creates an Azure resource group and its resources and returns an object that represents the resource group.Use this cmdlet to create a new resource group. To add a deployment to an existing resource group, use the New-AzureResourceGroupDeployment cmdlet. To add a resource to an existing resource group, use the New-AzureResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.You can create a resource group with just a name and location, and then use the New-AzureResource cmdlet to create resources and add them to the resource group. However, typically, you use a resource group template, which is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates.To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroup to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.The template includes parameters (placeholders) for configurable property values, likes names and sizes. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, you can use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter values that you specify at the command line take precedence over template parameter values in a template parameter object or file. + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroup + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + + + + + Name + + Specifies a name for the resource group. This parameter is required. The resource name must be unique in the subscription.You can use -Name or its alias, -ResourceGroupName.If a resource group with that name already exists, the command prompts you for confirmation before replacing the existing resource group. To suppress the confirmation prompt, use the Force parameter. + + String + + String + + + + + + Location + + Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia".You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureLocation cmdlet. + + String + + String + + + + + + DeploymentName + + Specifies the name of the deployment project for the resource group. Because the deployment properties are defined in a template, this parameter is valid only when you specify a template. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + String + + + + + + Tag + + Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureTag cmdlet.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To get your predefined tags, use the Get-AzureTag cmdlet. + + Hashtable[] + + Hashtable[] + + + + + + Force + + Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureResourceGroup prompts for confirmation before replacing an existing resource group. + + SwitchParameter + + SwitchParameter + + + + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroup verifies that the specified template has the matching version and fails if it does not. + + String + + String + + + + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + Hashtable + + + + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + String + + + + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + String + + + + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. If a template has parameters, you must specify parameter values, but you can use the TemplateParameterObject or the TemplateParameterFile parameters. Or, you can use the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceGroup + + + + + + + + + + + + + + The New-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Create an empty resource group -------------------------- + + + + PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" ResourceGroupName : RG1 Location : southcentralus ProvisioningState : Succeeded -Resources - - - - This command creates a resource group that has no resources. You can use the New-AzureResource or New-AzureResourceGroupDeployment cmdlets to add resources and deployments to this resource group. - - - - - - - - - Example 2: Create a resource group from a custom template - - - - - PS C:\>New-AzureResourceGroup –Name ContosoHosting –Location "West US" –TemplateFile D:\Templates\ContosoHosting.json -TemplateVersion "2014-04-01-preview" -DeploymentName ContosoHosting -TemplateParameterFile D:\Templates\ContosoHostingParms.json +Resources + + This command creates a resource group that has no resources. You can use the New-AzureResource or New-AzureResourceGroupDeployment cmdlets to add resources and deployments to this resource group. + + + + + + + + + -------------------------- Example 2: Create a resource group from a custom template -------------------------- + + + + PS C:\>New-AzureResourceGroup –Name ContosoHosting –Location "West US" –TemplateFile D:\Templates\ContosoHosting.json -TemplateVersion "2014-04-01-preview" -DeploymentName ContosoHosting -TemplateParameterFile D:\Templates\ContosoHostingParms.json Name: ContosoHosting Location: westus Resources: Name Type Location =============== ======================= ======== ContosoHosting Microsoft.Web/serverFarms westus - Contoso Microsoft.Web/Sites West US - - - - This command creates the "ContosoHosting" resource group from a custom template. It uses the TemplateFile parameter to specify the path and file name of the ContosoHosting.json template file and the TemplateParameterFile parameter to specify the ContosoHostingParms.json file, which contains the names and values of the parameters in the template. Because the command does not specify a storage account, New-AzureResourceGroup uses the current storage account in the subscription. - - - - - - - - - - - Example 3: Create a resource group from a gallery template - - - - - PS C:\>New-AzureResourceGroup –Name ContosoRG01 –Location "West US" –GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Shared -siteLocation "South Central US" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 + Contoso Microsoft.Web/Sites West US + + This command creates the "ContosoHosting" resource group from a custom template. It uses the TemplateFile parameter to specify the path and file name of the ContosoHosting.json template file and the TemplateParameterFile parameter to specify the ContosoHostingParms.json file, which contains the names and values of the parameters in the template. Because the command does not specify a storage account, New-AzureResourceGroup uses the current storage account in the subscription. + + + + + + + + + -------------------------- Example 3: Create a resource group from a gallery template -------------------------- + + + + PS C:\>New-AzureResourceGroup –Name ContosoRG01 –Location "West US" –GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Shared -siteLocation "South Central US" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 ResourceGroupName : ContosoRG01 Location : westus ProvisioningState : Succeeded @@ -2875,26 +4135,22 @@ Resources : Name Type Location =============== ========================= ========== Default1 Microsoft.Web/serverFarms southcentralus - ContosoWeb Microsoft.Web/sites southcentralus - - - This example shows how to create a resource group from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. - This command uses the New-AzureResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don't need to save the gallery template to disk. - After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. - - - - - - - - - Example 4: Create a resource group from a saved gallery template - - - - - The first command uses the Get-AzureResourceGroupGalleryTemplate to get a gallery item. It pipes the gallery item to the Save-AzureResourceGroupGalleryTemplate cmdlet, which save the template as a JSON file in the path that you specify. + ContosoWeb Microsoft.Web/sites southcentralus + + This example shows how to create a resource group from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. + + + + This command uses the New-AzureResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don't need to save the gallery template to disk.After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. + + + + + -------------------------- Example 4: Create a resource group from a saved gallery template -------------------------- + + + + PS C:\> The first command uses the Get-AzureResourceGroupGalleryTemplate to get a gallery item. It pipes the gallery item to the Save-AzureResourceGroupGalleryTemplate cmdlet, which save the template as a JSON file in the path that you specify. PS C:\>Get-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureResourceGroupTemplate -Path D:\Azure\Templates Path: @@ -2915,11 +4171,11 @@ subscriptionId : @{type=string} resourceGroup : @{type=string} The fourth command creates a hash table of the template parameters and values and saves them in a $params variable. -PS C:\>$params = @{siteName="ContosoWeb"; hostingPlanName = "ContosoHosting"; siteMode = "Limited"; computeMode = "Shared"; siteLocation = "South Central US"; subscriptionId = "9b14a38b-4b93-4554-8bb0-3cefb47abcde"; resourceGroup = "ContosoRG01"} +PS C:\>$params = @{siteName="ContosoWeb"; hostingPlanName = "ContosoHosting"; siteMode = "Limited"; computeMode = "Shared"; siteLocation = "South Central US"; subscriptionId = "9b14a38b-4b93-4554-8bb0-3cefb47abcde"; resourceGroup = "ContosoRG01"} -The fifth command uses the New-AzureResourceGroup cmdlet to create the resource group. It uses the TemplateFile parameter to specify the gallery template file on disk and the TemplateParameterObject parameter to specify the hash table of template parameter names and values in the $params variable. It uses the StorageAccountName parameter to specify the storage account in which the template is stored. You must specify a storage account when you use the TemplateFile parameter and a "current" storage account has not been selected for the subscription.The cmdlet returns an object that represents the new resource group. -PS C:\>New-AzureResourceGroup –Name ContosoRG01 –Location "West US" –StorageAccountName contosostorage01 -DeploymentName WebDeploy01 -TemplateFile $home\Documents\Azure\Templates\Microsoft.WebSite.0.1.0-preview1.json -TemplateParameterObject @params -StorageAccountName ContosoStorage +The fifth command uses the New-AzureResourceGroup cmdlet to create the resource group. It uses the TemplateFile parameter to specify the gallery template file on disk and the TemplateParameterObject parameter to specify the hash table of template parameter names and values in the $params variable. It uses the StorageAccountName parameter to specify the storage account in which the template is stored. You must specify a storage account when you use the TemplateFile parameter and a "current" storage account has not been selected for the subscription.The cmdlet returns an object that represents the new resource group. +PS C:\>New-AzureResourceGroup –Name ContosoRG01 –Location "West US" –StorageAccountName contosostorage01 -DeploymentName WebDeploy01 -TemplateFile $home\Documents\Azure\Templates\Microsoft.WebSite.0.1.0-preview1.json -TemplateParameterObject @params -StorageAccountName ContosoStorage ResourceGroupName : ContosoRG01 Location : westus ProvisioningState : Succeeded @@ -2927,621 +4183,574 @@ Resources : Name Type Location =============== ========================= ========== Default1 Microsoft.Web/serverFarms southcentralus - ContosoWeb Microsoft.Web/sites southcentralus - - - This example shows how to create a resource group from a gallery template that you saved to disk by using the Save-AzureResourceGroupGalleryTemplate cmdlet and a hash table of template parameter names and values. - - - - - - - - - Example 5: Create a resource group with tags - - - - - PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" -Tag @{Name="Empty"}, @{Name="Department";Value="Marketing"} - - - This command creates a new empty resource group. This command is the same as the command in Example 1, except that it assigns tags to the resource group. The first tag, named "Empty," could be used to identify resource groups that have no resources. The second tag is named "Department" and has a value of "Marketing". You can use a tag like this one to categorize resource groups for administration or budgeting. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393048 - - - - - - New-AzureResourceGroupDeployment - - Add an Azure deployment to a resource group. - - - - - New - AzureResourceGroupDeployment - - - - The New-AzureResourceGroupDeployment cmdlet adds a deployment to an existing resource group, including the resources that the deployment requires. This cmdlet is similar to the New-AzureResourceGroup cmdlet, but it works on existing resource groups, instead of new ones. To add resources to a resource group without using a template, use the New-AzureResource cmdlet. - An Azure resource is a user-managed Azure entity, such as a database server, database, website, virtual machine, or storage account. An Azure resource group is a collection of Azure resources that are deployed as a unit, such as the web site, database server, and databases that are required for a financial web site. A deployment uses a resource group template to add resource to a resource group and publish them so they are available in Azure. - To add a resource group deployment, specify the name of an existing resource group and a resource group template, which is a JSON string that represents of a resource group for a complex cloud-based service, such as a web portal. The template includes parameter (placeholders) for required resources and configurable property values, likes names and sizes. You can find many templates in the Azure template gallery and you can create your own templates. - To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroupDeployment to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file. - You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name. - Each template has different parameters for configurable properties. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. Template parameter values that are typed at the command line take precedence over values in a template parameter object or file. - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - New-AzureResourceGroupDeployment - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - - - GalleryTemplateIdentity - - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. - - String - - String - - - - - - - Name - - Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. - - String - - String - - - - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - TemplateParameterFile - - Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - String - - String - - - - - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables. - If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. - - Hashtable - - Hashtable - - - - - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - String - - - - - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManager.Models.PSResourceGroupDeployment - - - - - - - - - - - - - - - - - - The New-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Create a deployment with a gallery template - - - - - PS C:\>New-AzureResourceGroupDeployment -New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -Name WebDeploy01 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Dedicated -siteLocation "North Europe" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 + ContosoWeb Microsoft.Web/sites southcentralus + + This example shows how to create a resource group from a gallery template that you saved to disk by using the Save-AzureResourceGroupGalleryTemplate cmdlet and a hash table of template parameter names and values. + + + + + + + + + -------------------------- Example 5: Create a resource group with tags -------------------------- + + + + PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" -Tag @{Name="Empty"}, @{Name="Department";Value="Marketing"} + + This command creates a new empty resource group. This command is the same as the command in Example 1, except that it assigns tags to the resource group. The first tag, named "Empty," could be used to identify resource groups that have no resources. The second tag is named "Department" and has a value of "Marketing". You can use a tag like this one to categorize resource groups for administration or budgeting. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393048 + + + + + + + New-AzureResourceGroupDeployment + + Add an Azure deployment to a resource group. + + + + + New + AzureResourceGroupDeployment + + + + + The New-AzureResourceGroupDeployment cmdlet adds a deployment to an existing resource group, including the resources that the deployment requires. This cmdlet is similar to the New-AzureResourceGroup cmdlet, but it works on existing resource groups, instead of new ones. To add resources to a resource group without using a template, use the New-AzureResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, website, virtual machine, or storage account. An Azure resource group is a collection of Azure resources that are deployed as a unit, such as the web site, database server, and databases that are required for a financial web site. A deployment uses a resource group template to add resource to a resource group and publish them so they are available in Azure.To add a resource group deployment, specify the name of an existing resource group and a resource group template, which is a JSON string that represents of a resource group for a complex cloud-based service, such as a web portal. The template includes parameter (placeholders) for required resources and configurable property values, likes names and sizes. You can find many templates in the Azure template gallery and you can create your own templates.To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroupDeployment to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.Each template has different parameters for configurable properties. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. Template parameter values that are typed at the command line take precedence over values in a template parameter object or file. + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + New-AzureResourceGroupDeployment + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + + + + + Name + + Specifies the name of the deployment project for the resource group. Use -Name or its alias -DeploymentName. This parameter is optional. The default value is the template name without the .json file name extension. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group to which this deployment is added. This parameter is required. If the resource group does not exist, the command fails. + + String + + String + + + + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, New-AzureResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not. + + String + + String + + + + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. This parameter is optional. For help with hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + Hashtable + + Hashtable + + + + + + GalleryTemplateIdentity + + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + + String + + String + + + + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + String + + + + + + TemplateParameterFile + + Specifies the path and name of a JSON file with the names and values of the template parameters. This parameter is optional.If a template has parameters, you must specify parameter values, but you can use this parameter or the TemplateParameterObject parameter. Also, the template parameters are added to the command dynamically when you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResourceGroupDeployment + + + + + + + + + + + + + + The New-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Create a deployment with a gallery template -------------------------- + + + + PS C:\>New-AzureResourceGroupDeployment -New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -Name WebDeploy01 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Dedicated -siteLocation "North Europe" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 DeploymentName : WebDeploy01 ResourceGroupName : ContosoRG01 ProvisioningState : Succeeded @@ -3561,567 +4770,1209 @@ Parameters : computeMode String Dedicated siteLocation String North Europe subscriptionId String 9b14a38b-4b93-4554-8bb0-3cefb47abcde - resourceGroup String ContosoRG01 - - - - This example shows how to create a resource group deployment from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. - This command uses the New-AzureResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don't need to save the gallery template to disk. - Instead of using a template parameter file or a template parameter object, we'll just use the parameters that are added to the command dynamically when you specify the template. - After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. - - - - - - - - - Example 2: Use a custom template and parameter file - - - - - PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoEngineering -TemplateFile D:\Azure\Templates\EngineeringSite.json -TemplateParameterFile D:\Azure\Templates\EngSiteParms.json -TemplateVersion "2.1" -StorageAccountName contosostorage - - - - This command creates a new deployment by using a custom template and a template file on disk. The command uses the TemplateFile parameter to specify the template and the TemplateParameterFile to specify a file of parameters and parameter values. It uses the TemplateVersion parameter to specify a particular version of the template. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. - - - - - - - - - Example 3: Use a saved gallery template and parameter object - - - - - The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the WordPress gallery template as a JSON file on disk. + resourceGroup String ContosoRG01 + + This example shows how to create a resource group deployment from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. + + + + This command uses the New-AzureResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don't need to save the gallery template to disk.Instead of using a template parameter file or a template parameter object, we'll just use the parameters that are added to the command dynamically when you specify the template.After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. + + + + + -------------------------- Example 2: Use a custom template and parameter file -------------------------- + + + + PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoEngineering -TemplateFile D:\Azure\Templates\EngineeringSite.json -TemplateParameterFile D:\Azure\Templates\EngSiteParms.json -TemplateVersion "2.1" -StorageAccountName contosostorage + + This command creates a new deployment by using a custom template and a template file on disk. The command uses the TemplateFile parameter to specify the template and the TemplateParameterFile to specify a file of parameters and parameter values. It uses the TemplateVersion parameter to specify a particular version of the template. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. + + + + + + + + + -------------------------- Example 3: Use a saved gallery template and parameter object -------------------------- + + + + PS C:\> The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the WordPress gallery template as a JSON file on disk. PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity WordPress.WordPress.0.1.0-preview1 -Path D:\Azure\Templates Path: D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json The second command saves a hash table of the template parameter values in the $params variable. -PS C:\> $params = @{siteName="ContosoBlog";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";siteLocation="North Europe";sku="Shared";workerSize="0";databaseName=contosodb1;databaseLocation="South Central US";databaseSku="Free";subscriptionId="7363c612-d678-4171-a715-585c237abcde";resourceGroup="ContosoRG01";dbSubscriptionId="7363c612-d678-4171-a715-585c237abcde";dbResourceGroup="ContosoRG01"} +PS C:\> $params = @{siteName="ContosoBlog";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";siteLocation="North Europe";sku="Shared";workerSize="0";databaseName=contosodb1;databaseLocation="South Central US";databaseSku="Free";subscriptionId="7363c612-d678-4171-a715-585c237abcde";resourceGroup="ContosoRG01";dbSubscriptionId="7363c612-d678-4171-a715-585c237abcde";dbResourceGroup="ContosoRG01"} The third command uses New-AzureResourceGroupDeployment cmdlet to add the new deployment to the ContosoRG01 resource group.The command uses the TemplateFile parameter to specify the saved gallery template file and the TemplateParameterObject to specify the hash table of parameters and parameter values in the $params variable. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. -PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateFile D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json -TemplateParameterObject $params -StorageAccountName contosostorage - - - - This command creates a new deployment by using a gallery template that is saved to disk as a JSON file and a hash table of parameter values. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393045 - - - - - - Remove-AzureResource - - Deletes a resource - - - - - Remove - AzureResource - - - - The Remove-AzureResource cmdlet deletes a resource from your subscription. It does not delete the resource group of the resource. - By default, Remove-AzureResource prompts you for confirmation. To suppress the prompt, use the Force parameter. - - - - Remove-AzureResource - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureResource prompts for confirmation before deleting a resource. - - - - ParentResource - - Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". - - String - - - PassThru - - Returns $True when the remove operation succeeds and $False otherwise. By default, this cmdlet does not return any output. - - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - - Name - - Specifies the name of the resource. This parameter is required. - - String - - - ResourceGroupName - - Specifies the name of resource group of the resource. This parameter is required. - - String - - - ResourceType - - Specifies the resource type. Enter a provider qualified name, such as "Microsoft.Web/sites". This parameter is required. Wildcards are not permitted. - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - String - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureResource prompts for confirmation before deleting a resource. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Specifies the name of the resource. This parameter is required. - - String - - String - - - - - - - ParentResource - - Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". - - String - - String - - - - - - - PassThru - - Returns $True when the remove operation succeeds and $False otherwise. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of resource group of the resource. This parameter is required. - - String - - String - - - - - - - ResourceType - - Specifies the resource type. Enter a provider qualified name, such as "Microsoft.Web/sites". This parameter is required. Wildcards are not permitted. - - String - - String - - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or Boolean - - - - - - - - When you use the Passthru parameter, this cmdlet returns a Boolean value that represents the success or failure of the operation. By default, this cmdlet does not generate output. - - - - - - - - - The Remove-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Remove a resource - - - - - PS C:\>Remove-AzureResource -Name ContosoWeb -ResourceGroupName ContosoRG01 -ResourceType Microsoft.web/sites -ApiVersion 2014-04-01 ConfirmAre you sure you want to remove resource ' ContosoWeb'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y - - - This command removes the ContosoWeb web site from the ContosoRG01 resource group. - - - - - - - - - Example 2: Pipe a resource to Remove-AzureResource - - - - - PS C:\>Get-AzureResource -Name contosodb01 -ResourceGroupName ContosoRG01 -ResourceType "Microsoft.Sql/servers/databases" -ParentResource "Microsoft.Sql/servers/contososvr01" -ApiVersion 2.0 | Remove-AzureResource -Passthru ConfirmAre you sure you want to remove resource 'contosodb01'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y -True - - - This command uses the Get-AzureResource cmdlet to get the ContosoDB01 database. The command pipes the database to the Remove-AzureResource cmdlet to remove it. The command uses the Passthru parameter, which causes the cmdlet to return a Boolean value that represents the success or failure of the operation. In this case, it returns True. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393460 - - - - - - Remove-AzureResourceGroup - - Deletes a resource group. - - - - - Remove - AzureResourceGroup - - - - The Remove-AzureResourceGroup cmdlet deletes a resource group and its resources from your subscription. By default, Remove-AzureResourceGroup prompts you for confirmation. To suppress the prompt, use the Force parameter. - To delete a resource, but leave the resource group, use the Remove-AzureResource cmdlet. - - - - Remove-AzureResourceGroup - - Name - - Specifies the names of resource groups to delete. This parameter is required. Wildcards are not permitted. - Use -Name or its alias, -ResourceGroupName. - - String - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureResource prompts you to confirm before deleting a resource group. - - - - PassThru - - Returns $True if the remove operation was successful and $False if it failed. By default, this cmdlet does not return any output. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureResource prompts you to confirm before deleting a resource group. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Specifies the names of resource groups to delete. This parameter is required. Wildcards are not permitted. - Use -Name or its alias, -ResourceGroupName. - - String - - String - - - - - - - PassThru - - Returns $True if the remove operation was successful and $False if it failed. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - None or System.Boolean - - - - - - - - When you use the PassThru parameter, Remove-AzureResourceGroup returns $True if the operation succeeded and $False if it failed. Otherwise, this cmdlet does not generate any output. - - - - - - - - - The Remove-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Remove a resource group - - - - - PS C:\>Remove-AzureResourceGroup -Name -ContosoRG01 +PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateFile D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json -TemplateParameterObject $params -StorageAccountName contosostorage + + This command creates a new deployment by using a gallery template that is saved to disk as a JSON file and a hash table of parameter values. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393045 + + + + + + + New-AzureRoleAssignment + + Create a role assignment to some principals at a given scope. + + + + + New + AzureRoleAssignment + + + + + Create a role assignment to some principals at a given scope. + + + + New-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + New-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + + + ObjectId + + Object id of the user, group or service principal. + + Guid + + Guid + + + + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + String + + + + + + RoleDefinitionName + + Role to assign the principals with. + + String + + String + + + + + + ResourceGroupName + + Resource group to assign the role to. + + String + + String + + + + + + ResourceName + + Name of the resource to assign the role to. + + String + + String + + + + + + ResourceType + + Type of the resource to assign the role to. + + String + + String + + + + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + String + + + + + + Mail + + Mail of the user or group + + String + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + ServicePrincipalName + + SPN of the service principal. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Create new role assignment using UPN -------------------------- + + + + PS C:\> New-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader + + add role assignment to a principal for a resource group using the separate parameters + + + + + + + + + -------------------------- Create new role assignment using Service Principal Name -------------------------- + + + + PS C:\> New-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor + + add role assignment to a service principal for a subscription. + + + + + + + + + -------------------------- Create new role assignment using explict Scope -------------------------- + + + + PS C:\> New-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" + + add role assignment to a principal for a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used + + + + + + + + + + + Get-AzureRoleAssignment + + + + Remove-AzureRoleAssignment + + + + Get-AzureRoleDefinition + + + + + + + + Remove-AzureResource + + Deletes a resource + + + + + Remove + AzureResource + + + + + The Remove-AzureResource cmdlet deletes a resource from your subscription. It does not delete the resource group of the resource. By default, Remove-AzureResource prompts you for confirmation. To suppress the prompt, use the Force parameter. + + + + Remove-AzureResource + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureResource prompts for confirmation before deleting a resource. + + SwitchParameter + + + PassThru + + Returns $True when the remove operation succeeds and $False otherwise. By default, this cmdlet does not return any output. + + SwitchParameter + + + Name + + Specifies the name of the resource. This parameter is required. + + String + + + ResourceGroupName + + Specifies the name of resource group of the resource. This parameter is required. + + String + + + ResourceType + + Specifies the resource type. Enter a provider qualified name, such as "Microsoft.Web/sites". This parameter is required. Wildcards are not permitted. + + String + + + ParentResource + + Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureResource prompts for confirmation before deleting a resource. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns $True when the remove operation succeeds and $False otherwise. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the resource. This parameter is required. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of resource group of the resource. This parameter is required. + + String + + String + + + + + + ResourceType + + Specifies the resource type. Enter a provider qualified name, such as "Microsoft.Web/sites". This parameter is required. Wildcards are not permitted. + + String + + String + + + + + + ParentResource + + Specifies the names of the logical parent of a resource. This parameter is optional. Enter the fully qualified name of the parent resource, such as "Microsoft.Sql/servers/ContosoSQLSvr". + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + None + + + + + + + + + + + + None or Boolean + + + + + + + + + + + + + + The Remove-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Remove a resource -------------------------- + + + + PS C:\>Remove-AzureResource -Name ContosoWeb -ResourceGroupName ContosoRG01 -ResourceType Microsoft.web/sites -ApiVersion 2014-04-01 ConfirmAre you sure you want to remove resource ' ContosoWeb'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + + This command removes the ContosoWeb web site from the ContosoRG01 resource group. + + + + + + + + + -------------------------- Example 2: Pipe a resource to RemoveAzureResource -------------------------- + + + + PS C:\>Get-AzureResource -Name contosodb01 -ResourceGroupName ContosoRG01 -ResourceType "Microsoft.Sql/servers/databases" -ParentResource "Microsoft.Sql/servers/contososvr01" -ApiVersion 2.0 | Remove-AzureResource -Passthru ConfirmAre you sure you want to remove resource 'contosodb01'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y +True + + This command uses the Get-AzureResource cmdlet to get the ContosoDB01 database. The command pipes the database to the Remove-AzureResource cmdlet to remove it. The command uses the Passthru parameter, which causes the cmdlet to return a Boolean value that represents the success or failure of the operation. In this case, it returns True. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393460 + + + + + + + Remove-AzureResourceGroup + + Deletes a resource group. + + + + + Remove + AzureResourceGroup + + + + + The Remove-AzureResourceGroup cmdlet deletes a resource group and its resources from your subscription. By default, Remove-AzureResourceGroup prompts you for confirmation. To suppress the prompt, use the Force parameter.To delete a resource, but leave the resource group, use the Remove-AzureResource cmdlet. + + + + Remove-AzureResourceGroup + + Name + + Specifies the names of resource groups to delete. This parameter is required. Wildcards are not permitted.Use -Name or its alias, -ResourceGroupName. + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureResource prompts you to confirm before deleting a resource group. + + SwitchParameter + + + PassThru + + Returns $True if the remove operation was successful and $False if it failed. By default, this cmdlet does not return any output. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the names of resource groups to delete. This parameter is required. Wildcards are not permitted.Use -Name or its alias, -ResourceGroupName. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureResource prompts you to confirm before deleting a resource group. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns $True if the remove operation was successful and $False if it failed. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + None + + + + + + + + + + + + None or System.Boolean + + + + + + + + + + + + + + The Remove-AzureResourceGroup cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Remove a resource group -------------------------- + + + + PS C:\>Remove-AzureResourceGroup -Name -ContosoRG01 Confirm -Are you sure you want to remove resource group 'ContosoRG01' - -[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - - - This command removes the ContosoRG01 resource group from the subscription. The cmdlet prompts for confirmation and does not return any output by default. - - - - - - - - - Example 2: Use the Force parameter - - - - - PS C:\>Get-AzureResourceGroup -Name ContosoRG01 | Remove-AzureResourceGroup -Verbose -Force -VERBOSE: Performing the operation "Removing resource group ..." on target "ContosoRG01". - - - This command deletes the ContosoRG01 resource group from the subscription. It uses the Get-AzureResourceGroup cmdlet to get the resource group and pipes the resource group (by name) to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Verbose common parameter to get status information about the operation and the Force parameter to suppress the confirmation prompt. - - - - - - - - - Example 3: Remove all resource groups - - - - - PS C:\>Get-AzureResourceGroup | Remove-AzureResourceGroup -PassThru +Are you sure you want to remove resource group 'ContosoRG01' + +[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + + This command removes the ContosoRG01 resource group from the subscription. The cmdlet prompts for confirmation and does not return any output by default. + + + + + + + + + -------------------------- Example 2: Use the Force parameter -------------------------- + + + + PS C:\>Get-AzureResourceGroup -Name ContosoRG01 | Remove-AzureResourceGroup -Verbose -Force +VERBOSE: Performing the operation "Removing resource group ..." on target "ContosoRG01". + + This command deletes the ContosoRG01 resource group from the subscription. It uses the Get-AzureResourceGroup cmdlet to get the resource group and pipes the resource group (by name) to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Verbose common parameter to get status information about the operation and the Force parameter to suppress the confirmation prompt. + + + + + + + + + -------------------------- Example 3: Remove all resource groups -------------------------- + + + + PS C:\>Get-AzureResourceGroup | Remove-AzureResourceGroup -PassThru Confirm -Are you sure you want to remove resource group 'ContosoRG01' +Are you sure you want to remove resource group 'ContosoRG01' -[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y +[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y True @@ -4129,453 +5980,1301 @@ True Confirm -Are you sure you want to remove resource group 'ContosoRG02' - -[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y - -True - - - This command deletes all resource groups in the subscription. To get all resource groups, it uses a Get-AzureResourceGroup command with no parameters. Then, it pipes the resource groups to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Passthru parameter. As a result, the cmdlet returns a value of $True for each operation that succeeds. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393049 - - - - - - Save-AzureResourceGroupGalleryTemplate - - Saves a gallery template to a JSON file - - - - - Save - AzureResourceGroupGalleryTemplate - - - - The Save-AzureResourceGroupGalleryTemplate cmdlet saves a template from the Azure template gallery as a JSON file on disk and returns the path to the saved file. You can to use the template to create Azure resource groups and deployments - A resource is a user-managed entity, such as a website, database server, or database. A resource group is a collection of resources that are deployed as a unit. You can create resources individually and add them to resource groups. However, typically, you create a resource group by using a template. - A template is a JSON string that defines a resource group for a complex entity, such as a web hosting site or web portal. The template defines the resources that are typically needed for the entity, such as websites, databases, and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. - To get a resource group template, use the Get-AzureResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureResourceGroupGalleryTemplate cmdlet to save the template as a JSON file. Or, you can create your own templates, either from scratch or by editing a gallery template. To verify the syntax of a template, use the Test-AzureResourceGroupTemplate cmdlet. - To use a template to create a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters. - - - - Save-AzureResourceGroupGalleryTemplate - - Identity - - Specifies the identity of the gallery item. This parameter is required. The gallery item identity is also used as the name of the template file on disk with a .JSON file name extension. - - String - - - Path - - Specifies the path to the directory in which the template is saved. This parameter is optional. The default is the current directory. - - String - - - Force - - Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureResourceGroupGalleryTemplate prompts before overwriting the file. - - - - - - - Force - - Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureResourceGroupGalleryTemplate prompts before overwriting the file. - - SwitchParameter - - SwitchParameter - - - - - - - Identity - - Specifies the identity of the gallery item. This parameter is required. The gallery item identity is also used as the name of the template file on disk with a .JSON file name extension. - - String - - String - - - - - - - Path - - Specifies the path to the directory in which the template is saved. This parameter is optional. The default is the current directory. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - System.Management.Automation.PSCustomObject - - - - - - - - Save-AzureResourceGroupGalleryTemplate returns a custom object with the Path property. The Path value is the path and file name of the gallery template on disk. - - - - - - - - - The Save-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - If a file with the specified name already exists in the Path directory, the cmdlet prompts you for confirmation before replacing it. To suppress the confirmation prompt, use the Force parameter. - - - - - Example 1: Save a template - - - - - PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 +Are you sure you want to remove resource group 'ContosoRG02' + +[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + +True + + This command deletes all resource groups in the subscription. To get all resource groups, it uses a Get-AzureResourceGroup command with no parameters. Then, it pipes the resource groups to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Passthru parameter. As a result, the cmdlet returns a value of $True for each operation that succeeds. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393049 + + + + + + + Remove-AzureRoleAssignment + + Removes a role assignment. + + + + + Remove + AzureRoleAssignment + + + + + Removes a role assignments. + + + + Remove-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + Mail + + Mail of the user or group + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + + + ObjectId + + Object id of the user, group or service principal. + + Guid + + Guid + + + + + + ResourceGroupName + + Resource group to assign the role to. + + String + + String + + + + + + RoleDefinitionName + + Role to assign the principals with. + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + + + SwitchParameter + + SwitchParameter + + + + + + ResourceName + + Name of the resource to assign the role to. + + String + + String + + + + + + ResourceType + + Type of the resource to assign the role to. + + String + + String + + + + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + String + + + + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + String + + + + + + Mail + + Mail of the user or group + + String + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + ServicePrincipalName + + SPN of the service principal. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Removes role assignment using UPN, Role Definition and Resource Group -------------------------- + + + + PS C:\> Remove-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader + + Removes a role assignment for principal in a resource group that have Reader role definition + + + + + + + + + + + New-AzureRoleAssignment + + + + Get-AzureRoleAssignment + + + + Get-AzureRoleDefinition + + + + + + + + Save-AzureResourceGroupGalleryTemplate + + Saves a gallery template to a JSON file + + + + + Save + AzureResourceGroupGalleryTemplate + + + + + The Save-AzureResourceGroupGalleryTemplate cmdlet saves a template from the Azure template gallery as a JSON file on disk and returns the path to the saved file. You can to use the template to create Azure resource groups and deploymentsA resource is a user-managed entity, such as a website, database server, or database. A resource group is a collection of resources that are deployed as a unit. You can create resources individually and add them to resource groups. However, typically, you create a resource group by using a template.A template is a JSON string that defines a resource group for a complex entity, such as a web hosting site or web portal. The template defines the resources that are typically needed for the entity, such as websites, databases, and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To get a resource group template, use the Get-AzureResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureResourceGroupGalleryTemplate cmdlet to save the template as a JSON file. Or, you can create your own templates, either from scratch or by editing a gallery template. To verify the syntax of a template, use the Test-AzureResourceGroupTemplate cmdlet.To use a template to create a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters. + + + + Save-AzureResourceGroupGalleryTemplate + + Identity + + Specifies the identity of the gallery item. This parameter is required. The gallery item identity is also used as the name of the template file on disk with a .JSON file name extension. + + String + + + Path + + Specifies the path to the directory in which the template is saved. This parameter is optional. The default is the current directory. + + String + + + Force + + Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureResourceGroupGalleryTemplate prompts before overwriting the file. + + SwitchParameter + + + + + + Identity + + Specifies the identity of the gallery item. This parameter is required. The gallery item identity is also used as the name of the template file on disk with a .JSON file name extension. + + String + + String + + + + + + Path + + Specifies the path to the directory in which the template is saved. This parameter is optional. The default is the current directory. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureResourceGroupGalleryTemplate prompts before overwriting the file. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + System.Management.Automation.PSCustomObject + + + + + + + + + + + + + + The Save-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Save a template -------------------------- + + + + PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 Path: -C:\ Microsoft.WebSite.0.1.0-preview1.json - - - This command saves the Microsoft.WebSite.0.1.0-preview1 template to the current directory as Microsoft.WebSite.0.1.0-preview1.json. - - - - - - - - - Example 2: Pipe a gallery item to Save-AzureResourceGroupGalleryTemplate - - - - - PS C:\>Get-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureResourceGroupGalleryTemplate -Path $home\Documents\MyTemplates +C:\ Microsoft.WebSite.0.1.0-preview1.json + + This command saves the Microsoft.WebSite.0.1.0-preview1 template to the current directory as Microsoft.WebSite.0.1.0-preview1.json. + + + + + + + + + -------------------------- Example 2: Pipe a gallery item to SaveAzureResourceGroupGalleryTemplate -------------------------- + + + + PS C:\>Get-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureResourceGroupGalleryTemplate -Path $home\Documents\MyTemplates Path -C:\Users\User01\Documents\MyTemplates\ Microsoft.WebSite.0.1.0-preview1.json - - - This command pipes the Microsoft.WebSite.0.1.0-preview1 gallery item from the Get-AzureResourceGroupGalleryTemplate cmdlet to the Save-AzureResourceGroupGalleryTemplate cmdlet. The command uses the Path parameter to save the JSON template in an alternate directory. Because the command uses the Passthru parameter, the cmdlet returns True to indicate that the save operation succeeded. - - - - - - - - - Example 3: Save and use a gallery template - - - - - The first command uses the Save-AzureResourceGalleryTemplate cmdlet to save a template to disk. The cmdlet returns the path to the JSON file. +C:\Users\User01\Documents\MyTemplates\ Microsoft.WebSite.0.1.0-preview1.json + + This command pipes the Microsoft.WebSite.0.1.0-preview1 gallery item from the Get-AzureResourceGroupGalleryTemplate cmdlet to the Save-AzureResourceGroupGalleryTemplate cmdlet. The command uses the Path parameter to save the JSON template in an alternate directory. Because the command uses the Passthru parameter, the cmdlet returns True to indicate that the save operation succeeded. + + + + + + + + + -------------------------- Example 3: Save and use a gallery template -------------------------- + + + + PS C:\> The first command uses the Save-AzureResourceGalleryTemplate cmdlet to save a template to disk. The cmdlet returns the path to the JSON file. PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity TechInfoSystems.GalleryServerPro.0.1.0-preview1 -Path $home\Documents\MyTemplates Path C:\Users\User01\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json The second command uses the New-AzureResourceGroup cmdlet to create a new resource group based on the template. To specify the saved template, the command uses the TemplateFile parameter, which takes a path to a JSON file on disk. To specify the template parameters, the command uses the TemplateParameterFile parameter, which takes a path to a JSON file of parameters and parameter values.The command returns the newly created resource group. -PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central US' -DeploymentName DeployWeb1 –StorageAccountName contosostorage01 -TemplateFile $home\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -TemplateParameterFile $home\Documents\MyTemplates\TechInfoParameters.json - - - - This example shows how to use a saved gallery template to create a new resource group. - It's often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393053 - - - - - - Set-AzureResource - - Changes the properties of an Azure resource. - - - - - Set - AzureResource - - - - The Set-AzureResource cmdlet changes the properties of an Azure resource. To use the cmdlet, use the Name, ResourceGroupName, ResourceGroupType, and ParentResource parameters to identify the resource, and the PropertyObject parameter to specify the new property names and values. - If the command succeeds, it returns the resource with the new properties and values. - An Azure resource is a user-managed entity, such as an Azure Website or Azure SQL Database. Some resources have properties, which are user-configured values, like sizes and operational modes. You can specify these values when you create the resource, such as by using the New-AzureResource, New-AzureResourceGroup, or New-AzureResourceGroupDeployment cmdlets. And, you can change the properties by using this cmdlet. - To get the properties of a resource, use the Get-AzureResource cmdlet to get the resource. Then use the dot method to get the Properties property collection and a particular named property. For example, to get the siteMode property of an object, type (Get-AzureResource -Name MyWebSite -ResourceGroupName RG -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01).Properties.siteMode - - - - Set-AzureResource - - ParentResource - - Specifies the names of the logical parent of a resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource parent. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database has a parent SQL Azure database server. A resource group is not a parent of its resources. - - String - - - PropertyObject - - Specifies the new property values. Enter a hash table of property names and values. The names and values are case-sensitive. - - Hashtable - - - Tag - - Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To specify a predefined tag, use the Get-AzureTag cmdlet. - To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}). - - Hashtable[] - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - - Name - - Specifies the name of the Azure resource. The name is case-sensitive. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource name. - - String - - - ResourceGroupName - - Specifies the name of the resource group of the resource. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource group of a resource. - - String - - - ResourceType - - Specifies the resource type. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource type. - - String - - - - - - ApiVersion - - Specifies the API version that is supported by the resource provider. This parameter is required. - - String - - String - - - - - - - Name - - Specifies the name of the Azure resource. The name is case-sensitive. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource name. - - String - - String - - - - - - - ParentResource - - Specifies the names of the logical parent of a resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource parent. - Use this parameter when the resource is a type that has parents. For example, every SQL Azure database has a parent SQL Azure database server. A resource group is not a parent of its resources. - - String - - String - - - - - - - PropertyObject - - Specifies the new property values. Enter a hash table of property names and values. The names and values are case-sensitive. - - Hashtable - - Hashtable - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the resource. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource group of a resource. - - String - - String - - - - - - - ResourceType - - Specifies the resource type. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource type. - - String - - String - - - - - - - Tag - - Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource. - A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. - Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To specify a predefined tag, use the Get-AzureTag cmdlet. - To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}). - - Hashtable[] - - Hashtable[] - - - - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManager.Models.PSResource - - - - - - - - - - - - - - - - - - The Set-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Change the properties of a resource - - - - - The first command uses the Get-AzureResource cmdlet to get the ContosoLabWeb2 web site. The command saves the resource in the $r variable. -PS C:\>$r = Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 +PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central US' -DeploymentName DeployWeb1 –StorageAccountName contosostorage01 -TemplateFile $home\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -TemplateParameterFile $home\Documents\MyTemplates\TechInfoParameters.json + + This example shows how to use a saved gallery template to create a new resource group. + + + + It's often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393053 + + + + + + + Set-AzureResource + + Changes the properties of an Azure resource. + + + + + Set + AzureResource + + + + + The Set-AzureResource cmdlet changes the properties of an Azure resource. To use the cmdlet, use the Name, ResourceGroupName, ResourceGroupType, and ParentResource parameters to identify the resource, and the PropertyObject parameter to specify the new property names and values.If the command succeeds, it returns the resource with the new properties and values.An Azure resource is a user-managed entity, such as an Azure Website or Azure SQL Database. Some resources have properties, which are user-configured values, like sizes and operational modes. You can specify these values when you create the resource, such as by using the New-AzureResource, New-AzureResourceGroup, or New-AzureResourceGroupDeployment cmdlets. And, you can change the properties by using this cmdlet.To get the properties of a resource, use the Get-AzureResource cmdlet to get the resource. Then use the dot method to get the Properties property collection and a particular named property. For example, to get the siteMode property of an object, type (Get-AzureResource -Name MyWebSite -ResourceGroupName RG -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01).Properties.siteMode + + + + Set-AzureResource + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + + PropertyObject + + Specifies the new property values. Enter a hash table of property names and values. The names and values are case-sensitive. + + Hashtable + + + Tag + + Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To specify a predefined tag, use the Get-AzureTag cmdlet.To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}). + + Hashtable[] + + + Name + + Specifies the name of the Azure resource. The name is case-sensitive. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource name. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the resource. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource group of a resource. + + String + + + ResourceType + + Specifies the resource type. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource type. + + String + + + ParentResource + + Specifies the names of the logical parent of a resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource parent.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database has a parent SQL Azure database server. A resource group is not a parent of its resources. + + String + + + + + + ApiVersion + + Specifies the API version that is supported by the resource provider. This parameter is required. + + String + + String + + + + + + PropertyObject + + Specifies the new property values. Enter a hash table of property names and values. The names and values are case-sensitive. + + Hashtable + + Hashtable + + + + + + Tag + + Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource.A "tag" is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. To specify a predefined tag, use the Get-AzureTag cmdlet.To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}). + + Hashtable[] + + Hashtable[] + + + + + + Name + + Specifies the name of the Azure resource. The name is case-sensitive. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource name. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the resource. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource group of a resource. + + String + + String + + + + + + ResourceType + + Specifies the resource type. Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource type. + + String + + String + + + + + + ParentResource + + Specifies the names of the logical parent of a resource. Enter the fully qualified name of the parent resource, such as " Microsoft.Sql/servers/ContosoSQLSvr". Wildcards are not permitted. This value identifies the resource. You cannot use this cmdlet to change the resource parent.Use this parameter when the resource is a type that has parents. For example, every SQL Azure database has a parent SQL Azure database server. A resource group is not a parent of its resources. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResource + + + + + + + + + + + + + + The Set-AzureResource cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Change the properties of a resource -------------------------- + + + + PS C:\> The first command uses the Get-AzureResource cmdlet to get the ContosoLabWeb2 web site. The command saves the resource in the $r variable. +PS C:\>$r = Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 The second command saves the Properties property (and its properties) of the resource in the $p variable. The Properties object is a Dictionary, but because it is convertible to a hash table, you can use it as the value of the PropertyObject parameter of Set-AzureResource without casting. PS C:\>$p = $r.Properties @@ -4584,47 +7283,43 @@ The third command displays the properties in the $p variable. PS C:\>$pName Value---- -----name ContosoLabWeb2storageRecoveryDefaultState RunningavailabilityState 0trafficManagerHostNamesrepositorySiteName ContosoLabWeb2runtimeAvailabilityState 0siteMode LimitedruntimeADUserlastModifiedTimeUtc 3/25/2014 6:00:04 PMusageState 0hostNames {contosolabweb2.antares-int.windows-int.net}adminEnabled TruehostNameSslStates {System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Collect...runtimeADUserDomainenabled TruedeploymentId ContosoLabWeb2selfLink https://antpreview2.api.admin-antares-int.windows-int.net:454/20130801/websystems/web...computeMode 0webSpace ContosoLabsRG-NorthEuropewebspacecsrs {}siteConfigintegratedSqlAuthEnabled Falsestate RunningruntimeADUserPasswordserverFarm Default1sslCertificates {}cerscontentAvailabilityState 0enabledHostNames {contosolabweb2.antares-int.windows-int.net, contosolabweb2.scm.antares-int.windows-i...windowsAuthEnabled 0ownersiteProperties {[metadata, ], [properties, System.Collections.Generic.List`1[System.Object]], [appSe...sku Free The fourth command is actually a series of commands (delimited by semi-colons) that change the values of the properties in the $p variable. -PS C:\>$p.siteMode = "Basic"; $p.sku = "Basic"; $p.computeMode = "Dedicated"; $p.serverFarm = "Default2" +PS C:\>$p.siteMode = "Basic"; $p.sku = "Basic"; $p.computeMode = "Dedicated"; $p.serverFarm = "Default2" The fifth command uses the Set-AzureResource cmdlet to change the change the properties of the ContosoLabWeb2 web site. The value of the PropertyObject parameter is the $p variable that contains the Properties object and the new values. The command saves the output (the updated resource) in the $r2 variable. -PS C:\>$r2 = Set-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -PropertyObject $p +PS C:\>$r2 = Set-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -PropertyObject $p The sixth command displays the Properties property of the resource in the $r2 variable. You can see that the properties have the new values. -PS C:\>$r2.PropertiesName Value---- -----storageRecoveryDefaultState RunningavailabilityState 0trafficManagerHostNamesrepositorySiteName ContosoLabWeb2runtimeAvailabilityState 0siteMode BasicruntimeADUserlastModifiedTimeUtc 3/25/2014 6:00:04 PMusageState 0hostNames {contosolabweb2.antares-int.windows-int.net}adminEnabled TruehostNameSslStates {System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Collect...runtimeADUserDomainenabled TruedeploymentId ContosoLabWeb2selfLink https://antpreview2.api.admin-antares-int.windows-int.net:454/20130801/websystems/web...computeMode DedicatedwebSpace ContosoLabsRG-NorthEuropewebspacecsrs {}siteConfigintegratedSqlAuthEnabled Falsestate RunningruntimeADUserPasswordserverFarm Default2sslCertificates {}cerscontentAvailabilityState 0enabledHostNames {contosolabweb2.antares-int.windows-int.net, contosolabweb2.scm.antares-int.windows-i...windowsAuthEnabled 0ownersiteProperties {[metadata, ], [properties, System.Collections.Generic.List`1[System.Object]], [appSe...sku Basicname ContosoLabWeb2 - - - This example shows how to change the properties of an Azure resource. In this case, we'll shift a web site from one server farm to another. To do that, we have to change the web site properties to be compatible with the new server farm. - - - - - - - - - Example 2: Apply a tag to a resource - - - - - PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="CostCenter";Value="Sales"} - - - This command uses the Tag parameter to add a CostCenter tag with a value of "Sales" to a resource that did not have any existing tags. - - - - - - - - - Example 3: Add tags to a resource - - - - - PS C:\>$tags = (Get-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01).Tags +PS C:\>$r2.PropertiesName Value---- -----storageRecoveryDefaultState RunningavailabilityState 0trafficManagerHostNamesrepositorySiteName ContosoLabWeb2runtimeAvailabilityState 0siteMode BasicruntimeADUserlastModifiedTimeUtc 3/25/2014 6:00:04 PMusageState 0hostNames {contosolabweb2.antares-int.windows-int.net}adminEnabled TruehostNameSslStates {System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Collect...runtimeADUserDomainenabled TruedeploymentId ContosoLabWeb2selfLink https://antpreview2.api.admin-antares-int.windows-int.net:454/20130801/websystems/web...computeMode DedicatedwebSpace ContosoLabsRG-NorthEuropewebspacecsrs {}siteConfigintegratedSqlAuthEnabled Falsestate RunningruntimeADUserPasswordserverFarm Default2sslCertificates {}cerscontentAvailabilityState 0enabledHostNames {contosolabweb2.antares-int.windows-int.net, contosolabweb2.scm.antares-int.windows-i...windowsAuthEnabled 0ownersiteProperties {[metadata, ], [properties, System.Collections.Generic.List`1[System.Object]], [appSe...sku Basicname ContosoLabWeb2 + + This example shows how to change the properties of an Azure resource. In this case, we'll shift a web site from one server farm to another. To do that, we have to change the web site properties to be compatible with the new server farm. + + + + + + + + + -------------------------- Example 2: Apply a tag to a resource -------------------------- + + + + PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="CostCenter";Value="Sales"} + + This command uses the Tag parameter to add a CostCenter tag with a value of "Sales" to a resource that did not have any existing tags. + + + + + + + + + -------------------------- Example 3: Add tags to a resource -------------------------- + + + + PS C:\>$tags = (Get-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01).Tags PS C:\>$tags @@ -4636,11 +7331,11 @@ Tags: Department IT -PS C:\>$tags += @{Name="Status";Value="Approved"}, @{Name="FY2016"} +PS C:\>$tags += @{Name="Status";Value="Approved"}, @{Name="FY2016"} -PS C:\>Set-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag $tags +PS C:\>Set-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag $tags -PS C:>(Get-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01).Tags +PS C:>(Get-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01).Tags Tags: @@ -4649,177 +7344,156 @@ Tags: ==== ====== Department IT Status Approved - FY2016 - - - - - This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. - The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable. - The second command gets the tags in the $tags variable. - The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable. - The fourth command uses the Tag parameter of Set-AzureResource to apply the tags in the $tags variable to the ContosoWeb resource. - The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015. - - - - - - - - - Example 4: Delete all tags - - - - - PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{} - - - This command uses the Tag parameter and an empty hash table value to delete all tags from a resource. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393461 - - - - - - Set-AzureResourceGroup - - Changes the properties of a resource group - - - - - Set - AzureResourceGroup - - - - The Set-AzureResourceGroup cmdlet changes the properties of a resource group. You can use this cmdlet to add, change, or delete the Azure tags applied to a resource group. - Use the Name parameter to identify the resource group and the Tag parameter to change the tags. You cannot use this cmdlet to change the name of a resource group. - - - - Set-AzureResourceGroup - - Name - - Specifies the name of the resource group. This parameter identifies the resource group that you want to change. - - String - - - Tag - - Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group. - A "tag" is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. - Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. - To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}). - - Hashtable[] - - - - - - Name - - Specifies the name of the resource group. This parameter identifies the resource group that you want to change. - - String - - String - - - - - - - Tag - - Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group. - A "tag" is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. - Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}. - To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}). - - Hashtable[] - - Hashtable[] - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Resources.Models.PSResourceGroup - - - - - - - - Returns an object that represents the changed resource group - - - - - - - - Example 1: Apply a tag to a resource group - - - - - PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{Name="Department";Value="IT"} - - - - This command applies a "Department" tag with a value of "IT" to a resource group that has no existing tags. - - - - - - - - - Example 2: Add tags to a resource group - - - - - PS C:\>$tags = (Get-AzureResourceGroup -Name ContosoRG).Tags + FY2016 + + This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. + + + + The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResource to apply the tags in the $tags variable to the ContosoWeb resource.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015. + + + + + -------------------------- Example 4: Delete all tags -------------------------- + + + + PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{} + + This command uses the Tag parameter and an empty hash table value to delete all tags from a resource. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393461 + + + + + + + Set-AzureResourceGroup + + Changes the properties of a resource group + + + + + Set + AzureResourceGroup + + + + + The Set-AzureResourceGroup cmdlet changes the properties of a resource group. You can use this cmdlet to add, change, or delete the Azure tags applied to a resource group. Use the Name parameter to identify the resource group and the Tag parameter to change the tags. You cannot use this cmdlet to change the name of a resource group. + + + + Set-AzureResourceGroup + + Name + + Specifies the name of the resource group. This parameter identifies the resource group that you want to change. + + String + + + Tag + + Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A "tag" is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}). + + Hashtable[] + + + + + + Name + + Specifies the name of the resource group. This parameter identifies the resource group that you want to change. + + String + + String + + + + + + Tag + + Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A "tag" is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureResource and Get-AzureResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name="FY2015"} or @{Name="Department";Value="IT"}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name="FY2015"}, @{Name="Department";Value="IT"}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}). + + Hashtable[] + + Hashtable[] + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Resources.Models.PSResourceGroup + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Apply a tag to a resource group -------------------------- + + + + PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{Name="Department";Value="IT"} + + This command applies a "Department" tag with a value of "IT" to a resource group that has no existing tags. + + + + + + + + + -------------------------- Example 2: Add tags to a resource group -------------------------- + + + + PS C:\>$tags = (Get-AzureResourceGroup -Name ContosoRG).Tags PS C:\>$tags @@ -4831,7 +7505,7 @@ Tags: Department IT -PS C:\>$tags += @{Name="Status";Value="Approved"}, @{Name="FY2016"} +PS C:\>$tags += @{Name="Status";Value="Approved"}, @{Name="FY2016"} PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag $tags @@ -4844,2530 +7518,701 @@ Tags: ==== ====== Department IT Status Approved - FY2016 - - - - - This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource group that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. - The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable. - The second command gets the tags in the $tags variable. - The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable. - The fourth command uses the Tag parameter of Set-AzureResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group. - The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015. - - - - - - - - - Example 3: Delete all tags - - - - - PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{} - - - - This command deletes all tags from the ContosoRG resource group. It uses the Tag parameter with an empty hash table value. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=404152 - - - - - - Stop-AzureResourceGroupDeployment - - Cancels a resource group deployment - - - - - Stop - AzureResourceGroupDeployment - - - - The Stop-AzureResourceGroupDeployment cmdlet cancels an Azure resource group deployment that is started, but not completed. To stop a deployment, the deployment must have an incomplete provisioning state, such as Provisioning, and not a completed state, such as Provisioned or Failed. - An Azure resource is a user-managed entity, such as a website, database, or database server. A resource group is a collection of resources that are deployed as a unit. To deploy a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. The New-AzureResource cmdlet creates a new resource, but it does not trigger a resource group deployment operation that this cmdlet can stop. - This cmdlet stops only one running deployment. Use the Name parameter to stop a particular deployment. If you omit the Name parameter, Stop-AzureResourceGroupDeployment searches for a running deployment and stops it, but if it finds more than one running deployment, the command fails. - By default, Stop-AzureResourceGroupDeployment prompts you for confirmation. To suppress the prompt, use the Force parameter. - - - - Stop-AzureResourceGroupDeployment - - ResourceGroupName - - Stops the deployment of the specified resource group. This parameter is required. - - String - - - Name - - Stops the specified deployment. Enter the deployment name. This parameter is optional. - Without this parameter, Stop-AzureResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails. - You can use -Name or its alias, -DeploymentName. - To find the deployment name, use the Get-AzureResourceGroupDeployment cmdlet. - - String - - - Force - - Suppresses the confirmation prompt. By default, Stop-AzureResourceGroupDeployment prompts you before stopping a deployment. - - - - PassThru - - Returns $True when the stopping operation succeeds and $False when it fails. By default, this cmdlet does not generate any output. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Stop-AzureResourceGroupDeployment prompts you before stopping a deployment. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Stops the specified deployment. Enter the deployment name. This parameter is optional. - Without this parameter, Stop-AzureResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails. - You can use -Name or its alias, -DeploymentName. - To find the deployment name, use the Get-AzureResourceGroupDeployment cmdlet. - - String - - String - - - - - - - PassThru - - Returns $True when the stopping operation succeeds and $False when it fails. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Stops the deployment of the specified resource group. This parameter is required. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or Boolean - - - - - - - - If you use the Passthru parameter, this cmdlet returns a Boolean value that represents the success or failure of the operation. Otherwise, this cmdlet does not return any output. - - - - - - - - - The Stop-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Stop a resource group deployment - - - - - PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues + FY2016 + + This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource group that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. + + + + The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015. + + + + + -------------------------- Example 3: Delete all tags -------------------------- + + + + PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{} + + This command deletes all tags from the ContosoRG resource group. It uses the Tag parameter with an empty hash table value. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=404152 + + + + + + + Stop-AzureResourceGroupDeployment + + Cancels a resource group deployment + + + + + Stop + AzureResourceGroupDeployment + + + + + The Stop-AzureResourceGroupDeployment cmdlet cancels an Azure resource group deployment that is started, but not completed. To stop a deployment, the deployment must have an incomplete provisioning state, such as Provisioning, and not a completed state, such as Provisioned or Failed.An Azure resource is a user-managed entity, such as a website, database, or database server. A resource group is a collection of resources that are deployed as a unit. To deploy a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. The New-AzureResource cmdlet creates a new resource, but it does not trigger a resource group deployment operation that this cmdlet can stop.This cmdlet stops only one running deployment. Use the Name parameter to stop a particular deployment. If you omit the Name parameter, Stop-AzureResourceGroupDeployment searches for a running deployment and stops it, but if it finds more than one running deployment, the command fails.By default, Stop-AzureResourceGroupDeployment prompts you for confirmation. To suppress the prompt, use the Force parameter. + + + + Stop-AzureResourceGroupDeployment + + ResourceGroupName + + Stops the deployment of the specified resource group. This parameter is required. + + String + + + Name + + Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureResourceGroupDeployment cmdlet. + + String + + + Force + + Suppresses the confirmation prompt. By default, Stop-AzureResourceGroupDeployment prompts you before stopping a deployment. + + SwitchParameter + + + PassThru + + Returns $True when the stopping operation succeeds and $False when it fails. By default, this cmdlet does not generate any output. + + SwitchParameter + + + + + + ResourceGroupName + + Stops the deployment of the specified resource group. This parameter is required. + + String + + String + + + + + + Name + + Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureResourceGroupDeployment cmdlet. + + String + + String + + + + + + Force + + Suppresses the confirmation prompt. By default, Stop-AzureResourceGroupDeployment prompts you before stopping a deployment. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns $True when the stopping operation succeeds and $False when it fails. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + None or Boolean + + + + + + + + + + + + + + The Stop-AzureResourceGroupDeployment cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Stop a resource group deployment -------------------------- + + + + PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -PS C:\>Stop-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Force - - - - This example shows how to use the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new resource group. - Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt. - - - - - - - - - Example 2: Stop a resource group deployment by deployment name - - - - - PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -DeploymentName DeployHost +PS C:\>Stop-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Force + + This example shows how to use the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new resource group. + + + + Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt. + + + + + -------------------------- Example 2: Stop a resource group deployment by deployment name -------------------------- + + + + PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -DeploymentName DeployHost PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateParameterFile .\PortalTemplateValues -GalleryTemplateName WebPortal -DeploymentName DeployPortal PS C:\>Stop-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Name DeployPortal -Passthru -True - - - This example shows how to use the Name (alias DeploymentName) parameter of the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. - The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new "ContosoRG01" resource group with a "DeployHost" deployment. The second command uses the New-AzureResourceGroupDeployment to add the "DeployPortal" deployment to the "ContosoRG01" resource group. - The third command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the "DeployPortal" deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393046 - - - - - - Test-AzureResourceGroupTemplate - - Detects errors in a resource group template or template parameters - - - - - Test - AzureResourceGroupTemplate - - - - The Test-AzureResourceGroupTemplate cmdlet verifies the validity of a resource group template, its parameters, and parameter values. It returns errors that it finds. Otherwise, it does not return any output. - To specify a template, use the GalleryTemplateIdentity or TemplateFile parameters. - To specify the template parameter values, use the TemplateParameterFile or TemplateParameterObject parameters, or use the template parameters that are added to the command dynamically when you specify the template. To get the parameters, just type a minus sign (-) to indicate a parameter name and press the TAB key to trigger tab-completion. If you miss a required parameter, the cmdlet prompts you for the value. Parameter values typed at the command line take precedence over values in a template parameter object or file. - A resource group template is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can use a resource group template to create a resource group or resource group deployment. The template includes parameter (placeholders) for configurable property values, likes names and sizes. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates. - - - - Test-AzureResourceGroupTemplate - - StorageAccountName - - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted. - To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. - - - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. - - String - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted. - To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. - - - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. - - Hashtable - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - GalleryTemplateIdentity - - Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted. - To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. - - - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - - Test-AzureResourceGroupTemplate - - StorageAccountName - - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. - - Hashtable - - - - Test-AzureResourceGroupTemplate - - StorageAccountName - - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. - - String - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateParameterFile - - Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. - - Hashtable - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - Test-AzureResourceGroupTemplate - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - - - - - GalleryTemplateIdentity - - Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted. - To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. - - - - String - - String - - - - - - - ResourceGroupName - - Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. - - String - - String - - - - - - - StorageAccountName - - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter. - The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails. - To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - String - - - - - - - TemplateParameterFile - - Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. - - String - - String - - - - - - - TemplateParameterObject - - Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. - - Hashtable - - Hashtable - - - - - - - TemplateUri - - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. - - String - - String - - - - - - - TemplateVersion - - Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ResourceManager.Models.PSResourceManagerError - - - - - - - - This cmdlet returns a PSResourceManagerError object for each error that it finds. If it does not find an error, it does not return any output. - - - - - - - - - The Test-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. - - - - - Example 1: Test a custom template file - - - - - PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile $home\Documents\Azure\Templates\CustomHostingPlan.json -TemplateParameterFile $home\Documents\Azure\Templates\HostingPlanParms.jsonPS C:> - - - - This command tests a custom template file, CustomHostingPlan.json, and a template parameter file, HostingPlanParms.json. Because the cmdlet does not find any errors, it does not return any output. - - - - - - - - - Example 2: Test a parameter object for a gallery template - - - - - PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionID='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG'}cmdlet Test-AzureResourceGroupTemplate at command pipeline position 1Supply values for the following parameters:(Type !? for Help.)siteLocation:"South Central US"Code : InvalidTemplateMessage : Deployment template validation failed: 'The template parameters 'subscriptionID' are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supportedparameters for this template are 'siteName, hostingPlanName, siteMode, computeMode, siteLocation, subscriptionId, resourceGroup'.'.a +True + + This example shows how to use the Name (alias DeploymentName) parameter of the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. + + + + The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new "ContosoRG01" resource group with a "DeployHost" deployment. The second command uses the New-AzureResourceGroupDeployment to add the "DeployPortal" deployment to the "ContosoRG01" resource group.The third command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the "DeployPortal" deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393046 + + + + + + + Test-AzureResourceGroupTemplate + + Detects errors in a resource group template or template parameters + + + + + Test + AzureResourceGroupTemplate + + + + + The Test-AzureResourceGroupTemplate cmdlet verifies the validity of a resource group template, its parameters, and parameter values. It returns errors that it finds. Otherwise, it does not return any output.To specify a template, use the GalleryTemplateIdentity or TemplateFile parameters. To specify the template parameter values, use the TemplateParameterFile or TemplateParameterObject parameters, or use the template parameters that are added to the command dynamically when you specify the template. To get the parameters, just type a minus sign (-) to indicate a parameter name and press the TAB key to trigger tab-completion. If you miss a required parameter, the cmdlet prompts you for the value. Parameter values typed at the command line take precedence over values in a template parameter object or file.A resource group template is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can use a resource group template to create a resource group or resource group deployment. The template includes parameter (placeholders) for configurable property values, likes names and sizes. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates. + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. + + Hashtable + + + GalleryTemplateIdentity + + Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. + + Hashtable + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. + + Hashtable + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. + + String + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. + + String + + + GalleryTemplateIdentity + + Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateParameterFile + + Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. + + String + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + GalleryTemplateIdentity + + Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + Test-AzureResourceGroupTemplate + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + + + + + ResourceGroupName + + Specify the name of the resource group. This parameter is mandatory. Wildcards are not permitted. + + String + + String + + + + + + TemplateFile + + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + String + + + + + + TemplateVersion + + Specifies a particular version of the gallery or custom template. Enter the API version number, such as "2014-04-01-preview". This parameter is optional. If you specify this parameter, Test-AzureResourceGroupGalleryTemplate verifies that the specified template has the matching version and fails if it does not. + + String + + String + + + + + + TemplateParameterObject + + Specifies a hash table of template parameter names and values. The parameters and values are case-sensitive. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterFile parameter, or use the parameters that are added to the command dynamically when you specify the template. + + Hashtable + + Hashtable + + + + + + GalleryTemplateIdentity + + Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. + + String + + String + + + + + + TemplateUri + + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + + String + + String + + + + + + TemplateParameterFile + + Specifies the path and name of a JSON file of template parameter names and values. You must specify values for the template parameters, but you can use this parameter, the TemplateParameterObject parameter, or use the parameters that are added to the command dynamically when you specify the template. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResourceManagerError + + + + + + + + + + + + + + The Test-AzureResourceGroupGalleryTemplate cmdlet is included in the Azure Resource Manager module beginning in module version 0.8.0. + + + + + -------------------------- Example 1: Test a custom template file -------------------------- + + + + PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile $home\Documents\Azure\Templates\CustomHostingPlan.json -TemplateParameterFile $home\Documents\Azure\Templates\HostingPlanParms.jsonPS C:> + + This command tests a custom template file, CustomHostingPlan.json, and a template parameter file, HostingPlanParms.json. Because the cmdlet does not find any errors, it does not return any output. + + + + + + + + + -------------------------- Example 2: Test a parameter object for a gallery template -------------------------- + + + + PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionID='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG'}cmdlet Test-AzureResourceGroupTemplate at command pipeline position 1Supply values for the following parameters:(Type !? for Help.)siteLocation:"South Central US"Code : InvalidTemplateMessage : Deployment template validation failed: 'The template parameters 'subscriptionID' are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supportedparameters for this template are 'siteName, hostingPlanName, siteMode, computeMode, siteLocation, subscriptionId, resourceGroup'.'.a -PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionId='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG';siteLocation='South Central US'} - - - - This command tests gallery template and a hash table of parameter names and values. The command uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. It uses the TemplateParameterObject cmdlet to specify the template parameters and their values. - In this case, the template parameter hash table is missing the siteLocation parameter. The cmdlet recognizes the omission and prompts for a value. However, the cmdlet still returns an error, because the subscriptionId parameter in hash table is misspelled as "subscriptionID". - In the second command, the errors are corrected, and the cmdlet does not return any output. - - - - - - - - - Example 3: Test a template with dynamic parameter values - - - - - PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile C:\Users\juneb\Documents\Azure\Templates\NewHostingPlan.json -siteName ContosoDev -siteMode Limited -computeMode Shared -siteLocation 'South Central US' -sku FreeCode : InvalidTemplateMessage : Deployment template validation failed: 'The template parameter 'hostingPlanName' is not valid.'. - - - - This command uses the Test-AzureResourceGroupTemplate cmdlet to test a custom template. Instead of providing the template parameter names, we used the feature that adds the template parameters to command dynamically. - To use the dynamic parameters, type a minus sign (-) to indicate a parameter name and press the TAB key. The tab-completion feature supplies parameter name. To cycle through all of the parameter names, press the TAB key repeatedly. In this case, we used the dynamic parameters to specify all of the parameter names at the command line. - In this case, even though the template parameter names and values are correct, the Parameters section in the custom template is missing the hostingPlan parameter that is specified in the Resource section of the template. The cmdlet detects and reports this error. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393054 - - - - - - New-AzureRoleAssignment - - Create a role assignment to some principals at a given scope. - - - - - New - AzureRoleAssignment - - - - Create a role assignment to some principals at a given scope. - - - - New-AzureRoleAssignment - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - New-AzureRoleAssignment - - Mail - - The live id or group mail. - - Guid - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - New-AzureRoleAssignment - - UserPrincipalName - - The UPN. - - Guid - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - New-AzureRoleAssignment - - ServicePrincipalName - - The SPN. - - Guid - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - Mail - - Mail of the user or group - - String - - - ServicePrincipalName - - SPN of the service principal. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Create new role assignment using UPN -------------- - - - C:\PS> - C:\PS> - - New-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader - - add role assignment to a principal for a resource group using the separate parameters - - - - - - - - - - - -------------- Create new role assignment using Service Principal Name -------------- - - - C:\PS> - C:\PS> - - New-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor - - add role assignment to a service principal for a subscription. - - - - - - - - - - - -------------- Create new role assignment using explict Scope -------------- - - - C:\PS> - C:\PS> - - New-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" - - add role assignment to a principal for a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used - - - - - - - - - - - - Get-AzureRoleAssignment - - - - Remove-AzureRoleAssignment - - - - Get-AzureRoleDefinition - - - - - - - Get-AzureRoleAssignment - - Filters role assignments. - - - - - Get - AzureRoleAssignment - - - - Filters role assignments. - - - - Get-AzureRoleAssignment - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - Mail - - Mail of the user or group - - String - - - ServicePrincipalName - - SPN of the service principal. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - Mail - - Mail of the user or group - - String - - - ServicePrincipalName - - SPN of the service principal. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Filters role assignment using UPN, Role Definition and Resource Group -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader - - gets role assignments for principal in a resource group that have Reader role definition - - - - - - - - - - - -------------- Filters role assignments using Service Principal Name -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor - - Gets role assignments of a service principal that have contribution role definition. - - - - - - - - - - - -------------- List all role assignments in the subscription -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleAssignment - - Gets all role assignments under the subscription - - - - - - - - - - - -------------- Filters role assignment using explict Scope -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" - - gets role assignment to a live email on a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used - - - - - - - - - - - - New-AzureRoleAssignment - - - - Remove-AzureRoleAssignment - - - - Get-AzureRoleDefinition - - - - - - - Remove-AzureRoleAssignment - - Removes a role assignment. - - - - - Remove - AzureRoleAssignment - - - - Removes a role assignments. - - - - Remove-AzureRoleAssignment - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - Mail - - Mail of the user or group - - String - - - ServicePrincipalName - - SPN of the service principal. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - Mail - - Mail of the user or group - - String - - - ServicePrincipalName - - SPN of the service principal. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope - - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ParentResource - - Parent resource of the resource to assign the role to, if there is any. - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Removes role assignment using UPN, Role Definition and Resource Group -------------- - - - C:\PS> - C:\PS> - - Remove-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader - - Removes a role assignment for principal in a resource group that have Reader role definition - - - - - - - - - - - - New-AzureRoleAssignment - - - - Get-AzureRoleAssignment - - - - Get-AzureRoleDefinition - - - - - - - Get-AzureRoleDefinition - - Filters role definitions. - - - - - Get - AzureRoleDefinition - - - - Gets role definitions. - - - - Get-AzureRoleDefinition - - Name - - Role definition name. - - Guid - - - - - - Name - - Role definition name. - - Guid - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Gets a role definition -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleDefinition -Name Reader - - Gets a role definition with Reader name - - - - - - - - - - - -------------- Lists all role definitions -------------- - - - C:\PS> - C:\PS> - - Get-AzureRoleDefinition - - Lists all role definitions - - - - - - - - - - - - New-AzureRoleAssignment - - - - Get-AzureRoleAssignment - - - - Get-AzureRoleAssignment - - - - - - - Get-AzureADUser - - Filters active directory users. - - - - - Get - AzureADUser - - - - Filters active directory users. - - - - Get-AzureADUser - - ObjectId - - Object id of the user. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - SearchString - - The user display name - - String - - - - - Get-AzureADUser - - ObjectId - - Object id of the user. - - Guid - - - UserPrincipalName - - UPN of the user. - - String - - - SearchString - - The user display name - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Filters users using UPN -------------- - - - C:\PS> - C:\PS> - - Get-AzureADUser -UPN foo@domain.com - - Gets user with foo@domain.com - - - - - - - - - - - -------------- Filters users using Search String -------------- - - - C:\PS> - C:\PS> - - Get-AzureADUser -SearchString Joe - - Filters all ad users that has Joe in the display name. - - - - - - - - - - - -------------- List AD users -------------- - - - C:\PS> - C:\PS> - - Get-AzureADUser - - Gets all AD users - - - - - - - - - - - - Get-AzureADGroup - - - - Get-AzureADServicePrincipal - - - - Get-AzureADGroupMember - - - - - - - Get-AzureADGroup - - Filters active directory groups. - - - - - Get - AzureADGroup - - - - Filters active directory groups. - - - - Get-AzureADGroup - - ObjectId - - Object id of the group. - - Guid - - - SearchString - - The group display name - - String - - - - - Get-AzureADGroup - - ObjectId - - Object id of the group. - - Guid - - - SearchString - - The group display name - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Filters groups using object id -------------- - - - C:\PS> - C:\PS> - - Get-AzureADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE - - Gets group with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id - - - - - - - - - - - -------------- Filters groups using Search String -------------- - - - C:\PS> - C:\PS> - - Get-AzureADGroup -SearchString Joe - - Filters all ad groups that has Joe in the display name. - - - - - - - - - - - -------------- List AD groups -------------- - - - C:\PS> - C:\PS> - - Get-AzureADGroup - - Gets all AD groups - - - - - - - - - - - - Get-AzureADUser - - - - Get-AzureADServicePrincipal - - - - Get-AzureADGroupMember - - - - - - - Get-AzureADServicePrincipal - - Filters active directory service principals. - - - - - Get - AzureADServicePrincipal - - - - Filters active directory service principals. - - - - Get-AzureADServicePrincipals - - ObjectId - - Object id of the service principal. - - Guid - - - ServicePrincipalName - - SPN of the service principal. - - String - - - SearchString - - The service principal display name - - String - - - - - Get-AzureADServicePrincipal - - ObjectId - - Object id of the service principal. - - Guid - - - ServicePrincipalName - - SPN of the service. - - String - - - SearchString - - The service principal display name - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Filters service principals using SPN -------------- - - - C:\PS> - C:\PS> - - Get-AzureADServicePrincipal -SPN 36f81fc3-b00f-48cd-8218-3879f51ff39f - - Gets service principals with 36f81fc3-b00f-48cd-8218-3879f51ff39f SPN - - - - - - - - - - - -------------- Filters service principals using Search String -------------- - - - C:\PS> - C:\PS> - - Get-AzureADServicePrincipal -SearchString Web - - Filters all ad service principals that has Web in the display name. - - - - - - - - - - - -------------- List AD service principals -------------- - - - C:\PS> - C:\PS> - - Get-AzureADServicePrincipal - - Gets all AD service principals - - - - - - - - - - - - Get-AzureADGroup - - - - Get-AzureADUser - - - - Get-AzureADGroupMember - - - - - - - Get-AzureADGroupMember - - Get a group members. - - - - - Get - AzureADGroupMember - - - - Get a group members. - - - - Get-AzureADGroupMember - - GroupObjectId - - Object id of the group. - - Guid - - - - - Get-AzureADGroupMember - - ObjectId - - Object id of the group. - - Guid - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Filters group members using group object id -------------- - - - C:\PS> - C:\PS> - - Get-AzureADGroupMember -GroupObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE - - Gets group members with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id - - - - - - - - - - - - Get-AzureADUser - - - - Get-AzureADServicePrincipal - - - - Get-AzureADGroupMemberMember - - - - - +PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionId='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG';siteLocation='South Central US'} + + This command tests gallery template and a hash table of parameter names and values. The command uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. It uses the TemplateParameterObject cmdlet to specify the template parameters and their values. + + + + In this case, the template parameter hash table is missing the siteLocation parameter. The cmdlet recognizes the omission and prompts for a value. However, the cmdlet still returns an error, because the subscriptionId parameter in hash table is misspelled as "subscriptionID".In the second command, the errors are corrected, and the cmdlet does not return any output. + + + + + -------------------------- Example 3: Test a template with dynamic parameter values -------------------------- + + + + PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile C:\Users\juneb\Documents\Azure\Templates\NewHostingPlan.json -siteName ContosoDev -siteMode Limited -computeMode Shared -siteLocation 'South Central US' -sku FreeCode : InvalidTemplateMessage : Deployment template validation failed: 'The template parameter 'hostingPlanName' is not valid.'. + + This command uses the Test-AzureResourceGroupTemplate cmdlet to test a custom template. Instead of providing the template parameter names, we used the feature that adds the template parameters to command dynamically. + + + + To use the dynamic parameters, type a minus sign (-) to indicate a parameter name and press the TAB key. The tab-completion feature supplies parameter name. To cycle through all of the parameter names, press the TAB key repeatedly. In this case, we used the dynamic parameters to specify all of the parameter names at the command line.In this case, even though the template parameter names and values are correct, the Parameters section in the custom template is missing the hostingPlan parameter that is specified in the Resource section of the template. The cmdlet detects and reports this error. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393054 + + + + \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs index a4df9d0a9a4d..dbe14c7bbeba 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs @@ -98,6 +98,24 @@ public virtual List FilterGalleryTemplates(FilterGalleryTemplates if (!options.AllVersions && result.Count > 1) { + if (!string.IsNullOrEmpty(options.Publisher) && string.IsNullOrEmpty(options.ApplicationName) && string.IsNullOrEmpty(options.Identity)) + { + // we return a list of the most recent templates, for each name. + List latest = new List(); + IEnumerable distinctNames = result.Select(g => g.Name).Distinct(); + foreach (var name in distinctNames) + { + List galleryItems = result.Where(x => x.Name.Equals(name)).ToList(); + GalleryItem recentTemplate = this.MostRecentTemplate(galleryItems); + if (recentTemplate != null) + { + latest.Add(recentTemplate); + } + } + + return latest.Select(i => i.ToPSGalleryItem()).ToList(); + } + // Take only the most recent version GalleryItem mostRecentTemplate = MostRecentTemplate(result); if (mostRecentTemplate != null) @@ -368,7 +386,7 @@ internal RuntimeDefinedParameter ConstructDynamicParameter(string[] staticParame RuntimeDefinedParameter runtimeParameter = new RuntimeDefinedParameter() { // For duplicated template parameter names, add a suffix FromTemplate to distinguish them from the cmdlet parameter. - Name = staticParameters.Any(n => n.StartsWith(name, StringComparison.OrdinalIgnoreCase)) + Name = staticParameters.Any(n => n.StartsWith(name, StringComparison.OrdinalIgnoreCase)) ? name + duplicatedParameterSuffix : name, ParameterType = GetParameterType(parameter.Value.Type), Value = defaultValue @@ -414,7 +432,7 @@ private List QueryGalleryTemplates(FilterGalleryTemplatesOptions op { parameters = new ItemListParameters() { Filter = string.Join(" and ", filterStrings) }; } - + List galleryItems = GalleryClient.Items.List(parameters).Items.ToList(); if (!string.IsNullOrEmpty(options.ApplicationName)) { diff --git a/src/ResourceManager/Resources/Commands.Resources/packages.config b/src/ResourceManager/Resources/Commands.Resources/packages.config index 2195a4b6f576..4af1bc0c2f29 100644 --- a/src/ResourceManager/Resources/Commands.Resources/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources/packages.config @@ -1,16 +1,16 @@  - + - + - + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj new file mode 100644 index 000000000000..5d6436384484 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj @@ -0,0 +1,273 @@ + + + + + Debug + AnyCPU + {56ED8C97-53B9-4DF6-ACB5-7E6800105BF8} + Library + Properties + Microsoft.Azure.Commands.Sql.Test + Microsoft.Azure.Commands.Sql.Test + v4.5 + 512 + + ..\..\..\ + true + /assemblyCompareMode:StrongNameIgnoringVersion + + + true + MSSharedLibKey.snk + true + true + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + bin\Release\ + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + false + + + + False + ..\..\..\packages\Microsoft.Azure.Gallery.2.2.1-preview\lib\net40\Microsoft.Azure.Gallery.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Sql.0.11.1-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll + + + False + ..\..\..\packages\Microsoft.Azure.Monitoring.2.2.1-preview\lib\net40\Microsoft.Azure.Monitoring.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + True + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + + + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + True + True + Resources.resx + + + + + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {bc420543-c04e-4bf3-96e1-cd81b823bdd7} + Commands.Test.Utilities + + + {e1f5201d-6067-430e-b303-4e367652991b} + Commands.Resources + + + {65c3a86a-716d-4e7d-ab67-1db00b3bf72d} + Commands.Common.Storage + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {69ed499e-6f3c-488f-86b8-b74cfda4d47e} + Commands.Sql + + + + + + + + + Designer + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/MSSharedLibKey.snk b/src/ResourceManager/Sql/Commands.Sql.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/Sql/Commands.Sql.Test/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..ce38135abe81 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +// 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.Azure.Commands.Sql.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Azure.Commands.Sql.Test")] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f6f46134-9c1b-4599-8dd0-789299c076ef")] + +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.Designer.cs b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..041d3fef99af --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Resources.Test.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Resources.Test.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.resx b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.resx new file mode 100644 index 000000000000..4fdb1b6aff69 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Properties/Resources.resx @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 new file mode 100644 index 000000000000..440bd25ad096 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 @@ -0,0 +1,48 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Gets the values of the parameters used at the auditing tests +#> +function Get-SqlAuditingTestEnvironmentParameters ($testSuffix) +{ + return @{ rgname = "sql-audit-cmdlet-test-rg" +$testSuffix; + serverName = "sql-audit-cmdlet-server" +$testSuffix; + databaseName = "sql-audit-cmdlet-db" + $testSuffix; + storageAccount = "auditcmdlets" +$testSuffix + } +} + +<# +.SYNOPSIS +Creates the test environment needed to perform the Sql auditing tests +#> +function Create-TestEnvironment ($testSuffix) +{ + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + New-AzureStorageAccount -StorageAccountName $params.storageAccount -Location "West US" + New-AzureResourceGroup -Name $params.rgname -Location "West US" -TemplateFile ".\Templates\sql-audit-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "West US" -Force +} + +<# +.SYNOPSIS +Removes the test environment that was needed to perform the Sql auditing tests +#> +function Remove-TestEnvironment ($testSuffix) +{ + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + #Remove-AzureResourceGroup -Name $params.rgname -force + Remove-AzureStorageAccount -StorageAccountName $params.storageAccount +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.cs new file mode 100644 index 000000000000..fb7db053ebd5 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.cs @@ -0,0 +1,164 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; + +namespace Microsoft.Azure.Commands.ScenarioTest.SqlTests +{ + public class SecurityTests : SqlTestsBase + { + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDatabaseUpdatePolicyWithStorage() + { + RunPowerShellTest("Test-DatabaseUpdatePolicyWithStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestServerUpdatePolicyWithStorage() + { + RunPowerShellTest("Test-ServerUpdatePolicyWithStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDatabaseUpdatePolicyWithEventTypes() + { + RunPowerShellTest("Test-DatabaseUpdatePolicyWithEventTypes"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestServerUpdatePolicyWithEventTypes() + { + RunPowerShellTest("Test-ServerUpdatePolicyWithEventTypes"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDisableDatabaseAuditing() + { + RunPowerShellTest("Test-DisableDatabaseAuditing"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDisableServerAuditing() + { + RunPowerShellTest("Test-DisableServerAuditing"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDatabaseDisableEnableKeepProperties() + { + RunPowerShellTest("Test-DatabaseDisableEnableKeepProperties"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestServerDisableEnableKeepProperties() + { + RunPowerShellTest("Test-ServerDisableEnableKeepProperties"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestUseServerDefault() + { + RunPowerShellTest("Test-UseServerDefault"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestFailedDatabaseUpdatePolicyWithNoStorage() + { + RunPowerShellTest("Test-FailedDatabaseUpdatePolicyWithNoStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestFailedServerUpdatePolicyWithNoStorage() + { + RunPowerShellTest("Test-FailedServerUpdatePolicyWithNoStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestFailedUseServerDefault() + { + RunPowerShellTest("Test-FailedUseServerDefault"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDatabaseUpdatePolicyWithEventTypeShortcuts() + { + RunPowerShellTest("Test-DatabaseUpdatePolicyWithEventTypeShortcuts"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestServerUpdatePolicyWithEventTypeShortcuts() + { + RunPowerShellTest("Test-ServerUpdatePolicyWithEventTypeShortcuts"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDatabaseUpdatePolicyKeepPreviousStorage() + { + RunPowerShellTest("Test-DatabaseUpdatePolicyKeepPreviousStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestServerUpdatePolicyKeepPreviousStorage() + { + RunPowerShellTest("Test-ServerUpdatePolicyKeepPreviousStorage"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestFailWithBadDatabaseIndentity() + { + RunPowerShellTest("Test-FailWithBadDatabaseIndentity"); + } + + [Fact(Skip = "Skip for the version header upgrade on Storage library.")] + [Trait(Category.RunType, Category.LiveOnly)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestFailWithBadServerIndentity() + { + RunPowerShellTest("Test-FailWithBadServerIndentity"); + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 new file mode 100644 index 000000000000..5e263dbab6c9 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 @@ -0,0 +1,605 @@ +# ---------------------------------------------------------------------------------- +# +# 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 +Tests that when setting the storage account property's value in a database's auditing policy, that value is later fetched properly +#> +function Test-DatabaseUpdatePolicyWithStorage +{ + # Setup + $testSuffix = 101 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.StorageAccountName $params.storageAccount + Assert-True { $policy.IsEnabled } + Assert-False { $policy.UseServerDefault } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when setting the storage account property's value in a server's auditing policy, that value is later fetched properly +#> +function Test-ServerUpdatePolicyWithStorage +{ + # Setup + $testSuffix = 201 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.StorageAccountName $params.storageAccount + Assert-True { $policy.IsEnabled } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that after setting the storage account property's value in a database's auditing policy, this value is used on next policy set operations as default. Meaning: if you don't want to change the +storage account, you don't need to provide it. +#> +function Test-DatabaseUpdatePolicyKeepPreviousStorage +{ + # Setup + $testSuffix = 301 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policyBefore = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policyAfter = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policyBefore.StorageAccountName $policyAfter.StorageAccountName + Assert-AreEqual $policyAfter.StorageAccountName $params.storageAccount + + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that after setting the storage account property's value in a server's auditing policy, this value is used on next policy set operations as default. Meaning: if you don't want to change the +storage account, you don't need to provide it. +#> +function Test-ServerUpdatePolicyKeepPreviousStorage +{ + # Setup + $testSuffix = 401 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policyBefore = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + $policyAfter = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policyBefore.StorageAccountName $policyAfter.StorageAccountName + Assert-AreEqual $policyAfter.StorageAccountName $params.storageAccount + + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when modifying the eventType property of a databases's auditing policy (including the All and None values), these properties are later fetched properly +#> +function Test-DatabaseUpdatePolicyWithEventTypes +{ + # Setup + $testSuffix = 501 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "DataAccess","DataChanges","RevokePermissions" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 3 + Assert-True {$policy.EventType.Contains("DataAccess")} + Assert-True {$policy.EventType.Contains("DataChanges")} + Assert-True {$policy.EventType.Contains("RevokePermissions")} + + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when modifying the eventType property of a server's auditing policy (including the All and None values), these properties are later fetched properly +#> +function Test-ServerUpdatePolicyWithEventTypes +{ + # Setup + $testSuffix = 601 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "DataAccess","DataChanges","RevokePermissions" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 3 + Assert-True {$policy.EventType.Contains("DataAccess")} + Assert-True {$policy.EventType.Contains("DataChanges")} + Assert-True {$policy.EventType.Contains("RevokePermissions")} + + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests the modification of a database's auting policy event types with the 'All' or 'None' shortcuts +#> +function Test-DatabaseUpdatePolicyWithEventTypeShortcuts +{ + # Setup + $testSuffix = 701 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All", "All" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None", "None" + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + + # Test + Assert-Throws {Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All", "None"} + Assert-Throws {Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None", "All"} + Assert-Throws {Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "DataChanges", "All"} + Assert-Throws {Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "DataChanges", "None"} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests the modification of a server's auditing policy event types with the 'All' or 'None' shortcuts +#> +function Test-ServerUpdatePolicyWithEventTypeShortcuts +{ + # Setup + $testSuffix = 801 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "All" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 5 + + + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "None" + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.EventType.Length 0 + + # Test + Assert-Throws {Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "None"} + Assert-Throws {Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "All"} + Assert-Throws {Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "DataChanges", "All"} + Assert-Throws {Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "DataChanges", "None"} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when asking to disable auditing of a database, later when fetching the policy, it is marked as disabled +#> +function Test-DisableDatabaseAuditing +{ + # Setup + $testSuffix = 901 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + Disable-AzureSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-False { $policy.IsEnabled } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when asking to disable auditing of a server, later when fetching the policy, it is marked as disabled +#> +function Test-DisableServerAuditing +{ + # Setup + $testSuffix = 111 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Disable-AzureSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-False { $policy.IsEnabled } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when disabling an already existing auditing policy on a database and then re-enabling it, the properties of the policy are kept +#> +function Test-DatabaseDisableEnableKeepProperties +{ + # Setup + $testSuffix = 121 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "SecurityExceptions" + Disable-AzureSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-AreEqual $policy.StorageAccountName $params.storageAccount + Assert-True { $policy.IsEnabled } + Assert-False { $policy.UseServerDefault } + Assert-AreEqual $policy.EventType.Length 1 + Assert-True {$policy.EventType.Contains("SecurityExceptions")} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that when disabling an already existing auditing policy on a server and then re-enabling it, the properties of the policy are kept +#> +function Test-ServerDisableEnableKeepProperties +{ + # Setup + $testSuffix = 131 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "RevokePermissions" + Disable-AzureSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName + + # Assert + Assert-AreEqual $policy.StorageAccountName $params.storageAccount + Assert-True { $policy.IsEnabled } + Assert-False { $policy.UseServerDefault } + Assert-AreEqual $policy.EventType.Length 1 + Assert-True {$policy.EventType.Contains("RevokePermissions")} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that after marking a database as using its server's policy, when fetching the database's policy, it is marked as using the server's policy +#> +function Test-UseServerDefault +{ + # Setup + $testSuffix = 141 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Test + Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Use-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + + # Assert + Assert-True {$policy.UseServerDefault} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that a failure occurs when trying to set a policy to a database, and that database does not have a polic as well as the policy does not have a storage account +#> +function Test-FailedDatabaseUpdatePolicyWithNoStorage +{ + # Setup + $testSuffix = 151 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Assert + Assert-Throws { Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that a failure occurs when trying to set a policy to a server, and that policy does not have a storage account +#> +function Test-FailedServerUpdatePolicyWithNoStorage +{ + # Setup + $testSuffix = 161 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Assert + Assert-Throws { Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that a failure occurs when trying to make a database use its server's auditing policy when the server's policy does not have a storage account +#> +function Test-FailedUseServerDefault +{ + # Setup + $testSuffix = 171 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Assert + Assert-Throws { Use-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that it is impossible to use non existing database with the cmdlets +#> +function Test-FailWithBadDatabaseIndentity +{ + # Setup + $testSuffix = 181 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Assert + Assert-Throws { Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName } + Assert-Throws { Get-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER"-DatabaseName $params.databaseName } + Assert-Throws { Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} + Assert-Throws { Set-AzureSqlDatabaseAuditingSetting -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} + +<# +.SYNOPSIS +Tests that it is impossible to use non existing server with the cmdlets +#> +function Test-FailWithBadServerIndentity +{ + # Setup + $testSuffix = 191 + Create-TestEnvironment $testSuffix + $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix + + try + { + # Assert + Assert-Throws { Get-AzureSqlServerAuditingSetting -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName } + Assert-Throws { Get-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" } + Assert-Throws { Set-AzureSqlServerAuditingSetting -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -StorageAccountName $params.storageAccount} + Assert-Throws { Set-AzureSqlServerAuditingSetting -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -StorageAccountName $params.storageAccount} + } + finally + { + # Cleanup + Remove-TestEnvironment $testSuffix + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs new file mode 100644 index 000000000000..132bcad207cb --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Management.Sql; +using Microsoft.Azure.Management.Resources; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Storage; +using Microsoft.WindowsAzure.Testing; + +namespace Microsoft.Azure.Commands.ScenarioTest.SqlTests +{ + public class SqlTestsBase + { + private EnvironmentSetupHelper helper; + + protected SqlTestsBase() + { + helper = new EnvironmentSetupHelper(); + } + + protected void SetupManagementClients() + { + var sqlCSMClient = GetSqlCSMClient(); // to interact with the security endpoints + var storageClient = GetStorageClient(); + var resourcesClient = GetResourcesClient(); + helper.SetupSomeOfManagementClients(sqlCSMClient, storageClient, resourcesClient); + } + + protected void RunPowerShellTest(params string[] scripts) + { + // Enable undo functionality as well as mock recording + using (UndoContext context = UndoContext.Current) + { + // Configure recordings + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureResourceManager); + + helper.SetupModules(AzureModule.AzureProfile, "ScenarioTests\\Common.ps1", + "ScenarioTests\\" + this.GetType().Name + ".ps1"); + + helper.RunPowerShellTest(scripts); + } + } + + protected SqlManagementClient GetSqlCSMClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } + + protected StorageManagementClient GetStorageClient() + { + return TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); + } + + protected ResourceManagementClient GetResourcesClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseDisableEnableKeepProperties.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseDisableEnableKeepProperties.json new file mode 100644 index 000000000000..db314383b02c --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseDisableEnableKeepProperties.json @@ -0,0 +1,2658 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets121\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "854" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "e58aaf15fb1716d1bac477f4ff114d81" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:35:25 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets121" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/e58aaf15fb1716d1bac477f4ff114d81", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2U1OGFhZjE1ZmIxNzE2ZDFiYWM0NzdmNGZmMTE0ZDgx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "854" + ] + }, + "ResponseBody": "\r\n e58aaf15-fb17-16d1-bac4-77f4ff114d81\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "1de6a5897a82131fae6e6e910b9560bc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:35:25 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/e58aaf15fb1716d1bac477f4ff114d81", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2U1OGFhZjE1ZmIxNzE2ZDFiYWM0NzdmNGZmMTE0ZDgx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "854" + ] + }, + "ResponseBody": "\r\n e58aaf15-fb17-16d1-bac4-77f4ff114d81\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "99f2dd80f6c8153f98919ad992b312cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:35:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31876" + ], + "x-ms-request-id": [ + "121eb1c6-fd1e-4ad0-9fe5-07c9a790421b" + ], + "x-ms-correlation-request-id": [ + "121eb1c6-fd1e-4ad0-9fe5-07c9a790421b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193557Z:121eb1c6-fd1e-4ad0-9fe5-07c9a790421b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:35:56 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121\",\r\n \"name\": \"sql-audit-cmdlet-test-rg121\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-request-id": [ + "241b6cf7-87c5-4736-a268-7ad988dbfdbd" + ], + "x-ms-correlation-request-id": [ + "241b6cf7-87c5-4736-a268-7ad988dbfdbd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193559Z:241b6cf7-87c5-4736-a268-7ad988dbfdbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:35:59 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:36:00.6593583Z\",\r\n \"correlationId\": \"277c0bd3-3155-4496-a181-f2b67db1bf81\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "277c0bd3-3155-4496-a181-f2b67db1bf81" + ], + "x-ms-correlation-request-id": [ + "277c0bd3-3155-4496-a181-f2b67db1bf81" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193600Z:277c0bd3-3155-4496-a181-f2b67db1bf81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:36:02.9081033Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1180" + ], + "x-ms-request-id": [ + "6747b6be-932d-45a2-a873-4ecd14a919a0" + ], + "x-ms-correlation-request-id": [ + "6747b6be-932d-45a2-a873-4ecd14a919a0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193603Z:6747b6be-932d-45a2-a873-4ecd14a919a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:03 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31875" + ], + "x-ms-request-id": [ + "a26b4b1a-b227-49a7-a110-0501124f4260" + ], + "x-ms-correlation-request-id": [ + "a26b4b1a-b227-49a7-a110-0501124f4260" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193604Z:a26b4b1a-b227-49a7-a110-0501124f4260" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31873" + ], + "x-ms-request-id": [ + "0c7b2c91-1ac1-4135-a2fd-be275e105ebe" + ], + "x-ms-correlation-request-id": [ + "0c7b2c91-1ac1-4135-a2fd-be275e105ebe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193608Z:0c7b2c91-1ac1-4135-a2fd-be275e105ebe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31871" + ], + "x-ms-request-id": [ + "ec98efc6-afda-4ec1-9f74-3eaa80a1815c" + ], + "x-ms-correlation-request-id": [ + "ec98efc6-afda-4ec1-9f74-3eaa80a1815c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193612Z:ec98efc6-afda-4ec1-9f74-3eaa80a1815c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31869" + ], + "x-ms-request-id": [ + "bd2ea5fe-5344-467e-9e5f-f1d67e157f44" + ], + "x-ms-correlation-request-id": [ + "bd2ea5fe-5344-467e-9e5f-f1d67e157f44" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193616Z:bd2ea5fe-5344-467e-9e5f-f1d67e157f44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31867" + ], + "x-ms-request-id": [ + "7b03fe15-da4b-4757-87c4-da8ff1edd1dd" + ], + "x-ms-correlation-request-id": [ + "7b03fe15-da4b-4757-87c4-da8ff1edd1dd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193620Z:7b03fe15-da4b-4757-87c4-da8ff1edd1dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-request-id": [ + "0b571eef-d52e-4425-b039-f4b8c3f566db" + ], + "x-ms-correlation-request-id": [ + "0b571eef-d52e-4425-b039-f4b8c3f566db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193624Z:0b571eef-d52e-4425-b039-f4b8c3f566db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31863" + ], + "x-ms-request-id": [ + "e5f5d3b2-ec98-4ce0-97dc-6fbf89cd80ba" + ], + "x-ms-correlation-request-id": [ + "e5f5d3b2-ec98-4ce0-97dc-6fbf89cd80ba" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193628Z:e5f5d3b2-ec98-4ce0-97dc-6fbf89cd80ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31861" + ], + "x-ms-request-id": [ + "1bed91e0-67eb-4934-83c6-d733fcf8605a" + ], + "x-ms-correlation-request-id": [ + "1bed91e0-67eb-4934-83c6-d733fcf8605a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193632Z:1bed91e0-67eb-4934-83c6-d733fcf8605a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31859" + ], + "x-ms-request-id": [ + "0c5faadd-ae42-4818-8fd0-42a6efeec8d2" + ], + "x-ms-correlation-request-id": [ + "0c5faadd-ae42-4818-8fd0-42a6efeec8d2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193636Z:0c5faadd-ae42-4818-8fd0-42a6efeec8d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31857" + ], + "x-ms-request-id": [ + "4dfa9487-30d9-4beb-990f-1a28c2281dbd" + ], + "x-ms-correlation-request-id": [ + "4dfa9487-30d9-4beb-990f-1a28c2281dbd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193641Z:4dfa9487-30d9-4beb-990f-1a28c2281dbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31855" + ], + "x-ms-request-id": [ + "e3f00b35-1995-4624-ad0d-f4562242a683" + ], + "x-ms-correlation-request-id": [ + "e3f00b35-1995-4624-ad0d-f4562242a683" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193645Z:e3f00b35-1995-4624-ad0d-f4562242a683" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31853" + ], + "x-ms-request-id": [ + "7690d35f-2cfc-4c85-8d40-dbaab179f058" + ], + "x-ms-correlation-request-id": [ + "7690d35f-2cfc-4c85-8d40-dbaab179f058" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193649Z:7690d35f-2cfc-4c85-8d40-dbaab179f058" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31851" + ], + "x-ms-request-id": [ + "15ad3fb5-87f5-4e33-9300-850aeb88f4e2" + ], + "x-ms-correlation-request-id": [ + "15ad3fb5-87f5-4e33-9300-850aeb88f4e2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193653Z:15ad3fb5-87f5-4e33-9300-850aeb88f4e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31849" + ], + "x-ms-request-id": [ + "d43b1b9c-6b7c-452f-9b7f-875cd880d94d" + ], + "x-ms-correlation-request-id": [ + "d43b1b9c-6b7c-452f-9b7f-875cd880d94d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193657Z:d43b1b9c-6b7c-452f-9b7f-875cd880d94d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31847" + ], + "x-ms-request-id": [ + "3a7f0c37-61a4-4b15-8515-c0413955d643" + ], + "x-ms-correlation-request-id": [ + "3a7f0c37-61a4-4b15-8515-c0413955d643" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193701Z:3a7f0c37-61a4-4b15-8515-c0413955d643" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], + "x-ms-request-id": [ + "17ae4975-8258-443d-8ffc-11d42a2ba642" + ], + "x-ms-correlation-request-id": [ + "17ae4975-8258-443d-8ffc-11d42a2ba642" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193705Z:17ae4975-8258-443d-8ffc-11d42a2ba642" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31843" + ], + "x-ms-request-id": [ + "a7a27ac6-c008-45da-be87-7c907382180b" + ], + "x-ms-correlation-request-id": [ + "a7a27ac6-c008-45da-be87-7c907382180b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193710Z:a7a27ac6-c008-45da-be87-7c907382180b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31841" + ], + "x-ms-request-id": [ + "79033e95-8d3d-4db6-90f8-4ca7670de795" + ], + "x-ms-correlation-request-id": [ + "79033e95-8d3d-4db6-90f8-4ca7670de795" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193714Z:79033e95-8d3d-4db6-90f8-4ca7670de795" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" + ], + "x-ms-request-id": [ + "0dd3f22c-4bb4-46d6-a3a2-34ffe33ef5c8" + ], + "x-ms-correlation-request-id": [ + "0dd3f22c-4bb4-46d6-a3a2-34ffe33ef5c8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193718Z:0dd3f22c-4bb4-46d6-a3a2-34ffe33ef5c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31837" + ], + "x-ms-request-id": [ + "4d54f299-3ca4-4e0f-9ee4-e506808b9ec2" + ], + "x-ms-correlation-request-id": [ + "4d54f299-3ca4-4e0f-9ee4-e506808b9ec2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193722Z:4d54f299-3ca4-4e0f-9ee4-e506808b9ec2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/A83328B581459D84\",\r\n \"operationId\": \"A83328B581459D84\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:37:26.0532701Z\",\r\n \"trackingId\": \"ee6c31ad-bbfc-4dc1-a23f-92a08c56cbf6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31835" + ], + "x-ms-request-id": [ + "412978cc-3605-40a0-b486-6dc821becd0d" + ], + "x-ms-correlation-request-id": [ + "412978cc-3605-40a0-b486-6dc821becd0d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193726Z:412978cc-3605-40a0-b486-6dc821becd0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/A83328B581459D84\",\r\n \"operationId\": \"A83328B581459D84\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:37:26.0532701Z\",\r\n \"trackingId\": \"ee6c31ad-bbfc-4dc1-a23f-92a08c56cbf6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup/operations/4E3E3392FA56B90F\",\r\n \"operationId\": \"4E3E3392FA56B90F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:36:58.695347Z\",\r\n \"trackingId\": \"56e0f22a-b7ca-495f-a1a0-bac64b8c0d8f\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31833" + ], + "x-ms-request-id": [ + "584f34a0-58a6-4578-9c11-afbe4b039676" + ], + "x-ms-correlation-request-id": [ + "584f34a0-58a6-4578-9c11-afbe4b039676" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193730Z:584f34a0-58a6-4578-9c11-afbe4b039676" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31874" + ], + "x-ms-request-id": [ + "c5aa5bf0-f25a-4f2f-bc0c-126dbd49529b" + ], + "x-ms-correlation-request-id": [ + "c5aa5bf0-f25a-4f2f-bc0c-126dbd49529b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193605Z:c5aa5bf0-f25a-4f2f-bc0c-126dbd49529b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31872" + ], + "x-ms-request-id": [ + "64414179-32f3-4f51-a655-a65b19636fe8" + ], + "x-ms-correlation-request-id": [ + "64414179-32f3-4f51-a655-a65b19636fe8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193609Z:64414179-32f3-4f51-a655-a65b19636fe8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31870" + ], + "x-ms-request-id": [ + "6ee9aebd-c154-4f28-9a2d-f8cf41270527" + ], + "x-ms-correlation-request-id": [ + "6ee9aebd-c154-4f28-9a2d-f8cf41270527" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193613Z:6ee9aebd-c154-4f28-9a2d-f8cf41270527" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31868" + ], + "x-ms-request-id": [ + "4f63ad9e-697d-45b1-91e7-064fcf305721" + ], + "x-ms-correlation-request-id": [ + "4f63ad9e-697d-45b1-91e7-064fcf305721" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193617Z:4f63ad9e-697d-45b1-91e7-064fcf305721" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31866" + ], + "x-ms-request-id": [ + "b3a23340-c063-4049-8678-c6847376a600" + ], + "x-ms-correlation-request-id": [ + "b3a23340-c063-4049-8678-c6847376a600" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193621Z:b3a23340-c063-4049-8678-c6847376a600" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31864" + ], + "x-ms-request-id": [ + "f1a73450-95f1-410e-a32c-208b99943fff" + ], + "x-ms-correlation-request-id": [ + "f1a73450-95f1-410e-a32c-208b99943fff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193625Z:f1a73450-95f1-410e-a32c-208b99943fff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31862" + ], + "x-ms-request-id": [ + "34725e6f-012c-4f75-999b-a7871961394d" + ], + "x-ms-correlation-request-id": [ + "34725e6f-012c-4f75-999b-a7871961394d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193629Z:34725e6f-012c-4f75-999b-a7871961394d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31860" + ], + "x-ms-request-id": [ + "efafd8ef-432f-434a-84c5-e96dc2485a4b" + ], + "x-ms-correlation-request-id": [ + "efafd8ef-432f-434a-84c5-e96dc2485a4b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193633Z:efafd8ef-432f-434a-84c5-e96dc2485a4b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31858" + ], + "x-ms-request-id": [ + "a9d34576-b1e6-4360-bb98-b3d20ba7a51f" + ], + "x-ms-correlation-request-id": [ + "a9d34576-b1e6-4360-bb98-b3d20ba7a51f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193637Z:a9d34576-b1e6-4360-bb98-b3d20ba7a51f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "a1597011-db25-4bde-b96f-e4ea87085e16" + ], + "x-ms-correlation-request-id": [ + "a1597011-db25-4bde-b96f-e4ea87085e16" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193641Z:a1597011-db25-4bde-b96f-e4ea87085e16" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31854" + ], + "x-ms-request-id": [ + "2f7b3e0d-a1af-4860-949f-24146d580539" + ], + "x-ms-correlation-request-id": [ + "2f7b3e0d-a1af-4860-949f-24146d580539" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193646Z:2f7b3e0d-a1af-4860-949f-24146d580539" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31852" + ], + "x-ms-request-id": [ + "52b713fe-f15e-4cab-b04d-69074cf80f3d" + ], + "x-ms-correlation-request-id": [ + "52b713fe-f15e-4cab-b04d-69074cf80f3d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193649Z:52b713fe-f15e-4cab-b04d-69074cf80f3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31850" + ], + "x-ms-request-id": [ + "a23a70f3-7598-48ba-9722-174bab6cf8cf" + ], + "x-ms-correlation-request-id": [ + "a23a70f3-7598-48ba-9722-174bab6cf8cf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193654Z:a23a70f3-7598-48ba-9722-174bab6cf8cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], + "x-ms-request-id": [ + "ed09802f-cc2b-473a-8383-1dc0947155a3" + ], + "x-ms-correlation-request-id": [ + "ed09802f-cc2b-473a-8383-1dc0947155a3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193658Z:ed09802f-cc2b-473a-8383-1dc0947155a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:36:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31846" + ], + "x-ms-request-id": [ + "604f1dc3-552f-4351-87bb-9de8db1f43db" + ], + "x-ms-correlation-request-id": [ + "604f1dc3-552f-4351-87bb-9de8db1f43db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193702Z:604f1dc3-552f-4351-87bb-9de8db1f43db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31844" + ], + "x-ms-request-id": [ + "0b1674e9-3dfb-419f-ae27-08f85cd932e4" + ], + "x-ms-correlation-request-id": [ + "0b1674e9-3dfb-419f-ae27-08f85cd932e4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193707Z:0b1674e9-3dfb-419f-ae27-08f85cd932e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31842" + ], + "x-ms-request-id": [ + "cbe1dca9-247a-4a97-919c-2d6fb3414ed8" + ], + "x-ms-correlation-request-id": [ + "cbe1dca9-247a-4a97-919c-2d6fb3414ed8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193711Z:cbe1dca9-247a-4a97-919c-2d6fb3414ed8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31840" + ], + "x-ms-request-id": [ + "e4abae2c-0b76-42a5-a7f9-cc1ec7baa1b0" + ], + "x-ms-correlation-request-id": [ + "e4abae2c-0b76-42a5-a7f9-cc1ec7baa1b0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193715Z:e4abae2c-0b76-42a5-a7f9-cc1ec7baa1b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31838" + ], + "x-ms-request-id": [ + "c4e0f867-be68-4ecc-9a2c-89246a418c11" + ], + "x-ms-correlation-request-id": [ + "c4e0f867-be68-4ecc-9a2c-89246a418c11" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193719Z:c4e0f867-be68-4ecc-9a2c-89246a418c11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31836" + ], + "x-ms-request-id": [ + "3b23176d-0577-4220-b1e4-26692fc9a4ca" + ], + "x-ms-correlation-request-id": [ + "3b23176d-0577-4220-b1e4-26692fc9a4ca" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193723Z:3b23176d-0577-4220-b1e4-26692fc9a4ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:36:05.2236196Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31834" + ], + "x-ms-request-id": [ + "68001b32-67bf-4419-9c78-e6d0a8c44e7d" + ], + "x-ms-correlation-request-id": [ + "68001b32-67bf-4419-9c78-e6d0a8c44e7d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193727Z:68001b32-67bf-4419-9c78-e6d0a8c44e7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db121\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server121\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:37:29.5304464Z\",\r\n \"correlationId\": \"6747b6be-932d-45a2-a873-4ecd14a919a0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31832" + ], + "x-ms-request-id": [ + "76f6f806-c543-4846-a87c-34ef87ab4407" + ], + "x-ms-correlation-request-id": [ + "76f6f806-c543-4846-a87c-34ef87ab4407" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193731Z:76f6f806-c543-4846-a87c-34ef87ab4407" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121\",\r\n \"name\": \"sql-audit-cmdlet-server121\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databases/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-server121/sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31831" + ], + "x-ms-request-id": [ + "8aa3ac1f-5cfb-41ad-b091-25d727765323" + ], + "x-ms-correlation-request-id": [ + "8aa3ac1f-5cfb-41ad-b091-25d727765323" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193734Z:8aa3ac1f-5cfb-41ad-b091-25d727765323" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31821" + ], + "x-ms-request-id": [ + "fa9a39e3-9686-487d-bcf9-ff908a0c6b53" + ], + "x-ms-correlation-request-id": [ + "fa9a39e3-9686-487d-bcf9-ff908a0c6b53" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193735Z:fa9a39e3-9686-487d-bcf9-ff908a0c6b53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "ebad74a2-867b-4b21-ab30-0608d10ad9b9-2014-09-17 19:37:35Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;User ID={0}@sql-audit-cmdlet-server121;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;Uid={0}@sql-audit-cmdlet-server121;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server121.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db121\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db121\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server121\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db121\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server121.database.secure.windows.net:1433;database=sql-audit-cmdlet-db121;user={0}@sql-audit-cmdlet-server121;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server121.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1d78b050-afa1-4a6c-bc6b-576a5244ee3e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31830" + ], + "x-ms-correlation-request-id": [ + "c7a075b1-9a54-4b4f-9b79-e937a29191bc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193738Z:c7a075b1-9a54-4b4f-9b79-e937a29191bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:38 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "5b794b49-6fe0-41c4-abeb-d82a5b99602c-2014-09-17 19:37:44Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;User ID={0}@sql-audit-cmdlet-server121;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;Uid={0}@sql-audit-cmdlet-server121;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server121.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db121\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db121\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server121\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db121\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server121.database.secure.windows.net:1433;database=sql-audit-cmdlet-db121;user={0}@sql-audit-cmdlet-server121;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server121.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1da1979c-a76d-462d-abc4-4a1193417e8a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31828" + ], + "x-ms-correlation-request-id": [ + "b9b047c2-321a-418f-ab1d-0f9276888603" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193747Z:b9b047c2-321a-418f-ab1d-0f9276888603" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "f18dd100-2e88-467c-bc4a-627bf4ee51a6-2014-09-17 19:37:52Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;User ID={0}@sql-audit-cmdlet-server121;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;Uid={0}@sql-audit-cmdlet-server121;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server121.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db121\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db121\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server121\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db121\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server121.database.secure.windows.net:1433;database=sql-audit-cmdlet-db121;user={0}@sql-audit-cmdlet-server121;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server121.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "6558fee9-abcf-4087-8bf1-352b61d79b05" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31827" + ], + "x-ms-correlation-request-id": [ + "837326b0-6d6d-4e63-aa7e-7a403f6094ba" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193754Z:837326b0-6d6d-4e63-aa7e-7a403f6094ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:53 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "f23fff73-50e2-4805-a326-17f86a4d3aa0-2014-09-17 19:37:57Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;User ID={0}@sql-audit-cmdlet-server121;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db121;Uid={0}@sql-audit-cmdlet-server121;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server121.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db121\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db121\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server121\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db121\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server121.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server121.database.secure.windows.net:1433;database=sql-audit-cmdlet-db121;user={0}@sql-audit-cmdlet-server121;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server121.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e075dbb8-6fbe-439c-9bc2-f55e05c32b16" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31826" + ], + "x-ms-correlation-request-id": [ + "52e930cd-fa51-4ed7-9168-663f9d1b57f2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193800Z:52e930cd-fa51-4ed7-9168-663f9d1b57f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets121\",\r\n \"name\": \"auditcmdlets121\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31829" + ], + "x-ms-request-id": [ + "45755355-fea4-4d90-b9a3-045429eb2b7d" + ], + "x-ms-correlation-request-id": [ + "45755355-fea4-4d90-b9a3-045429eb2b7d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193739Z:45755355-fea4-4d90-b9a3-045429eb2b7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTIx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121\r\n auditcmdlets121\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets121.blob.core.windows.net/\r\n https://auditcmdlets121.queue.core.windows.net/\r\n https://auditcmdlets121.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:35:25Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "c40c5f31f86d19f58b9008e0344b0028" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:40 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTIxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121\r\n \r\n Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\r\n ciMtI1J/lOxGjeQAr0X1FonEErABndQBLlR44x1lKkp6nYHa+lnPKQBAJ4qjBtDypYH42WdPDYSnZZ81CE11xA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "278d291a92271f1bab1fc1594bfbe947" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:40 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTIxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121\r\n \r\n Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\r\n ciMtI1J/lOxGjeQAr0X1FonEErABndQBLlR44x1lKkp6nYHa+lnPKQBAJ4qjBtDypYH42WdPDYSnZZ81CE11xA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "1d323996ded31b069d15cb7b8c67b89c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:54 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": \"Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "ebad74a2-867b-4b21-ab30-0608d10ad9b9-2014-09-17 19:37:35Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": \"Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "83e5daee-2eae-47ce-a335-cb669da5cebf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1179" + ], + "x-ms-correlation-request-id": [ + "9c356135-d664-4aa9-9538-28d1ecb39fbb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193744Z:9c356135-d664-4aa9-9538-28d1ecb39fbb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "5b794b49-6fe0-41c4-abeb-d82a5b99602c-2014-09-17 19:37:44Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "886fb709-047a-4bf4-9760-f3851068289d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-correlation-request-id": [ + "bd188c9b-680e-47f0-bec5-b087cd81cffb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193752Z:bd188c9b-680e-47f0-bec5-b087cd81cffb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:52 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEyMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTIxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": \"Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "ddd8fe9a-043f-4ca0-ab79-ca56003deffb-2014-09-17 19:37:35Z" + ], + "x-ms-client-request-id": [ + "f18dd100-2e88-467c-bc4a-627bf4ee51a6-2014-09-17 19:37:52Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets121\",\r\n \"storageAccountKey\": \"Icc/M/KVm0sslxRbRSdCdIm2WRJS1HrMAg53XfQQaatASKIq7+/wbWBJs4K8TtQ2oBv+4T8b7pZNz5P8Taem+A==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets121.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg121/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server121/databaseSecurityPolicies/sql-audit-cmdlet-db121\",\r\n \"name\": \"sql-audit-cmdlet-db121\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "42c59be9-187b-466d-b6d5-f38851e48f09" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1177" + ], + "x-ms-correlation-request-id": [ + "3cf98651-64ed-48f1-a596-a57cfdf6972c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193757Z:3cf98651-64ed-48f1-a596-a57cfdf6972c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:37:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets121", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTIx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "525a522f7dfb15b688c19cdf997aef2b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:38:03 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/525a522f7dfb15b688c19cdf997aef2b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzUyNWE1MjJmN2RmYjE1YjY4OGMxOWNkZjk5N2FlZjJi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 525a522f-7dfb-15b6-88c1-9cdf997aef2b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a7db15327abd18ffa7e1e85471ab9001" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:38:04 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyKeepPreviousStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyKeepPreviousStorage.json new file mode 100644 index 000000000000..da80312ed18f --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyKeepPreviousStorage.json @@ -0,0 +1,2214 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets301\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "575" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "eedf6f6b19701007b18ae236f7026d20" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:20:36 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets301" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/eedf6f6b19701007b18ae236f7026d20", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2VlZGY2ZjZiMTk3MDEwMDdiMThhZTIzNmY3MDI2ZDIw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "575" + ] + }, + "ResponseBody": "\r\n eedf6f6b-1970-1007-b18a-e236f7026d20\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "570b8db969c01b6fa8f2c412341fce5e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:20:36 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/eedf6f6b19701007b18ae236f7026d20", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2VlZGY2ZjZiMTk3MDEwMDdiMThhZTIzNmY3MDI2ZDIw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "575" + ] + }, + "ResponseBody": "\r\n eedf6f6b-1970-1007-b18a-e236f7026d20\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "e52a0b79265a10ebb85ddc5f412f2863" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:06 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31869" + ], + "x-ms-request-id": [ + "ac2c3a54-d5e2-4352-93d8-13f579b958a5" + ], + "x-ms-correlation-request-id": [ + "ac2c3a54-d5e2-4352-93d8-13f579b958a5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192108Z:ac2c3a54-d5e2-4352-93d8-13f579b958a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:08 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301\",\r\n \"name\": \"sql-audit-cmdlet-test-rg301\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-request-id": [ + "07b37181-5dc2-428e-9b75-6169001f8b37" + ], + "x-ms-correlation-request-id": [ + "07b37181-5dc2-428e-9b75-6169001f8b37" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192110Z:07b37181-5dc2-428e-9b75-6169001f8b37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:09 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:21:11.354891Z\",\r\n \"correlationId\": \"37941749-4551-47ab-aaab-40407b12bf68\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "37941749-4551-47ab-aaab-40407b12bf68" + ], + "x-ms-correlation-request-id": [ + "37941749-4551-47ab-aaab-40407b12bf68" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192111Z:37941749-4551-47ab-aaab-40407b12bf68" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:21:13.6802938Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1180" + ], + "x-ms-request-id": [ + "db57c5ea-2374-41e0-9d22-616b28bdac8f" + ], + "x-ms-correlation-request-id": [ + "db57c5ea-2374-41e0-9d22-616b28bdac8f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192114Z:db57c5ea-2374-41e0-9d22-616b28bdac8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:14 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31868" + ], + "x-ms-request-id": [ + "8a52836d-363f-43a9-bce9-122367381d81" + ], + "x-ms-correlation-request-id": [ + "8a52836d-363f-43a9-bce9-122367381d81" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192115Z:8a52836d-363f-43a9-bce9-122367381d81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31866" + ], + "x-ms-request-id": [ + "fea3c89f-a9a5-4529-8e9e-40d9cfc5f866" + ], + "x-ms-correlation-request-id": [ + "fea3c89f-a9a5-4529-8e9e-40d9cfc5f866" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192119Z:fea3c89f-a9a5-4529-8e9e-40d9cfc5f866" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31864" + ], + "x-ms-request-id": [ + "8533b7bd-7132-46a4-8ea7-71db7aaba2b9" + ], + "x-ms-correlation-request-id": [ + "8533b7bd-7132-46a4-8ea7-71db7aaba2b9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192123Z:8533b7bd-7132-46a4-8ea7-71db7aaba2b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31862" + ], + "x-ms-request-id": [ + "cfd962c7-a63d-4d75-96e7-034f0e0dbd96" + ], + "x-ms-correlation-request-id": [ + "cfd962c7-a63d-4d75-96e7-034f0e0dbd96" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192127Z:cfd962c7-a63d-4d75-96e7-034f0e0dbd96" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31860" + ], + "x-ms-request-id": [ + "5680ba9f-ae74-4cc4-adc4-882d30970f58" + ], + "x-ms-correlation-request-id": [ + "5680ba9f-ae74-4cc4-adc4-882d30970f58" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192131Z:5680ba9f-ae74-4cc4-adc4-882d30970f58" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31858" + ], + "x-ms-request-id": [ + "dd36625c-f502-4d2d-b8db-92249c380a76" + ], + "x-ms-correlation-request-id": [ + "dd36625c-f502-4d2d-b8db-92249c380a76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192135Z:dd36625c-f502-4d2d-b8db-92249c380a76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "cb2b5d8d-8d86-4bc7-85e4-797da1bdde4d" + ], + "x-ms-correlation-request-id": [ + "cb2b5d8d-8d86-4bc7-85e4-797da1bdde4d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192139Z:cb2b5d8d-8d86-4bc7-85e4-797da1bdde4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31854" + ], + "x-ms-request-id": [ + "1fe87c03-649c-4048-a011-21daabb551f5" + ], + "x-ms-correlation-request-id": [ + "1fe87c03-649c-4048-a011-21daabb551f5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192144Z:1fe87c03-649c-4048-a011-21daabb551f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31852" + ], + "x-ms-request-id": [ + "b8966120-4b89-4047-999e-6ed574c35b29" + ], + "x-ms-correlation-request-id": [ + "b8966120-4b89-4047-999e-6ed574c35b29" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192148Z:b8966120-4b89-4047-999e-6ed574c35b29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31850" + ], + "x-ms-request-id": [ + "82f232cd-7b1b-4b32-8457-242865d50a50" + ], + "x-ms-correlation-request-id": [ + "82f232cd-7b1b-4b32-8457-242865d50a50" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192152Z:82f232cd-7b1b-4b32-8457-242865d50a50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], + "x-ms-request-id": [ + "3ca31597-b0bc-4c1d-86c2-61afbf12906b" + ], + "x-ms-correlation-request-id": [ + "3ca31597-b0bc-4c1d-86c2-61afbf12906b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192156Z:3ca31597-b0bc-4c1d-86c2-61afbf12906b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31846" + ], + "x-ms-request-id": [ + "fbee6678-674a-4737-94c3-22268530d57f" + ], + "x-ms-correlation-request-id": [ + "fbee6678-674a-4737-94c3-22268530d57f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192200Z:fbee6678-674a-4737-94c3-22268530d57f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31844" + ], + "x-ms-request-id": [ + "22b3cd6c-907a-4954-b86c-5ec38cb023e4" + ], + "x-ms-correlation-request-id": [ + "22b3cd6c-907a-4954-b86c-5ec38cb023e4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192204Z:22b3cd6c-907a-4954-b86c-5ec38cb023e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31842" + ], + "x-ms-request-id": [ + "770ee4d1-0134-46e3-96f3-f18ec630ed5c" + ], + "x-ms-correlation-request-id": [ + "770ee4d1-0134-46e3-96f3-f18ec630ed5c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192208Z:770ee4d1-0134-46e3-96f3-f18ec630ed5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations/0A66FDB400D214A7\",\r\n \"operationId\": \"0A66FDB400D214A7\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:22:11.6317627Z\",\r\n \"trackingId\": \"5826b7de-e0e6-4619-91bb-05d2f97f4ae3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31840" + ], + "x-ms-request-id": [ + "a5825d23-be36-4ef7-b007-52b9eb0c9c3f" + ], + "x-ms-correlation-request-id": [ + "a5825d23-be36-4ef7-b007-52b9eb0c9c3f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192212Z:a5825d23-be36-4ef7-b007-52b9eb0c9c3f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations/0A66FDB400D214A7\",\r\n \"operationId\": \"0A66FDB400D214A7\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:22:11.6317627Z\",\r\n \"trackingId\": \"5826b7de-e0e6-4619-91bb-05d2f97f4ae3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31838" + ], + "x-ms-request-id": [ + "ccd90ea2-56a3-4a7c-8ef7-27321b9c05c9" + ], + "x-ms-correlation-request-id": [ + "ccd90ea2-56a3-4a7c-8ef7-27321b9c05c9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192216Z:ccd90ea2-56a3-4a7c-8ef7-27321b9c05c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations/285A958569840D9F\",\r\n \"operationId\": \"285A958569840D9F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:22:16.5941231Z\",\r\n \"trackingId\": \"5cad99fd-3802-402d-a1b9-1f19d9ca714b\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup/operations/0A66FDB400D214A7\",\r\n \"operationId\": \"0A66FDB400D214A7\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:22:11.6317627Z\",\r\n \"trackingId\": \"5826b7de-e0e6-4619-91bb-05d2f97f4ae3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31836" + ], + "x-ms-request-id": [ + "ddcd1d0d-994f-4c76-8ea0-9e024850e888" + ], + "x-ms-correlation-request-id": [ + "ddcd1d0d-994f-4c76-8ea0-9e024850e888" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192220Z:ddcd1d0d-994f-4c76-8ea0-9e024850e888" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31867" + ], + "x-ms-request-id": [ + "32a0cd5c-5543-452e-acbb-8edb0535ecb5" + ], + "x-ms-correlation-request-id": [ + "32a0cd5c-5543-452e-acbb-8edb0535ecb5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192116Z:32a0cd5c-5543-452e-acbb-8edb0535ecb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-request-id": [ + "c258cf89-d340-480e-9d2e-25864b32df59" + ], + "x-ms-correlation-request-id": [ + "c258cf89-d340-480e-9d2e-25864b32df59" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192120Z:c258cf89-d340-480e-9d2e-25864b32df59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31863" + ], + "x-ms-request-id": [ + "9228a272-af38-4b64-8a7f-94ff627071de" + ], + "x-ms-correlation-request-id": [ + "9228a272-af38-4b64-8a7f-94ff627071de" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192124Z:9228a272-af38-4b64-8a7f-94ff627071de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31861" + ], + "x-ms-request-id": [ + "62fa8458-0654-4ae6-bb40-ecaa3d4ad6a5" + ], + "x-ms-correlation-request-id": [ + "62fa8458-0654-4ae6-bb40-ecaa3d4ad6a5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192128Z:62fa8458-0654-4ae6-bb40-ecaa3d4ad6a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31859" + ], + "x-ms-request-id": [ + "53f0c5fc-08d3-4260-820d-a4511ad89b8a" + ], + "x-ms-correlation-request-id": [ + "53f0c5fc-08d3-4260-820d-a4511ad89b8a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192132Z:53f0c5fc-08d3-4260-820d-a4511ad89b8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31857" + ], + "x-ms-request-id": [ + "61dd0e07-8d0c-4433-a177-199d342042f6" + ], + "x-ms-correlation-request-id": [ + "61dd0e07-8d0c-4433-a177-199d342042f6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192136Z:61dd0e07-8d0c-4433-a177-199d342042f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31855" + ], + "x-ms-request-id": [ + "c4100c8e-5cef-48f7-a0d0-c611a17628e9" + ], + "x-ms-correlation-request-id": [ + "c4100c8e-5cef-48f7-a0d0-c611a17628e9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192140Z:c4100c8e-5cef-48f7-a0d0-c611a17628e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31853" + ], + "x-ms-request-id": [ + "6fe8cdea-d131-4f71-b2be-cd3cec7c3fd1" + ], + "x-ms-correlation-request-id": [ + "6fe8cdea-d131-4f71-b2be-cd3cec7c3fd1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192144Z:6fe8cdea-d131-4f71-b2be-cd3cec7c3fd1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31851" + ], + "x-ms-request-id": [ + "2f1f9590-f698-4b41-9d9d-0dc76f4489be" + ], + "x-ms-correlation-request-id": [ + "2f1f9590-f698-4b41-9d9d-0dc76f4489be" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192149Z:2f1f9590-f698-4b41-9d9d-0dc76f4489be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31849" + ], + "x-ms-request-id": [ + "71f78d5b-3cf2-4245-b312-265963115ff8" + ], + "x-ms-correlation-request-id": [ + "71f78d5b-3cf2-4245-b312-265963115ff8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192153Z:71f78d5b-3cf2-4245-b312-265963115ff8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31847" + ], + "x-ms-request-id": [ + "a589ba50-5416-4a7e-932b-b74b5fc34a35" + ], + "x-ms-correlation-request-id": [ + "a589ba50-5416-4a7e-932b-b74b5fc34a35" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192157Z:a589ba50-5416-4a7e-932b-b74b5fc34a35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:21:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], + "x-ms-request-id": [ + "d17d5369-32c8-42b6-9fd0-0830cd713931" + ], + "x-ms-correlation-request-id": [ + "d17d5369-32c8-42b6-9fd0-0830cd713931" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192201Z:d17d5369-32c8-42b6-9fd0-0830cd713931" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31843" + ], + "x-ms-request-id": [ + "aa887b8f-dd65-4781-a978-4e01446b9ee4" + ], + "x-ms-correlation-request-id": [ + "aa887b8f-dd65-4781-a978-4e01446b9ee4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192205Z:aa887b8f-dd65-4781-a978-4e01446b9ee4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31841" + ], + "x-ms-request-id": [ + "4f4768de-ddd8-4542-b089-f6a52995c6db" + ], + "x-ms-correlation-request-id": [ + "4f4768de-ddd8-4542-b089-f6a52995c6db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192209Z:4f4768de-ddd8-4542-b089-f6a52995c6db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" + ], + "x-ms-request-id": [ + "f1c98fd8-5d65-42f0-9dd2-7a36f826dd2b" + ], + "x-ms-correlation-request-id": [ + "f1c98fd8-5d65-42f0-9dd2-7a36f826dd2b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192213Z:f1c98fd8-5d65-42f0-9dd2-7a36f826dd2b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:21:16.0556692Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31837" + ], + "x-ms-request-id": [ + "8407870e-5c5b-465c-b791-c1a49ea09bd2" + ], + "x-ms-correlation-request-id": [ + "8407870e-5c5b-465c-b791-c1a49ea09bd2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192217Z:8407870e-5c5b-465c-b791-c1a49ea09bd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db301\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server301\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:22:20.2022353Z\",\r\n \"correlationId\": \"db57c5ea-2374-41e0-9d22-616b28bdac8f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31835" + ], + "x-ms-request-id": [ + "add26e3c-66ee-4160-b1ee-30bf6696c810" + ], + "x-ms-correlation-request-id": [ + "add26e3c-66ee-4160-b1ee-30bf6696c810" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192221Z:add26e3c-66ee-4160-b1ee-30bf6696c810" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301\",\r\n \"name\": \"sql-audit-cmdlet-server301\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databases/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-server301/sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31834" + ], + "x-ms-request-id": [ + "f73efcd8-fe5f-4ba9-8691-012fd31f0456" + ], + "x-ms-correlation-request-id": [ + "f73efcd8-fe5f-4ba9-8691-012fd31f0456" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192224Z:f73efcd8-fe5f-4ba9-8691-012fd31f0456" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31916" + ], + "x-ms-request-id": [ + "e6321dc6-2972-4f6e-a2d7-0691fed7499e" + ], + "x-ms-correlation-request-id": [ + "e6321dc6-2972-4f6e-a2d7-0691fed7499e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192225Z:e6321dc6-2972-4f6e-a2d7-0691fed7499e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "a09f4431-a4f7-43b6-96af-7c082a1cb28c-2014-09-17 19:22:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;User ID={0}@sql-audit-cmdlet-server301;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;Uid={0}@sql-audit-cmdlet-server301;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server301.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db301\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db301\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server301\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db301\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server301.database.secure.windows.net:1433;database=sql-audit-cmdlet-db301;user={0}@sql-audit-cmdlet-server301;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server301.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "9404a766-03e6-4590-8e00-326e23e4db8c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31867" + ], + "x-ms-correlation-request-id": [ + "6406bba2-1af7-44fd-a3b2-c9362cfec0fd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192230Z:6406bba2-1af7-44fd-a3b2-c9362cfec0fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "99a195d7-e20a-4927-b38a-5b0722c57b7a-2014-09-17 19:22:36Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;User ID={0}@sql-audit-cmdlet-server301;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;Uid={0}@sql-audit-cmdlet-server301;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server301.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db301\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db301\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server301\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db301\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server301.database.secure.windows.net:1433;database=sql-audit-cmdlet-db301;user={0}@sql-audit-cmdlet-server301;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server301.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "712c5900-a1b8-4055-a6c3-101cd45a02b6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31866" + ], + "x-ms-correlation-request-id": [ + "ff3c86f9-1d08-43e9-86b5-5ee35209e959" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192238Z:ff3c86f9-1d08-43e9-86b5-5ee35209e959" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:38 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "53e945ea-abb4-4f15-830e-d2c45f4b60fc-2014-09-17 19:22:38Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;User ID={0}@sql-audit-cmdlet-server301;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;Uid={0}@sql-audit-cmdlet-server301;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server301.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db301\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db301\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server301\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db301\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server301.database.secure.windows.net:1433;database=sql-audit-cmdlet-db301;user={0}@sql-audit-cmdlet-server301;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server301.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "dd7f6395-bb93-4a71-9d04-daee4b26c301" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-correlation-request-id": [ + "c7c63282-f608-412e-ad0a-f0c88e757b08" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192242Z:c7c63282-f608-412e-ad0a-f0c88e757b08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "0934bbd1-ffdf-422c-8019-5fb87ae4cc9a-2014-09-17 19:22:48Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;User ID={0}@sql-audit-cmdlet-server301;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db301;Uid={0}@sql-audit-cmdlet-server301;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server301.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db301\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db301\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server301\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db301\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server301.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server301.database.secure.windows.net:1433;database=sql-audit-cmdlet-db301;user={0}@sql-audit-cmdlet-server301;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server301.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a6e0e3a8-ad01-4490-9a0d-aebfb46fa697" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31864" + ], + "x-ms-correlation-request-id": [ + "7187a765-516d-4ab7-bfe8-f6a34cfe565e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192250Z:7187a765-516d-4ab7-bfe8-f6a34cfe565e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets301\",\r\n \"name\": \"auditcmdlets301\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31833" + ], + "x-ms-request-id": [ + "330c8424-66b6-4d4e-98b5-2138fe3b5737" + ], + "x-ms-correlation-request-id": [ + "330c8424-66b6-4d4e-98b5-2138fe3b5737" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192230Z:330c8424-66b6-4d4e-98b5-2138fe3b5737" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMzAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301\r\n auditcmdlets301\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets301.blob.core.windows.net/\r\n https://auditcmdlets301.queue.core.windows.net/\r\n https://auditcmdlets301.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:20:36Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5e8a51439e4c1723b682747231ad297e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:30 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301\r\n \r\n PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\r\n j6FAOOhOre1WAUmmmbHm0PYYdv183WS2ZktJ9wlYgs6VVWfKeqqBCm0evIGGtzHuRTOl1Jd064RxsWyFhhMjeQ==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f121d741a3081d6ab4a9e67d9dfc330f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:30 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301\r\n \r\n PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\r\n j6FAOOhOre1WAUmmmbHm0PYYdv183WS2ZktJ9wlYgs6VVWfKeqqBCm0evIGGtzHuRTOl1Jd064RxsWyFhhMjeQ==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b3836d31b6d219c2aa691ff26de6c0bf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:42 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": \"PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "a09f4431-a4f7-43b6-96af-7c082a1cb28c-2014-09-17 19:22:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": \"PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "4e0bf04b-81fa-4cb8-aae8-4602b1d000ef" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-correlation-request-id": [ + "abd98ff7-9131-4c26-b1a8-157053e12c28" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192236Z:abd98ff7-9131-4c26-b1a8-157053e12c28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzMwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": \"PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9913dbdb-5776-4b4e-8984-89145842f32e-2014-09-17 19:22:25Z" + ], + "x-ms-client-request-id": [ + "53e945ea-abb4-4f15-830e-d2c45f4b60fc-2014-09-17 19:22:38Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets301\",\r\n \"storageAccountKey\": \"PBhZmVmIQiTqdomFz6C8wrLVyP2UHJUoD0B3G/D4OFHG/dVmgoZ5ezyEKcaA3XnqSnWzxumN8527wOpON599qQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets301.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg301/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server301/databaseSecurityPolicies/sql-audit-cmdlet-db301\",\r\n \"name\": \"sql-audit-cmdlet-db301\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "b1bc3e2c-e772-49a4-b9db-5c403f55d3fa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-correlation-request-id": [ + "17dcc9e1-cbf2-4901-af1c-f8018401aa7d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192248Z:17dcc9e1-cbf2-4901-af1c-f8018401aa7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:48 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets301", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMzAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "dc57244ffee017e799427eaef3f8ed96" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:53 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/dc57244ffee017e799427eaef3f8ed96", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2RjNTcyNDRmZmVlMDE3ZTc5OTQyN2VhZWYzZjhlZDk2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n dc57244f-fee0-17e7-9942-7eaef3f8ed96\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "87feb95dc933156b83efc0addf7a7f4a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:22:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypeShortcuts.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypeShortcuts.json new file mode 100644 index 000000000000..e49be767f670 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypeShortcuts.json @@ -0,0 +1,2800 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets701\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "267" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "6b3fffe282181076bd9f8a8045ccab17" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:55 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets701" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6b3fffe282181076bd9f8a8045ccab17", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzZiM2ZmZmUyODIxODEwNzZiZDlmOGE4MDQ1Y2NhYjE3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "267" + ] + }, + "ResponseBody": "\r\n 6b3fffe2-8218-1076-bd9f-8a8045ccab17\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "c1f86c8599631e8aaad03cb7a58dfdc1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6b3fffe282181076bd9f8a8045ccab17", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzZiM2ZmZmUyODIxODEwNzZiZDlmOGE4MDQ1Y2NhYjE3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "267" + ] + }, + "ResponseBody": "\r\n 6b3fffe2-8218-1076-bd9f-8a8045ccab17\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d6af2495f58d19e48888fc66748a965c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:26 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31953" + ], + "x-ms-request-id": [ + "abbb96ea-ca27-4778-877d-4c861a8a18db" + ], + "x-ms-correlation-request-id": [ + "abbb96ea-ca27-4778-877d-4c861a8a18db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190527Z:abbb96ea-ca27-4778-877d-4c861a8a18db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:27 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701\",\r\n \"name\": \"sql-audit-cmdlet-test-rg701\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "ce62e57d-3e1d-425d-a417-0ddc4fd98945" + ], + "x-ms-correlation-request-id": [ + "ce62e57d-3e1d-425d-a417-0ddc4fd98945" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190529Z:ce62e57d-3e1d-425d-a417-0ddc4fd98945" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:29 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:05:30.7720438Z\",\r\n \"correlationId\": \"fe099e18-a1a1-496c-a8af-b1a4f2985a0f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "fe099e18-a1a1-496c-a8af-b1a4f2985a0f" + ], + "x-ms-correlation-request-id": [ + "fe099e18-a1a1-496c-a8af-b1a4f2985a0f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190530Z:fe099e18-a1a1-496c-a8af-b1a4f2985a0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:05:33.1195609Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "5609c8f8-245c-4e3a-8c67-e4c45611a7d9" + ], + "x-ms-correlation-request-id": [ + "5609c8f8-245c-4e3a-8c67-e4c45611a7d9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190533Z:5609c8f8-245c-4e3a-8c67-e4c45611a7d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:33 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31952" + ], + "x-ms-request-id": [ + "0627d86a-f9da-44d1-b2d7-23fd24aa0166" + ], + "x-ms-correlation-request-id": [ + "0627d86a-f9da-44d1-b2d7-23fd24aa0166" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190534Z:0627d86a-f9da-44d1-b2d7-23fd24aa0166" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31950" + ], + "x-ms-request-id": [ + "80a16708-6009-4525-9f83-af25b4012117" + ], + "x-ms-correlation-request-id": [ + "80a16708-6009-4525-9f83-af25b4012117" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190538Z:80a16708-6009-4525-9f83-af25b4012117" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-request-id": [ + "377b08f6-596e-49c5-9f34-26e015afa504" + ], + "x-ms-correlation-request-id": [ + "377b08f6-596e-49c5-9f34-26e015afa504" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190542Z:377b08f6-596e-49c5-9f34-26e015afa504" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31946" + ], + "x-ms-request-id": [ + "f1e20dd4-fb72-4493-9d96-e5b01c70c062" + ], + "x-ms-correlation-request-id": [ + "f1e20dd4-fb72-4493-9d96-e5b01c70c062" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190547Z:f1e20dd4-fb72-4493-9d96-e5b01c70c062" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31944" + ], + "x-ms-request-id": [ + "d6bdc98f-c155-47fb-804f-2f2b0f2bfe87" + ], + "x-ms-correlation-request-id": [ + "d6bdc98f-c155-47fb-804f-2f2b0f2bfe87" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190551Z:d6bdc98f-c155-47fb-804f-2f2b0f2bfe87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "820d8685-b810-47cd-b7af-1fe8a7b76351" + ], + "x-ms-correlation-request-id": [ + "820d8685-b810-47cd-b7af-1fe8a7b76351" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190555Z:820d8685-b810-47cd-b7af-1fe8a7b76351" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "3d5add5a-de16-4fcf-8996-55677531fc72" + ], + "x-ms-correlation-request-id": [ + "3d5add5a-de16-4fcf-8996-55677531fc72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190601Z:3d5add5a-de16-4fcf-8996-55677531fc72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "530ea719-98a3-462f-ae30-881a29234805" + ], + "x-ms-correlation-request-id": [ + "530ea719-98a3-462f-ae30-881a29234805" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190605Z:530ea719-98a3-462f-ae30-881a29234805" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-request-id": [ + "4aaa6c72-33a4-4715-8b07-2c5460ec7188" + ], + "x-ms-correlation-request-id": [ + "4aaa6c72-33a4-4715-8b07-2c5460ec7188" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190609Z:4aaa6c72-33a4-4715-8b07-2c5460ec7188" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-request-id": [ + "5cf165f8-bddd-4100-8600-303bea7a3acb" + ], + "x-ms-correlation-request-id": [ + "5cf165f8-bddd-4100-8600-303bea7a3acb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190613Z:5cf165f8-bddd-4100-8600-303bea7a3acb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-request-id": [ + "fc3e9f57-bdd5-4a29-b9ac-de1904376cf8" + ], + "x-ms-correlation-request-id": [ + "fc3e9f57-bdd5-4a29-b9ac-de1904376cf8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190617Z:fc3e9f57-bdd5-4a29-b9ac-de1904376cf8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31930" + ], + "x-ms-request-id": [ + "795d68eb-8b49-45bb-afa8-a967dcfa5b13" + ], + "x-ms-correlation-request-id": [ + "795d68eb-8b49-45bb-afa8-a967dcfa5b13" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190621Z:795d68eb-8b49-45bb-afa8-a967dcfa5b13" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], + "x-ms-request-id": [ + "0e588be9-a913-4531-9bb7-bccc8dabcdf7" + ], + "x-ms-correlation-request-id": [ + "0e588be9-a913-4531-9bb7-bccc8dabcdf7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190625Z:0e588be9-a913-4531-9bb7-bccc8dabcdf7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "3fee29e5-79c8-4377-9a5f-2f8a7c48a787" + ], + "x-ms-correlation-request-id": [ + "3fee29e5-79c8-4377-9a5f-2f8a7c48a787" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190630Z:3fee29e5-79c8-4377-9a5f-2f8a7c48a787" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations/CF8B59EAD6182D32\",\r\n \"operationId\": \"CF8B59EAD6182D32\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:31.4071155Z\",\r\n \"trackingId\": \"dc7d7b71-139b-49f6-98e6-74c2edfbd815\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31924" + ], + "x-ms-request-id": [ + "4ed96840-87a7-4870-a1d4-7b8d0ebde52b" + ], + "x-ms-correlation-request-id": [ + "4ed96840-87a7-4870-a1d4-7b8d0ebde52b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190634Z:4ed96840-87a7-4870-a1d4-7b8d0ebde52b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations/3BE02D34F7ABD946\",\r\n \"operationId\": \"3BE02D34F7ABD946\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:36.9894722Z\",\r\n \"trackingId\": \"d8dd3e11-23fd-409b-b847-cbd2eeb51500\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations/CF8B59EAD6182D32\",\r\n \"operationId\": \"CF8B59EAD6182D32\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:31.4071155Z\",\r\n \"trackingId\": \"dc7d7b71-139b-49f6-98e6-74c2edfbd815\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31922" + ], + "x-ms-request-id": [ + "60400b14-8ce3-469c-9045-ad14be11c561" + ], + "x-ms-correlation-request-id": [ + "60400b14-8ce3-469c-9045-ad14be11c561" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190639Z:60400b14-8ce3-469c-9045-ad14be11c561" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations/3BE02D34F7ABD946\",\r\n \"operationId\": \"3BE02D34F7ABD946\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:36.9894722Z\",\r\n \"trackingId\": \"d8dd3e11-23fd-409b-b847-cbd2eeb51500\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup/operations/CF8B59EAD6182D32\",\r\n \"operationId\": \"CF8B59EAD6182D32\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:31.4071155Z\",\r\n \"trackingId\": \"dc7d7b71-139b-49f6-98e6-74c2edfbd815\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31920" + ], + "x-ms-request-id": [ + "172862e6-8991-4dcd-ad73-c20806845406" + ], + "x-ms-correlation-request-id": [ + "172862e6-8991-4dcd-ad73-c20806845406" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190643Z:172862e6-8991-4dcd-ad73-c20806845406" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31951" + ], + "x-ms-request-id": [ + "00cfd3eb-caa8-4137-8ce0-babde3619808" + ], + "x-ms-correlation-request-id": [ + "00cfd3eb-caa8-4137-8ce0-babde3619808" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190535Z:00cfd3eb-caa8-4137-8ce0-babde3619808" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-request-id": [ + "09656513-33ce-4860-893b-871db4afa332" + ], + "x-ms-correlation-request-id": [ + "09656513-33ce-4860-893b-871db4afa332" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190539Z:09656513-33ce-4860-893b-871db4afa332" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31947" + ], + "x-ms-request-id": [ + "f87e1549-977d-4102-b176-8b03c025c0d0" + ], + "x-ms-correlation-request-id": [ + "f87e1549-977d-4102-b176-8b03c025c0d0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190543Z:f87e1549-977d-4102-b176-8b03c025c0d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31945" + ], + "x-ms-request-id": [ + "c3686700-75d9-4b28-b428-4006ad03cd16" + ], + "x-ms-correlation-request-id": [ + "c3686700-75d9-4b28-b428-4006ad03cd16" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190548Z:c3686700-75d9-4b28-b428-4006ad03cd16" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "9f00ab7f-2289-4a38-9707-2bf8255ed85a" + ], + "x-ms-correlation-request-id": [ + "9f00ab7f-2289-4a38-9707-2bf8255ed85a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190552Z:9f00ab7f-2289-4a38-9707-2bf8255ed85a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "0d613c58-3d2f-4d72-9bbd-5cfb8201ed11" + ], + "x-ms-correlation-request-id": [ + "0d613c58-3d2f-4d72-9bbd-5cfb8201ed11" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190558Z:0d613c58-3d2f-4d72-9bbd-5cfb8201ed11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:05:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "6888f201-86d8-4335-a88f-4d0bb7d4be67" + ], + "x-ms-correlation-request-id": [ + "6888f201-86d8-4335-a88f-4d0bb7d4be67" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190602Z:6888f201-86d8-4335-a88f-4d0bb7d4be67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "f759f28e-6bbd-4131-8f5b-ceeb5da6d061" + ], + "x-ms-correlation-request-id": [ + "f759f28e-6bbd-4131-8f5b-ceeb5da6d061" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190606Z:f759f28e-6bbd-4131-8f5b-ceeb5da6d061" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-request-id": [ + "84b5f8de-cb77-4768-87d9-a1545f08ffb5" + ], + "x-ms-correlation-request-id": [ + "84b5f8de-cb77-4768-87d9-a1545f08ffb5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190610Z:84b5f8de-cb77-4768-87d9-a1545f08ffb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-request-id": [ + "4999061d-9017-4e70-8f1c-40405f57ad0e" + ], + "x-ms-correlation-request-id": [ + "4999061d-9017-4e70-8f1c-40405f57ad0e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190614Z:4999061d-9017-4e70-8f1c-40405f57ad0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-request-id": [ + "762251e3-98a6-47a5-961d-6c06a38b1776" + ], + "x-ms-correlation-request-id": [ + "762251e3-98a6-47a5-961d-6c06a38b1776" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190618Z:762251e3-98a6-47a5-961d-6c06a38b1776" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-request-id": [ + "bb8d7263-fb8a-448a-9dea-28812ea2ba74" + ], + "x-ms-correlation-request-id": [ + "bb8d7263-fb8a-448a-9dea-28812ea2ba74" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190622Z:bb8d7263-fb8a-448a-9dea-28812ea2ba74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31927" + ], + "x-ms-request-id": [ + "1af80daf-7637-4279-90f2-a9ef37909348" + ], + "x-ms-correlation-request-id": [ + "1af80daf-7637-4279-90f2-a9ef37909348" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190626Z:1af80daf-7637-4279-90f2-a9ef37909348" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" + ], + "x-ms-request-id": [ + "be257d9d-bd4d-421d-9106-37cb393201f1" + ], + "x-ms-correlation-request-id": [ + "be257d9d-bd4d-421d-9106-37cb393201f1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190631Z:be257d9d-bd4d-421d-9106-37cb393201f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31923" + ], + "x-ms-request-id": [ + "8ae9283e-0a8e-4256-89a4-6a59d6a2c3f3" + ], + "x-ms-correlation-request-id": [ + "8ae9283e-0a8e-4256-89a4-6a59d6a2c3f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190635Z:8ae9283e-0a8e-4256-89a4-6a59d6a2c3f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:05:35.608177Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31921" + ], + "x-ms-request-id": [ + "859e6dcd-5d5b-4667-82f3-66c35e9a0126" + ], + "x-ms-correlation-request-id": [ + "859e6dcd-5d5b-4667-82f3-66c35e9a0126" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190640Z:859e6dcd-5d5b-4667-82f3-66c35e9a0126" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db701\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server701\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:06:40.4478899Z\",\r\n \"correlationId\": \"5609c8f8-245c-4e3a-8c67-e4c45611a7d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databases/sql-audit-cmdlet-db701\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server701/sql-audit-cmdlet-db701\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31919" + ], + "x-ms-request-id": [ + "7395c0f1-8130-46cf-8cde-26bbee9ad659" + ], + "x-ms-correlation-request-id": [ + "7395c0f1-8130-46cf-8cde-26bbee9ad659" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190644Z:7395c0f1-8130-46cf-8cde-26bbee9ad659" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701\",\r\n \"name\": \"sql-audit-cmdlet-server701\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31918" + ], + "x-ms-request-id": [ + "adad0059-85a7-4026-a76c-33f9e2f81a80" + ], + "x-ms-correlation-request-id": [ + "adad0059-85a7-4026-a76c-33f9e2f81a80" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190646Z:adad0059-85a7-4026-a76c-33f9e2f81a80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31920" + ], + "x-ms-request-id": [ + "13f19e5f-d1fd-4377-80d9-2e7ef4a540f3" + ], + "x-ms-correlation-request-id": [ + "13f19e5f-d1fd-4377-80d9-2e7ef4a540f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190647Z:13f19e5f-d1fd-4377-80d9-2e7ef4a540f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "3de09093-e685-425b-9f97-7e7f636c92e7-2014-09-17 19:06:47Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "24dc79b4-2310-4330-97ae-ca7377cb8794" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-correlation-request-id": [ + "6454196f-0fd2-496b-85ae-fedf45607863" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190650Z:6454196f-0fd2-496b-85ae-fedf45607863" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "85a48592-cf65-4f61-8f05-43876287ed05-2014-09-17 19:07:03Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "104d3ded-d001-49d0-9478-b42e78b56b6e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-correlation-request-id": [ + "8f072f8e-a445-44e1-b951-3d23582927db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190706Z:8f072f8e-a445-44e1-b951-3d23582927db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "5748ff1e-2018-4118-85b1-e3cbce8333bf-2014-09-17 19:07:05Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1002357b-8023-466a-a8be-73221dff9729" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-correlation-request-id": [ + "44d0ba9a-7d80-49f2-9657-0fc8bedb9342" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190708Z:44d0ba9a-7d80-49f2-9657-0fc8bedb9342" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "8cee19bb-4996-4754-bc27-343c1478f5dd-2014-09-17 19:07:10Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "99c2e2eb-2b71-425c-a019-19625fccefb8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31956" + ], + "x-ms-correlation-request-id": [ + "7597874e-4317-452e-8e5f-aab7104ae695" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190712Z:7597874e-4317-452e-8e5f-aab7104ae695" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "2fc9686f-5f94-4d66-92e2-164727aafc1a-2014-09-17 19:07:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1d4acacf-e8d0-44cc-ab5d-ceacfe4ddb85" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" + ], + "x-ms-correlation-request-id": [ + "869f0a48-4d45-45f9-827a-48e7c9cbe040" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190715Z:869f0a48-4d45-45f9-827a-48e7c9cbe040" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:14 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "10230d42-0bca-4997-bab5-129be02b6637-2014-09-17 19:07:17Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "4c165cac-d725-4a03-bf31-0702ffb54a4b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31954" + ], + "x-ms-correlation-request-id": [ + "8b082a14-dce6-4058-922a-bda190abf4f7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190720Z:8b082a14-dce6-4058-922a-bda190abf4f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:20 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "689446e8-e5a0-4a54-9a70-620fae593db9-2014-09-17 19:07:20Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "60372a8a-9e6e-42e1-9525-90440ea62969" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31953" + ], + "x-ms-correlation-request-id": [ + "f92cfbb0-78ac-4d83-87c4-cf80ec5a64c3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190722Z:f92cfbb0-78ac-4d83-87c4-cf80ec5a64c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:22 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "88617058-f558-4bd6-8ea4-507f4238a2bd-2014-09-17 19:07:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e010fa90-7aef-4a41-b60e-e960cebae9a5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31952" + ], + "x-ms-correlation-request-id": [ + "8eef39b9-1e36-4712-b523-9ad6d570cad3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190727Z:8eef39b9-1e36-4712-b523-9ad6d570cad3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:27 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "24a4e413-fa73-4e83-8cc3-b1f9bcf5d479-2014-09-17 19:07:27Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "93e4ed91-acd4-41ae-b18c-b590e272f16e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31951" + ], + "x-ms-correlation-request-id": [ + "cb4960bf-9501-46af-802b-af93681568c6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190729Z:cb4960bf-9501-46af-802b-af93681568c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "3fd3c815-8547-476d-a108-7f4fb2939a37-2014-09-17 19:07:29Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "5d7ecf7c-a9b0-4bef-bbcb-fdf7fc95d497" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31950" + ], + "x-ms-correlation-request-id": [ + "b128eae2-5e1c-4896-84ac-c727c11cc68e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190731Z:b128eae2-5e1c-4896-84ac-c727c11cc68e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "1ebc62b1-c935-44b2-b504-db96f3d2326a-2014-09-17 19:07:31Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "4300a297-65d8-4931-9dbd-62d9a04ad459" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-correlation-request-id": [ + "41536701-db75-46cc-9b18-26ee02c4460d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190733Z:41536701-db75-46cc-9b18-26ee02c4460d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "e6904e7b-2495-4589-9824-f87e1c0913e4-2014-09-17 19:07:33Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;User ID={0}@sql-audit-cmdlet-server701;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db701;Uid={0}@sql-audit-cmdlet-server701;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server701.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db701\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db701\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server701\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db701\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server701.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server701.database.secure.windows.net:1433;database=sql-audit-cmdlet-db701;user={0}@sql-audit-cmdlet-server701;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server701.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "90a9f237-2f56-40dc-a5aa-bd0051145bbb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-correlation-request-id": [ + "7fbfccac-8065-45f4-8b43-58c19561afce" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190735Z:7fbfccac-8065-45f4-8b43-58c19561afce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets701\",\r\n \"name\": \"auditcmdlets701\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31917" + ], + "x-ms-request-id": [ + "b0999b43-9edf-4764-914b-d0a4bddd43cb" + ], + "x-ms-correlation-request-id": [ + "b0999b43-9edf-4764-914b-d0a4bddd43cb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190651Z:b0999b43-9edf-4764-914b-d0a4bddd43cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701\r\n auditcmdlets701\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets701.blob.core.windows.net/\r\n https://auditcmdlets701.queue.core.windows.net/\r\n https://auditcmdlets701.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:04:55Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "cd5f245ef8f81ef8b5a9fa1ee62b164c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:52 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701\r\n \r\n 54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\r\n +f4nmGNuSSmnd+1vBM6jFZ/uQMUxZo9mP1nmS4r54ze/yekNvkmquEMNU+NrSpPdRaJSTbwT/0+pQCtLlbDz1w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d1ebfac33bd21612955c490704171e3e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:06:52 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701\r\n \r\n 54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\r\n +f4nmGNuSSmnd+1vBM6jFZ/uQMUxZo9mP1nmS4r54ze/yekNvkmquEMNU+NrSpPdRaJSTbwT/0+pQCtLlbDz1w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f0b2c663dd4f174699ce8c88bc4ff276" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:08 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701\r\n \r\n 54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\r\n +f4nmGNuSSmnd+1vBM6jFZ/uQMUxZo9mP1nmS4r54ze/yekNvkmquEMNU+NrSpPdRaJSTbwT/0+pQCtLlbDz1w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5dd8209f2949161886dde1a42b267b37" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:14 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701\r\n \r\n 54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\r\n +f4nmGNuSSmnd+1vBM6jFZ/uQMUxZo9mP1nmS4r54ze/yekNvkmquEMNU+NrSpPdRaJSTbwT/0+pQCtLlbDz1w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "dd2cee25bb5b1b73a7193f9124262aeb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:22 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "3de09093-e685-425b-9f97-7e7f636c92e7-2014-09-17 19:06:47Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "68737c3e-3be1-496a-92d6-da247bb441e5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "cc3e9618-a222-49af-8bc5-9c0780d4bff7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190703Z:cc3e9618-a222-49af-8bc5-9c0780d4bff7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "5748ff1e-2018-4118-85b1-e3cbce8333bf-2014-09-17 19:07:05Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "63c52bf9-bfe8-4106-90cd-7f3c3ec53dad" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "43ef3119-ec88-479d-af02-ad263045a8dd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190710Z:43ef3119-ec88-479d-af02-ad263045a8dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "2fc9686f-5f94-4d66-92e2-164727aafc1a-2014-09-17 19:07:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "4bd4bf2c-7a9c-4fd6-874f-3a86736197ec" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "44e04d2a-3a26-41c4-84dc-ac9e7c2df19b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190717Z:44e04d2a-3a26-41c4-84dc-ac9e7c2df19b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzcwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNzAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "1ecc1c0a-77c2-4485-ab5e-64b4e51e3352-2014-09-17 19:06:47Z" + ], + "x-ms-client-request-id": [ + "689446e8-e5a0-4a54-9a70-620fae593db9-2014-09-17 19:07:20Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets701\",\r\n \"storageAccountKey\": \"54kAEo8l5fWG6BmZ0dF6YJY+qJ7f4VQhJkGkfbGQbjxppQHi7DdPKVJYucOP0Ag9lAwGpLSYKan2z0VF8BaiqA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets701.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg701/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server701/databaseSecurityPolicies/sql-audit-cmdlet-db701\",\r\n \"name\": \"sql-audit-cmdlet-db701\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "8720b6da-39c6-468b-9864-2ce4fa67b33a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "a3fcc1d3-1d64-4edd-a1e6-d5002e0d3d92" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190725Z:a3fcc1d3-1d64-4edd-a1e6-d5002e0d3d92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:24 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets701", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNzAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "3f4d82c3b4b9177ca26faec93b166345" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:38 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3f4d82c3b4b9177ca26faec93b166345", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzNmNGQ4MmMzYjRiOTE3N2NhMjZmYWVjOTNiMTY2MzQ1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 3f4d82c3-b4b9-177c-a26f-aec93b166345\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b84da796da311d4b9f0c6553d9c23515" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:07:39 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypes.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypes.json new file mode 100644 index 000000000000..5b49192e7728 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithEventTypes.json @@ -0,0 +1,2483 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets501\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "3f32732fb820153a9ff56c7a896ea420" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:50:41 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets501" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3f32732fb820153a9ff56c7a896ea420", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzNmMzI3MzJmYjgyMDE1M2E5ZmY1NmM3YTg5NmVhNDIw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1" + ] + }, + "ResponseBody": "\r\n 3f32732f-b820-153a-9ff5-6c7a896ea420\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f32930be7ce81960b8a492ca0125a896" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:50:41 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3f32732fb820153a9ff56c7a896ea420", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzNmMzI3MzJmYjgyMDE1M2E5ZmY1NmM3YTg5NmVhNDIw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1" + ] + }, + "ResponseBody": "\r\n 3f32732f-b820-153a-9ff5-6c7a896ea420\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a4cf2522489019c2acddd75c33901595" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:12 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "e0af8e1e-d795-454d-af87-ab68f5fe289a" + ], + "x-ms-correlation-request-id": [ + "e0af8e1e-d795-454d-af87-ab68f5fe289a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185114Z:e0af8e1e-d795-454d-af87-ab68f5fe289a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:14 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501\",\r\n \"name\": \"sql-audit-cmdlet-test-rg501\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "e283ff03-60f5-4cb1-997e-b35fecbfed9b" + ], + "x-ms-correlation-request-id": [ + "e283ff03-60f5-4cb1-997e-b35fecbfed9b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185116Z:e283ff03-60f5-4cb1-997e-b35fecbfed9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:16 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:51:18.2726227Z\",\r\n \"correlationId\": \"6cc45dd5-d200-46eb-84dd-7b500c9da9b6\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "6cc45dd5-d200-46eb-84dd-7b500c9da9b6" + ], + "x-ms-correlation-request-id": [ + "6cc45dd5-d200-46eb-84dd-7b500c9da9b6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185118Z:6cc45dd5-d200-46eb-84dd-7b500c9da9b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:51:20.9334513Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "e5e98512-42bd-4ee7-a42c-57c81ca12552" + ], + "x-ms-correlation-request-id": [ + "e5e98512-42bd-4ee7-a42c-57c81ca12552" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185121Z:e5e98512-42bd-4ee7-a42c-57c81ca12552" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:21 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "18924607-c3af-4fa4-9e9f-18b161356f01" + ], + "x-ms-correlation-request-id": [ + "18924607-c3af-4fa4-9e9f-18b161356f01" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185122Z:18924607-c3af-4fa4-9e9f-18b161356f01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "579ef023-fad3-4c1f-9f6c-a0b0549b768b" + ], + "x-ms-correlation-request-id": [ + "579ef023-fad3-4c1f-9f6c-a0b0549b768b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185126Z:579ef023-fad3-4c1f-9f6c-a0b0549b768b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "3c7131db-ece3-48a9-8748-e7ce698952a9" + ], + "x-ms-correlation-request-id": [ + "3c7131db-ece3-48a9-8748-e7ce698952a9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185131Z:3c7131db-ece3-48a9-8748-e7ce698952a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "7e8b8858-e378-460d-92bd-6a1da30aa74b" + ], + "x-ms-correlation-request-id": [ + "7e8b8858-e378-460d-92bd-6a1da30aa74b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185135Z:7e8b8858-e378-460d-92bd-6a1da30aa74b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "4f29bdec-7fff-42f0-ab26-a48002b2ec7e" + ], + "x-ms-correlation-request-id": [ + "4f29bdec-7fff-42f0-ab26-a48002b2ec7e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185139Z:4f29bdec-7fff-42f0-ab26-a48002b2ec7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "9c19e584-9f7c-4ad9-a1ea-25573eb1325a" + ], + "x-ms-correlation-request-id": [ + "9c19e584-9f7c-4ad9-a1ea-25573eb1325a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185143Z:9c19e584-9f7c-4ad9-a1ea-25573eb1325a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "2b38cd84-a9ef-4288-b735-eb7b5e48c997" + ], + "x-ms-correlation-request-id": [ + "2b38cd84-a9ef-4288-b735-eb7b5e48c997" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185147Z:2b38cd84-a9ef-4288-b735-eb7b5e48c997" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "a5f515d6-2ffa-43c6-8355-ab9d14c89313" + ], + "x-ms-correlation-request-id": [ + "a5f515d6-2ffa-43c6-8355-ab9d14c89313" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185151Z:a5f515d6-2ffa-43c6-8355-ab9d14c89313" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "7e6222ac-b01a-4757-87ba-daac4cff543c" + ], + "x-ms-correlation-request-id": [ + "7e6222ac-b01a-4757-87ba-daac4cff543c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185155Z:7e6222ac-b01a-4757-87ba-daac4cff543c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "75b012f8-6d52-4b9c-b75f-b5a907852154" + ], + "x-ms-correlation-request-id": [ + "75b012f8-6d52-4b9c-b75f-b5a907852154" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185159Z:75b012f8-6d52-4b9c-b75f-b5a907852154" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "c4447b8f-ec2c-4463-b924-9df9fa3b4299" + ], + "x-ms-correlation-request-id": [ + "c4447b8f-ec2c-4463-b924-9df9fa3b4299" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185203Z:c4447b8f-ec2c-4463-b924-9df9fa3b4299" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "9e70a9f6-10e6-4d12-9b8b-9ecd57b39337" + ], + "x-ms-correlation-request-id": [ + "9e70a9f6-10e6-4d12-9b8b-9ecd57b39337" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185208Z:9e70a9f6-10e6-4d12-9b8b-9ecd57b39337" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "e882fd9d-c782-47a3-b090-c12826a8678c" + ], + "x-ms-correlation-request-id": [ + "e882fd9d-c782-47a3-b090-c12826a8678c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185212Z:e882fd9d-c782-47a3-b090-c12826a8678c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "33cc4d72-5f1e-44d1-8ab0-8c585ea69158" + ], + "x-ms-correlation-request-id": [ + "33cc4d72-5f1e-44d1-8ab0-8c585ea69158" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185216Z:33cc4d72-5f1e-44d1-8ab0-8c585ea69158" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "11237b1b-e899-420a-90fd-bf832e0d0f94" + ], + "x-ms-correlation-request-id": [ + "11237b1b-e899-420a-90fd-bf832e0d0f94" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185220Z:11237b1b-e899-420a-90fd-bf832e0d0f94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations/B0E7851820B767E8\",\r\n \"operationId\": \"B0E7851820B767E8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:21.459053Z\",\r\n \"trackingId\": \"212aeb4a-e43b-4e22-8bce-a711b59248d3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "8e7d5d90-e732-444f-b406-2aa770758ddc" + ], + "x-ms-correlation-request-id": [ + "8e7d5d90-e732-444f-b406-2aa770758ddc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185225Z:8e7d5d90-e732-444f-b406-2aa770758ddc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations/5B8329E6C678C2A2\",\r\n \"operationId\": \"5B8329E6C678C2A2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:27.115908Z\",\r\n \"trackingId\": \"568c1557-5524-4f33-a290-2a5860ae57f8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations/B0E7851820B767E8\",\r\n \"operationId\": \"B0E7851820B767E8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:21.459053Z\",\r\n \"trackingId\": \"212aeb4a-e43b-4e22-8bce-a711b59248d3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "50264562-bebe-433f-a3cd-657fed864aa9" + ], + "x-ms-correlation-request-id": [ + "50264562-bebe-433f-a3cd-657fed864aa9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185229Z:50264562-bebe-433f-a3cd-657fed864aa9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations/5B8329E6C678C2A2\",\r\n \"operationId\": \"5B8329E6C678C2A2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:27.115908Z\",\r\n \"trackingId\": \"568c1557-5524-4f33-a290-2a5860ae57f8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup/operations/B0E7851820B767E8\",\r\n \"operationId\": \"B0E7851820B767E8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:21.459053Z\",\r\n \"trackingId\": \"212aeb4a-e43b-4e22-8bce-a711b59248d3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "b4035798-1bf4-46ea-be66-38121fd15f01" + ], + "x-ms-correlation-request-id": [ + "b4035798-1bf4-46ea-be66-38121fd15f01" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185234Z:b4035798-1bf4-46ea-be66-38121fd15f01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "02157584-08f1-48af-8292-f60ed2f35db4" + ], + "x-ms-correlation-request-id": [ + "02157584-08f1-48af-8292-f60ed2f35db4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185123Z:02157584-08f1-48af-8292-f60ed2f35db4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "c728fe4b-443d-4d89-8530-9bb949b20435" + ], + "x-ms-correlation-request-id": [ + "c728fe4b-443d-4d89-8530-9bb949b20435" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185127Z:c728fe4b-443d-4d89-8530-9bb949b20435" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "6d04c619-3cd5-46a6-b859-614c0122c584" + ], + "x-ms-correlation-request-id": [ + "6d04c619-3cd5-46a6-b859-614c0122c584" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185132Z:6d04c619-3cd5-46a6-b859-614c0122c584" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "cedbfbf9-bf3d-47ab-9178-34d28502bd0f" + ], + "x-ms-correlation-request-id": [ + "cedbfbf9-bf3d-47ab-9178-34d28502bd0f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185136Z:cedbfbf9-bf3d-47ab-9178-34d28502bd0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "44f2e24b-913c-49d4-bf76-d73ce21dba28" + ], + "x-ms-correlation-request-id": [ + "44f2e24b-913c-49d4-bf76-d73ce21dba28" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185140Z:44f2e24b-913c-49d4-bf76-d73ce21dba28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "c2005419-91e0-4c46-b76c-ae3ce02b61f3" + ], + "x-ms-correlation-request-id": [ + "c2005419-91e0-4c46-b76c-ae3ce02b61f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185144Z:c2005419-91e0-4c46-b76c-ae3ce02b61f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "78e6b0ea-bf2c-40a7-b392-ac9b7d42dfbd" + ], + "x-ms-correlation-request-id": [ + "78e6b0ea-bf2c-40a7-b392-ac9b7d42dfbd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185148Z:78e6b0ea-bf2c-40a7-b392-ac9b7d42dfbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "b7df35a8-c0cd-4f04-9d6f-6f5a95921dc8" + ], + "x-ms-correlation-request-id": [ + "b7df35a8-c0cd-4f04-9d6f-6f5a95921dc8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185152Z:b7df35a8-c0cd-4f04-9d6f-6f5a95921dc8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "a90112d0-a613-48b8-a335-eaa1542aa2f2" + ], + "x-ms-correlation-request-id": [ + "a90112d0-a613-48b8-a335-eaa1542aa2f2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185156Z:a90112d0-a613-48b8-a335-eaa1542aa2f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "6fec9c0a-2bc6-4cd1-91dd-936bf661c67a" + ], + "x-ms-correlation-request-id": [ + "6fec9c0a-2bc6-4cd1-91dd-936bf661c67a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185200Z:6fec9c0a-2bc6-4cd1-91dd-936bf661c67a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:51:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "235ff9ec-4acd-4a0f-b21d-4b952bd91cb1" + ], + "x-ms-correlation-request-id": [ + "235ff9ec-4acd-4a0f-b21d-4b952bd91cb1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185204Z:235ff9ec-4acd-4a0f-b21d-4b952bd91cb1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "c367197e-3762-4b5a-afc4-f728c3f1ac76" + ], + "x-ms-correlation-request-id": [ + "c367197e-3762-4b5a-afc4-f728c3f1ac76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185209Z:c367197e-3762-4b5a-afc4-f728c3f1ac76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "e17664a0-e6ab-423e-8d28-3b680356a20a" + ], + "x-ms-correlation-request-id": [ + "e17664a0-e6ab-423e-8d28-3b680356a20a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185213Z:e17664a0-e6ab-423e-8d28-3b680356a20a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "083dd4a9-6e39-4954-a54b-b2ca4cd6c24f" + ], + "x-ms-correlation-request-id": [ + "083dd4a9-6e39-4954-a54b-b2ca4cd6c24f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185217Z:083dd4a9-6e39-4954-a54b-b2ca4cd6c24f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "fce1a328-3740-46bb-95d5-f6d3829d9b76" + ], + "x-ms-correlation-request-id": [ + "fce1a328-3740-46bb-95d5-f6d3829d9b76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185222Z:fce1a328-3740-46bb-95d5-f6d3829d9b76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "7fe7001f-287d-4cca-b00f-228f16990c7e" + ], + "x-ms-correlation-request-id": [ + "7fe7001f-287d-4cca-b00f-228f16990c7e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185226Z:7fe7001f-287d-4cca-b00f-228f16990c7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:51:23.2139626Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "c8e883fb-7d32-4316-bccc-791c2d818bd7" + ], + "x-ms-correlation-request-id": [ + "c8e883fb-7d32-4316-bccc-791c2d818bd7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185230Z:c8e883fb-7d32-4316-bccc-791c2d818bd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db501\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server501\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:52:30.8750033Z\",\r\n \"correlationId\": \"e5e98512-42bd-4ee7-a42c-57c81ca12552\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "78ec52b7-bce6-4eab-9da1-0bc555f66434" + ], + "x-ms-correlation-request-id": [ + "78ec52b7-bce6-4eab-9da1-0bc555f66434" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185235Z:78ec52b7-bce6-4eab-9da1-0bc555f66434" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501\",\r\n \"name\": \"sql-audit-cmdlet-server501\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databases/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-server501/sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "947a9be4-7a69-43c8-8620-73699b172c06" + ], + "x-ms-correlation-request-id": [ + "947a9be4-7a69-43c8-8620-73699b172c06" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185238Z:947a9be4-7a69-43c8-8620-73699b172c06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "31db1c6a-63e3-46e8-b6fa-63d1002cba0e" + ], + "x-ms-correlation-request-id": [ + "31db1c6a-63e3-46e8-b6fa-63d1002cba0e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185239Z:31db1c6a-63e3-46e8-b6fa-63d1002cba0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "d9e0da19-de92-481d-b3c8-34f203565f02-2014-09-17 18:52:38Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "8d402088-5ce8-4fdb-8287-b89705ac57fe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-correlation-request-id": [ + "93f8b942-9ff4-485a-97f4-de2a0c1876a6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185242Z:93f8b942-9ff4-485a-97f4-de2a0c1876a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "57de2d0d-bf0a-4382-b65f-5a9ea8bf7d75-2014-09-17 18:52:46Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e4fa5a1a-8590-44b8-9ffc-0e7ffc64f021" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-correlation-request-id": [ + "583361f7-0968-411c-a7a7-c4afe018c475" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185249Z:583361f7-0968-411c-a7a7-c4afe018c475" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:49 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "3f305f46-a6b4-4092-9584-5e3ada209459-2014-09-17 18:52:48Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "120a62a9-6158-4ca7-87bb-d54c0d14c358" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-correlation-request-id": [ + "d7210cf6-3cca-4522-b630-c98bd159a992" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185251Z:d7210cf6-3cca-4522-b630-c98bd159a992" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:51 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "8b228a8c-a1d7-4510-85af-201b5d887e33-2014-09-17 18:52:54Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "5243fd69-de87-4a6c-9f56-1923ab8bedca" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-correlation-request-id": [ + "fc6dff6b-9a37-49e5-9ecb-7d72a592e3a2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185256Z:fc6dff6b-9a37-49e5-9ecb-7d72a592e3a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:56 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "aee663ef-029d-4710-ad2e-ba9746021ba1-2014-09-17 18:52:55Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "69eaa4a2-ef3e-4bb7-a0d8-5a438b99ad84" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-correlation-request-id": [ + "85b9747f-fa3b-4e24-ad48-be12633ac6c7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185259Z:85b9747f-fa3b-4e24-ad48-be12633ac6c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "f58a457c-81b9-44c3-9aeb-b4300c465819-2014-09-17 18:53:01Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;User ID={0}@sql-audit-cmdlet-server501;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db501;Uid={0}@sql-audit-cmdlet-server501;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server501.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db501\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db501\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server501\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db501\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server501.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server501.database.secure.windows.net:1433;database=sql-audit-cmdlet-db501;user={0}@sql-audit-cmdlet-server501;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server501.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "29e8ac3f-f60a-4fa9-8dec-d0c309cad317" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-correlation-request-id": [ + "47615443-7204-41e0-929f-7ffffda43c9d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185304Z:47615443-7204-41e0-929f-7ffffda43c9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:04 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets501\",\r\n \"name\": \"auditcmdlets501\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "c84465c4-8dbd-4000-8b20-4275609788e8" + ], + "x-ms-correlation-request-id": [ + "c84465c4-8dbd-4000-8b20-4275609788e8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185243Z:c84465c4-8dbd-4000-8b20-4275609788e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501\r\n auditcmdlets501\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets501.blob.core.windows.net/\r\n https://auditcmdlets501.queue.core.windows.net/\r\n https://auditcmdlets501.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T18:50:41Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ca6c759f95f914deacbb0cf0b705e4d5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:43 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNTAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501\r\n \r\n OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\r\n 6PM+ULSNphi33TrYXmtnQSWVIhV6xQq0OsEG9ovMaHP7wZF/pcHhbeOgxyQKsBiQnFz6Ue67CsaZtUoeE3fGgw==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "df7fdaa722a412fdb32b88bf8b1c4500" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:44 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNTAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501\r\n \r\n OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\r\n 6PM+ULSNphi33TrYXmtnQSWVIhV6xQq0OsEG9ovMaHP7wZF/pcHhbeOgxyQKsBiQnFz6Ue67CsaZtUoeE3fGgw==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "0b47d046993618a29180e80342f659f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:51 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNTAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501\r\n \r\n OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\r\n 6PM+ULSNphi33TrYXmtnQSWVIhV6xQq0OsEG9ovMaHP7wZF/pcHhbeOgxyQKsBiQnFz6Ue67CsaZtUoeE3fGgw==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "4c7ef45df61c1c8495da1c0019f66f4d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:58 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "d9e0da19-de92-481d-b3c8-34f203565f02-2014-09-17 18:52:38Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "5e8610e7-9f42-440b-b10f-778da04acbe3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "62e4c0c1-51dc-44c9-8b57-1fbe7183f43a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185247Z:62e4c0c1-51dc-44c9-8b57-1fbe7183f43a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "3f305f46-a6b4-4092-9584-5e3ada209459-2014-09-17 18:52:48Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a3ce0ecc-f3ef-4735-b2e0-91c5a6365d9d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "0db80d2f-97c6-498c-9869-202173eebbdc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185254Z:0db80d2f-97c6-498c-9869-202173eebbdc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:52:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzUwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiNTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "9a03b1c7-a1fe-43a2-8710-6f37a08a2b51-2014-09-17 18:52:38Z" + ], + "x-ms-client-request-id": [ + "aee663ef-029d-4710-ad2e-ba9746021ba1-2014-09-17 18:52:55Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets501\",\r\n \"storageAccountKey\": \"OytZKIgp7xsAY+lC6XYQLwI0+Qp4YLIarm8OqGEzh0dFgUHSZGXoFGc2HjjBb3O5xfqYy3sJZyDSCqvtTUcL3Q==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets501.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg501/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server501/databaseSecurityPolicies/sql-audit-cmdlet-db501\",\r\n \"name\": \"sql-audit-cmdlet-db501\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "db467f54-fa2e-4b1c-80d6-fe27c176f36a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "fa857306-42ba-49bb-8003-0c16918d3f36" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185302Z:fa857306-42ba-49bb-8003-0c16918d3f36" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets501", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ab98bb35c55511aeb551b05b1a3e970d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:08 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/ab98bb35c55511aeb551b05b1a3e970d", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2FiOThiYjM1YzU1NTExYWViNTUxYjA1YjFhM2U5NzBk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n ab98bb35-c555-11ae-b551-b05b1a3e970d\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f4c0c0418ec11ca490ceaf6d3c260379" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:10 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithStorage.json new file mode 100644 index 000000000000..2dd38b5f8bac --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDatabaseUpdatePolicyWithStorage.json @@ -0,0 +1,1945 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets101\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "161" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "3161f904eda210e6bdf7310f0f7c4b70" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:13 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets101" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3161f904eda210e6bdf7310f0f7c4b70", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzMxNjFmOTA0ZWRhMjEwZTZiZGY3MzEwZjBmN2M0Yjcw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "161" + ] + }, + "ResponseBody": "\r\n 3161f904-eda2-10e6-bdf7-310f0f7c4b70\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "dae6e7c702f01b06ac1ed05fc30484fb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:13 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3161f904eda210e6bdf7310f0f7c4b70", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzMxNjFmOTA0ZWRhMjEwZTZiZGY3MzEwZjBmN2M0Yjcw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "161" + ] + }, + "ResponseBody": "\r\n 3161f904-eda2-10e6-bdf7-310f0f7c4b70\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "4e26a262dba8128488da873e93f6c577" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:44 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "dfcc17d7-281f-4a6b-a935-70b8602eb143" + ], + "x-ms-correlation-request-id": [ + "dfcc17d7-281f-4a6b-a935-70b8602eb143" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185945Z:dfcc17d7-281f-4a6b-a935-70b8602eb143" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:44 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101\",\r\n \"name\": \"sql-audit-cmdlet-test-rg101\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "33a1e2f8-8dac-47b4-bcd9-a308eb7a5667" + ], + "x-ms-correlation-request-id": [ + "33a1e2f8-8dac-47b4-bcd9-a308eb7a5667" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185947Z:33a1e2f8-8dac-47b4-bcd9-a308eb7a5667" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:47 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:59:49.179609Z\",\r\n \"correlationId\": \"ed51efaf-1753-40a2-918e-f2ba3bac5b3b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "ed51efaf-1753-40a2-918e-f2ba3bac5b3b" + ], + "x-ms-correlation-request-id": [ + "ed51efaf-1753-40a2-918e-f2ba3bac5b3b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185949Z:ed51efaf-1753-40a2-918e-f2ba3bac5b3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:59:51.6504399Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "83d48f6e-c090-4b5a-9a82-3e618bb88a76" + ], + "x-ms-correlation-request-id": [ + "83d48f6e-c090-4b5a-9a82-3e618bb88a76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185952Z:83d48f6e-c090-4b5a-9a82-3e618bb88a76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:52 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "f005c382-8f97-45b9-9cb8-1b7924cfa478" + ], + "x-ms-correlation-request-id": [ + "f005c382-8f97-45b9-9cb8-1b7924cfa478" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185953Z:f005c382-8f97-45b9-9cb8-1b7924cfa478" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31956" + ], + "x-ms-request-id": [ + "fe69550d-de0b-450b-b987-2ba64459bf9f" + ], + "x-ms-correlation-request-id": [ + "fe69550d-de0b-450b-b987-2ba64459bf9f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185957Z:fe69550d-de0b-450b-b987-2ba64459bf9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31954" + ], + "x-ms-request-id": [ + "5beac9a3-d3f6-4e1a-aa0c-6469ebd82e6e" + ], + "x-ms-correlation-request-id": [ + "5beac9a3-d3f6-4e1a-aa0c-6469ebd82e6e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190001Z:5beac9a3-d3f6-4e1a-aa0c-6469ebd82e6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31952" + ], + "x-ms-request-id": [ + "6250695a-b41a-4955-8100-21ff88cf940e" + ], + "x-ms-correlation-request-id": [ + "6250695a-b41a-4955-8100-21ff88cf940e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190005Z:6250695a-b41a-4955-8100-21ff88cf940e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31950" + ], + "x-ms-request-id": [ + "7f669d4d-1168-4478-920a-9e50694c9460" + ], + "x-ms-correlation-request-id": [ + "7f669d4d-1168-4478-920a-9e50694c9460" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190009Z:7f669d4d-1168-4478-920a-9e50694c9460" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-request-id": [ + "c4dc9c18-8bb8-4850-b0fa-ad60943171a1" + ], + "x-ms-correlation-request-id": [ + "c4dc9c18-8bb8-4850-b0fa-ad60943171a1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190013Z:c4dc9c18-8bb8-4850-b0fa-ad60943171a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31946" + ], + "x-ms-request-id": [ + "54d3a04d-70ce-4f9d-b69f-1de117837bfd" + ], + "x-ms-correlation-request-id": [ + "54d3a04d-70ce-4f9d-b69f-1de117837bfd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190017Z:54d3a04d-70ce-4f9d-b69f-1de117837bfd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31944" + ], + "x-ms-request-id": [ + "3e1c5172-94b8-420d-be3b-d7f358a5bc5e" + ], + "x-ms-correlation-request-id": [ + "3e1c5172-94b8-420d-be3b-d7f358a5bc5e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190021Z:3e1c5172-94b8-420d-be3b-d7f358a5bc5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "a296f5c0-a26a-4384-b811-4bac8ba1e9cd" + ], + "x-ms-correlation-request-id": [ + "a296f5c0-a26a-4384-b811-4bac8ba1e9cd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190026Z:a296f5c0-a26a-4384-b811-4bac8ba1e9cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "1f66a955-1121-4f89-97ac-ec7fbf70f09a" + ], + "x-ms-correlation-request-id": [ + "1f66a955-1121-4f89-97ac-ec7fbf70f09a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190030Z:1f66a955-1121-4f89-97ac-ec7fbf70f09a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "cba73055-7501-4d50-a95b-f99736e9d430" + ], + "x-ms-correlation-request-id": [ + "cba73055-7501-4d50-a95b-f99736e9d430" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190034Z:cba73055-7501-4d50-a95b-f99736e9d430" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-request-id": [ + "eeac0afe-2c50-4db4-982e-6ec729289020" + ], + "x-ms-correlation-request-id": [ + "eeac0afe-2c50-4db4-982e-6ec729289020" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190038Z:eeac0afe-2c50-4db4-982e-6ec729289020" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-request-id": [ + "67f02dcd-08aa-4ac4-b6d0-9c28bb5acdf1" + ], + "x-ms-correlation-request-id": [ + "67f02dcd-08aa-4ac4-b6d0-9c28bb5acdf1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190042Z:67f02dcd-08aa-4ac4-b6d0-9c28bb5acdf1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-request-id": [ + "8c8e0661-0c60-4c3d-9e6d-923ee2af6d07" + ], + "x-ms-correlation-request-id": [ + "8c8e0661-0c60-4c3d-9e6d-923ee2af6d07" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190046Z:8c8e0661-0c60-4c3d-9e6d-923ee2af6d07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations/A012755FF82A4EF4\",\r\n \"operationId\": \"A012755FF82A4EF4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:00:47.0569908Z\",\r\n \"trackingId\": \"98c53720-4f86-408c-b374-face13ebd596\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31930" + ], + "x-ms-request-id": [ + "6fbb156f-5311-494b-a7d7-eab688639864" + ], + "x-ms-correlation-request-id": [ + "6fbb156f-5311-494b-a7d7-eab688639864" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190051Z:6fbb156f-5311-494b-a7d7-eab688639864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations/AE9DE859643E3D34\",\r\n \"operationId\": \"AE9DE859643E3D34\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:00:52.329948Z\",\r\n \"trackingId\": \"3e1bb8b6-1a64-476a-8517-74b03fc28b09\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup/operations/A012755FF82A4EF4\",\r\n \"operationId\": \"A012755FF82A4EF4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:00:47.0569908Z\",\r\n \"trackingId\": \"98c53720-4f86-408c-b374-face13ebd596\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], + "x-ms-request-id": [ + "06857b2c-c673-4c72-aaae-a84514b3fa83" + ], + "x-ms-correlation-request-id": [ + "06857b2c-c673-4c72-aaae-a84514b3fa83" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190055Z:06857b2c-c673-4c72-aaae-a84514b3fa83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:59:51.6504399Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-request-id": [ + "a4cb78a7-27e8-49f4-9dc3-636aaca5139a" + ], + "x-ms-correlation-request-id": [ + "a4cb78a7-27e8-49f4-9dc3-636aaca5139a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185954Z:a4cb78a7-27e8-49f4-9dc3-636aaca5139a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" + ], + "x-ms-request-id": [ + "0f25c582-f1a9-447f-bbea-c75bfd2d7cb5" + ], + "x-ms-correlation-request-id": [ + "0f25c582-f1a9-447f-bbea-c75bfd2d7cb5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185958Z:0f25c582-f1a9-447f-bbea-c75bfd2d7cb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:59:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31953" + ], + "x-ms-request-id": [ + "07f9f5d8-66d4-48ae-bbec-cd3ed7635b72" + ], + "x-ms-correlation-request-id": [ + "07f9f5d8-66d4-48ae-bbec-cd3ed7635b72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190002Z:07f9f5d8-66d4-48ae-bbec-cd3ed7635b72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31951" + ], + "x-ms-request-id": [ + "684dc081-ac12-45f6-af2b-cc1b3942caa5" + ], + "x-ms-correlation-request-id": [ + "684dc081-ac12-45f6-af2b-cc1b3942caa5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190006Z:684dc081-ac12-45f6-af2b-cc1b3942caa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-request-id": [ + "d056e307-c736-4629-b5ce-8646ed156f03" + ], + "x-ms-correlation-request-id": [ + "d056e307-c736-4629-b5ce-8646ed156f03" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190010Z:d056e307-c736-4629-b5ce-8646ed156f03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31947" + ], + "x-ms-request-id": [ + "5bef1191-908e-43fe-89f7-368abf5ac1ca" + ], + "x-ms-correlation-request-id": [ + "5bef1191-908e-43fe-89f7-368abf5ac1ca" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190014Z:5bef1191-908e-43fe-89f7-368abf5ac1ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31945" + ], + "x-ms-request-id": [ + "ee234f12-e313-4072-9b07-e3bb2a2c7b05" + ], + "x-ms-correlation-request-id": [ + "ee234f12-e313-4072-9b07-e3bb2a2c7b05" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190018Z:ee234f12-e313-4072-9b07-e3bb2a2c7b05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "9e00e47e-e1ac-4f49-ab91-56cf900b74ae" + ], + "x-ms-correlation-request-id": [ + "9e00e47e-e1ac-4f49-ab91-56cf900b74ae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190022Z:9e00e47e-e1ac-4f49-ab91-56cf900b74ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "ff4c44a0-be97-4174-a88a-3e6c6485e07b" + ], + "x-ms-correlation-request-id": [ + "ff4c44a0-be97-4174-a88a-3e6c6485e07b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190027Z:ff4c44a0-be97-4174-a88a-3e6c6485e07b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "ed58fb7e-f4a5-48b3-9371-fb974475ec7a" + ], + "x-ms-correlation-request-id": [ + "ed58fb7e-f4a5-48b3-9371-fb974475ec7a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190031Z:ed58fb7e-f4a5-48b3-9371-fb974475ec7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "be5f6f9d-db36-4a42-8dca-c0215ffcb264" + ], + "x-ms-correlation-request-id": [ + "be5f6f9d-db36-4a42-8dca-c0215ffcb264" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190035Z:be5f6f9d-db36-4a42-8dca-c0215ffcb264" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-request-id": [ + "e7b9f09a-fe2b-4683-b7f7-d4bd30c2d955" + ], + "x-ms-correlation-request-id": [ + "e7b9f09a-fe2b-4683-b7f7-d4bd30c2d955" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190039Z:e7b9f09a-fe2b-4683-b7f7-d4bd30c2d955" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-request-id": [ + "f5d07b5f-a116-46d4-8ef6-2dfeb16e7d35" + ], + "x-ms-correlation-request-id": [ + "f5d07b5f-a116-46d4-8ef6-2dfeb16e7d35" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190043Z:f5d07b5f-a116-46d4-8ef6-2dfeb16e7d35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-request-id": [ + "29b28aca-a3bf-41f1-8d2d-da343ed25dcc" + ], + "x-ms-correlation-request-id": [ + "29b28aca-a3bf-41f1-8d2d-da343ed25dcc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190047Z:29b28aca-a3bf-41f1-8d2d-da343ed25dcc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:59:54.0801023Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-request-id": [ + "b3bd1dca-73f9-4fab-9b74-1d5ca15afde3" + ], + "x-ms-correlation-request-id": [ + "b3bd1dca-73f9-4fab-9b74-1d5ca15afde3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190052Z:b3bd1dca-73f9-4fab-9b74-1d5ca15afde3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db101\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server101\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:00:55.6661523Z\",\r\n \"correlationId\": \"83d48f6e-c090-4b5a-9a82-3e618bb88a76\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31927" + ], + "x-ms-request-id": [ + "1809fd83-aea8-4d12-9d57-4cd8adc67f25" + ], + "x-ms-correlation-request-id": [ + "1809fd83-aea8-4d12-9d57-4cd8adc67f25" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190056Z:1809fd83-aea8-4d12-9d57-4cd8adc67f25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101\",\r\n \"name\": \"sql-audit-cmdlet-server101\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databases/sql-audit-cmdlet-db101\",\r\n \"name\": \"sql-audit-cmdlet-server101/sql-audit-cmdlet-db101\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "100ebc5b-c216-44ec-b485-1cf91b9a8aaa" + ], + "x-ms-correlation-request-id": [ + "100ebc5b-c216-44ec-b485-1cf91b9a8aaa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190059Z:100ebc5b-c216-44ec-b485-1cf91b9a8aaa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:00:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" + ], + "x-ms-request-id": [ + "4de036f6-c2aa-4dd3-95a9-9b036402e5ea" + ], + "x-ms-correlation-request-id": [ + "4de036f6-c2aa-4dd3-95a9-9b036402e5ea" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190100Z:4de036f6-c2aa-4dd3-95a9-9b036402e5ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "d9e0d1bd-75ae-4f1f-a07d-934de835c0b3-2014-09-17 19:00:59Z" + ], + "x-ms-client-request-id": [ + "53f883c8-43b4-4871-b10e-0927df87cd21-2014-09-17 19:00:59Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db101;User ID={0}@sql-audit-cmdlet-server101;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db101;Uid={0}@sql-audit-cmdlet-server101;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server101.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db101\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db101\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server101\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db101\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server101.database.secure.windows.net:1433;database=sql-audit-cmdlet-db101;user={0}@sql-audit-cmdlet-server101;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server101.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101\",\r\n \"name\": \"sql-audit-cmdlet-db101\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "16bbcbdb-7c3d-406f-aab6-86611d5cd66f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" + ], + "x-ms-correlation-request-id": [ + "3dfc1247-0685-4152-8092-4c0295495624" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190103Z:3dfc1247-0685-4152-8092-4c0295495624" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "d9e0d1bd-75ae-4f1f-a07d-934de835c0b3-2014-09-17 19:00:59Z" + ], + "x-ms-client-request-id": [ + "161b3635-15fe-4a4b-9e6c-58e964881240-2014-09-17 19:01:07Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets101\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets101.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db101;User ID={0}@sql-audit-cmdlet-server101;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db101;Uid={0}@sql-audit-cmdlet-server101;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server101.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db101\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db101\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server101\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db101\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server101.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server101.database.secure.windows.net:1433;database=sql-audit-cmdlet-db101;user={0}@sql-audit-cmdlet-server101;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server101.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101\",\r\n \"name\": \"sql-audit-cmdlet-db101\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a5f4a701-0959-422b-ab35-96df7b7b1a19" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31923" + ], + "x-ms-correlation-request-id": [ + "b8ae024e-58c3-495e-8618-8abab0e35014" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190109Z:b8ae024e-58c3-495e-8618-8abab0e35014" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets101\",\r\n \"name\": \"auditcmdlets101\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31924" + ], + "x-ms-request-id": [ + "d711cfab-5ea4-4275-b739-256f8a5e461e" + ], + "x-ms-correlation-request-id": [ + "d711cfab-5ea4-4275-b739-256f8a5e461e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190103Z:d711cfab-5ea4-4275-b739-256f8a5e461e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets101", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets101\r\n auditcmdlets101\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets101.blob.core.windows.net/\r\n https://auditcmdlets101.queue.core.windows.net/\r\n https://auditcmdlets101.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T18:59:13Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "53060b9d73d61a56a2a2e0774256905d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:04 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets101/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets101\r\n \r\n m4pOuf13SKRM2gAk3XqTk7IsG/feEU7JBMdlooSBEH6PlnzF3X0ZKzjaPd+qb3aeaZZQez5lD4+D09XiuXPIrA==\r\n NFo+pZIiBk5msKntQUxB1M1tFRxsCo1FWdvbQjV3MMzM5t548Bo/XH8n76Aa/nk9P691663Qb9MjTEnD89jwKA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "dcb80839be2e1f4ca6617064525fce33" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:04 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets101\",\r\n \"storageAccountKey\": \"m4pOuf13SKRM2gAk3XqTk7IsG/feEU7JBMdlooSBEH6PlnzF3X0ZKzjaPd+qb3aeaZZQez5lD4+D09XiuXPIrA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets101.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "d9e0d1bd-75ae-4f1f-a07d-934de835c0b3-2014-09-17 19:00:59Z" + ], + "x-ms-client-request-id": [ + "53f883c8-43b4-4871-b10e-0927df87cd21-2014-09-17 19:00:59Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets101\",\r\n \"storageAccountKey\": \"m4pOuf13SKRM2gAk3XqTk7IsG/feEU7JBMdlooSBEH6PlnzF3X0ZKzjaPd+qb3aeaZZQez5lD4+D09XiuXPIrA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets101.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg101/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server101/databaseSecurityPolicies/sql-audit-cmdlet-db101\",\r\n \"name\": \"sql-audit-cmdlet-db101\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d1748674-9caa-47e2-8461-c417f1209385" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "d8cf2497-c2f0-4002-ad2d-6c482c2378e0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190107Z:d8cf2497-c2f0-4002-ad2d-6c482c2378e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:07 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets101", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "261257742eb01cb68d165cb2210296d7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:14 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/261257742eb01cb68d165cb2210296d7", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzI2MTI1Nzc0MmViMDFjYjY4ZDE2NWNiMjIxMDI5NmQ3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 26125774-2eb0-1cb6-8d16-5cb2210296d7\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "54c3d8ceaa7611bebf188a06cfc7942e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:01:16 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableDatabaseAuditing.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableDatabaseAuditing.json new file mode 100644 index 000000000000..59395ed62e33 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableDatabaseAuditing.json @@ -0,0 +1,2128 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets901\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "685" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b7f3a5872e111a1c883b97e4ba7400e7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:25 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets901" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/b7f3a5872e111a1c883b97e4ba7400e7", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2I3ZjNhNTg3MmUxMTFhMWM4ODNiOTdlNGJhNzQwMGU3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "685" + ] + }, + "ResponseBody": "\r\n b7f3a587-2e11-1a1c-883b-97e4ba7400e7\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f0fbefaa92df1481933372651410178e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:25 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/b7f3a5872e111a1c883b97e4ba7400e7", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2I3ZjNhNTg3MmUxMTFhMWM4ODNiOTdlNGJhNzQwMGU3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "685" + ] + }, + "ResponseBody": "\r\n b7f3a587-2e11-1a1c-883b-97e4ba7400e7\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "c0cda5a8d6ec19aa9b2c5e24e2ef73b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31861" + ], + "x-ms-request-id": [ + "68edee26-854f-4c79-8cec-b366f63be497" + ], + "x-ms-correlation-request-id": [ + "68edee26-854f-4c79-8cec-b366f63be497" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192656Z:68edee26-854f-4c79-8cec-b366f63be497" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:56 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901\",\r\n \"name\": \"sql-audit-cmdlet-test-rg901\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-request-id": [ + "e151b2e8-0839-4ef1-8651-6dfc8c64f24f" + ], + "x-ms-correlation-request-id": [ + "e151b2e8-0839-4ef1-8651-6dfc8c64f24f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192658Z:e151b2e8-0839-4ef1-8651-6dfc8c64f24f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:58 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:27:00.2684815Z\",\r\n \"correlationId\": \"3bc6bb37-0f81-4446-acc5-91877d82487b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "3bc6bb37-0f81-4446-acc5-91877d82487b" + ], + "x-ms-correlation-request-id": [ + "3bc6bb37-0f81-4446-acc5-91877d82487b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192700Z:3bc6bb37-0f81-4446-acc5-91877d82487b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:26:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:27:02.7682467Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1180" + ], + "x-ms-request-id": [ + "7e93f869-4ed7-487c-b67b-df39998ec821" + ], + "x-ms-correlation-request-id": [ + "7e93f869-4ed7-487c-b67b-df39998ec821" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192703Z:7e93f869-4ed7-487c-b67b-df39998ec821" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:03 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31860" + ], + "x-ms-request-id": [ + "ab828e1e-1265-4391-9738-7390d7181497" + ], + "x-ms-correlation-request-id": [ + "ab828e1e-1265-4391-9738-7390d7181497" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192704Z:ab828e1e-1265-4391-9738-7390d7181497" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31858" + ], + "x-ms-request-id": [ + "4a44914f-8c24-4bba-8e97-20fe738f7a69" + ], + "x-ms-correlation-request-id": [ + "4a44914f-8c24-4bba-8e97-20fe738f7a69" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192708Z:4a44914f-8c24-4bba-8e97-20fe738f7a69" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "77bb15c9-b3fb-41ab-aa2b-9c373f7fb5fb" + ], + "x-ms-correlation-request-id": [ + "77bb15c9-b3fb-41ab-aa2b-9c373f7fb5fb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192712Z:77bb15c9-b3fb-41ab-aa2b-9c373f7fb5fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31854" + ], + "x-ms-request-id": [ + "cb62b165-4a80-44ae-97ed-563d25c373e6" + ], + "x-ms-correlation-request-id": [ + "cb62b165-4a80-44ae-97ed-563d25c373e6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192716Z:cb62b165-4a80-44ae-97ed-563d25c373e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31852" + ], + "x-ms-request-id": [ + "847c4c42-e360-4aa9-8790-3fafe5b35b40" + ], + "x-ms-correlation-request-id": [ + "847c4c42-e360-4aa9-8790-3fafe5b35b40" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192720Z:847c4c42-e360-4aa9-8790-3fafe5b35b40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31850" + ], + "x-ms-request-id": [ + "9e17a214-95e6-4bd2-8ce4-de5b15980257" + ], + "x-ms-correlation-request-id": [ + "9e17a214-95e6-4bd2-8ce4-de5b15980257" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192724Z:9e17a214-95e6-4bd2-8ce4-de5b15980257" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], + "x-ms-request-id": [ + "d54f55b1-1ca3-488d-abfe-edbd08157650" + ], + "x-ms-correlation-request-id": [ + "d54f55b1-1ca3-488d-abfe-edbd08157650" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192728Z:d54f55b1-1ca3-488d-abfe-edbd08157650" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31846" + ], + "x-ms-request-id": [ + "f02d62de-173b-49e4-b3bb-1b6949d5224b" + ], + "x-ms-correlation-request-id": [ + "f02d62de-173b-49e4-b3bb-1b6949d5224b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192732Z:f02d62de-173b-49e4-b3bb-1b6949d5224b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31844" + ], + "x-ms-request-id": [ + "97cd245e-fae1-4e7b-b091-063f50f28fd4" + ], + "x-ms-correlation-request-id": [ + "97cd245e-fae1-4e7b-b091-063f50f28fd4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192736Z:97cd245e-fae1-4e7b-b091-063f50f28fd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31842" + ], + "x-ms-request-id": [ + "ddfed097-88f5-4c39-9222-675531137c30" + ], + "x-ms-correlation-request-id": [ + "ddfed097-88f5-4c39-9222-675531137c30" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192740Z:ddfed097-88f5-4c39-9222-675531137c30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31840" + ], + "x-ms-request-id": [ + "799c2235-9b10-4459-8271-216caf40c35f" + ], + "x-ms-correlation-request-id": [ + "799c2235-9b10-4459-8271-216caf40c35f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192744Z:799c2235-9b10-4459-8271-216caf40c35f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31838" + ], + "x-ms-request-id": [ + "a513aaee-0d35-4c76-9b6d-00c4788b4b00" + ], + "x-ms-correlation-request-id": [ + "a513aaee-0d35-4c76-9b6d-00c4788b4b00" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192748Z:a513aaee-0d35-4c76-9b6d-00c4788b4b00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31836" + ], + "x-ms-request-id": [ + "54c57873-4967-483e-bab1-ca24b369338d" + ], + "x-ms-correlation-request-id": [ + "54c57873-4967-483e-bab1-ca24b369338d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192752Z:54c57873-4967-483e-bab1-ca24b369338d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31834" + ], + "x-ms-request-id": [ + "d32113e5-4d2c-4042-8469-165139a57e60" + ], + "x-ms-correlation-request-id": [ + "d32113e5-4d2c-4042-8469-165139a57e60" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192756Z:d32113e5-4d2c-4042-8469-165139a57e60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations/22921F90E69AEB5F\",\r\n \"operationId\": \"22921F90E69AEB5F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:27:58.5723747Z\",\r\n \"trackingId\": \"3532a258-aa2d-42c0-99d7-df820a4535fa\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31832" + ], + "x-ms-request-id": [ + "9ab922bc-b9f5-480f-8058-d1ade4ddf989" + ], + "x-ms-correlation-request-id": [ + "9ab922bc-b9f5-480f-8058-d1ade4ddf989" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192800Z:9ab922bc-b9f5-480f-8058-d1ade4ddf989" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations/18494D92D3E5A133\",\r\n \"operationId\": \"18494D92D3E5A133\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:28:03.7119865Z\",\r\n \"trackingId\": \"a1cd53ba-1250-4c78-9c98-e76b9d7dffd8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations/22921F90E69AEB5F\",\r\n \"operationId\": \"22921F90E69AEB5F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:27:58.5723747Z\",\r\n \"trackingId\": \"3532a258-aa2d-42c0-99d7-df820a4535fa\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31830" + ], + "x-ms-request-id": [ + "6e482824-d094-41f6-b2d1-dbb3f11db8e1" + ], + "x-ms-correlation-request-id": [ + "6e482824-d094-41f6-b2d1-dbb3f11db8e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192804Z:6e482824-d094-41f6-b2d1-dbb3f11db8e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations/18494D92D3E5A133\",\r\n \"operationId\": \"18494D92D3E5A133\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:28:03.7119865Z\",\r\n \"trackingId\": \"a1cd53ba-1250-4c78-9c98-e76b9d7dffd8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup/operations/22921F90E69AEB5F\",\r\n \"operationId\": \"22921F90E69AEB5F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:27:58.5723747Z\",\r\n \"trackingId\": \"3532a258-aa2d-42c0-99d7-df820a4535fa\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31828" + ], + "x-ms-request-id": [ + "6b573e17-7ad8-49f5-bcd7-b9a1262b37a2" + ], + "x-ms-correlation-request-id": [ + "6b573e17-7ad8-49f5-bcd7-b9a1262b37a2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192809Z:6b573e17-7ad8-49f5-bcd7-b9a1262b37a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:27:02.7682467Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31859" + ], + "x-ms-request-id": [ + "6cfd0ebd-0969-4f2d-a105-a784289880ff" + ], + "x-ms-correlation-request-id": [ + "6cfd0ebd-0969-4f2d-a105-a784289880ff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192705Z:6cfd0ebd-0969-4f2d-a105-a784289880ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31857" + ], + "x-ms-request-id": [ + "e0026346-d256-4cef-a8df-7f19922656d3" + ], + "x-ms-correlation-request-id": [ + "e0026346-d256-4cef-a8df-7f19922656d3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192709Z:e0026346-d256-4cef-a8df-7f19922656d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31855" + ], + "x-ms-request-id": [ + "73d67642-d3d6-41bf-9d23-25c3e41ad01a" + ], + "x-ms-correlation-request-id": [ + "73d67642-d3d6-41bf-9d23-25c3e41ad01a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192713Z:73d67642-d3d6-41bf-9d23-25c3e41ad01a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31853" + ], + "x-ms-request-id": [ + "fcd10a3d-d206-42b6-84aa-036c749cd8f3" + ], + "x-ms-correlation-request-id": [ + "fcd10a3d-d206-42b6-84aa-036c749cd8f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192717Z:fcd10a3d-d206-42b6-84aa-036c749cd8f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31851" + ], + "x-ms-request-id": [ + "247428ed-b842-4f89-8891-dfaadd0aaa9f" + ], + "x-ms-correlation-request-id": [ + "247428ed-b842-4f89-8891-dfaadd0aaa9f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192721Z:247428ed-b842-4f89-8891-dfaadd0aaa9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31849" + ], + "x-ms-request-id": [ + "963508ff-7cb4-46b1-90eb-ea3fa042d042" + ], + "x-ms-correlation-request-id": [ + "963508ff-7cb4-46b1-90eb-ea3fa042d042" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192725Z:963508ff-7cb4-46b1-90eb-ea3fa042d042" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31847" + ], + "x-ms-request-id": [ + "ea94f3ce-126b-4165-92fe-57b368b73448" + ], + "x-ms-correlation-request-id": [ + "ea94f3ce-126b-4165-92fe-57b368b73448" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192729Z:ea94f3ce-126b-4165-92fe-57b368b73448" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], + "x-ms-request-id": [ + "fc8bfeaa-b09c-42de-921d-1d4ea35b4915" + ], + "x-ms-correlation-request-id": [ + "fc8bfeaa-b09c-42de-921d-1d4ea35b4915" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192733Z:fc8bfeaa-b09c-42de-921d-1d4ea35b4915" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31843" + ], + "x-ms-request-id": [ + "1f297e8b-77d5-416b-bb92-f45bf22d6fa7" + ], + "x-ms-correlation-request-id": [ + "1f297e8b-77d5-416b-bb92-f45bf22d6fa7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192737Z:1f297e8b-77d5-416b-bb92-f45bf22d6fa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31841" + ], + "x-ms-request-id": [ + "c2a61fca-d582-4971-875d-beb2c2d6675d" + ], + "x-ms-correlation-request-id": [ + "c2a61fca-d582-4971-875d-beb2c2d6675d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192741Z:c2a61fca-d582-4971-875d-beb2c2d6675d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" + ], + "x-ms-request-id": [ + "c5bdf69a-697c-438c-beb2-d75ea3a56b76" + ], + "x-ms-correlation-request-id": [ + "c5bdf69a-697c-438c-beb2-d75ea3a56b76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192745Z:c5bdf69a-697c-438c-beb2-d75ea3a56b76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31837" + ], + "x-ms-request-id": [ + "af982272-7efe-4b51-809d-78a6671a3725" + ], + "x-ms-correlation-request-id": [ + "af982272-7efe-4b51-809d-78a6671a3725" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192749Z:af982272-7efe-4b51-809d-78a6671a3725" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31835" + ], + "x-ms-request-id": [ + "c255998e-6e68-46df-8c55-8e958f54f2e7" + ], + "x-ms-correlation-request-id": [ + "c255998e-6e68-46df-8c55-8e958f54f2e7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192753Z:c255998e-6e68-46df-8c55-8e958f54f2e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31833" + ], + "x-ms-request-id": [ + "dd5f8d87-e43c-4ad4-aae4-d75115b940fb" + ], + "x-ms-correlation-request-id": [ + "dd5f8d87-e43c-4ad4-aae4-d75115b940fb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192757Z:dd5f8d87-e43c-4ad4-aae4-d75115b940fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:27:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31831" + ], + "x-ms-request-id": [ + "ca2dcf9b-8eb7-4eee-879e-ca3676179832" + ], + "x-ms-correlation-request-id": [ + "ca2dcf9b-8eb7-4eee-879e-ca3676179832" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192801Z:ca2dcf9b-8eb7-4eee-879e-ca3676179832" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:27:05.1549256Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31829" + ], + "x-ms-request-id": [ + "c62b6a76-e465-4181-90e6-d4daf9d6ef0d" + ], + "x-ms-correlation-request-id": [ + "c62b6a76-e465-4181-90e6-d4daf9d6ef0d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192805Z:c62b6a76-e465-4181-90e6-d4daf9d6ef0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db901\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server901\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:28:07.0495502Z\",\r\n \"correlationId\": \"7e93f869-4ed7-487c-b67b-df39998ec821\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31827" + ], + "x-ms-request-id": [ + "580cc1a1-c283-4fc8-8dfb-1cfdd843426d" + ], + "x-ms-correlation-request-id": [ + "580cc1a1-c283-4fc8-8dfb-1cfdd843426d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192809Z:580cc1a1-c283-4fc8-8dfb-1cfdd843426d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901\",\r\n \"name\": \"sql-audit-cmdlet-server901\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databases/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-server901/sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31826" + ], + "x-ms-request-id": [ + "c26237fd-6f3b-4ced-90ee-47cc0dc0daab" + ], + "x-ms-correlation-request-id": [ + "c26237fd-6f3b-4ced-90ee-47cc0dc0daab" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192812Z:c26237fd-6f3b-4ced-90ee-47cc0dc0daab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31828" + ], + "x-ms-request-id": [ + "2fb34c06-f107-425d-b42f-18607b3a149c" + ], + "x-ms-correlation-request-id": [ + "2fb34c06-f107-425d-b42f-18607b3a149c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192813Z:2fb34c06-f107-425d-b42f-18607b3a149c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyOTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiOTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "95e50dab-2c34-4483-8b73-113c0f79a009-2014-09-17 19:28:14Z" + ], + "x-ms-client-request-id": [ + "4171de0b-7c72-496b-bf1c-b6eab2770257-2014-09-17 19:28:14Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;User ID={0}@sql-audit-cmdlet-server901;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;Uid={0}@sql-audit-cmdlet-server901;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server901.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db901\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db901\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server901\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db901\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server901.database.secure.windows.net:1433;database=sql-audit-cmdlet-db901;user={0}@sql-audit-cmdlet-server901;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server901.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a75dd6c3-833d-48a8-8a5a-565efe8c199a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31827" + ], + "x-ms-correlation-request-id": [ + "3aff3a9c-3011-490c-b341-f52342aa935b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192816Z:3aff3a9c-3011-490c-b341-f52342aa935b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyOTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiOTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "95e50dab-2c34-4483-8b73-113c0f79a009-2014-09-17 19:28:14Z" + ], + "x-ms-client-request-id": [ + "1e9a0b6d-8a0e-4bce-aeda-750bcdaa0c24-2014-09-17 19:28:22Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;User ID={0}@sql-audit-cmdlet-server901;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;Uid={0}@sql-audit-cmdlet-server901;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server901.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db901\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db901\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server901\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db901\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server901.database.secure.windows.net:1433;database=sql-audit-cmdlet-db901;user={0}@sql-audit-cmdlet-server901;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server901.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "6876be02-e2f6-4732-87fd-095fca854414" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31826" + ], + "x-ms-correlation-request-id": [ + "1306033d-bf08-43cb-ae6f-5c452d564645" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192824Z:1306033d-bf08-43cb-ae6f-5c452d564645" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:24 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyOTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiOTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "95e50dab-2c34-4483-8b73-113c0f79a009-2014-09-17 19:28:14Z" + ], + "x-ms-client-request-id": [ + "fc7475c1-0e85-494d-82e6-72274ed55c6b-2014-09-17 19:28:27Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;User ID={0}@sql-audit-cmdlet-server901;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db901;Uid={0}@sql-audit-cmdlet-server901;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server901.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db901\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db901\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server901\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db901\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server901.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server901.database.secure.windows.net:1433;database=sql-audit-cmdlet-db901;user={0}@sql-audit-cmdlet-server901;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server901.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "ef0e4526-c387-4c18-be29-68b1e9137e64" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31825" + ], + "x-ms-correlation-request-id": [ + "30f48265-42fc-49ff-80b0-3235a2a2a19b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192831Z:30f48265-42fc-49ff-80b0-3235a2a2a19b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets901\",\r\n \"name\": \"auditcmdlets901\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31825" + ], + "x-ms-request-id": [ + "ec09dec7-6557-42b1-acdf-bb65cdb4648d" + ], + "x-ms-correlation-request-id": [ + "ec09dec7-6557-42b1-acdf-bb65cdb4648d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192817Z:ec09dec7-6557-42b1-acdf-bb65cdb4648d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets901", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzOTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets901\r\n auditcmdlets901\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets901.blob.core.windows.net/\r\n https://auditcmdlets901.queue.core.windows.net/\r\n https://auditcmdlets901.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:26:24Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a4bf13051f161192b30dce8185979823" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets901/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzOTAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets901\r\n \r\n yoazky3ROfg50QqzSiDttVCQJaFawDt/ymj75GrN+TyO5Dn8fhbMJ034ShwxZp0UdTHDRVSGk0sM955VYBr3GQ==\r\n B+dtpvRwDESdthcl77/FuLE+ZKFbSTMO+Ktt0xUkADzBsDOhiSX9UitRtEb0m6dQIDtVwdPxSM0pNZOem9SKJg==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d21c6a49eabe1c009b8b7ed722cdfd2e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyOTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiOTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageAccountKey\": \"yoazky3ROfg50QqzSiDttVCQJaFawDt/ymj75GrN+TyO5Dn8fhbMJ034ShwxZp0UdTHDRVSGk0sM955VYBr3GQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "95e50dab-2c34-4483-8b73-113c0f79a009-2014-09-17 19:28:14Z" + ], + "x-ms-client-request-id": [ + "4171de0b-7c72-496b-bf1c-b6eab2770257-2014-09-17 19:28:14Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageAccountKey\": \"yoazky3ROfg50QqzSiDttVCQJaFawDt/ymj75GrN+TyO5Dn8fhbMJ034ShwxZp0UdTHDRVSGk0sM955VYBr3GQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e65fdeff-9a91-4dfb-be69-8e0172ba577c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1179" + ], + "x-ms-correlation-request-id": [ + "64871117-5e52-4c30-ba5e-f045a135cd62" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192822Z:64871117-5e52-4c30-ba5e-f045a135cd62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:22 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzkwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyOTAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiOTAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "95e50dab-2c34-4483-8b73-113c0f79a009-2014-09-17 19:28:14Z" + ], + "x-ms-client-request-id": [ + "1e9a0b6d-8a0e-4bce-aeda-750bcdaa0c24-2014-09-17 19:28:22Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets901\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets901.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg901/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server901/databaseSecurityPolicies/sql-audit-cmdlet-db901\",\r\n \"name\": \"sql-audit-cmdlet-db901\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "6b6e9c6d-b5f6-40ef-9f27-fc3978d74fa7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-correlation-request-id": [ + "ee6f9270-2c32-4a64-a7f1-573a49699bac" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192827Z:ee6f9270-2c32-4a64-a7f1-573a49699bac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:26 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets901", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzOTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "bd2484de1c171cf78db3ffb65eda7623" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:35 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/bd2484de1c171cf78db3ffb65eda7623", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2JkMjQ4NGRlMWMxNzFjZjc4ZGIzZmZiNjVlZGE3NjIz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n bd2484de-1c17-1cf7-8db3-ffb65eda7623\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b837617422b217448237dbf8ad60281c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:28:35 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableServerAuditing.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableServerAuditing.json new file mode 100644 index 000000000000..585ee232ea54 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestDisableServerAuditing.json @@ -0,0 +1,2050 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets111\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "741" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "126cc8e264341d4baade0790be900779" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:20 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets111" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/126cc8e264341d4baade0790be900779", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzEyNmNjOGUyNjQzNDFkNGJhYWRlMDc5MGJlOTAwNzc5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "741" + ] + }, + "ResponseBody": "\r\n 126cc8e2-6434-1d4b-aade-0790be900779\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ccdd1b4ed0531294ab20ed64ce5ba704" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:20 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/126cc8e264341d4baade0790be900779", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzEyNmNjOGUyNjQzNDFkNGJhYWRlMDc5MGJlOTAwNzc5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "741" + ] + }, + "ResponseBody": "\r\n 126cc8e2-6434-1d4b-aade-0790be900779\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "9bdf273969e71258a748dea70b5ba75b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:51 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31911" + ], + "x-ms-request-id": [ + "daf932d6-2a64-4e38-873c-1d7b9782423f" + ], + "x-ms-correlation-request-id": [ + "daf932d6-2a64-4e38-873c-1d7b9782423f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192952Z:daf932d6-2a64-4e38-873c-1d7b9782423f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:52 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111\",\r\n \"name\": \"sql-audit-cmdlet-test-rg111\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-request-id": [ + "e2ae99b8-afed-4cb7-aa9e-cffde6ea20c9" + ], + "x-ms-correlation-request-id": [ + "e2ae99b8-afed-4cb7-aa9e-cffde6ea20c9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192955Z:e2ae99b8-afed-4cb7-aa9e-cffde6ea20c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:55 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:29:56.6861643Z\",\r\n \"correlationId\": \"32d1e203-4b7f-470b-ae0a-97abc5458b7f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-request-id": [ + "32d1e203-4b7f-470b-ae0a-97abc5458b7f" + ], + "x-ms-correlation-request-id": [ + "32d1e203-4b7f-470b-ae0a-97abc5458b7f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192956Z:32d1e203-4b7f-470b-ae0a-97abc5458b7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:29:59.0747626Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-request-id": [ + "ff623a13-955d-49c2-b94b-e8f02d504ab4" + ], + "x-ms-correlation-request-id": [ + "ff623a13-955d-49c2-b94b-e8f02d504ab4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192959Z:ff623a13-955d-49c2-b94b-e8f02d504ab4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:29:58 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31910" + ], + "x-ms-request-id": [ + "300ffa62-5a6f-44de-8dbb-0c42830e0044" + ], + "x-ms-correlation-request-id": [ + "300ffa62-5a6f-44de-8dbb-0c42830e0044" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193000Z:300ffa62-5a6f-44de-8dbb-0c42830e0044" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31908" + ], + "x-ms-request-id": [ + "2b54bcb3-f9e9-499e-8bba-5ba73418bf56" + ], + "x-ms-correlation-request-id": [ + "2b54bcb3-f9e9-499e-8bba-5ba73418bf56" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193005Z:2b54bcb3-f9e9-499e-8bba-5ba73418bf56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31906" + ], + "x-ms-request-id": [ + "7cef3430-0ff9-42c6-ae71-f7879ba82267" + ], + "x-ms-correlation-request-id": [ + "7cef3430-0ff9-42c6-ae71-f7879ba82267" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193009Z:7cef3430-0ff9-42c6-ae71-f7879ba82267" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31904" + ], + "x-ms-request-id": [ + "e5ceeeb7-6083-4369-b332-5f4cf9291892" + ], + "x-ms-correlation-request-id": [ + "e5ceeeb7-6083-4369-b332-5f4cf9291892" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193013Z:e5ceeeb7-6083-4369-b332-5f4cf9291892" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31902" + ], + "x-ms-request-id": [ + "59f6485f-10f7-4260-a5c4-b6092465f5d6" + ], + "x-ms-correlation-request-id": [ + "59f6485f-10f7-4260-a5c4-b6092465f5d6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193017Z:59f6485f-10f7-4260-a5c4-b6092465f5d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31900" + ], + "x-ms-request-id": [ + "8d66ae0c-7826-445c-a013-462b8a359cca" + ], + "x-ms-correlation-request-id": [ + "8d66ae0c-7826-445c-a013-462b8a359cca" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193021Z:8d66ae0c-7826-445c-a013-462b8a359cca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31898" + ], + "x-ms-request-id": [ + "c05ec047-ea15-493b-8afb-21ee70676188" + ], + "x-ms-correlation-request-id": [ + "c05ec047-ea15-493b-8afb-21ee70676188" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193025Z:c05ec047-ea15-493b-8afb-21ee70676188" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31896" + ], + "x-ms-request-id": [ + "5fcaf075-c2ad-4620-bb95-e6143521b708" + ], + "x-ms-correlation-request-id": [ + "5fcaf075-c2ad-4620-bb95-e6143521b708" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193029Z:5fcaf075-c2ad-4620-bb95-e6143521b708" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31894" + ], + "x-ms-request-id": [ + "5c484fbc-13a1-4ffa-ab4c-8ec7616de801" + ], + "x-ms-correlation-request-id": [ + "5c484fbc-13a1-4ffa-ab4c-8ec7616de801" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193035Z:5c484fbc-13a1-4ffa-ab4c-8ec7616de801" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-request-id": [ + "0689bdd3-532b-4e66-a4ed-bb07d981ba9b" + ], + "x-ms-correlation-request-id": [ + "0689bdd3-532b-4e66-a4ed-bb07d981ba9b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193040Z:0689bdd3-532b-4e66-a4ed-bb07d981ba9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-request-id": [ + "f332c42b-4c29-43bf-a49b-f07962fcb63f" + ], + "x-ms-correlation-request-id": [ + "f332c42b-4c29-43bf-a49b-f07962fcb63f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193044Z:f332c42b-4c29-43bf-a49b-f07962fcb63f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-request-id": [ + "866214e1-777d-41bc-9141-bc9a6a3986db" + ], + "x-ms-correlation-request-id": [ + "866214e1-777d-41bc-9141-bc9a6a3986db" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193049Z:866214e1-777d-41bc-9141-bc9a6a3986db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "9e104a7c-a807-4841-87c7-39a1f428491c" + ], + "x-ms-correlation-request-id": [ + "9e104a7c-a807-4841-87c7-39a1f428491c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193054Z:9e104a7c-a807-4841-87c7-39a1f428491c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations/2BBF7A4A4AF5C0C8\",\r\n \"operationId\": \"2BBF7A4A4AF5C0C8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:30:55.6464441Z\",\r\n \"trackingId\": \"492a84dd-558c-4bcd-b495-ba9eb8a5af73\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], + "x-ms-request-id": [ + "6d039811-4362-4abc-bcbc-d983373529c7" + ], + "x-ms-correlation-request-id": [ + "6d039811-4362-4abc-bcbc-d983373529c7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193059Z:6d039811-4362-4abc-bcbc-d983373529c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations/7DE63A476CAF8C90\",\r\n \"operationId\": \"7DE63A476CAF8C90\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:31:01.7533166Z\",\r\n \"trackingId\": \"270f43ff-5609-4bc9-a833-2a0ebb79f82a\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations/2BBF7A4A4AF5C0C8\",\r\n \"operationId\": \"2BBF7A4A4AF5C0C8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:30:55.6464441Z\",\r\n \"trackingId\": \"492a84dd-558c-4bcd-b495-ba9eb8a5af73\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31882" + ], + "x-ms-request-id": [ + "b1525aef-f542-4e7a-b782-e2396ba38a10" + ], + "x-ms-correlation-request-id": [ + "b1525aef-f542-4e7a-b782-e2396ba38a10" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193103Z:b1525aef-f542-4e7a-b782-e2396ba38a10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations/7DE63A476CAF8C90\",\r\n \"operationId\": \"7DE63A476CAF8C90\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:31:01.7533166Z\",\r\n \"trackingId\": \"270f43ff-5609-4bc9-a833-2a0ebb79f82a\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup/operations/2BBF7A4A4AF5C0C8\",\r\n \"operationId\": \"2BBF7A4A4AF5C0C8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:30:55.6464441Z\",\r\n \"trackingId\": \"492a84dd-558c-4bcd-b495-ba9eb8a5af73\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" + ], + "x-ms-request-id": [ + "c95a8632-4671-45b9-8382-bbd183675893" + ], + "x-ms-correlation-request-id": [ + "c95a8632-4671-45b9-8382-bbd183675893" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193107Z:c95a8632-4671-45b9-8382-bbd183675893" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:29:59.0747626Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31909" + ], + "x-ms-request-id": [ + "4bb651de-591f-4e65-ab2a-4bc5b9ba81e8" + ], + "x-ms-correlation-request-id": [ + "4bb651de-591f-4e65-ab2a-4bc5b9ba81e8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193001Z:4bb651de-591f-4e65-ab2a-4bc5b9ba81e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31907" + ], + "x-ms-request-id": [ + "0616745c-c0a2-4f6a-bf25-0059c9df07d2" + ], + "x-ms-correlation-request-id": [ + "0616745c-c0a2-4f6a-bf25-0059c9df07d2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193006Z:0616745c-c0a2-4f6a-bf25-0059c9df07d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31905" + ], + "x-ms-request-id": [ + "768177c4-db6d-458e-8bc4-35a85de72c9a" + ], + "x-ms-correlation-request-id": [ + "768177c4-db6d-458e-8bc4-35a85de72c9a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193010Z:768177c4-db6d-458e-8bc4-35a85de72c9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31903" + ], + "x-ms-request-id": [ + "c90e8a01-583a-43f4-90b3-8029ff33cb02" + ], + "x-ms-correlation-request-id": [ + "c90e8a01-583a-43f4-90b3-8029ff33cb02" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193014Z:c90e8a01-583a-43f4-90b3-8029ff33cb02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31901" + ], + "x-ms-request-id": [ + "b1b6e6ef-3a6a-447c-b131-e458f924d169" + ], + "x-ms-correlation-request-id": [ + "b1b6e6ef-3a6a-447c-b131-e458f924d169" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193018Z:b1b6e6ef-3a6a-447c-b131-e458f924d169" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31899" + ], + "x-ms-request-id": [ + "f25cb222-1161-4474-8ecd-afcd83e0f52b" + ], + "x-ms-correlation-request-id": [ + "f25cb222-1161-4474-8ecd-afcd83e0f52b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193022Z:f25cb222-1161-4474-8ecd-afcd83e0f52b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31897" + ], + "x-ms-request-id": [ + "28382576-f05a-462c-adbf-d848e06c4680" + ], + "x-ms-correlation-request-id": [ + "28382576-f05a-462c-adbf-d848e06c4680" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193026Z:28382576-f05a-462c-adbf-d848e06c4680" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31895" + ], + "x-ms-request-id": [ + "f88db0bd-7b6e-4191-ac4c-e5d5533ee000" + ], + "x-ms-correlation-request-id": [ + "f88db0bd-7b6e-4191-ac4c-e5d5533ee000" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193030Z:f88db0bd-7b6e-4191-ac4c-e5d5533ee000" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-request-id": [ + "fa53c4cc-e0ec-44e0-bff4-d008a428fa8e" + ], + "x-ms-correlation-request-id": [ + "fa53c4cc-e0ec-44e0-bff4-d008a428fa8e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193036Z:fa53c4cc-e0ec-44e0-bff4-d008a428fa8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-request-id": [ + "01083968-2c94-4f1d-9377-51202131fcbf" + ], + "x-ms-correlation-request-id": [ + "01083968-2c94-4f1d-9377-51202131fcbf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193041Z:01083968-2c94-4f1d-9377-51202131fcbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31889" + ], + "x-ms-request-id": [ + "2143012e-a142-49f5-a298-65b54d8ce867" + ], + "x-ms-correlation-request-id": [ + "2143012e-a142-49f5-a298-65b54d8ce867" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193045Z:2143012e-a142-49f5-a298-65b54d8ce867" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "d22ccb89-b8ec-4a73-a4d6-c9b51ec70e79" + ], + "x-ms-correlation-request-id": [ + "d22ccb89-b8ec-4a73-a4d6-c9b51ec70e79" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193050Z:d22ccb89-b8ec-4a73-a4d6-c9b51ec70e79" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31885" + ], + "x-ms-request-id": [ + "59100e2e-972c-499a-a8fa-457f41fd0c63" + ], + "x-ms-correlation-request-id": [ + "59100e2e-972c-499a-a8fa-457f41fd0c63" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193055Z:59100e2e-972c-499a-a8fa-457f41fd0c63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31883" + ], + "x-ms-request-id": [ + "6d590d56-c553-472b-a6bb-fb34626dbeaa" + ], + "x-ms-correlation-request-id": [ + "6d590d56-c553-472b-a6bb-fb34626dbeaa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193059Z:6d590d56-c553-472b-a6bb-fb34626dbeaa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:30:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:30:01.6015837Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31881" + ], + "x-ms-request-id": [ + "705075b7-83d7-437d-9b0e-30c959860d90" + ], + "x-ms-correlation-request-id": [ + "705075b7-83d7-437d-9b0e-30c959860d90" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193104Z:705075b7-83d7-437d-9b0e-30c959860d90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db111\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server111\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:31:05.291157Z\",\r\n \"correlationId\": \"ff623a13-955d-49c2-b94b-e8f02d504ab4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31879" + ], + "x-ms-request-id": [ + "49c21189-83e2-4116-802a-30c63382a2ac" + ], + "x-ms-correlation-request-id": [ + "49c21189-83e2-4116-802a-30c63382a2ac" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193108Z:49c21189-83e2-4116-802a-30c63382a2ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111\",\r\n \"name\": \"sql-audit-cmdlet-server111\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databases/sql-audit-cmdlet-db111\",\r\n \"name\": \"sql-audit-cmdlet-server111/sql-audit-cmdlet-db111\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31878" + ], + "x-ms-request-id": [ + "7ffbad04-3925-4072-905a-fe73e49f398e" + ], + "x-ms-correlation-request-id": [ + "7ffbad04-3925-4072-905a-fe73e49f398e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193111Z:7ffbad04-3925-4072-905a-fe73e49f398e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31824" + ], + "x-ms-request-id": [ + "871dbeaa-8953-4a65-856c-c6c5be0accd7" + ], + "x-ms-correlation-request-id": [ + "871dbeaa-8953-4a65-856c-c6c5be0accd7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193113Z:871dbeaa-8953-4a65-856c-c6c5be0accd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTExL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b4749db1-3f05-417d-96d4-41008efd974a-2014-09-17 19:31:13Z" + ], + "x-ms-client-request-id": [ + "48e8d57f-3b14-4bb5-91dc-443d19be160a-2014-09-17 19:31:13Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server111;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server111;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server111.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server111\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server111.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server111;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server111.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d9e474ae-58d3-430b-b373-3073086cd983" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31824" + ], + "x-ms-correlation-request-id": [ + "8599b12c-cdab-4745-89d9-535f8a857e4d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193117Z:8599b12c-cdab-4745-89d9-535f8a857e4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTExL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b4749db1-3f05-417d-96d4-41008efd974a-2014-09-17 19:31:13Z" + ], + "x-ms-client-request-id": [ + "d8e713ed-90d4-4f45-ae01-09b5afa24f82-2014-09-17 19:31:23Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server111;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server111;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server111.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server111\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server111.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server111;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server111.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "fe05e7e5-49bf-47ab-98b9-3d8727b68489" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31823" + ], + "x-ms-correlation-request-id": [ + "f434f870-46c3-4e0f-ab5a-f46369969f72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193125Z:f434f870-46c3-4e0f-ab5a-f46369969f72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:24 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTExL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b4749db1-3f05-417d-96d4-41008efd974a-2014-09-17 19:31:13Z" + ], + "x-ms-client-request-id": [ + "366006d4-c159-4224-99dd-587b0c9e8d1e-2014-09-17 19:31:28Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server111;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server111;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server111.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server111\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server111.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server111.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server111;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server111.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "391592d4-fe7a-4615-95ed-1cb0f5512410" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31822" + ], + "x-ms-correlation-request-id": [ + "5845a937-a8fa-44e3-8bea-c0ca266a1150" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193131Z:5845a937-a8fa-44e3-8bea-c0ca266a1150" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets111\",\r\n \"name\": \"auditcmdlets111\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31877" + ], + "x-ms-request-id": [ + "4e4c9ac1-711d-4c0c-b86b-e2dbed901d45" + ], + "x-ms-correlation-request-id": [ + "4e4c9ac1-711d-4c0c-b86b-e2dbed901d45" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193118Z:4e4c9ac1-711d-4c0c-b86b-e2dbed901d45" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets111", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTEx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets111\r\n auditcmdlets111\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets111.blob.core.windows.net/\r\n https://auditcmdlets111.queue.core.windows.net/\r\n https://auditcmdlets111.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:29:20Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b9e9352e212312e7bc6863ef3878be61" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets111/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTExL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets111\r\n \r\n TYFy37kdibb8AoBPfqapCqtJ4za+4orz9BYGKYzo6EeRPjAoVJU7l9a0VuKLA99pL9jRj30IN3GYWe6f3KByaw==\r\n AKfaiG6rPxCHN3Oh626WWnFfFN1hBpF9Bf+CpTwYVuAy0lIJVtD9ER17N0hrB+fBFRoDi8RhifMpbJFXB4T3eA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "1eb438d9a54b11978f8581fb9b9f3e16" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:19 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTExL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageAccountKey\": \"TYFy37kdibb8AoBPfqapCqtJ4za+4orz9BYGKYzo6EeRPjAoVJU7l9a0VuKLA99pL9jRj30IN3GYWe6f3KByaw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b4749db1-3f05-417d-96d4-41008efd974a-2014-09-17 19:31:13Z" + ], + "x-ms-client-request-id": [ + "48e8d57f-3b14-4bb5-91dc-443d19be160a-2014-09-17 19:31:13Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageAccountKey\": \"TYFy37kdibb8AoBPfqapCqtJ4za+4orz9BYGKYzo6EeRPjAoVJU7l9a0VuKLA99pL9jRj30IN3GYWe6f3KByaw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "b1c42e2e-bc6a-40da-97ae-543435dd490b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1179" + ], + "x-ms-correlation-request-id": [ + "33885ee9-5627-4617-937b-a82ae0cba226" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193122Z:33885ee9-5627-4617-937b-a82ae0cba226" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:22 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzExMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTExL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b4749db1-3f05-417d-96d4-41008efd974a-2014-09-17 19:31:13Z" + ], + "x-ms-client-request-id": [ + "d8e713ed-90d4-4f45-ae01-09b5afa24f82-2014-09-17 19:31:23Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets111\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets111.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg111/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server111/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "957285e8-4798-4299-965d-2618dae63c48" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-correlation-request-id": [ + "64e46bb3-b102-4ec4-8000-2cd455cbc9cd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193128Z:64e46bb3-b102-4ec4-8000-2cd455cbc9cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets111", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTEx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b645c465a2cf1bfb9719e51a33b1a3f7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:35 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/b645c465a2cf1bfb9719e51a33b1a3f7", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2I2NDVjNDY1YTJjZjFiZmI5NzE5ZTUxYTMzYjFhM2Y3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n b645c465-a2cf-1bfb-9719-e51a33b1a3f7\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "7c941dc052d6189fbe39de719a2756e4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:31:36 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadDatabaseIndentity.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadDatabaseIndentity.json new file mode 100644 index 000000000000..26edb480d6c4 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadDatabaseIndentity.json @@ -0,0 +1,1926 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets181\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "337" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "6bccc2a54fb11b31aaaa3c6c45656abe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:22 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets181" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6bccc2a54fb11b31aaaa3c6c45656abe", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzZiY2NjMmE1NGZiMTFiMzFhYWFhM2M2YzQ1NjU2YWJl", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "337" + ] + }, + "ResponseBody": "\r\n 6bccc2a5-4fb1-1b31-aaaa-3c6c45656abe\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "469290d7b6951c87a20599856dadb777" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:22 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6bccc2a54fb11b31aaaa3c6c45656abe", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzZiY2NjMmE1NGZiMTFiMzFhYWFhM2M2YzQ1NjU2YWJl", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "337" + ] + }, + "ResponseBody": "\r\n 6bccc2a5-4fb1-1b31-aaaa-3c6c45656abe\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "662c31a5a23312c3b3617780778a62bf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:52 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "a4f595b4-7cd1-4e35-b129-447f14c3d0cf" + ], + "x-ms-correlation-request-id": [ + "a4f595b4-7cd1-4e35-b129-447f14c3d0cf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190854Z:a4f595b4-7cd1-4e35-b129-447f14c3d0cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:54 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181\",\r\n \"name\": \"sql-audit-cmdlet-test-rg181\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "f052ca80-dfb9-4cb8-af30-405485ee2c03" + ], + "x-ms-correlation-request-id": [ + "f052ca80-dfb9-4cb8-af30-405485ee2c03" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190856Z:f052ca80-dfb9-4cb8-af30-405485ee2c03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:56 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:08:58.1935533Z\",\r\n \"correlationId\": \"3dceb40f-3991-49aa-ab6c-204a7a11f768\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "3dceb40f-3991-49aa-ab6c-204a7a11f768" + ], + "x-ms-correlation-request-id": [ + "3dceb40f-3991-49aa-ab6c-204a7a11f768" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190858Z:3dceb40f-3991-49aa-ab6c-204a7a11f768" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:08:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:09:00.5434397Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "43d1f50a-02c3-4bbf-bbd2-229394a6326e" + ], + "x-ms-correlation-request-id": [ + "43d1f50a-02c3-4bbf-bbd2-229394a6326e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190901Z:43d1f50a-02c3-4bbf-bbd2-229394a6326e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:01 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "fa2c1561-bbca-43ac-a9a8-d6e27e9b4091" + ], + "x-ms-correlation-request-id": [ + "fa2c1561-bbca-43ac-a9a8-d6e27e9b4091" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190902Z:fa2c1561-bbca-43ac-a9a8-d6e27e9b4091" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "94bed65a-08d5-405d-9787-0e6d5ad35d3c" + ], + "x-ms-correlation-request-id": [ + "94bed65a-08d5-405d-9787-0e6d5ad35d3c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190906Z:94bed65a-08d5-405d-9787-0e6d5ad35d3c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31956" + ], + "x-ms-request-id": [ + "33597871-0d67-4379-a7ed-ca23d059f4ef" + ], + "x-ms-correlation-request-id": [ + "33597871-0d67-4379-a7ed-ca23d059f4ef" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190910Z:33597871-0d67-4379-a7ed-ca23d059f4ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31954" + ], + "x-ms-request-id": [ + "bc9c9770-74aa-4ca9-811d-03aae6593512" + ], + "x-ms-correlation-request-id": [ + "bc9c9770-74aa-4ca9-811d-03aae6593512" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190914Z:bc9c9770-74aa-4ca9-811d-03aae6593512" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31952" + ], + "x-ms-request-id": [ + "a80cb00b-63ef-4f36-87ae-c0e014e9a150" + ], + "x-ms-correlation-request-id": [ + "a80cb00b-63ef-4f36-87ae-c0e014e9a150" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190918Z:a80cb00b-63ef-4f36-87ae-c0e014e9a150" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31950" + ], + "x-ms-request-id": [ + "d94f0263-3b79-4a4f-a2fa-13cb37e1f44f" + ], + "x-ms-correlation-request-id": [ + "d94f0263-3b79-4a4f-a2fa-13cb37e1f44f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190922Z:d94f0263-3b79-4a4f-a2fa-13cb37e1f44f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-request-id": [ + "72d6e1db-a94f-4033-8ed3-a1294049940b" + ], + "x-ms-correlation-request-id": [ + "72d6e1db-a94f-4033-8ed3-a1294049940b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190927Z:72d6e1db-a94f-4033-8ed3-a1294049940b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31946" + ], + "x-ms-request-id": [ + "c25e93b0-5381-4acb-a1ae-840392191f8c" + ], + "x-ms-correlation-request-id": [ + "c25e93b0-5381-4acb-a1ae-840392191f8c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190931Z:c25e93b0-5381-4acb-a1ae-840392191f8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31944" + ], + "x-ms-request-id": [ + "a87d0904-6793-4350-a8bf-15a7c0bc68e1" + ], + "x-ms-correlation-request-id": [ + "a87d0904-6793-4350-a8bf-15a7c0bc68e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190935Z:a87d0904-6793-4350-a8bf-15a7c0bc68e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "e5140433-04ab-4f8e-af1d-84b5522ad48d" + ], + "x-ms-correlation-request-id": [ + "e5140433-04ab-4f8e-af1d-84b5522ad48d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190939Z:e5140433-04ab-4f8e-af1d-84b5522ad48d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "83faf9a1-5341-416c-b3ad-12feecb0e9ff" + ], + "x-ms-correlation-request-id": [ + "83faf9a1-5341-416c-b3ad-12feecb0e9ff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190943Z:83faf9a1-5341-416c-b3ad-12feecb0e9ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "002606c0-68f3-435c-9b05-5a78edce48ba" + ], + "x-ms-correlation-request-id": [ + "002606c0-68f3-435c-9b05-5a78edce48ba" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190947Z:002606c0-68f3-435c-9b05-5a78edce48ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-request-id": [ + "ec041ad9-e701-4a7c-878e-ef19937902f5" + ], + "x-ms-correlation-request-id": [ + "ec041ad9-e701-4a7c-878e-ef19937902f5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190951Z:ec041ad9-e701-4a7c-878e-ef19937902f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/6E151FAF5F136184\",\r\n \"operationId\": \"6E151FAF5F136184\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:09:55.6831333Z\",\r\n \"trackingId\": \"c7a879cf-7fa0-483b-a3c3-cd5ba479d5b1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-request-id": [ + "ec44f68e-cac0-4bbe-9622-f97e51ca86aa" + ], + "x-ms-correlation-request-id": [ + "ec44f68e-cac0-4bbe-9622-f97e51ca86aa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190956Z:ec44f68e-cac0-4bbe-9622-f97e51ca86aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/6E151FAF5F136184\",\r\n \"operationId\": \"6E151FAF5F136184\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:09:55.6831333Z\",\r\n \"trackingId\": \"c7a879cf-7fa0-483b-a3c3-cd5ba479d5b1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-request-id": [ + "892e8b29-3971-4132-bc4e-13a3d880ea09" + ], + "x-ms-correlation-request-id": [ + "892e8b29-3971-4132-bc4e-13a3d880ea09" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191000Z:892e8b29-3971-4132-bc4e-13a3d880ea09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/93D955A3559F694A\",\r\n \"operationId\": \"93D955A3559F694A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:10:02.4479288Z\",\r\n \"trackingId\": \"c80c379d-b720-4308-9cd1-e6e2160ec0ed\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/6E151FAF5F136184\",\r\n \"operationId\": \"6E151FAF5F136184\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:09:55.6831333Z\",\r\n \"trackingId\": \"c7a879cf-7fa0-483b-a3c3-cd5ba479d5b1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31930" + ], + "x-ms-request-id": [ + "a28d472e-e5af-413c-bb0b-db5f708aca8a" + ], + "x-ms-correlation-request-id": [ + "a28d472e-e5af-413c-bb0b-db5f708aca8a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191004Z:a28d472e-e5af-413c-bb0b-db5f708aca8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/93D955A3559F694A\",\r\n \"operationId\": \"93D955A3559F694A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:10:02.4479288Z\",\r\n \"trackingId\": \"c80c379d-b720-4308-9cd1-e6e2160ec0ed\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup/operations/6E151FAF5F136184\",\r\n \"operationId\": \"6E151FAF5F136184\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:09:55.6831333Z\",\r\n \"trackingId\": \"c7a879cf-7fa0-483b-a3c3-cd5ba479d5b1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], + "x-ms-request-id": [ + "5cf530d0-6a97-4fa9-b850-04adfd95b4d9" + ], + "x-ms-correlation-request-id": [ + "5cf530d0-6a97-4fa9-b850-04adfd95b4d9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191008Z:5cf530d0-6a97-4fa9-b850-04adfd95b4d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:09:00.5434397Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "b577edb6-6cc4-4c50-9940-f3823856bc75" + ], + "x-ms-correlation-request-id": [ + "b577edb6-6cc4-4c50-9940-f3823856bc75" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190903Z:b577edb6-6cc4-4c50-9940-f3823856bc75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-request-id": [ + "ec5adf91-d725-496b-897b-ad7d74f881f3" + ], + "x-ms-correlation-request-id": [ + "ec5adf91-d725-496b-897b-ad7d74f881f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190907Z:ec5adf91-d725-496b-897b-ad7d74f881f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" + ], + "x-ms-request-id": [ + "04f1e867-7714-41d6-a998-4355f4e9fe3d" + ], + "x-ms-correlation-request-id": [ + "04f1e867-7714-41d6-a998-4355f4e9fe3d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190911Z:04f1e867-7714-41d6-a998-4355f4e9fe3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31953" + ], + "x-ms-request-id": [ + "b4732137-6910-4c61-936e-aa5f4ae2e575" + ], + "x-ms-correlation-request-id": [ + "b4732137-6910-4c61-936e-aa5f4ae2e575" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190915Z:b4732137-6910-4c61-936e-aa5f4ae2e575" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31951" + ], + "x-ms-request-id": [ + "0f189d20-8cd7-4029-ba4d-da6d4a2eae72" + ], + "x-ms-correlation-request-id": [ + "0f189d20-8cd7-4029-ba4d-da6d4a2eae72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190919Z:0f189d20-8cd7-4029-ba4d-da6d4a2eae72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-request-id": [ + "99f055e8-b251-4e08-8583-fdd54aea5882" + ], + "x-ms-correlation-request-id": [ + "99f055e8-b251-4e08-8583-fdd54aea5882" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190923Z:99f055e8-b251-4e08-8583-fdd54aea5882" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31947" + ], + "x-ms-request-id": [ + "a8725ca9-8efb-4a1b-b6b5-b403c696576c" + ], + "x-ms-correlation-request-id": [ + "a8725ca9-8efb-4a1b-b6b5-b403c696576c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190927Z:a8725ca9-8efb-4a1b-b6b5-b403c696576c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31945" + ], + "x-ms-request-id": [ + "a10f71cd-d749-404f-a81c-8a936945072e" + ], + "x-ms-correlation-request-id": [ + "a10f71cd-d749-404f-a81c-8a936945072e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190932Z:a10f71cd-d749-404f-a81c-8a936945072e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "3272b58b-6ff4-405d-816e-8fb6a611cc6c" + ], + "x-ms-correlation-request-id": [ + "3272b58b-6ff4-405d-816e-8fb6a611cc6c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190936Z:3272b58b-6ff4-405d-816e-8fb6a611cc6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "22d896a2-2bfd-4ee1-ac47-811df17d6c1f" + ], + "x-ms-correlation-request-id": [ + "22d896a2-2bfd-4ee1-ac47-811df17d6c1f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190940Z:22d896a2-2bfd-4ee1-ac47-811df17d6c1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "2c9dff7d-2e47-47d1-b3c7-1c2476976bbf" + ], + "x-ms-correlation-request-id": [ + "2c9dff7d-2e47-47d1-b3c7-1c2476976bbf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190944Z:2c9dff7d-2e47-47d1-b3c7-1c2476976bbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "2e3f0765-cab5-47b8-aeda-4805af805e99" + ], + "x-ms-correlation-request-id": [ + "2e3f0765-cab5-47b8-aeda-4805af805e99" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190948Z:2e3f0765-cab5-47b8-aeda-4805af805e99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-request-id": [ + "f412286b-a4fa-4ea0-b0cc-57677c587a8f" + ], + "x-ms-correlation-request-id": [ + "f412286b-a4fa-4ea0-b0cc-57677c587a8f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190952Z:f412286b-a4fa-4ea0-b0cc-57677c587a8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-request-id": [ + "377628d6-9950-4cc1-81e9-86725df208cd" + ], + "x-ms-correlation-request-id": [ + "377628d6-9950-4cc1-81e9-86725df208cd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190957Z:377628d6-9950-4cc1-81e9-86725df208cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:09:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-request-id": [ + "49ae6e79-6fe8-4cb3-bf61-de58122ac622" + ], + "x-ms-correlation-request-id": [ + "49ae6e79-6fe8-4cb3-bf61-de58122ac622" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191001Z:49ae6e79-6fe8-4cb3-bf61-de58122ac622" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:09:03.3164744Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-request-id": [ + "fc2a852b-7853-4ff6-8487-c4ab468e6575" + ], + "x-ms-correlation-request-id": [ + "fc2a852b-7853-4ff6-8487-c4ab468e6575" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191005Z:fc2a852b-7853-4ff6-8487-c4ab468e6575" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db181\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server181\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:10:06.4793924Z\",\r\n \"correlationId\": \"43d1f50a-02c3-4bbf-bbd2-229394a6326e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31927" + ], + "x-ms-request-id": [ + "78e3d659-1a1c-492a-b3be-cf82361941e2" + ], + "x-ms-correlation-request-id": [ + "78e3d659-1a1c-492a-b3be-cf82361941e2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191009Z:78e3d659-1a1c-492a-b3be-cf82361941e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181\",\r\n \"name\": \"sql-audit-cmdlet-server181\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databases/sql-audit-cmdlet-db181\",\r\n \"name\": \"sql-audit-cmdlet-server181/sql-audit-cmdlet-db181\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "8aa17d19-fda9-449b-a8c6-610a04dadb6e" + ], + "x-ms-correlation-request-id": [ + "8aa17d19-fda9-449b-a8c6-610a04dadb6e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191012Z:8aa17d19-fda9-449b-a8c6-610a04dadb6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" + ], + "x-ms-request-id": [ + "16108949-d70d-4803-9b3e-13673383bd99" + ], + "x-ms-correlation-request-id": [ + "16108949-d70d-4803-9b3e-13673383bd99" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191013Z:16108949-d70d-4803-9b3e-13673383bd99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/NONEXISTING-RG/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databaseSecurityPolicies/sql-audit-cmdlet-db181?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL05PTkVYSVNUSU5HLVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWF1ZGl0LWNtZGxldC1zZXJ2ZXIxODEvZGF0YWJhc2VTZWN1cml0eVBvbGljaWVzL3NxbC1hdWRpdC1jbWRsZXQtZGIxODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "c64235a5-ac9b-4a2c-9146-89beb9fc5c62-2014-09-17 19:10:13Z" + ], + "x-ms-client-request-id": [ + "267f8424-2ceb-470c-854e-e5931eb0e233-2014-09-17 19:10:13Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NONEXISTING-RG' could not be found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8a101757-da98-4333-b591-5c2d3722abaa" + ], + "x-ms-correlation-request-id": [ + "8a101757-da98-4333-b591-5c2d3722abaa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191014Z:8a101757-da98-4333-b591-5c2d3722abaa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:14 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/NONEXISTING-RG/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server181/databaseSecurityPolicies/sql-audit-cmdlet-db181?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL05PTkVYSVNUSU5HLVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWF1ZGl0LWNtZGxldC1zZXJ2ZXIxODEvZGF0YWJhc2VTZWN1cml0eVBvbGljaWVzL3NxbC1hdWRpdC1jbWRsZXQtZGIxODE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "c64235a5-ac9b-4a2c-9146-89beb9fc5c62-2014-09-17 19:10:13Z" + ], + "x-ms-client-request-id": [ + "848ac91c-a19a-49df-a6ca-cb385badceab-2014-09-17 19:10:16Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NONEXISTING-RG' could not be found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "37d1da66-e397-4fb2-be22-b4a8531aed5e" + ], + "x-ms-correlation-request-id": [ + "37d1da66-e397-4fb2-be22-b4a8531aed5e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191016Z:37d1da66-e397-4fb2-be22-b4a8531aed5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:15 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/NONEXISTING-SERVER/databaseSecurityPolicies/sql-audit-cmdlet-db181?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL05PTkVYSVNUSU5HLVNFUlZFUi9kYXRhYmFzZVNlY3VyaXR5UG9saWNpZXMvc3FsLWF1ZGl0LWNtZGxldC1kYjE4MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "c64235a5-ac9b-4a2c-9146-89beb9fc5c62-2014-09-17 19:10:13Z" + ], + "x-ms-client-request-id": [ + "0dc2b27e-7a82-4ec2-a77d-c8ae7ead9050-2014-09-17 19:10:14Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not create nested resource. Parent resource 'NONEXISTING-SERVER' not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "adead093-ca94-4405-8288-096f9fde2b64" + ], + "x-ms-correlation-request-id": [ + "adead093-ca94-4405-8288-096f9fde2b64" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191016Z:adead093-ca94-4405-8288-096f9fde2b64" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:15 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg181/providers/Microsoft.Sql/servers/NONEXISTING-SERVER/databaseSecurityPolicies/sql-audit-cmdlet-db181?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE4MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL05PTkVYSVNUSU5HLVNFUlZFUi9kYXRhYmFzZVNlY3VyaXR5UG9saWNpZXMvc3FsLWF1ZGl0LWNtZGxldC1kYjE4MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "c64235a5-ac9b-4a2c-9146-89beb9fc5c62-2014-09-17 19:10:13Z" + ], + "x-ms-client-request-id": [ + "3e64c416-0506-4bfd-a570-837a7ee5db4c-2014-09-17 19:10:16Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not create nested resource. Parent resource 'NONEXISTING-SERVER' not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "79eb87bd-1a31-432b-84da-a5a4772a9da8" + ], + "x-ms-correlation-request-id": [ + "79eb87bd-1a31-432b-84da-a5a4772a9da8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191017Z:79eb87bd-1a31-432b-84da-a5a4772a9da8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:16 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets181", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTgx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "dea84f7176d3123c8a0a1eae38493751" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:20 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/dea84f7176d3123c8a0a1eae38493751", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2RlYTg0ZjcxNzZkMzEyM2M4YTBhMWVhZTM4NDkzNzUx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n dea84f71-76d3-123c-8a0a-1eae38493751\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "274c2b2292b71ed98718c7987b14e81d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:10:23 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadServerIndentity.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadServerIndentity.json new file mode 100644 index 000000000000..dea3fedc8188 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailWithBadServerIndentity.json @@ -0,0 +1,1926 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets191\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "633" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "9ac1edb572591915bfb78196cee44e3b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:23:38 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets191" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/9ac1edb572591915bfb78196cee44e3b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzlhYzFlZGI1NzI1OTE5MTViZmI3ODE5NmNlZTQ0ZTNi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "633" + ] + }, + "ResponseBody": "\r\n 9ac1edb5-7259-1915-bfb7-8196cee44e3b\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a39a2773a54e14478219b16da9738928" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:23:38 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/9ac1edb572591915bfb78196cee44e3b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzlhYzFlZGI1NzI1OTE5MTViZmI3ODE5NmNlZTQ0ZTNi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "633" + ] + }, + "ResponseBody": "\r\n 9ac1edb5-7259-1915-bfb7-8196cee44e3b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f2c55d746c471c6186c73978c28d26c8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:08 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31915" + ], + "x-ms-request-id": [ + "d38401e2-b6c4-4647-8df0-d8d069411c9a" + ], + "x-ms-correlation-request-id": [ + "d38401e2-b6c4-4647-8df0-d8d069411c9a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192411Z:d38401e2-b6c4-4647-8df0-d8d069411c9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:11 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191\",\r\n \"name\": \"sql-audit-cmdlet-test-rg191\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "7ad210b5-c012-41ff-a88e-aeed741a6498" + ], + "x-ms-correlation-request-id": [ + "7ad210b5-c012-41ff-a88e-aeed741a6498" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192413Z:7ad210b5-c012-41ff-a88e-aeed741a6498" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:13 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:24:14.501463Z\",\r\n \"correlationId\": \"78e547fa-43da-41c8-b1d9-49135509f278\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "78e547fa-43da-41c8-b1d9-49135509f278" + ], + "x-ms-correlation-request-id": [ + "78e547fa-43da-41c8-b1d9-49135509f278" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192414Z:78e547fa-43da-41c8-b1d9-49135509f278" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:24:16.9772257Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-request-id": [ + "957ed8fa-7799-4644-a5f7-2a89f8f5da70" + ], + "x-ms-correlation-request-id": [ + "957ed8fa-7799-4644-a5f7-2a89f8f5da70" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192417Z:957ed8fa-7799-4644-a5f7-2a89f8f5da70" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:16 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31914" + ], + "x-ms-request-id": [ + "bf2504d5-881f-4687-b52e-f9904af62658" + ], + "x-ms-correlation-request-id": [ + "bf2504d5-881f-4687-b52e-f9904af62658" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192418Z:bf2504d5-881f-4687-b52e-f9904af62658" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31912" + ], + "x-ms-request-id": [ + "dddc6141-fae1-41a0-8af2-8cd6ebf345c5" + ], + "x-ms-correlation-request-id": [ + "dddc6141-fae1-41a0-8af2-8cd6ebf345c5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192422Z:dddc6141-fae1-41a0-8af2-8cd6ebf345c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31910" + ], + "x-ms-request-id": [ + "cd163cc8-72a9-4df7-bf94-322cbc651303" + ], + "x-ms-correlation-request-id": [ + "cd163cc8-72a9-4df7-bf94-322cbc651303" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192427Z:cd163cc8-72a9-4df7-bf94-322cbc651303" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31908" + ], + "x-ms-request-id": [ + "4ecdabcf-8ed7-469e-a9d0-8270a7b5ca01" + ], + "x-ms-correlation-request-id": [ + "4ecdabcf-8ed7-469e-a9d0-8270a7b5ca01" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192431Z:4ecdabcf-8ed7-469e-a9d0-8270a7b5ca01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31906" + ], + "x-ms-request-id": [ + "3c936253-bf6a-4cb2-b0f2-91bdea890efe" + ], + "x-ms-correlation-request-id": [ + "3c936253-bf6a-4cb2-b0f2-91bdea890efe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192436Z:3c936253-bf6a-4cb2-b0f2-91bdea890efe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31904" + ], + "x-ms-request-id": [ + "74c62d45-4521-42af-9d65-cc23ac7e6f71" + ], + "x-ms-correlation-request-id": [ + "74c62d45-4521-42af-9d65-cc23ac7e6f71" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192440Z:74c62d45-4521-42af-9d65-cc23ac7e6f71" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31902" + ], + "x-ms-request-id": [ + "73b442ce-c6ef-4551-a163-e74f67743400" + ], + "x-ms-correlation-request-id": [ + "73b442ce-c6ef-4551-a163-e74f67743400" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192444Z:73b442ce-c6ef-4551-a163-e74f67743400" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31900" + ], + "x-ms-request-id": [ + "90adbcb8-400e-4d05-815b-96733a0139ee" + ], + "x-ms-correlation-request-id": [ + "90adbcb8-400e-4d05-815b-96733a0139ee" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192448Z:90adbcb8-400e-4d05-815b-96733a0139ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31898" + ], + "x-ms-request-id": [ + "088250d5-8524-49a7-b53a-5b9012913be9" + ], + "x-ms-correlation-request-id": [ + "088250d5-8524-49a7-b53a-5b9012913be9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192452Z:088250d5-8524-49a7-b53a-5b9012913be9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31896" + ], + "x-ms-request-id": [ + "a38f3180-3465-4614-9161-288958b50ecb" + ], + "x-ms-correlation-request-id": [ + "a38f3180-3465-4614-9161-288958b50ecb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192456Z:a38f3180-3465-4614-9161-288958b50ecb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31894" + ], + "x-ms-request-id": [ + "3213550e-560a-4a80-9893-d8b22b760444" + ], + "x-ms-correlation-request-id": [ + "3213550e-560a-4a80-9893-d8b22b760444" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192501Z:3213550e-560a-4a80-9893-d8b22b760444" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-request-id": [ + "63db35cd-1862-4174-8f3c-16c9a1274767" + ], + "x-ms-correlation-request-id": [ + "63db35cd-1862-4174-8f3c-16c9a1274767" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192505Z:63db35cd-1862-4174-8f3c-16c9a1274767" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-request-id": [ + "677650e5-8b29-4a30-9782-509ca17b5ce2" + ], + "x-ms-correlation-request-id": [ + "677650e5-8b29-4a30-9782-509ca17b5ce2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192509Z:677650e5-8b29-4a30-9782-509ca17b5ce2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-request-id": [ + "64412d6d-da65-4ef6-9bac-339c8f26571b" + ], + "x-ms-correlation-request-id": [ + "64412d6d-da65-4ef6-9bac-339c8f26571b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192513Z:64412d6d-da65-4ef6-9bac-339c8f26571b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations/CF637863FD2FEB77\",\r\n \"operationId\": \"CF637863FD2FEB77\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:14.9307594Z\",\r\n \"trackingId\": \"69cbc853-a677-406b-94b9-ef75f5bf5aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "1293a485-7bac-4193-9de8-7234f30820bd" + ], + "x-ms-correlation-request-id": [ + "1293a485-7bac-4193-9de8-7234f30820bd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192517Z:1293a485-7bac-4193-9de8-7234f30820bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations/A031536E3EB0C966\",\r\n \"operationId\": \"A031536E3EB0C966\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:20.2566015Z\",\r\n \"trackingId\": \"92c07281-b0fa-4e54-af79-db63757a4c69\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations/CF637863FD2FEB77\",\r\n \"operationId\": \"CF637863FD2FEB77\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:14.9307594Z\",\r\n \"trackingId\": \"69cbc853-a677-406b-94b9-ef75f5bf5aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], + "x-ms-request-id": [ + "98a27b78-5dfe-49d3-830f-caea0f5867f4" + ], + "x-ms-correlation-request-id": [ + "98a27b78-5dfe-49d3-830f-caea0f5867f4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192522Z:98a27b78-5dfe-49d3-830f-caea0f5867f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations/A031536E3EB0C966\",\r\n \"operationId\": \"A031536E3EB0C966\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:20.2566015Z\",\r\n \"trackingId\": \"92c07281-b0fa-4e54-af79-db63757a4c69\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup/operations/CF637863FD2FEB77\",\r\n \"operationId\": \"CF637863FD2FEB77\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:14.9307594Z\",\r\n \"trackingId\": \"69cbc853-a677-406b-94b9-ef75f5bf5aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31882" + ], + "x-ms-request-id": [ + "7a32c341-1629-4108-aa47-9cc83932a6d8" + ], + "x-ms-correlation-request-id": [ + "7a32c341-1629-4108-aa47-9cc83932a6d8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192526Z:7a32c341-1629-4108-aa47-9cc83932a6d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31913" + ], + "x-ms-request-id": [ + "1a51e15e-4c4e-4c33-8685-b871266562bb" + ], + "x-ms-correlation-request-id": [ + "1a51e15e-4c4e-4c33-8685-b871266562bb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192419Z:1a51e15e-4c4e-4c33-8685-b871266562bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31911" + ], + "x-ms-request-id": [ + "e2279802-c634-450c-a9bf-09b7633a445c" + ], + "x-ms-correlation-request-id": [ + "e2279802-c634-450c-a9bf-09b7633a445c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192423Z:e2279802-c634-450c-a9bf-09b7633a445c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31909" + ], + "x-ms-request-id": [ + "01ea93d6-3fba-4365-8d67-2406dee738a6" + ], + "x-ms-correlation-request-id": [ + "01ea93d6-3fba-4365-8d67-2406dee738a6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192428Z:01ea93d6-3fba-4365-8d67-2406dee738a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31907" + ], + "x-ms-request-id": [ + "cce3132c-0f89-4f43-819f-a96534c0233f" + ], + "x-ms-correlation-request-id": [ + "cce3132c-0f89-4f43-819f-a96534c0233f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192432Z:cce3132c-0f89-4f43-819f-a96534c0233f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31905" + ], + "x-ms-request-id": [ + "8852019b-3fd7-466e-9a05-aea2d794a666" + ], + "x-ms-correlation-request-id": [ + "8852019b-3fd7-466e-9a05-aea2d794a666" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192437Z:8852019b-3fd7-466e-9a05-aea2d794a666" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31903" + ], + "x-ms-request-id": [ + "a66910ed-7978-4b3d-b132-fb47ca6b40de" + ], + "x-ms-correlation-request-id": [ + "a66910ed-7978-4b3d-b132-fb47ca6b40de" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192441Z:a66910ed-7978-4b3d-b132-fb47ca6b40de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31901" + ], + "x-ms-request-id": [ + "ee9811d3-7ee8-4b2c-8806-5a00a4e3980b" + ], + "x-ms-correlation-request-id": [ + "ee9811d3-7ee8-4b2c-8806-5a00a4e3980b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192445Z:ee9811d3-7ee8-4b2c-8806-5a00a4e3980b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31899" + ], + "x-ms-request-id": [ + "4c9b9ddf-2e1a-449b-96ad-1e0f855a3eff" + ], + "x-ms-correlation-request-id": [ + "4c9b9ddf-2e1a-449b-96ad-1e0f855a3eff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192449Z:4c9b9ddf-2e1a-449b-96ad-1e0f855a3eff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31897" + ], + "x-ms-request-id": [ + "4f8dc2d8-9615-436a-811c-28e1ee6250e7" + ], + "x-ms-correlation-request-id": [ + "4f8dc2d8-9615-436a-811c-28e1ee6250e7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192453Z:4f8dc2d8-9615-436a-811c-28e1ee6250e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31895" + ], + "x-ms-request-id": [ + "ae5985fa-42d0-4051-99e9-0748c0ff1fa7" + ], + "x-ms-correlation-request-id": [ + "ae5985fa-42d0-4051-99e9-0748c0ff1fa7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192457Z:ae5985fa-42d0-4051-99e9-0748c0ff1fa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:24:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-request-id": [ + "2beb60ab-0e80-45b7-b369-0ad5366269ca" + ], + "x-ms-correlation-request-id": [ + "2beb60ab-0e80-45b7-b369-0ad5366269ca" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192501Z:2beb60ab-0e80-45b7-b369-0ad5366269ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-request-id": [ + "02ebab97-326c-4712-97ba-61c08cd5f213" + ], + "x-ms-correlation-request-id": [ + "02ebab97-326c-4712-97ba-61c08cd5f213" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192506Z:02ebab97-326c-4712-97ba-61c08cd5f213" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31889" + ], + "x-ms-request-id": [ + "8effbe14-b113-4966-b480-d54dcfb1843f" + ], + "x-ms-correlation-request-id": [ + "8effbe14-b113-4966-b480-d54dcfb1843f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192510Z:8effbe14-b113-4966-b480-d54dcfb1843f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "f7e6078c-8836-4f0a-af59-ec8c9a13b66a" + ], + "x-ms-correlation-request-id": [ + "f7e6078c-8836-4f0a-af59-ec8c9a13b66a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192514Z:f7e6078c-8836-4f0a-af59-ec8c9a13b66a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31885" + ], + "x-ms-request-id": [ + "f171f4c4-bc89-484b-b2af-5a4814506566" + ], + "x-ms-correlation-request-id": [ + "f171f4c4-bc89-484b-b2af-5a4814506566" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192518Z:f171f4c4-bc89-484b-b2af-5a4814506566" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:24:19.3537384Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31883" + ], + "x-ms-request-id": [ + "80eec98e-ef34-49e8-9e9d-4c770dfde268" + ], + "x-ms-correlation-request-id": [ + "80eec98e-ef34-49e8-9e9d-4c770dfde268" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192523Z:80eec98e-ef34-49e8-9e9d-4c770dfde268" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db191\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server191\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:25:24.1774177Z\",\r\n \"correlationId\": \"957ed8fa-7799-4644-a5f7-2a89f8f5da70\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31881" + ], + "x-ms-request-id": [ + "2beb9675-3441-454b-b37b-911a8fc57eea" + ], + "x-ms-correlation-request-id": [ + "2beb9675-3441-454b-b37b-911a8fc57eea" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192527Z:2beb9675-3441-454b-b37b-911a8fc57eea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191\",\r\n \"name\": \"sql-audit-cmdlet-server191\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databases/sql-audit-cmdlet-db191\",\r\n \"name\": \"sql-audit-cmdlet-server191/sql-audit-cmdlet-db191\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" + ], + "x-ms-request-id": [ + "9ab279a5-0ea9-49e9-adac-192c1e93da43" + ], + "x-ms-correlation-request-id": [ + "9ab279a5-0ea9-49e9-adac-192c1e93da43" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192530Z:9ab279a5-0ea9-49e9-adac-192c1e93da43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31863" + ], + "x-ms-request-id": [ + "3ad70626-3bb5-4191-b979-35bc04458175" + ], + "x-ms-correlation-request-id": [ + "3ad70626-3bb5-4191-b979-35bc04458175" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192531Z:3ad70626-3bb5-4191-b979-35bc04458175" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/NONEXISTING-RG/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL05PTkVYSVNUSU5HLVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWF1ZGl0LWNtZGxldC1zZXJ2ZXIxOTEvZGF0YWJhc2VTZWN1cml0eVBvbGljaWVzL2MzZDkwNWJiLWU0NjAtNDhiYi04ODRkLTc1ZmFjOGY2M2UxMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4361c158-cc21-4aa5-9727-fd1b71aa9d06-2014-09-17 19:25:31Z" + ], + "x-ms-client-request-id": [ + "41fdac42-2dcf-4f01-926d-b7662f9cbdbc-2014-09-17 19:25:31Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NONEXISTING-RG' could not be found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f5562dfc-0259-4a0c-958e-cf85b34cbfc9" + ], + "x-ms-correlation-request-id": [ + "f5562dfc-0259-4a0c-958e-cf85b34cbfc9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192532Z:f5562dfc-0259-4a0c-958e-cf85b34cbfc9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:32 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/NONEXISTING-RG/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server191/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL05PTkVYSVNUSU5HLVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWF1ZGl0LWNtZGxldC1zZXJ2ZXIxOTEvZGF0YWJhc2VTZWN1cml0eVBvbGljaWVzL2MzZDkwNWJiLWU0NjAtNDhiYi04ODRkLTc1ZmFjOGY2M2UxMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4361c158-cc21-4aa5-9727-fd1b71aa9d06-2014-09-17 19:25:31Z" + ], + "x-ms-client-request-id": [ + "31133612-8e5e-4408-bd81-9b4037e24032-2014-09-17 19:25:34Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NONEXISTING-RG' could not be found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4b4e9986-7cf9-447b-99d8-d546761c5083" + ], + "x-ms-correlation-request-id": [ + "4b4e9986-7cf9-447b-99d8-d546761c5083" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192534Z:4b4e9986-7cf9-447b-99d8-d546761c5083" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:33 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/NONEXISTING-SERVER/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL05PTkVYSVNUSU5HLVNFUlZFUi9kYXRhYmFzZVNlY3VyaXR5UG9saWNpZXMvYzNkOTA1YmItZTQ2MC00OGJiLTg4NGQtNzVmYWM4ZjYzZTExP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4361c158-cc21-4aa5-9727-fd1b71aa9d06-2014-09-17 19:25:31Z" + ], + "x-ms-client-request-id": [ + "dccbc0cc-c17c-47d1-9b97-0df7c41d4566-2014-09-17 19:25:32Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not create nested resource. Parent resource 'NONEXISTING-SERVER' not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ceb6afdb-9145-4995-98e8-e3fdfc73088e" + ], + "x-ms-correlation-request-id": [ + "ceb6afdb-9145-4995-98e8-e3fdfc73088e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192533Z:ceb6afdb-9145-4995-98e8-e3fdfc73088e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:33 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg191/providers/Microsoft.Sql/servers/NONEXISTING-SERVER/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE5MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL05PTkVYSVNUSU5HLVNFUlZFUi9kYXRhYmFzZVNlY3VyaXR5UG9saWNpZXMvYzNkOTA1YmItZTQ2MC00OGJiLTg4NGQtNzVmYWM4ZjYzZTExP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4361c158-cc21-4aa5-9727-fd1b71aa9d06-2014-09-17 19:25:31Z" + ], + "x-ms-client-request-id": [ + "5502c841-e8a4-4df5-a74a-61890a4a139c-2014-09-17 19:25:34Z" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not create nested resource. Parent resource 'NONEXISTING-SERVER' not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "eea5a896-bdc1-4c42-9bb6-d598d5a03fd8" + ], + "x-ms-correlation-request-id": [ + "eea5a896-bdc1-4c42-9bb6-d598d5a03fd8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T192535Z:eea5a896-bdc1-4c42-9bb6-d598d5a03fd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:35 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets191", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTkx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "7a2e5a59be0e12f493e6f97c020b32ca" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:39 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/7a2e5a59be0e12f493e6f97c020b32ca", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzdhMmU1YTU5YmUwZTEyZjQ5M2U2Zjk3YzAyMGIzMmNh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 7a2e5a59-be0e-12f4-93e6-f97c020b32ca\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "740aa8055bac19cc8e1a99b009ab220b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:25:40 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedDatabaseUpdatePolicyWithNoStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedDatabaseUpdatePolicyWithNoStorage.json new file mode 100644 index 000000000000..38693e10b094 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedDatabaseUpdatePolicyWithNoStorage.json @@ -0,0 +1,1758 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets151\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "65" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "7e271d7683d5130c9303ace7a1cf30b2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:53 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets151" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/7e271d7683d5130c9303ace7a1cf30b2", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzdlMjcxZDc2ODNkNTEzMGM5MzAzYWNlN2ExY2YzMGIy", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "65" + ] + }, + "ResponseBody": "\r\n 7e271d76-83d5-130c-9303-ace7a1cf30b2\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5a53dfd1d5d612fd81fa3c7b8ae13425" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:53:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/7e271d7683d5130c9303ace7a1cf30b2", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzdlMjcxZDc2ODNkNTEzMGM5MzAzYWNlN2ExY2YzMGIy", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "65" + ] + }, + "ResponseBody": "\r\n 7e271d76-83d5-130c-9303-ace7a1cf30b2\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "7bf6d127466516d5bc4791a6e599d718" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:25 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "90b4db1f-da3b-4065-b954-d4f38f8f51c8" + ], + "x-ms-correlation-request-id": [ + "90b4db1f-da3b-4065-b954-d4f38f8f51c8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185426Z:90b4db1f-da3b-4065-b954-d4f38f8f51c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:26 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151\",\r\n \"name\": \"sql-audit-cmdlet-test-rg151\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "df742a9a-0cd1-4f5d-91de-f99d57bd31b3" + ], + "x-ms-correlation-request-id": [ + "df742a9a-0cd1-4f5d-91de-f99d57bd31b3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185428Z:df742a9a-0cd1-4f5d-91de-f99d57bd31b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:54:30.1465824Z\",\r\n \"correlationId\": \"a064a85a-7d71-4739-bebe-55099c498a43\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "a064a85a-7d71-4739-bebe-55099c498a43" + ], + "x-ms-correlation-request-id": [ + "a064a85a-7d71-4739-bebe-55099c498a43" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185430Z:a064a85a-7d71-4739-bebe-55099c498a43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:54:32.5885693Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "d021e24e-2ada-4fc5-89c7-695a0de8cc73" + ], + "x-ms-correlation-request-id": [ + "d021e24e-2ada-4fc5-89c7-695a0de8cc73" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185433Z:d021e24e-2ada-4fc5-89c7-695a0de8cc73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:33 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "cdd71bda-7e68-4a63-95c9-60dc8b14d428" + ], + "x-ms-correlation-request-id": [ + "cdd71bda-7e68-4a63-95c9-60dc8b14d428" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185434Z:cdd71bda-7e68-4a63-95c9-60dc8b14d428" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "786eabf9-1cc5-4a07-9ea2-5bd064941278" + ], + "x-ms-correlation-request-id": [ + "786eabf9-1cc5-4a07-9ea2-5bd064941278" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185438Z:786eabf9-1cc5-4a07-9ea2-5bd064941278" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "aae85e1a-d01b-4ae1-a23f-dc4f05fd9dfa" + ], + "x-ms-correlation-request-id": [ + "aae85e1a-d01b-4ae1-a23f-dc4f05fd9dfa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185442Z:aae85e1a-d01b-4ae1-a23f-dc4f05fd9dfa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "b1a988e0-86c0-404a-9a87-21b530204cfb" + ], + "x-ms-correlation-request-id": [ + "b1a988e0-86c0-404a-9a87-21b530204cfb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185446Z:b1a988e0-86c0-404a-9a87-21b530204cfb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "c968c579-0aca-480b-a643-b6f9f53915f6" + ], + "x-ms-correlation-request-id": [ + "c968c579-0aca-480b-a643-b6f9f53915f6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185451Z:c968c579-0aca-480b-a643-b6f9f53915f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "c354d747-0c94-4756-8a1e-95fd0e078c6f" + ], + "x-ms-correlation-request-id": [ + "c354d747-0c94-4756-8a1e-95fd0e078c6f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185455Z:c354d747-0c94-4756-8a1e-95fd0e078c6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "f32d8d9a-05b9-48f4-9ea8-be0bd44a2d44" + ], + "x-ms-correlation-request-id": [ + "f32d8d9a-05b9-48f4-9ea8-be0bd44a2d44" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185459Z:f32d8d9a-05b9-48f4-9ea8-be0bd44a2d44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "770c37f5-d41f-479a-9630-bb0c85a4c869" + ], + "x-ms-correlation-request-id": [ + "770c37f5-d41f-479a-9630-bb0c85a4c869" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185503Z:770c37f5-d41f-479a-9630-bb0c85a4c869" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "c6cf0f47-f775-410f-85f8-6c7c6c572f06" + ], + "x-ms-correlation-request-id": [ + "c6cf0f47-f775-410f-85f8-6c7c6c572f06" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185507Z:c6cf0f47-f775-410f-85f8-6c7c6c572f06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "622e7d98-6d00-4ea9-9df7-0bd5bc96958c" + ], + "x-ms-correlation-request-id": [ + "622e7d98-6d00-4ea9-9df7-0bd5bc96958c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185511Z:622e7d98-6d00-4ea9-9df7-0bd5bc96958c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "f8791701-2d9c-40c9-a7ec-b2bd678e1d7a" + ], + "x-ms-correlation-request-id": [ + "f8791701-2d9c-40c9-a7ec-b2bd678e1d7a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185515Z:f8791701-2d9c-40c9-a7ec-b2bd678e1d7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "1b5a9b90-9498-4775-99d3-83a2a70a528f" + ], + "x-ms-correlation-request-id": [ + "1b5a9b90-9498-4775-99d3-83a2a70a528f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185519Z:1b5a9b90-9498-4775-99d3-83a2a70a528f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "22bb9ca1-1e0a-4ad9-8c36-9e86397d1612" + ], + "x-ms-correlation-request-id": [ + "22bb9ca1-1e0a-4ad9-8c36-9e86397d1612" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185523Z:22bb9ca1-1e0a-4ad9-8c36-9e86397d1612" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "176c66b2-f64d-4702-8f7b-57aabeb92d0b" + ], + "x-ms-correlation-request-id": [ + "176c66b2-f64d-4702-8f7b-57aabeb92d0b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185527Z:176c66b2-f64d-4702-8f7b-57aabeb92d0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations/998F3AB3E2AF54D2\",\r\n \"operationId\": \"998F3AB3E2AF54D2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:28.2566404Z\",\r\n \"trackingId\": \"07991cf6-6eff-4fe4-ab05-881247386cbe\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "31b908b7-2132-4bcf-813f-6f0e45f760eb" + ], + "x-ms-correlation-request-id": [ + "31b908b7-2132-4bcf-813f-6f0e45f760eb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185531Z:31b908b7-2132-4bcf-813f-6f0e45f760eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations/A6B2323CBC15A55A\",\r\n \"operationId\": \"A6B2323CBC15A55A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:34.0864545Z\",\r\n \"trackingId\": \"2bfdfdac-4b84-4784-9363-4d1bea313ed8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations/998F3AB3E2AF54D2\",\r\n \"operationId\": \"998F3AB3E2AF54D2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:28.2566404Z\",\r\n \"trackingId\": \"07991cf6-6eff-4fe4-ab05-881247386cbe\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "fe2a9a10-b890-4592-b1cd-c140bf352d4d" + ], + "x-ms-correlation-request-id": [ + "fe2a9a10-b890-4592-b1cd-c140bf352d4d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185536Z:fe2a9a10-b890-4592-b1cd-c140bf352d4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations/A6B2323CBC15A55A\",\r\n \"operationId\": \"A6B2323CBC15A55A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:34.0864545Z\",\r\n \"trackingId\": \"2bfdfdac-4b84-4784-9363-4d1bea313ed8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup/operations/998F3AB3E2AF54D2\",\r\n \"operationId\": \"998F3AB3E2AF54D2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:28.2566404Z\",\r\n \"trackingId\": \"07991cf6-6eff-4fe4-ab05-881247386cbe\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "aab1b061-6f9d-422c-840e-b6e69a857396" + ], + "x-ms-correlation-request-id": [ + "aab1b061-6f9d-422c-840e-b6e69a857396" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185541Z:aab1b061-6f9d-422c-840e-b6e69a857396" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:54:32.5885693Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "524c7c59-0b05-4c0d-81b6-45f57e56d226" + ], + "x-ms-correlation-request-id": [ + "524c7c59-0b05-4c0d-81b6-45f57e56d226" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185435Z:524c7c59-0b05-4c0d-81b6-45f57e56d226" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "a7e22432-c0c8-4e2e-9e03-8f3183659428" + ], + "x-ms-correlation-request-id": [ + "a7e22432-c0c8-4e2e-9e03-8f3183659428" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185439Z:a7e22432-c0c8-4e2e-9e03-8f3183659428" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "aad9ff3b-10c4-494c-a9a5-f55205ab1f81" + ], + "x-ms-correlation-request-id": [ + "aad9ff3b-10c4-494c-a9a5-f55205ab1f81" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185443Z:aad9ff3b-10c4-494c-a9a5-f55205ab1f81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "9da0f2ba-5d8e-4290-a781-1371fdedcbbe" + ], + "x-ms-correlation-request-id": [ + "9da0f2ba-5d8e-4290-a781-1371fdedcbbe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185447Z:9da0f2ba-5d8e-4290-a781-1371fdedcbbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "ac90b471-613b-4edf-b0fe-b4e9be0a7837" + ], + "x-ms-correlation-request-id": [ + "ac90b471-613b-4edf-b0fe-b4e9be0a7837" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185451Z:ac90b471-613b-4edf-b0fe-b4e9be0a7837" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "dcd8af4b-5ef2-4ace-9990-4fcd5c469490" + ], + "x-ms-correlation-request-id": [ + "dcd8af4b-5ef2-4ace-9990-4fcd5c469490" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185456Z:dcd8af4b-5ef2-4ace-9990-4fcd5c469490" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:54:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "9bc5da5c-80f7-4aac-9991-914ca537f8bf" + ], + "x-ms-correlation-request-id": [ + "9bc5da5c-80f7-4aac-9991-914ca537f8bf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185500Z:9bc5da5c-80f7-4aac-9991-914ca537f8bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "c6512a17-2eb9-42f3-8d6e-19bdbb297635" + ], + "x-ms-correlation-request-id": [ + "c6512a17-2eb9-42f3-8d6e-19bdbb297635" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185504Z:c6512a17-2eb9-42f3-8d6e-19bdbb297635" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "bd2fa65e-fcd4-461e-9ea3-6edb10d25af6" + ], + "x-ms-correlation-request-id": [ + "bd2fa65e-fcd4-461e-9ea3-6edb10d25af6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185508Z:bd2fa65e-fcd4-461e-9ea3-6edb10d25af6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "90c4c188-7f07-4e86-ac0b-e5dda4fd987b" + ], + "x-ms-correlation-request-id": [ + "90c4c188-7f07-4e86-ac0b-e5dda4fd987b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185512Z:90c4c188-7f07-4e86-ac0b-e5dda4fd987b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "86e9f35a-9009-482f-97ea-267e605d06a1" + ], + "x-ms-correlation-request-id": [ + "86e9f35a-9009-482f-97ea-267e605d06a1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185516Z:86e9f35a-9009-482f-97ea-267e605d06a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "0652a5cf-c518-47cb-894e-4c6bafc06a0b" + ], + "x-ms-correlation-request-id": [ + "0652a5cf-c518-47cb-894e-4c6bafc06a0b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185520Z:0652a5cf-c518-47cb-894e-4c6bafc06a0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "e9ef543c-88ef-4d2a-a5bb-bdae5cba5f7f" + ], + "x-ms-correlation-request-id": [ + "e9ef543c-88ef-4d2a-a5bb-bdae5cba5f7f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185524Z:e9ef543c-88ef-4d2a-a5bb-bdae5cba5f7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "99811733-908c-4106-be20-9c90c05f2540" + ], + "x-ms-correlation-request-id": [ + "99811733-908c-4106-be20-9c90c05f2540" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185528Z:99811733-908c-4106-be20-9c90c05f2540" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "ce60e48d-c68f-4c90-af90-5b5d91682ae9" + ], + "x-ms-correlation-request-id": [ + "ce60e48d-c68f-4c90-af90-5b5d91682ae9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185532Z:ce60e48d-c68f-4c90-af90-5b5d91682ae9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:54:34.9221536Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "243ae554-19fe-4827-8373-0cf6f3bb80cf" + ], + "x-ms-correlation-request-id": [ + "243ae554-19fe-4827-8373-0cf6f3bb80cf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185537Z:243ae554-19fe-4827-8373-0cf6f3bb80cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db151\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server151\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:55:38.3867948Z\",\r\n \"correlationId\": \"d021e24e-2ada-4fc5-89c7-695a0de8cc73\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "ca14fb04-a544-49d2-ad5c-804ba6c98c75" + ], + "x-ms-correlation-request-id": [ + "ca14fb04-a544-49d2-ad5c-804ba6c98c75" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185542Z:ca14fb04-a544-49d2-ad5c-804ba6c98c75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151\",\r\n \"name\": \"sql-audit-cmdlet-server151\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server151/databases/sql-audit-cmdlet-db151\",\r\n \"name\": \"sql-audit-cmdlet-server151/sql-audit-cmdlet-db151\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "2277d71a-9fff-4434-9fd4-c98bee917d9e" + ], + "x-ms-correlation-request-id": [ + "2277d71a-9fff-4434-9fd4-c98bee917d9e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185545Z:2277d71a-9fff-4434-9fd4-c98bee917d9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg151/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE1MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "a4a367d2-1382-43b2-9c9d-c6d7c0c5a4fc" + ], + "x-ms-correlation-request-id": [ + "a4a367d2-1382-43b2-9c9d-c6d7c0c5a4fc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185546Z:a4a367d2-1382-43b2-9c9d-c6d7c0c5a4fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets151", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTUx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "8c6fa064e7a11d1ab464a5b7b7b8ffa9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:50 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/8c6fa064e7a11d1ab464a5b7b7b8ffa9", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzhjNmZhMDY0ZTdhMTFkMWFiNDY0YTViN2I3YjhmZmE5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 8c6fa064-e7a1-1d1a-b464-a5b7b7b8ffa9\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "2a71242bec4a184687b6c7fc68d6f866" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:55:51 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedServerUpdatePolicyWithNoStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedServerUpdatePolicyWithNoStorage.json new file mode 100644 index 000000000000..8011a803ec44 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedServerUpdatePolicyWithNoStorage.json @@ -0,0 +1,1758 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets161\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "113" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "3a4a866fbd951b66b7c97511116dd7d4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:56:34 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets161" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3a4a866fbd951b66b7c97511116dd7d4", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzNhNGE4NjZmYmQ5NTFiNjZiN2M5NzUxMTExNmRkN2Q0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "113" + ] + }, + "ResponseBody": "\r\n 3a4a866f-bd95-1b66-b7c9-7511116dd7d4\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "cd00311265ca1bc780456da0aac04f82" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:56:35 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/3a4a866fbd951b66b7c97511116dd7d4", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzNhNGE4NjZmYmQ5NTFiNjZiN2M5NzUxMTExNmRkN2Q0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "113" + ] + }, + "ResponseBody": "\r\n 3a4a866f-bd95-1b66-b7c9-7511116dd7d4\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "63b5a28c1f711d0cb7e4506ad22e2ae9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:05 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "e72db2bf-301d-4b9e-a2b9-87bd320dc528" + ], + "x-ms-correlation-request-id": [ + "e72db2bf-301d-4b9e-a2b9-87bd320dc528" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185707Z:e72db2bf-301d-4b9e-a2b9-87bd320dc528" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:06 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161\",\r\n \"name\": \"sql-audit-cmdlet-test-rg161\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "4b757427-94b9-42fe-9d4e-67c77dc897e5" + ], + "x-ms-correlation-request-id": [ + "4b757427-94b9-42fe-9d4e-67c77dc897e5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185709Z:4b757427-94b9-42fe-9d4e-67c77dc897e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:09 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:57:10.6702286Z\",\r\n \"correlationId\": \"d42e9ec9-71f1-4c82-bacc-96e63de7cd1d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "d42e9ec9-71f1-4c82-bacc-96e63de7cd1d" + ], + "x-ms-correlation-request-id": [ + "d42e9ec9-71f1-4c82-bacc-96e63de7cd1d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185710Z:d42e9ec9-71f1-4c82-bacc-96e63de7cd1d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T18:57:13.208806Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "262f7920-bf5b-4474-bafe-58b898331404" + ], + "x-ms-correlation-request-id": [ + "262f7920-bf5b-4474-bafe-58b898331404" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185713Z:262f7920-bf5b-4474-bafe-58b898331404" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:13 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "2c3ccc35-a5de-40f4-9c42-ecdbb3d7aa0d" + ], + "x-ms-correlation-request-id": [ + "2c3ccc35-a5de-40f4-9c42-ecdbb3d7aa0d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185714Z:2c3ccc35-a5de-40f4-9c42-ecdbb3d7aa0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "3ee0d90f-a860-4b93-89f1-134eff61fca3" + ], + "x-ms-correlation-request-id": [ + "3ee0d90f-a860-4b93-89f1-134eff61fca3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185719Z:3ee0d90f-a860-4b93-89f1-134eff61fca3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "02c7c140-d1ff-46e5-a6b7-c17e1e6b2aae" + ], + "x-ms-correlation-request-id": [ + "02c7c140-d1ff-46e5-a6b7-c17e1e6b2aae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185723Z:02c7c140-d1ff-46e5-a6b7-c17e1e6b2aae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "6eee448f-e6a3-4dd8-a68d-f4017a362923" + ], + "x-ms-correlation-request-id": [ + "6eee448f-e6a3-4dd8-a68d-f4017a362923" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185727Z:6eee448f-e6a3-4dd8-a68d-f4017a362923" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "e13c77f0-5fa0-4116-9cfe-3f0eea7deaa3" + ], + "x-ms-correlation-request-id": [ + "e13c77f0-5fa0-4116-9cfe-3f0eea7deaa3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185731Z:e13c77f0-5fa0-4116-9cfe-3f0eea7deaa3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "4846fdb8-4e0b-4907-ae2d-51010033fb77" + ], + "x-ms-correlation-request-id": [ + "4846fdb8-4e0b-4907-ae2d-51010033fb77" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185735Z:4846fdb8-4e0b-4907-ae2d-51010033fb77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "963c6552-060d-4093-b34c-41801169f1ab" + ], + "x-ms-correlation-request-id": [ + "963c6552-060d-4093-b34c-41801169f1ab" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185739Z:963c6552-060d-4093-b34c-41801169f1ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "d08c0465-1be6-4f79-ba7e-d87f5a2c76e1" + ], + "x-ms-correlation-request-id": [ + "d08c0465-1be6-4f79-ba7e-d87f5a2c76e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185743Z:d08c0465-1be6-4f79-ba7e-d87f5a2c76e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "30dabd1b-1853-43ca-84a0-33285eed7a90" + ], + "x-ms-correlation-request-id": [ + "30dabd1b-1853-43ca-84a0-33285eed7a90" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185747Z:30dabd1b-1853-43ca-84a0-33285eed7a90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "40abbd01-b95a-4f07-b5fe-58299607b625" + ], + "x-ms-correlation-request-id": [ + "40abbd01-b95a-4f07-b5fe-58299607b625" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185751Z:40abbd01-b95a-4f07-b5fe-58299607b625" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "497d2ddb-0f66-40e8-a8ee-efe90719476b" + ], + "x-ms-correlation-request-id": [ + "497d2ddb-0f66-40e8-a8ee-efe90719476b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185755Z:497d2ddb-0f66-40e8-a8ee-efe90719476b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "2742e28a-b5e0-4b02-96ce-63bfb89f0d08" + ], + "x-ms-correlation-request-id": [ + "2742e28a-b5e0-4b02-96ce-63bfb89f0d08" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185759Z:2742e28a-b5e0-4b02-96ce-63bfb89f0d08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "5ad49873-968f-45ac-90f0-2021c3be964c" + ], + "x-ms-correlation-request-id": [ + "5ad49873-968f-45ac-90f0-2021c3be964c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185803Z:5ad49873-968f-45ac-90f0-2021c3be964c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "fb35ebe5-17b5-4936-8a36-4e4a16ec7e24" + ], + "x-ms-correlation-request-id": [ + "fb35ebe5-17b5-4936-8a36-4e4a16ec7e24" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185807Z:fb35ebe5-17b5-4936-8a36-4e4a16ec7e24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations/6E5DF2E334CF047A\",\r\n \"operationId\": \"6E5DF2E334CF047A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:58:10.5982138Z\",\r\n \"trackingId\": \"3cc7e67a-443d-4f56-a038-130767591fbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "0835a73c-cf52-45b7-a3f9-70e74817a6c8" + ], + "x-ms-correlation-request-id": [ + "0835a73c-cf52-45b7-a3f9-70e74817a6c8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185811Z:0835a73c-cf52-45b7-a3f9-70e74817a6c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations/6E5DF2E334CF047A\",\r\n \"operationId\": \"6E5DF2E334CF047A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:58:10.5982138Z\",\r\n \"trackingId\": \"3cc7e67a-443d-4f56-a038-130767591fbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "75005926-706c-468d-8716-b7ae523a436c" + ], + "x-ms-correlation-request-id": [ + "75005926-706c-468d-8716-b7ae523a436c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185815Z:75005926-706c-468d-8716-b7ae523a436c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations/BC6E2DC8B28C2A84\",\r\n \"operationId\": \"BC6E2DC8B28C2A84\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:58:16.4031452Z\",\r\n \"trackingId\": \"0f1569af-bd12-4da0-ac4a-7b117876f3d1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup/operations/6E5DF2E334CF047A\",\r\n \"operationId\": \"6E5DF2E334CF047A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:58:10.5982138Z\",\r\n \"trackingId\": \"3cc7e67a-443d-4f56-a038-130767591fbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "a8e8ee5a-6c29-4302-8b3e-d213acc23a8c" + ], + "x-ms-correlation-request-id": [ + "a8e8ee5a-6c29-4302-8b3e-d213acc23a8c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185819Z:a8e8ee5a-6c29-4302-8b3e-d213acc23a8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "0af0a5ff-9c43-4972-906e-77cd27c42f9f" + ], + "x-ms-correlation-request-id": [ + "0af0a5ff-9c43-4972-906e-77cd27c42f9f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185716Z:0af0a5ff-9c43-4972-906e-77cd27c42f9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "fa6488ab-ab47-44e2-9e0d-d1f6bc662a51" + ], + "x-ms-correlation-request-id": [ + "fa6488ab-ab47-44e2-9e0d-d1f6bc662a51" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185720Z:fa6488ab-ab47-44e2-9e0d-d1f6bc662a51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "35126fdb-3463-437f-b59a-ed233bdbbb57" + ], + "x-ms-correlation-request-id": [ + "35126fdb-3463-437f-b59a-ed233bdbbb57" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185724Z:35126fdb-3463-437f-b59a-ed233bdbbb57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "2b12d3ea-a195-47fb-9a6b-a6076dadee17" + ], + "x-ms-correlation-request-id": [ + "2b12d3ea-a195-47fb-9a6b-a6076dadee17" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185728Z:2b12d3ea-a195-47fb-9a6b-a6076dadee17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "964f8b44-f83e-46dd-b201-5fe4cfc51230" + ], + "x-ms-correlation-request-id": [ + "964f8b44-f83e-46dd-b201-5fe4cfc51230" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185732Z:964f8b44-f83e-46dd-b201-5fe4cfc51230" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "43c5cba5-c73e-4e14-9832-ee1c24db5d73" + ], + "x-ms-correlation-request-id": [ + "43c5cba5-c73e-4e14-9832-ee1c24db5d73" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185736Z:43c5cba5-c73e-4e14-9832-ee1c24db5d73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "f8b6fd15-a8a9-4a6d-aca2-f567c771888a" + ], + "x-ms-correlation-request-id": [ + "f8b6fd15-a8a9-4a6d-aca2-f567c771888a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185740Z:f8b6fd15-a8a9-4a6d-aca2-f567c771888a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "b5d4e86f-a874-4e7b-a690-8a6bfca84636" + ], + "x-ms-correlation-request-id": [ + "b5d4e86f-a874-4e7b-a690-8a6bfca84636" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185744Z:b5d4e86f-a874-4e7b-a690-8a6bfca84636" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "2a56d20c-37e6-4ab8-aa74-5925944bcac5" + ], + "x-ms-correlation-request-id": [ + "2a56d20c-37e6-4ab8-aa74-5925944bcac5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185748Z:2a56d20c-37e6-4ab8-aa74-5925944bcac5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "4be78b86-0f2d-4f69-8712-c1acf072a22c" + ], + "x-ms-correlation-request-id": [ + "4be78b86-0f2d-4f69-8712-c1acf072a22c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185752Z:4be78b86-0f2d-4f69-8712-c1acf072a22c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "53394d7f-b22f-4ea3-892a-f317f312dde5" + ], + "x-ms-correlation-request-id": [ + "53394d7f-b22f-4ea3-892a-f317f312dde5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185756Z:53394d7f-b22f-4ea3-892a-f317f312dde5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "5d4dd52c-a6d8-4865-8c2e-614bad4958fc" + ], + "x-ms-correlation-request-id": [ + "5d4dd52c-a6d8-4865-8c2e-614bad4958fc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185800Z:5d4dd52c-a6d8-4865-8c2e-614bad4958fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:57:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "b0fe934f-ad24-4630-a9ab-d3bff9668c2e" + ], + "x-ms-correlation-request-id": [ + "b0fe934f-ad24-4630-a9ab-d3bff9668c2e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185804Z:b0fe934f-ad24-4630-a9ab-d3bff9668c2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "05cd38c7-6ae1-48d4-809e-7dbf4530db0c" + ], + "x-ms-correlation-request-id": [ + "05cd38c7-6ae1-48d4-809e-7dbf4530db0c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185808Z:05cd38c7-6ae1-48d4-809e-7dbf4530db0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "4ab5299e-9515-41a5-a89f-86e12c1bcf5a" + ], + "x-ms-correlation-request-id": [ + "4ab5299e-9515-41a5-a89f-86e12c1bcf5a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185812Z:4ab5299e-9515-41a5-a89f-86e12c1bcf5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T18:57:15.6092241Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "f8069cfa-b92e-4d66-ad1c-922de269cf33" + ], + "x-ms-correlation-request-id": [ + "f8069cfa-b92e-4d66-ad1c-922de269cf33" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185816Z:f8069cfa-b92e-4d66-ad1c-922de269cf33" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db161\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server161\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T18:58:19.8772988Z\",\r\n \"correlationId\": \"262f7920-bf5b-4474-bafe-58b898331404\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "f7b98093-84e3-4be8-ae46-dcf081e6ebfe" + ], + "x-ms-correlation-request-id": [ + "f7b98093-84e3-4be8-ae46-dcf081e6ebfe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185821Z:f7b98093-84e3-4be8-ae46-dcf081e6ebfe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161\",\r\n \"name\": \"sql-audit-cmdlet-server161\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server161/databases/sql-audit-cmdlet-db161\",\r\n \"name\": \"sql-audit-cmdlet-server161/sql-audit-cmdlet-db161\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "cc723e8c-e795-4abe-b877-fe08007b4767" + ], + "x-ms-correlation-request-id": [ + "cc723e8c-e795-4abe-b877-fe08007b4767" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185823Z:cc723e8c-e795-4abe-b877-fe08007b4767" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg161/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE2MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "cd2e9ab5-a886-49c2-9de7-7763f16fa03f" + ], + "x-ms-correlation-request-id": [ + "cd2e9ab5-a886-49c2-9de7-7763f16fa03f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T185824Z:cd2e9ab5-a886-49c2-9de7-7763f16fa03f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets161", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTYx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5810bbb489ce1c9389773625fb9bc499" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:28 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/5810bbb489ce1c9389773625fb9bc499", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzU4MTBiYmI0ODljZTFjOTM4OTc3MzYyNWZiOWJjNDk5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 5810bbb4-89ce-1c93-8977-3625fb9bc499\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "700f59d444f31242bc1a64174f33da37" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 18:58:29 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedUseServerDefault.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedUseServerDefault.json new file mode 100644 index 000000000000..48dc1e1a0135 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestFailedUseServerDefault.json @@ -0,0 +1,2538 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets171\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1011" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "04983e83426814538964d4b3043e78cc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:42:48 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets171" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/04983e83426814538964d4b3043e78cc", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzA0OTgzZTgzNDI2ODE0NTM4OTY0ZDRiMzA0M2U3OGNj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1011" + ] + }, + "ResponseBody": "\r\n 04983e83-4268-1453-8964-d4b3043e78cc\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "8f3b5c2a5f441ba7b31994db77e37b77" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:42:48 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/04983e83426814538964d4b3043e78cc", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzA0OTgzZTgzNDI2ODE0NTM4OTY0ZDRiMzA0M2U3OGNj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "1011" + ] + }, + "ResponseBody": "\r\n 04983e83-4268-1453-8964-d4b3043e78cc\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "71a8b28054fc19c999553d0798212fac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:19 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31807" + ], + "x-ms-request-id": [ + "ea4bad23-7dab-40ee-b6d7-de57eae39918" + ], + "x-ms-correlation-request-id": [ + "ea4bad23-7dab-40ee-b6d7-de57eae39918" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194321Z:ea4bad23-7dab-40ee-b6d7-de57eae39918" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:21 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171\",\r\n \"name\": \"sql-audit-cmdlet-test-rg171\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1174" + ], + "x-ms-request-id": [ + "be08d07b-163e-427e-8fd4-be9c4dff1903" + ], + "x-ms-correlation-request-id": [ + "be08d07b-163e-427e-8fd4-be9c4dff1903" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194324Z:be08d07b-163e-427e-8fd4-be9c4dff1903" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:24 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:43:25.25069Z\",\r\n \"correlationId\": \"2d224216-a7b6-4bd4-af34-8f69b9bd467c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1173" + ], + "x-ms-request-id": [ + "2d224216-a7b6-4bd4-af34-8f69b9bd467c" + ], + "x-ms-correlation-request-id": [ + "2d224216-a7b6-4bd4-af34-8f69b9bd467c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194325Z:2d224216-a7b6-4bd4-af34-8f69b9bd467c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:43:27.6713224Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1172" + ], + "x-ms-request-id": [ + "7f11a55b-69c7-41c1-80b7-b2de619d79ec" + ], + "x-ms-correlation-request-id": [ + "7f11a55b-69c7-41c1-80b7-b2de619d79ec" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194328Z:7f11a55b-69c7-41c1-80b7-b2de619d79ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:27 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31806" + ], + "x-ms-request-id": [ + "7854cee6-71cd-40f2-a5d8-528c22335443" + ], + "x-ms-correlation-request-id": [ + "7854cee6-71cd-40f2-a5d8-528c22335443" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194329Z:7854cee6-71cd-40f2-a5d8-528c22335443" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31804" + ], + "x-ms-request-id": [ + "d13fd928-2815-468d-96f3-166fc74dd031" + ], + "x-ms-correlation-request-id": [ + "d13fd928-2815-468d-96f3-166fc74dd031" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194333Z:d13fd928-2815-468d-96f3-166fc74dd031" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31802" + ], + "x-ms-request-id": [ + "a849d3aa-2988-497c-a44f-15950b824b15" + ], + "x-ms-correlation-request-id": [ + "a849d3aa-2988-497c-a44f-15950b824b15" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194337Z:a849d3aa-2988-497c-a44f-15950b824b15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31800" + ], + "x-ms-request-id": [ + "7f09bdae-32a9-429f-8d21-9d0b8439f25e" + ], + "x-ms-correlation-request-id": [ + "7f09bdae-32a9-429f-8d21-9d0b8439f25e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194341Z:7f09bdae-32a9-429f-8d21-9d0b8439f25e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31798" + ], + "x-ms-request-id": [ + "a1c42d61-5abb-40da-ba48-6aaf72e2bf4a" + ], + "x-ms-correlation-request-id": [ + "a1c42d61-5abb-40da-ba48-6aaf72e2bf4a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194345Z:a1c42d61-5abb-40da-ba48-6aaf72e2bf4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31796" + ], + "x-ms-request-id": [ + "4f16e85b-9df9-45ab-aa57-ec79c704e7f5" + ], + "x-ms-correlation-request-id": [ + "4f16e85b-9df9-45ab-aa57-ec79c704e7f5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194350Z:4f16e85b-9df9-45ab-aa57-ec79c704e7f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31794" + ], + "x-ms-request-id": [ + "4c0af4d1-f41c-4344-88ee-bd0c4202dace" + ], + "x-ms-correlation-request-id": [ + "4c0af4d1-f41c-4344-88ee-bd0c4202dace" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194354Z:4c0af4d1-f41c-4344-88ee-bd0c4202dace" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31792" + ], + "x-ms-request-id": [ + "e7cf85d9-ed9d-470d-b2fe-581f418cb6e9" + ], + "x-ms-correlation-request-id": [ + "e7cf85d9-ed9d-470d-b2fe-581f418cb6e9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194358Z:e7cf85d9-ed9d-470d-b2fe-581f418cb6e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31790" + ], + "x-ms-request-id": [ + "2d103be7-53f8-48e3-8ba2-721297d5afb8" + ], + "x-ms-correlation-request-id": [ + "2d103be7-53f8-48e3-8ba2-721297d5afb8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194402Z:2d103be7-53f8-48e3-8ba2-721297d5afb8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31788" + ], + "x-ms-request-id": [ + "2fb9beda-930d-44fc-8f94-8e2e42bdd309" + ], + "x-ms-correlation-request-id": [ + "2fb9beda-930d-44fc-8f94-8e2e42bdd309" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194406Z:2fb9beda-930d-44fc-8f94-8e2e42bdd309" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31786" + ], + "x-ms-request-id": [ + "3b32ea63-af28-4144-801e-bfd2f6f7776a" + ], + "x-ms-correlation-request-id": [ + "3b32ea63-af28-4144-801e-bfd2f6f7776a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194410Z:3b32ea63-af28-4144-801e-bfd2f6f7776a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31784" + ], + "x-ms-request-id": [ + "69d849cb-00e3-4a90-bea8-e167fa22d86c" + ], + "x-ms-correlation-request-id": [ + "69d849cb-00e3-4a90-bea8-e167fa22d86c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194414Z:69d849cb-00e3-4a90-bea8-e167fa22d86c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31782" + ], + "x-ms-request-id": [ + "491331e7-1115-4d83-9613-522e9ccc1a4e" + ], + "x-ms-correlation-request-id": [ + "491331e7-1115-4d83-9613-522e9ccc1a4e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194418Z:491331e7-1115-4d83-9613-522e9ccc1a4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31780" + ], + "x-ms-request-id": [ + "51505420-2b93-45e0-9229-00f6381d34c3" + ], + "x-ms-correlation-request-id": [ + "51505420-2b93-45e0-9229-00f6381d34c3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194422Z:51505420-2b93-45e0-9229-00f6381d34c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31778" + ], + "x-ms-request-id": [ + "7e488b4a-727e-4a3a-a712-0e797664f045" + ], + "x-ms-correlation-request-id": [ + "7e488b4a-727e-4a3a-a712-0e797664f045" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194426Z:7e488b4a-727e-4a3a-a712-0e797664f045" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31776" + ], + "x-ms-request-id": [ + "c07c03fc-421a-458a-84f9-9fd37f9f1eae" + ], + "x-ms-correlation-request-id": [ + "c07c03fc-421a-458a-84f9-9fd37f9f1eae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194430Z:c07c03fc-421a-458a-84f9-9fd37f9f1eae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31774" + ], + "x-ms-request-id": [ + "7d07c9b4-c136-4384-bcb8-a04c7ece1d32" + ], + "x-ms-correlation-request-id": [ + "7d07c9b4-c136-4384-bcb8-a04c7ece1d32" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194434Z:7d07c9b4-c136-4384-bcb8-a04c7ece1d32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31772" + ], + "x-ms-request-id": [ + "4fca3f79-b45d-4f3d-ba57-6e9e9949ac7a" + ], + "x-ms-correlation-request-id": [ + "4fca3f79-b45d-4f3d-ba57-6e9e9949ac7a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194439Z:4fca3f79-b45d-4f3d-ba57-6e9e9949ac7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31770" + ], + "x-ms-request-id": [ + "21cc7904-0da0-4132-a583-c3182c10c00e" + ], + "x-ms-correlation-request-id": [ + "21cc7904-0da0-4132-a583-c3182c10c00e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194443Z:21cc7904-0da0-4132-a583-c3182c10c00e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31768" + ], + "x-ms-request-id": [ + "1da8e1b8-fcea-4ee9-bb8d-0516beb775f7" + ], + "x-ms-correlation-request-id": [ + "1da8e1b8-fcea-4ee9-bb8d-0516beb775f7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194447Z:1da8e1b8-fcea-4ee9-bb8d-0516beb775f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31766" + ], + "x-ms-request-id": [ + "cc6b5237-72a5-49d3-a294-88c1bec9d95b" + ], + "x-ms-correlation-request-id": [ + "cc6b5237-72a5-49d3-a294-88c1bec9d95b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194451Z:cc6b5237-72a5-49d3-a294-88c1bec9d95b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31764" + ], + "x-ms-request-id": [ + "d10c2be9-ddfb-4eea-bf8f-e47872a8e452" + ], + "x-ms-correlation-request-id": [ + "d10c2be9-ddfb-4eea-bf8f-e47872a8e452" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194455Z:d10c2be9-ddfb-4eea-bf8f-e47872a8e452" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31762" + ], + "x-ms-request-id": [ + "ab87272a-3751-44cc-9831-1ac7c34fcc7d" + ], + "x-ms-correlation-request-id": [ + "ab87272a-3751-44cc-9831-1ac7c34fcc7d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194459Z:ab87272a-3751-44cc-9831-1ac7c34fcc7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31760" + ], + "x-ms-request-id": [ + "96a559b7-6658-4792-842f-de17feef87bd" + ], + "x-ms-correlation-request-id": [ + "96a559b7-6658-4792-842f-de17feef87bd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194503Z:96a559b7-6658-4792-842f-de17feef87bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31758" + ], + "x-ms-request-id": [ + "3d48288e-2d8d-41ee-ac5a-bf2409152472" + ], + "x-ms-correlation-request-id": [ + "3d48288e-2d8d-41ee-ac5a-bf2409152472" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194508Z:3d48288e-2d8d-41ee-ac5a-bf2409152472" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31756" + ], + "x-ms-request-id": [ + "1fc3f1af-e5d1-4c64-ba09-dc98a90c73a9" + ], + "x-ms-correlation-request-id": [ + "1fc3f1af-e5d1-4c64-ba09-dc98a90c73a9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194512Z:1fc3f1af-e5d1-4c64-ba09-dc98a90c73a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/DD63DBEE1EB10342\",\r\n \"operationId\": \"DD63DBEE1EB10342\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:45:12.6032861Z\",\r\n \"trackingId\": \"b35a0146-74ce-4581-9525-31271a58a0ac\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup/operations/AEA9A39C669EA442\",\r\n \"operationId\": \"AEA9A39C669EA442\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:44:24.8431671Z\",\r\n \"trackingId\": \"07751f25-5aa1-4667-bfc4-33b0bb1747e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31754" + ], + "x-ms-request-id": [ + "d24b6f33-24bd-406d-95db-fd3d041f5709" + ], + "x-ms-correlation-request-id": [ + "d24b6f33-24bd-406d-95db-fd3d041f5709" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194516Z:d24b6f33-24bd-406d-95db-fd3d041f5709" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:43:27.6713224Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31805" + ], + "x-ms-request-id": [ + "b712903f-1c4f-4097-b40c-5ab0e5c8cd72" + ], + "x-ms-correlation-request-id": [ + "b712903f-1c4f-4097-b40c-5ab0e5c8cd72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194330Z:b712903f-1c4f-4097-b40c-5ab0e5c8cd72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31803" + ], + "x-ms-request-id": [ + "722196e2-2e5b-4796-b2b9-22f22118e943" + ], + "x-ms-correlation-request-id": [ + "722196e2-2e5b-4796-b2b9-22f22118e943" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194334Z:722196e2-2e5b-4796-b2b9-22f22118e943" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31801" + ], + "x-ms-request-id": [ + "539aa24a-ed97-4b62-8338-30a63e89e95e" + ], + "x-ms-correlation-request-id": [ + "539aa24a-ed97-4b62-8338-30a63e89e95e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194338Z:539aa24a-ed97-4b62-8338-30a63e89e95e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31799" + ], + "x-ms-request-id": [ + "36bdc394-8c2d-42fa-a69f-c1fcbb6bf53f" + ], + "x-ms-correlation-request-id": [ + "36bdc394-8c2d-42fa-a69f-c1fcbb6bf53f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194342Z:36bdc394-8c2d-42fa-a69f-c1fcbb6bf53f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31797" + ], + "x-ms-request-id": [ + "6610b6b6-ab1e-47f2-9e52-7061f09fbcd3" + ], + "x-ms-correlation-request-id": [ + "6610b6b6-ab1e-47f2-9e52-7061f09fbcd3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194346Z:6610b6b6-ab1e-47f2-9e52-7061f09fbcd3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31795" + ], + "x-ms-request-id": [ + "d37b8f87-7d59-453a-970f-9102c92b2ba0" + ], + "x-ms-correlation-request-id": [ + "d37b8f87-7d59-453a-970f-9102c92b2ba0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194351Z:d37b8f87-7d59-453a-970f-9102c92b2ba0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31793" + ], + "x-ms-request-id": [ + "a839d17d-da91-49df-bfe4-0d16c5f3496f" + ], + "x-ms-correlation-request-id": [ + "a839d17d-da91-49df-bfe4-0d16c5f3496f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194355Z:a839d17d-da91-49df-bfe4-0d16c5f3496f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31791" + ], + "x-ms-request-id": [ + "6f519f35-dd06-4c9a-af11-bcd9896289f3" + ], + "x-ms-correlation-request-id": [ + "6f519f35-dd06-4c9a-af11-bcd9896289f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194359Z:6f519f35-dd06-4c9a-af11-bcd9896289f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:43:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31789" + ], + "x-ms-request-id": [ + "f25b437a-624c-4da4-914c-ec0824c6f747" + ], + "x-ms-correlation-request-id": [ + "f25b437a-624c-4da4-914c-ec0824c6f747" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194403Z:f25b437a-624c-4da4-914c-ec0824c6f747" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31787" + ], + "x-ms-request-id": [ + "a73c9447-2c4b-4849-acc3-e3d1b927a1c7" + ], + "x-ms-correlation-request-id": [ + "a73c9447-2c4b-4849-acc3-e3d1b927a1c7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194407Z:a73c9447-2c4b-4849-acc3-e3d1b927a1c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31785" + ], + "x-ms-request-id": [ + "48e37df5-0583-40c8-a8ef-81e489326f07" + ], + "x-ms-correlation-request-id": [ + "48e37df5-0583-40c8-a8ef-81e489326f07" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194411Z:48e37df5-0583-40c8-a8ef-81e489326f07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31783" + ], + "x-ms-request-id": [ + "70b63a21-2856-4998-b548-9afc4e0c8dd5" + ], + "x-ms-correlation-request-id": [ + "70b63a21-2856-4998-b548-9afc4e0c8dd5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194415Z:70b63a21-2856-4998-b548-9afc4e0c8dd5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31781" + ], + "x-ms-request-id": [ + "4e3c456a-4b83-4229-8f62-904ca7af8aa9" + ], + "x-ms-correlation-request-id": [ + "4e3c456a-4b83-4229-8f62-904ca7af8aa9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194419Z:4e3c456a-4b83-4229-8f62-904ca7af8aa9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31779" + ], + "x-ms-request-id": [ + "253ef406-5f9e-4fc5-aae0-8c93cb4bb255" + ], + "x-ms-correlation-request-id": [ + "253ef406-5f9e-4fc5-aae0-8c93cb4bb255" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194423Z:253ef406-5f9e-4fc5-aae0-8c93cb4bb255" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31777" + ], + "x-ms-request-id": [ + "444ef987-12cf-4132-b962-adb00316f96b" + ], + "x-ms-correlation-request-id": [ + "444ef987-12cf-4132-b962-adb00316f96b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194427Z:444ef987-12cf-4132-b962-adb00316f96b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31775" + ], + "x-ms-request-id": [ + "6fcd5235-425d-4432-8e84-784668a0d791" + ], + "x-ms-correlation-request-id": [ + "6fcd5235-425d-4432-8e84-784668a0d791" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194431Z:6fcd5235-425d-4432-8e84-784668a0d791" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31773" + ], + "x-ms-request-id": [ + "732ceea8-da5c-467d-ab5c-4c6c9334c2fe" + ], + "x-ms-correlation-request-id": [ + "732ceea8-da5c-467d-ab5c-4c6c9334c2fe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194435Z:732ceea8-da5c-467d-ab5c-4c6c9334c2fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31771" + ], + "x-ms-request-id": [ + "11d03b3d-5cc0-40e4-b20c-904c5702217e" + ], + "x-ms-correlation-request-id": [ + "11d03b3d-5cc0-40e4-b20c-904c5702217e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194440Z:11d03b3d-5cc0-40e4-b20c-904c5702217e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31769" + ], + "x-ms-request-id": [ + "6ef23ccf-34b1-420a-8c52-9fc0e3ddb58c" + ], + "x-ms-correlation-request-id": [ + "6ef23ccf-34b1-420a-8c52-9fc0e3ddb58c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194444Z:6ef23ccf-34b1-420a-8c52-9fc0e3ddb58c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31767" + ], + "x-ms-request-id": [ + "ebde421f-9740-45bf-bc7c-2066381a3026" + ], + "x-ms-correlation-request-id": [ + "ebde421f-9740-45bf-bc7c-2066381a3026" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194448Z:ebde421f-9740-45bf-bc7c-2066381a3026" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31765" + ], + "x-ms-request-id": [ + "f6431a7d-4578-4c3b-b835-0caba99e01e1" + ], + "x-ms-correlation-request-id": [ + "f6431a7d-4578-4c3b-b835-0caba99e01e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194452Z:f6431a7d-4578-4c3b-b835-0caba99e01e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31763" + ], + "x-ms-request-id": [ + "1bfdc8a5-14c6-4b4e-a46a-9556dd2a1266" + ], + "x-ms-correlation-request-id": [ + "1bfdc8a5-14c6-4b4e-a46a-9556dd2a1266" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194456Z:1bfdc8a5-14c6-4b4e-a46a-9556dd2a1266" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:44:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31761" + ], + "x-ms-request-id": [ + "75be7c12-3a98-4c9a-b22c-f6b42023b0ae" + ], + "x-ms-correlation-request-id": [ + "75be7c12-3a98-4c9a-b22c-f6b42023b0ae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194500Z:75be7c12-3a98-4c9a-b22c-f6b42023b0ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31759" + ], + "x-ms-request-id": [ + "858567dd-f4a2-4e34-baf6-9f16ac4ddd76" + ], + "x-ms-correlation-request-id": [ + "858567dd-f4a2-4e34-baf6-9f16ac4ddd76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194505Z:858567dd-f4a2-4e34-baf6-9f16ac4ddd76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31757" + ], + "x-ms-request-id": [ + "269d789f-8a73-4449-95f8-0aa7da701bc6" + ], + "x-ms-correlation-request-id": [ + "269d789f-8a73-4449-95f8-0aa7da701bc6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194509Z:269d789f-8a73-4449-95f8-0aa7da701bc6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:43:29.967084Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31755" + ], + "x-ms-request-id": [ + "c9c7e565-e87b-4542-9480-7b1113de850f" + ], + "x-ms-correlation-request-id": [ + "c9c7e565-e87b-4542-9480-7b1113de850f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194513Z:c9c7e565-e87b-4542-9480-7b1113de850f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db171\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server171\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:45:15.9215571Z\",\r\n \"correlationId\": \"7f11a55b-69c7-41c1-80b7-b2de619d79ec\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31753" + ], + "x-ms-request-id": [ + "debb6fac-85c4-4e65-a246-1b95768279fe" + ], + "x-ms-correlation-request-id": [ + "debb6fac-85c4-4e65-a246-1b95768279fe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194517Z:debb6fac-85c4-4e65-a246-1b95768279fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171\",\r\n \"name\": \"sql-audit-cmdlet-server171\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server171/databases/sql-audit-cmdlet-db171\",\r\n \"name\": \"sql-audit-cmdlet-server171/sql-audit-cmdlet-db171\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31752" + ], + "x-ms-request-id": [ + "f452640c-a550-46d5-9ea9-c99781c8978f" + ], + "x-ms-correlation-request-id": [ + "f452640c-a550-46d5-9ea9-c99781c8978f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194520Z:f452640c-a550-46d5-9ea9-c99781c8978f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg171/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31825" + ], + "x-ms-request-id": [ + "9d102520-9189-4cfe-b5e1-c48870af40cb" + ], + "x-ms-correlation-request-id": [ + "9d102520-9189-4cfe-b5e1-c48870af40cb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194521Z:9d102520-9189-4cfe-b5e1-c48870af40cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets171", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTcx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "663671965f5d185d85d14ab270adb99d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:26 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/663671965f5d185d85d14ab270adb99d", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzY2MzY3MTk2NWY1ZDE4NWQ4NWQxNGFiMjcwYWRiOTlk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 66367196-5f5d-185d-85d1-4ab270adb99d\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "377993e93a9a1fb7982c49e24277324f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:45:27 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerDisableEnableKeepProperties.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerDisableEnableKeepProperties.json new file mode 100644 index 000000000000..4c08c12b88b4 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerDisableEnableKeepProperties.json @@ -0,0 +1,2268 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets131\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "795" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "30c237007edd1bdca95a207f89b5188c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:21 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets131" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/30c237007edd1bdca95a207f89b5188c", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzMwYzIzNzAwN2VkZDFiZGNhOTVhMjA3Zjg5YjUxODhj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "795" + ] + }, + "ResponseBody": "\r\n 30c23700-7edd-1bdc-a95a-207f89b5188c\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "08b0a99eb799141e972ce539bdd36adb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:21 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/30c237007edd1bdca95a207f89b5188c", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzMwYzIzNzAwN2VkZDFiZGNhOTVhMjA3Zjg5YjUxODhj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "795" + ] + }, + "ResponseBody": "\r\n 30c23700-7edd-1bdc-a95a-207f89b5188c\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "0c893655d77619489c07700851f520f2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:51 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31822" + ], + "x-ms-request-id": [ + "ede035dd-564b-45e8-bdc3-f23833d17445" + ], + "x-ms-correlation-request-id": [ + "ede035dd-564b-45e8-bdc3-f23833d17445" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193253Z:ede035dd-564b-45e8-bdc3-f23833d17445" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:53 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131\",\r\n \"name\": \"sql-audit-cmdlet-test-rg131\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1176" + ], + "x-ms-request-id": [ + "2315f55f-9ffb-45cd-ba17-65ed140a745e" + ], + "x-ms-correlation-request-id": [ + "2315f55f-9ffb-45cd-ba17-65ed140a745e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193255Z:2315f55f-9ffb-45cd-ba17-65ed140a745e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:55 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:32:56.8534597Z\",\r\n \"correlationId\": \"11385a76-be7c-4f98-9352-ce6fb10bc667\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1175" + ], + "x-ms-request-id": [ + "11385a76-be7c-4f98-9352-ce6fb10bc667" + ], + "x-ms-correlation-request-id": [ + "11385a76-be7c-4f98-9352-ce6fb10bc667" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193256Z:11385a76-be7c-4f98-9352-ce6fb10bc667" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:32:59.1995932Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1174" + ], + "x-ms-request-id": [ + "30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae" + ], + "x-ms-correlation-request-id": [ + "30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193259Z:30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:32:59 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31821" + ], + "x-ms-request-id": [ + "7046aff1-6a4e-47b6-bf4a-3a7e3a6640c1" + ], + "x-ms-correlation-request-id": [ + "7046aff1-6a4e-47b6-bf4a-3a7e3a6640c1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193300Z:7046aff1-6a4e-47b6-bf4a-3a7e3a6640c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31819" + ], + "x-ms-request-id": [ + "d544e275-1472-496d-a919-eefec8c9b49e" + ], + "x-ms-correlation-request-id": [ + "d544e275-1472-496d-a919-eefec8c9b49e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193305Z:d544e275-1472-496d-a919-eefec8c9b49e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31817" + ], + "x-ms-request-id": [ + "76f7fb59-d3ad-4b69-882a-ac5a8421457a" + ], + "x-ms-correlation-request-id": [ + "76f7fb59-d3ad-4b69-882a-ac5a8421457a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193309Z:76f7fb59-d3ad-4b69-882a-ac5a8421457a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31815" + ], + "x-ms-request-id": [ + "ee341954-d25d-4934-81b9-7754de02ffac" + ], + "x-ms-correlation-request-id": [ + "ee341954-d25d-4934-81b9-7754de02ffac" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193313Z:ee341954-d25d-4934-81b9-7754de02ffac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31813" + ], + "x-ms-request-id": [ + "52f6f107-92f4-4198-8369-157b776456f1" + ], + "x-ms-correlation-request-id": [ + "52f6f107-92f4-4198-8369-157b776456f1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193317Z:52f6f107-92f4-4198-8369-157b776456f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31811" + ], + "x-ms-request-id": [ + "e6865af4-10d0-4c32-8889-4861ee49aef3" + ], + "x-ms-correlation-request-id": [ + "e6865af4-10d0-4c32-8889-4861ee49aef3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193322Z:e6865af4-10d0-4c32-8889-4861ee49aef3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31809" + ], + "x-ms-request-id": [ + "5044e1a7-518c-4560-bed2-16d138fc7b04" + ], + "x-ms-correlation-request-id": [ + "5044e1a7-518c-4560-bed2-16d138fc7b04" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193326Z:5044e1a7-518c-4560-bed2-16d138fc7b04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31807" + ], + "x-ms-request-id": [ + "65571e2a-ea8d-4e37-adfd-93dfc8a34395" + ], + "x-ms-correlation-request-id": [ + "65571e2a-ea8d-4e37-adfd-93dfc8a34395" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193330Z:65571e2a-ea8d-4e37-adfd-93dfc8a34395" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31805" + ], + "x-ms-request-id": [ + "9e0b94c3-4a2e-40b9-b0ac-ec0bedfefe30" + ], + "x-ms-correlation-request-id": [ + "9e0b94c3-4a2e-40b9-b0ac-ec0bedfefe30" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193334Z:9e0b94c3-4a2e-40b9-b0ac-ec0bedfefe30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31803" + ], + "x-ms-request-id": [ + "0455ffa5-d805-4aea-915e-428ca185628f" + ], + "x-ms-correlation-request-id": [ + "0455ffa5-d805-4aea-915e-428ca185628f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193339Z:0455ffa5-d805-4aea-915e-428ca185628f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31801" + ], + "x-ms-request-id": [ + "82e7a588-5590-44d4-8bbb-941c7f3c71ff" + ], + "x-ms-correlation-request-id": [ + "82e7a588-5590-44d4-8bbb-941c7f3c71ff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193343Z:82e7a588-5590-44d4-8bbb-941c7f3c71ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31799" + ], + "x-ms-request-id": [ + "547d8219-4068-493e-b2be-16138d3a7864" + ], + "x-ms-correlation-request-id": [ + "547d8219-4068-493e-b2be-16138d3a7864" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193347Z:547d8219-4068-493e-b2be-16138d3a7864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31797" + ], + "x-ms-request-id": [ + "fffbfd6d-2dd7-44b3-b9f2-2268c79e76c4" + ], + "x-ms-correlation-request-id": [ + "fffbfd6d-2dd7-44b3-b9f2-2268c79e76c4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193351Z:fffbfd6d-2dd7-44b3-b9f2-2268c79e76c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31795" + ], + "x-ms-request-id": [ + "77e972bb-944b-48d5-8932-fe50dbc2a5a2" + ], + "x-ms-correlation-request-id": [ + "77e972bb-944b-48d5-8932-fe50dbc2a5a2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193355Z:77e972bb-944b-48d5-8932-fe50dbc2a5a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations/94ECE4F7F3439B2A\",\r\n \"operationId\": \"94ECE4F7F3439B2A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:33:56.1487347Z\",\r\n \"trackingId\": \"c2806d9b-2ff9-4f4c-81b4-a0ba7f22f865\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31793" + ], + "x-ms-request-id": [ + "d5137cb4-99a8-433c-82fd-5e3690473fc3" + ], + "x-ms-correlation-request-id": [ + "d5137cb4-99a8-433c-82fd-5e3690473fc3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193359Z:d5137cb4-99a8-433c-82fd-5e3690473fc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations/F5605F68CD6057BD\",\r\n \"operationId\": \"F5605F68CD6057BD\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:34:01.6109766Z\",\r\n \"trackingId\": \"6918c416-a559-4dda-9ca4-8a59dcc08fcd\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations/94ECE4F7F3439B2A\",\r\n \"operationId\": \"94ECE4F7F3439B2A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:33:56.1487347Z\",\r\n \"trackingId\": \"c2806d9b-2ff9-4f4c-81b4-a0ba7f22f865\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31791" + ], + "x-ms-request-id": [ + "d43b6374-04f1-49df-b8d6-7543b5af1732" + ], + "x-ms-correlation-request-id": [ + "d43b6374-04f1-49df-b8d6-7543b5af1732" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193403Z:d43b6374-04f1-49df-b8d6-7543b5af1732" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations/F5605F68CD6057BD\",\r\n \"operationId\": \"F5605F68CD6057BD\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:34:01.6109766Z\",\r\n \"trackingId\": \"6918c416-a559-4dda-9ca4-8a59dcc08fcd\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup/operations/94ECE4F7F3439B2A\",\r\n \"operationId\": \"94ECE4F7F3439B2A\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:33:56.1487347Z\",\r\n \"trackingId\": \"c2806d9b-2ff9-4f4c-81b4-a0ba7f22f865\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31789" + ], + "x-ms-request-id": [ + "98325817-d92a-4c7f-bc9d-a928792f7043" + ], + "x-ms-correlation-request-id": [ + "98325817-d92a-4c7f-bc9d-a928792f7043" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193408Z:98325817-d92a-4c7f-bc9d-a928792f7043" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:32:59.1995932Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31820" + ], + "x-ms-request-id": [ + "d9efecb9-9297-42b2-9996-b3383a8026eb" + ], + "x-ms-correlation-request-id": [ + "d9efecb9-9297-42b2-9996-b3383a8026eb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193301Z:d9efecb9-9297-42b2-9996-b3383a8026eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31818" + ], + "x-ms-request-id": [ + "e3f2baca-7469-4bae-90d1-1ebf3a6159ee" + ], + "x-ms-correlation-request-id": [ + "e3f2baca-7469-4bae-90d1-1ebf3a6159ee" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193306Z:e3f2baca-7469-4bae-90d1-1ebf3a6159ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31816" + ], + "x-ms-request-id": [ + "cc3cda62-262e-4b73-9bda-eb50d80ca6d3" + ], + "x-ms-correlation-request-id": [ + "cc3cda62-262e-4b73-9bda-eb50d80ca6d3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193310Z:cc3cda62-262e-4b73-9bda-eb50d80ca6d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31814" + ], + "x-ms-request-id": [ + "f7167b80-03e5-49c4-9976-3937448aa15a" + ], + "x-ms-correlation-request-id": [ + "f7167b80-03e5-49c4-9976-3937448aa15a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193314Z:f7167b80-03e5-49c4-9976-3937448aa15a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31812" + ], + "x-ms-request-id": [ + "405c9d30-0607-481e-8a50-9c8d351c8162" + ], + "x-ms-correlation-request-id": [ + "405c9d30-0607-481e-8a50-9c8d351c8162" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193318Z:405c9d30-0607-481e-8a50-9c8d351c8162" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31810" + ], + "x-ms-request-id": [ + "477abdce-6a8d-46f5-8099-1432625a36ce" + ], + "x-ms-correlation-request-id": [ + "477abdce-6a8d-46f5-8099-1432625a36ce" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193323Z:477abdce-6a8d-46f5-8099-1432625a36ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31808" + ], + "x-ms-request-id": [ + "043ed504-5248-4b72-852d-02fbdcacbb6f" + ], + "x-ms-correlation-request-id": [ + "043ed504-5248-4b72-852d-02fbdcacbb6f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193327Z:043ed504-5248-4b72-852d-02fbdcacbb6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31806" + ], + "x-ms-request-id": [ + "af90a375-f7cf-4cad-be23-da97d596ebfa" + ], + "x-ms-correlation-request-id": [ + "af90a375-f7cf-4cad-be23-da97d596ebfa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193331Z:af90a375-f7cf-4cad-be23-da97d596ebfa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31804" + ], + "x-ms-request-id": [ + "745d0947-1e06-4da7-aba0-f034a265d04c" + ], + "x-ms-correlation-request-id": [ + "745d0947-1e06-4da7-aba0-f034a265d04c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193335Z:745d0947-1e06-4da7-aba0-f034a265d04c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31802" + ], + "x-ms-request-id": [ + "b3fa5c25-878c-446e-a4bf-f48299083412" + ], + "x-ms-correlation-request-id": [ + "b3fa5c25-878c-446e-a4bf-f48299083412" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193340Z:b3fa5c25-878c-446e-a4bf-f48299083412" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31800" + ], + "x-ms-request-id": [ + "ed64dc19-c7ed-4a4c-bba0-e647a873a0fa" + ], + "x-ms-correlation-request-id": [ + "ed64dc19-c7ed-4a4c-bba0-e647a873a0fa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193344Z:ed64dc19-c7ed-4a4c-bba0-e647a873a0fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31798" + ], + "x-ms-request-id": [ + "b3e84b77-7ab4-462d-86e5-0cb45638fbd8" + ], + "x-ms-correlation-request-id": [ + "b3e84b77-7ab4-462d-86e5-0cb45638fbd8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193348Z:b3e84b77-7ab4-462d-86e5-0cb45638fbd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31796" + ], + "x-ms-request-id": [ + "fba425d9-6732-43ae-8d9f-d09968761a60" + ], + "x-ms-correlation-request-id": [ + "fba425d9-6732-43ae-8d9f-d09968761a60" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193352Z:fba425d9-6732-43ae-8d9f-d09968761a60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31794" + ], + "x-ms-request-id": [ + "af5a2155-bd5e-4bd8-9119-c39595d61515" + ], + "x-ms-correlation-request-id": [ + "af5a2155-bd5e-4bd8-9119-c39595d61515" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193356Z:af5a2155-bd5e-4bd8-9119-c39595d61515" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:33:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31792" + ], + "x-ms-request-id": [ + "ed72e942-c414-4c93-b587-3bdf40987c76" + ], + "x-ms-correlation-request-id": [ + "ed72e942-c414-4c93-b587-3bdf40987c76" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193400Z:ed72e942-c414-4c93-b587-3bdf40987c76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:33:01.9730763Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31790" + ], + "x-ms-request-id": [ + "e5825c82-5cec-4d02-9fd6-a6aac07a14dd" + ], + "x-ms-correlation-request-id": [ + "e5825c82-5cec-4d02-9fd6-a6aac07a14dd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193404Z:e5825c82-5cec-4d02-9fd6-a6aac07a14dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db131\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server131\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:34:04.9751216Z\",\r\n \"correlationId\": \"30a859c7-1e1b-45ba-83fe-baa2f6bfa3ae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31788" + ], + "x-ms-request-id": [ + "1ee502fb-5c87-48bf-9a55-a92438569841" + ], + "x-ms-correlation-request-id": [ + "1ee502fb-5c87-48bf-9a55-a92438569841" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193409Z:1ee502fb-5c87-48bf-9a55-a92438569841" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131\",\r\n \"name\": \"sql-audit-cmdlet-server131\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databases/sql-audit-cmdlet-db131\",\r\n \"name\": \"sql-audit-cmdlet-server131/sql-audit-cmdlet-db131\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31787" + ], + "x-ms-request-id": [ + "6451ef61-08e8-4d7e-9ef5-5b6c0ea08e56" + ], + "x-ms-correlation-request-id": [ + "6451ef61-08e8-4d7e-9ef5-5b6c0ea08e56" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193411Z:6451ef61-08e8-4d7e-9ef5-5b6c0ea08e56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31878" + ], + "x-ms-request-id": [ + "2a3d8db7-c10a-4ea9-8d3c-b708554b4243" + ], + "x-ms-correlation-request-id": [ + "2a3d8db7-c10a-4ea9-8d3c-b708554b4243" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193412Z:2a3d8db7-c10a-4ea9-8d3c-b708554b4243" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "b3c809de-b97f-448d-81ec-4394fcdc609f-2014-09-17 19:34:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server131;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server131;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server131.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server131\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server131.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server131;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server131.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "eda712f8-c991-4a27-b5a8-01d7190ea871" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31876" + ], + "x-ms-correlation-request-id": [ + "1ae42f0b-9680-4ac8-976f-af33744cd0ba" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193416Z:1ae42f0b-9680-4ac8-976f-af33744cd0ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "fe495431-4ccd-47f6-809b-39820d18d966-2014-09-17 19:34:22Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server131;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server131;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server131.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server131\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server131.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server131;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server131.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a356cee7-6380-44c6-8cc1-7ab0811f70df" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31875" + ], + "x-ms-correlation-request-id": [ + "0a2f61b8-0ddf-4b53-8f26-70c840a387ed" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193424Z:0a2f61b8-0ddf-4b53-8f26-70c840a387ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:24 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "746dc495-e513-49e6-a495-f782cfaba3f0-2014-09-17 19:34:28Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server131;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server131;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server131.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server131\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server131.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server131;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server131.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "8bad2731-4da9-4c0b-9e6d-658a4849e614" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31874" + ], + "x-ms-correlation-request-id": [ + "4869a581-3857-4e3c-9956-59bd1075a780" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193430Z:4869a581-3857-4e3c-9956-59bd1075a780" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "2bd122a0-1620-4d9a-8abe-3a01ccf3c2df-2014-09-17 19:34:34Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server131;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server131;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server131.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server131\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server131.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server131.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server131;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server131.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d6b5241a-22b8-4325-b73d-4f72a97cf44f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31873" + ], + "x-ms-correlation-request-id": [ + "149c353d-237d-48ce-b5ff-9eb99d9da579" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193436Z:149c353d-237d-48ce-b5ff-9eb99d9da579" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets131\",\r\n \"name\": \"auditcmdlets131\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31786" + ], + "x-ms-request-id": [ + "5d30a8e8-50d6-4b30-aa2e-6761acfeb9b7" + ], + "x-ms-correlation-request-id": [ + "5d30a8e8-50d6-4b30-aa2e-6761acfeb9b7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193417Z:5d30a8e8-50d6-4b30-aa2e-6761acfeb9b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTMx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131\r\n auditcmdlets131\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets131.blob.core.windows.net/\r\n https://auditcmdlets131.queue.core.windows.net/\r\n https://auditcmdlets131.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:32:21Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "6883a7f7b6361de0a29f39c9f54db706" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTMxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131\r\n \r\n 5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\r\n 3Mus+73dZLos4J6nxK8b4oNoXBNAsRXU4z0NQoTgcTqsHgLoO0E9sIqmNE+VDI4w9l6Nfjp9c+gA8y7eZIOikA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d2f04ad14a741b26a724f8decac58d16" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTMxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131\r\n \r\n 5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\r\n 3Mus+73dZLos4J6nxK8b4oNoXBNAsRXU4z0NQoTgcTqsHgLoO0E9sIqmNE+VDI4w9l6Nfjp9c+gA8y7eZIOikA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "95339ac923d812a7bdd30526855106a6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:31 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": \"5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "b3c809de-b97f-448d-81ec-4394fcdc609f-2014-09-17 19:34:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": \"5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "b9e340fc-5a0c-43c1-8662-cb0b3047fbe2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-correlation-request-id": [ + "5940d090-6298-4f40-bad4-d8fdd004f652" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193421Z:5940d090-6298-4f40-bad4-d8fdd004f652" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "fe495431-4ccd-47f6-809b-39820d18d966-2014-09-17 19:34:22Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "eb0d7894-dafb-453c-8941-2f428552a3e5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1180" + ], + "x-ms-correlation-request-id": [ + "1f1c164c-def7-4c69-be72-159040b47cb6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193427Z:1f1c164c-def7-4c69-be72-159040b47cb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:27 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzEzMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTMxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": \"5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "4d380bde-7f8f-4786-bbd5-ea67e7076aa2-2014-09-17 19:34:12Z" + ], + "x-ms-client-request-id": [ + "746dc495-e513-49e6-a495-f782cfaba3f0-2014-09-17 19:34:28Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets131\",\r\n \"storageAccountKey\": \"5fBwCDr64P7vJs2ljhuxwG56Wm4pJJlvmMIZ17qOdKJWysa+lW7wxk2AKDicVDOzh2+ndajgdeBaQ9Fh2FC1uw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets131.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg131/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server131/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "11d99e5d-0963-41cd-a077-39ed9c9153b8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1179" + ], + "x-ms-correlation-request-id": [ + "b5f728ce-a722-4edb-8575-e31f4fb14978" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193434Z:b5f728ce-a722-4edb-8575-e31f4fb14978" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets131", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTMx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "273ec60fad5919cd8db532a25203b34b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:39 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/273ec60fad5919cd8db532a25203b34b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzI3M2VjNjBmYWQ1OTE5Y2Q4ZGI1MzJhMjUyMDNiMzRi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 273ec60f-ad59-19cd-8db5-32a25203b34b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ebcd5791fac7140eb2a11189df847a76" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:34:41 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyKeepPreviousStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyKeepPreviousStorage.json new file mode 100644 index 000000000000..7e6d7a19db8a --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyKeepPreviousStorage.json @@ -0,0 +1,2136 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets401\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "389" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a01b4e0da45313068b62de5484f31723" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:07 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets401" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/a01b4e0da45313068b62de5484f31723", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2EwMWI0ZTBkYTQ1MzEzMDY4YjYyZGU1NDg0ZjMxNzIz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "389" + ] + }, + "ResponseBody": "\r\n a01b4e0d-a453-1306-8b62-de5484f31723\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "9162685667c81f8ba91cf1ce531b66da" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:07 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/a01b4e0da45313068b62de5484f31723", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2EwMWI0ZTBkYTQ1MzEzMDY4YjYyZGU1NDg0ZjMxNzIz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "389" + ] + }, + "ResponseBody": "\r\n a01b4e0d-a453-1306-8b62-de5484f31723\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "2cefd4a228ca1c7cb34bdf580f4ba947" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:37 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31918" + ], + "x-ms-request-id": [ + "3a9c9c9f-f42c-4aa8-bc60-0c5397222a7b" + ], + "x-ms-correlation-request-id": [ + "3a9c9c9f-f42c-4aa8-bc60-0c5397222a7b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191139Z:3a9c9c9f-f42c-4aa8-bc60-0c5397222a7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:39 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401\",\r\n \"name\": \"sql-audit-cmdlet-test-rg401\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "8617816c-a2c9-4fb4-b98d-5c8879f186f7" + ], + "x-ms-correlation-request-id": [ + "8617816c-a2c9-4fb4-b98d-5c8879f186f7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191141Z:8617816c-a2c9-4fb4-b98d-5c8879f186f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:40 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:11:43.2410814Z\",\r\n \"correlationId\": \"3a30cb48-3c7c-4e48-81c4-5c54eac08ff5\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "3a30cb48-3c7c-4e48-81c4-5c54eac08ff5" + ], + "x-ms-correlation-request-id": [ + "3a30cb48-3c7c-4e48-81c4-5c54eac08ff5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191143Z:3a30cb48-3c7c-4e48-81c4-5c54eac08ff5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:11:45.6894447Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "70c6cfc3-8c4d-46d1-aa2f-0a309397a94d" + ], + "x-ms-correlation-request-id": [ + "70c6cfc3-8c4d-46d1-aa2f-0a309397a94d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191146Z:70c6cfc3-8c4d-46d1-aa2f-0a309397a94d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:46 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31917" + ], + "x-ms-request-id": [ + "05d8707a-bd44-4850-b80c-19d4763a0808" + ], + "x-ms-correlation-request-id": [ + "05d8707a-bd44-4850-b80c-19d4763a0808" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191147Z:05d8707a-bd44-4850-b80c-19d4763a0808" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31915" + ], + "x-ms-request-id": [ + "d58f810d-683f-42b6-bb17-6144649480f4" + ], + "x-ms-correlation-request-id": [ + "d58f810d-683f-42b6-bb17-6144649480f4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191151Z:d58f810d-683f-42b6-bb17-6144649480f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31913" + ], + "x-ms-request-id": [ + "61f8dc90-4b16-45d5-8301-dcbed5bc6f05" + ], + "x-ms-correlation-request-id": [ + "61f8dc90-4b16-45d5-8301-dcbed5bc6f05" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191155Z:61f8dc90-4b16-45d5-8301-dcbed5bc6f05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31911" + ], + "x-ms-request-id": [ + "6dcb0a86-49e0-4dbe-9789-d242c3ebb751" + ], + "x-ms-correlation-request-id": [ + "6dcb0a86-49e0-4dbe-9789-d242c3ebb751" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191159Z:6dcb0a86-49e0-4dbe-9789-d242c3ebb751" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31909" + ], + "x-ms-request-id": [ + "b6722c2f-eb24-4d66-a9d8-883d1b904a7a" + ], + "x-ms-correlation-request-id": [ + "b6722c2f-eb24-4d66-a9d8-883d1b904a7a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191204Z:b6722c2f-eb24-4d66-a9d8-883d1b904a7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31907" + ], + "x-ms-request-id": [ + "3e5cd59b-15d8-4fc6-99dc-8ae776ecbb92" + ], + "x-ms-correlation-request-id": [ + "3e5cd59b-15d8-4fc6-99dc-8ae776ecbb92" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191208Z:3e5cd59b-15d8-4fc6-99dc-8ae776ecbb92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31905" + ], + "x-ms-request-id": [ + "71e9d0ee-45d7-42eb-b8fc-2c78f786287c" + ], + "x-ms-correlation-request-id": [ + "71e9d0ee-45d7-42eb-b8fc-2c78f786287c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191212Z:71e9d0ee-45d7-42eb-b8fc-2c78f786287c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31903" + ], + "x-ms-request-id": [ + "132532dd-3747-4e00-abb5-4b2a2f883c5e" + ], + "x-ms-correlation-request-id": [ + "132532dd-3747-4e00-abb5-4b2a2f883c5e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191216Z:132532dd-3747-4e00-abb5-4b2a2f883c5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31901" + ], + "x-ms-request-id": [ + "51c1c71c-4796-4a25-b618-45a599b7f192" + ], + "x-ms-correlation-request-id": [ + "51c1c71c-4796-4a25-b618-45a599b7f192" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191220Z:51c1c71c-4796-4a25-b618-45a599b7f192" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31899" + ], + "x-ms-request-id": [ + "a9f1378c-46b1-4342-9300-180f4c333ecf" + ], + "x-ms-correlation-request-id": [ + "a9f1378c-46b1-4342-9300-180f4c333ecf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191224Z:a9f1378c-46b1-4342-9300-180f4c333ecf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31897" + ], + "x-ms-request-id": [ + "931da2af-d84e-4328-82dd-6863e034bb34" + ], + "x-ms-correlation-request-id": [ + "931da2af-d84e-4328-82dd-6863e034bb34" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191229Z:931da2af-d84e-4328-82dd-6863e034bb34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31895" + ], + "x-ms-request-id": [ + "4682c70c-ffbd-4a68-bde2-1e3c0b7f0b8f" + ], + "x-ms-correlation-request-id": [ + "4682c70c-ffbd-4a68-bde2-1e3c0b7f0b8f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191233Z:4682c70c-ffbd-4a68-bde2-1e3c0b7f0b8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-request-id": [ + "7b91f036-7601-4e46-92d3-401296931f42" + ], + "x-ms-correlation-request-id": [ + "7b91f036-7601-4e46-92d3-401296931f42" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191237Z:7b91f036-7601-4e46-92d3-401296931f42" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations/0BFAA98F209E2AC0\",\r\n \"operationId\": \"0BFAA98F209E2AC0\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:12:41.5735857Z\",\r\n \"trackingId\": \"b2f4ddc8-3a0d-4a5b-becb-0a4295447537\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-request-id": [ + "6996e9a0-6dcb-4014-9aad-f6bbff1f6ec6" + ], + "x-ms-correlation-request-id": [ + "6996e9a0-6dcb-4014-9aad-f6bbff1f6ec6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191241Z:6996e9a0-6dcb-4014-9aad-f6bbff1f6ec6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations/0BFAA98F209E2AC0\",\r\n \"operationId\": \"0BFAA98F209E2AC0\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:12:41.5735857Z\",\r\n \"trackingId\": \"b2f4ddc8-3a0d-4a5b-becb-0a4295447537\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31889" + ], + "x-ms-request-id": [ + "e4ecd5a7-70df-4470-9774-87261ea0cf1f" + ], + "x-ms-correlation-request-id": [ + "e4ecd5a7-70df-4470-9774-87261ea0cf1f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191245Z:e4ecd5a7-70df-4470-9774-87261ea0cf1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations/1D43CCE355A6BA3E\",\r\n \"operationId\": \"1D43CCE355A6BA3E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:12:46.651549Z\",\r\n \"trackingId\": \"7c7c3ac8-3e6f-47ef-9dde-5ff988a0a258\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup/operations/0BFAA98F209E2AC0\",\r\n \"operationId\": \"0BFAA98F209E2AC0\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:12:41.5735857Z\",\r\n \"trackingId\": \"b2f4ddc8-3a0d-4a5b-becb-0a4295447537\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "f47c8cbf-1223-48c4-b253-6a7b83a636dd" + ], + "x-ms-correlation-request-id": [ + "f47c8cbf-1223-48c4-b253-6a7b83a636dd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191250Z:f47c8cbf-1223-48c4-b253-6a7b83a636dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:11:45.6894447Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31916" + ], + "x-ms-request-id": [ + "1ede34bd-f828-4bc8-a086-cd40357aebe4" + ], + "x-ms-correlation-request-id": [ + "1ede34bd-f828-4bc8-a086-cd40357aebe4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191148Z:1ede34bd-f828-4bc8-a086-cd40357aebe4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31914" + ], + "x-ms-request-id": [ + "31510a5c-6b2a-447e-84f8-b0527b1c221a" + ], + "x-ms-correlation-request-id": [ + "31510a5c-6b2a-447e-84f8-b0527b1c221a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191152Z:31510a5c-6b2a-447e-84f8-b0527b1c221a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31912" + ], + "x-ms-request-id": [ + "44986f9f-7e2f-40f5-9714-d74cf02ea5e0" + ], + "x-ms-correlation-request-id": [ + "44986f9f-7e2f-40f5-9714-d74cf02ea5e0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191156Z:44986f9f-7e2f-40f5-9714-d74cf02ea5e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:11:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31910" + ], + "x-ms-request-id": [ + "bc6606ac-5d99-440e-9fd6-ffd131b9aa30" + ], + "x-ms-correlation-request-id": [ + "bc6606ac-5d99-440e-9fd6-ffd131b9aa30" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191200Z:bc6606ac-5d99-440e-9fd6-ffd131b9aa30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31908" + ], + "x-ms-request-id": [ + "6b7f385f-e5f0-4479-b82d-3861a6f923ce" + ], + "x-ms-correlation-request-id": [ + "6b7f385f-e5f0-4479-b82d-3861a6f923ce" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191204Z:6b7f385f-e5f0-4479-b82d-3861a6f923ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31906" + ], + "x-ms-request-id": [ + "01a4bacc-a77a-4d9d-a096-9ef1108715cd" + ], + "x-ms-correlation-request-id": [ + "01a4bacc-a77a-4d9d-a096-9ef1108715cd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191209Z:01a4bacc-a77a-4d9d-a096-9ef1108715cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31904" + ], + "x-ms-request-id": [ + "df515a90-41bf-4615-b43a-ee63b57e37e9" + ], + "x-ms-correlation-request-id": [ + "df515a90-41bf-4615-b43a-ee63b57e37e9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191213Z:df515a90-41bf-4615-b43a-ee63b57e37e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31902" + ], + "x-ms-request-id": [ + "ddb79516-df69-4ca3-9c1a-aba1c5b63bb8" + ], + "x-ms-correlation-request-id": [ + "ddb79516-df69-4ca3-9c1a-aba1c5b63bb8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191217Z:ddb79516-df69-4ca3-9c1a-aba1c5b63bb8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31900" + ], + "x-ms-request-id": [ + "02cefc50-e9c9-45a2-9531-829a52b7028e" + ], + "x-ms-correlation-request-id": [ + "02cefc50-e9c9-45a2-9531-829a52b7028e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191221Z:02cefc50-e9c9-45a2-9531-829a52b7028e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31898" + ], + "x-ms-request-id": [ + "d6a08ee5-6a24-418b-9a52-b13388567145" + ], + "x-ms-correlation-request-id": [ + "d6a08ee5-6a24-418b-9a52-b13388567145" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191225Z:d6a08ee5-6a24-418b-9a52-b13388567145" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31896" + ], + "x-ms-request-id": [ + "4beaa1f4-4868-405a-afa1-66090d0ec5d5" + ], + "x-ms-correlation-request-id": [ + "4beaa1f4-4868-405a-afa1-66090d0ec5d5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191230Z:4beaa1f4-4868-405a-afa1-66090d0ec5d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31894" + ], + "x-ms-request-id": [ + "c4eb1a39-bfa8-4fa7-8721-aea5db518341" + ], + "x-ms-correlation-request-id": [ + "c4eb1a39-bfa8-4fa7-8721-aea5db518341" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191234Z:c4eb1a39-bfa8-4fa7-8721-aea5db518341" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-request-id": [ + "0e304861-55ba-4d32-abd5-7a8baadf1778" + ], + "x-ms-correlation-request-id": [ + "0e304861-55ba-4d32-abd5-7a8baadf1778" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191238Z:0e304861-55ba-4d32-abd5-7a8baadf1778" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-request-id": [ + "fdf02111-c12d-4673-9069-7f270b085045" + ], + "x-ms-correlation-request-id": [ + "fdf02111-c12d-4673-9069-7f270b085045" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191242Z:fdf02111-c12d-4673-9069-7f270b085045" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:11:48.4432002Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-request-id": [ + "9d2417f3-7f62-490d-8352-32e1888a4d38" + ], + "x-ms-correlation-request-id": [ + "9d2417f3-7f62-490d-8352-32e1888a4d38" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191246Z:9d2417f3-7f62-490d-8352-32e1888a4d38" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db401\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server401\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:12:50.1760969Z\",\r\n \"correlationId\": \"70c6cfc3-8c4d-46d1-aa2f-0a309397a94d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "437af2eb-79ef-40bc-8115-561d0bc17328" + ], + "x-ms-correlation-request-id": [ + "437af2eb-79ef-40bc-8115-561d0bc17328" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191251Z:437af2eb-79ef-40bc-8115-561d0bc17328" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401\",\r\n \"name\": \"sql-audit-cmdlet-server401\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databases/sql-audit-cmdlet-db401\",\r\n \"name\": \"sql-audit-cmdlet-server401/sql-audit-cmdlet-db401\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31885" + ], + "x-ms-request-id": [ + "ebf05eb4-48ec-425d-8294-4a565f1dbd83" + ], + "x-ms-correlation-request-id": [ + "ebf05eb4-48ec-425d-8294-4a565f1dbd83" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191255Z:ebf05eb4-48ec-425d-8294-4a565f1dbd83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "5d2375fb-1ce6-4b36-b61b-411c7b7316c4" + ], + "x-ms-correlation-request-id": [ + "5d2375fb-1ce6-4b36-b61b-411c7b7316c4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191256Z:5d2375fb-1ce6-4b36-b61b-411c7b7316c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "f0e5551a-b6cc-4057-ae0a-fabd3ab06030-2014-09-17 19:12:56Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server401;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server401;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server401.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server401\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server401.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server401;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server401.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "f7acd6b8-d333-4405-978a-c309ee274312" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31916" + ], + "x-ms-correlation-request-id": [ + "76d98e1a-74af-49a6-a76d-d8dc621afacd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191259Z:76d98e1a-74af-49a6-a76d-d8dc621afacd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "b5c728e6-d0ab-473d-bef3-e3cff8d81151-2014-09-17 19:13:04Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server401;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server401;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server401.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server401\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server401.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server401;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server401.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "78cb9639-9f13-41d0-a64c-7d9e46f2f2e4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31915" + ], + "x-ms-correlation-request-id": [ + "29341f35-f483-4451-9753-935bdc4aa924" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191306Z:29341f35-f483-4451-9753-935bdc4aa924" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "d509b9b2-c937-440b-87df-f8efb3a800fb-2014-09-17 19:13:06Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server401;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server401;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server401.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server401\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server401.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server401;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server401.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "92a8a968-4c2c-4b24-85cd-08083812e71e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31914" + ], + "x-ms-correlation-request-id": [ + "8575b72c-4fd6-4b35-b7e4-05a3b0f2b9b1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191308Z:8575b72c-4fd6-4b35-b7e4-05a3b0f2b9b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "42264b5a-eb3e-4a4e-acde-9ed10c35ca85-2014-09-17 19:13:11Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server401;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server401;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server401.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server401\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server401.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server401.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server401;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server401.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "5d423459-ec1b-4476-826d-76da7dfefd5b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31913" + ], + "x-ms-correlation-request-id": [ + "8863e53b-477c-4e0c-9673-ef1a0d02ed35" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191314Z:8863e53b-477c-4e0c-9673-ef1a0d02ed35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:14 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets401\",\r\n \"name\": \"auditcmdlets401\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], + "x-ms-request-id": [ + "2ca45c83-4bc5-48cb-b059-40051a00c831" + ], + "x-ms-correlation-request-id": [ + "2ca45c83-4bc5-48cb-b059-40051a00c831" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191300Z:2ca45c83-4bc5-48cb-b059-40051a00c831" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:12:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNDAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401\r\n auditcmdlets401\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets401.blob.core.windows.net/\r\n https://auditcmdlets401.queue.core.windows.net/\r\n https://auditcmdlets401.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:11:07Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ea951e5a1b92148db1b6c3ee2fa506cc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:01 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNDAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401\r\n \r\n JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\r\n gNazlzeKSj7hGNYUsPQHl33w5hyL7AxAqu6A3om0o1JR5nH1Ga7NgMInDjwW9Qw5FHnwAuqLa82sU3PPDvCYFg==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b63a2f5da4781beb95b8c54e9b5db807" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:01 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNDAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401\r\n \r\n JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\r\n gNazlzeKSj7hGNYUsPQHl33w5hyL7AxAqu6A3om0o1JR5nH1Ga7NgMInDjwW9Qw5FHnwAuqLa82sU3PPDvCYFg==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5b3d6242f9fa18e8919cd9d9c457c806" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:08 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": \"JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "f0e5551a-b6cc-4057-ae0a-fabd3ab06030-2014-09-17 19:12:56Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": \"JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "651f17e4-4bf1-4156-9c34-afce06bda466" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-correlation-request-id": [ + "feeffd6a-669f-44da-94d0-34ecaee75fa5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191304Z:feeffd6a-669f-44da-94d0-34ecaee75fa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:04 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNDAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": \"JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "421e5e21-2f7b-4651-b0b0-262f1ac11884-2014-09-17 19:12:56Z" + ], + "x-ms-client-request-id": [ + "d509b9b2-c937-440b-87df-f8efb3a800fb-2014-09-17 19:13:06Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets401\",\r\n \"storageAccountKey\": \"JmnwZ1iMHFwajnUGTJZ4ZqPYCx4oy2xipgNkKp3tP13mKZtGUSu/IAHDqHmDLamYx5CZVrUm77qePZiVGt6MJA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets401.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg401/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server401/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "0db70713-4a87-44bc-8b86-23281c57b8b0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-correlation-request-id": [ + "ff04d175-b365-4914-8bf9-8d93d63de57c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191311Z:ff04d175-b365-4914-8bf9-8d93d63de57c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets401", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNDAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "2ac557240c3815e2b0ba53bee4656da6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:17 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/2ac557240c3815e2b0ba53bee4656da6", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzJhYzU1NzI0MGMzODE1ZTJiMGJhNTNiZWU0NjU2ZGE2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 2ac55724-0c38-15e2-b0ba-53bee4656da6\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "e9b9812754c210edbe5c251da1b6a288" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:13:18 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypeShortcuts.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypeShortcuts.json new file mode 100644 index 000000000000..f3d7410bdeba --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypeShortcuts.json @@ -0,0 +1,2800 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets801\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "445" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "4f08ba0761f9183faee60a2d9637f9ca" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:03 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets801" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/4f08ba0761f9183faee60a2d9637f9ca", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzRmMDhiYTA3NjFmOTE4M2ZhZWU2MGEyZDk2MzdmOWNh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "445" + ] + }, + "ResponseBody": "\r\n 4f08ba07-61f9-183f-aee6-0a2d9637f9ca\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "98df11a6658515de99cf32f57865c7ce" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:03 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/4f08ba0761f9183faee60a2d9637f9ca", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzRmMDhiYTA3NjFmOTE4M2ZhZWU2MGEyZDk2MzdmOWNh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "445" + ] + }, + "ResponseBody": "\r\n 4f08ba07-61f9-183f-aee6-0a2d9637f9ca\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "83cb08676b161b54bdafc15540cf8d8e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:34 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "24cf24f0-6cfe-4e3e-ae9e-2603f15204c4" + ], + "x-ms-correlation-request-id": [ + "24cf24f0-6cfe-4e3e-ae9e-2603f15204c4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191435Z:24cf24f0-6cfe-4e3e-ae9e-2603f15204c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:35 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801\",\r\n \"name\": \"sql-audit-cmdlet-test-rg801\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "0a93f742-b7d2-4fc7-bfea-88ff4d9fe6da" + ], + "x-ms-correlation-request-id": [ + "0a93f742-b7d2-4fc7-bfea-88ff4d9fe6da" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191438Z:0a93f742-b7d2-4fc7-bfea-88ff4d9fe6da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:38 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:14:39.3934358Z\",\r\n \"correlationId\": \"29f9a51a-a431-48fa-a467-0a5650285861\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "29f9a51a-a431-48fa-a467-0a5650285861" + ], + "x-ms-correlation-request-id": [ + "29f9a51a-a431-48fa-a467-0a5650285861" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191439Z:29f9a51a-a431-48fa-a467-0a5650285861" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:14:41.8356788Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "d0febcd0-5d9b-4df5-9e3a-b94799e07466" + ], + "x-ms-correlation-request-id": [ + "d0febcd0-5d9b-4df5-9e3a-b94799e07466" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191442Z:d0febcd0-5d9b-4df5-9e3a-b94799e07466" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:42 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "f1e68ce6-e456-4cd7-b6bd-a128963ddd54" + ], + "x-ms-correlation-request-id": [ + "f1e68ce6-e456-4cd7-b6bd-a128963ddd54" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191443Z:f1e68ce6-e456-4cd7-b6bd-a128963ddd54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "7364adb5-7a2f-4fa6-ac13-5d0ac16087ef" + ], + "x-ms-correlation-request-id": [ + "7364adb5-7a2f-4fa6-ac13-5d0ac16087ef" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191447Z:7364adb5-7a2f-4fa6-ac13-5d0ac16087ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31937" + ], + "x-ms-request-id": [ + "95ad7214-d667-4eb0-8b70-cf418ad3f8cf" + ], + "x-ms-correlation-request-id": [ + "95ad7214-d667-4eb0-8b70-cf418ad3f8cf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191451Z:95ad7214-d667-4eb0-8b70-cf418ad3f8cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31935" + ], + "x-ms-request-id": [ + "b78cd27a-d0c3-470a-852b-f9c75d95809b" + ], + "x-ms-correlation-request-id": [ + "b78cd27a-d0c3-470a-852b-f9c75d95809b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191455Z:b78cd27a-d0c3-470a-852b-f9c75d95809b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31933" + ], + "x-ms-request-id": [ + "bc7a41c5-0176-491b-b95d-be853179d02f" + ], + "x-ms-correlation-request-id": [ + "bc7a41c5-0176-491b-b95d-be853179d02f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191459Z:bc7a41c5-0176-491b-b95d-be853179d02f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31931" + ], + "x-ms-request-id": [ + "b2397c95-7066-4da8-b945-484ddbfbefd0" + ], + "x-ms-correlation-request-id": [ + "b2397c95-7066-4da8-b945-484ddbfbefd0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191503Z:b2397c95-7066-4da8-b945-484ddbfbefd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31929" + ], + "x-ms-request-id": [ + "7f212869-3839-4c22-8da9-4ad3721480bd" + ], + "x-ms-correlation-request-id": [ + "7f212869-3839-4c22-8da9-4ad3721480bd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191507Z:7f212869-3839-4c22-8da9-4ad3721480bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31927" + ], + "x-ms-request-id": [ + "15ffe30d-4470-4207-9993-957aa3a8c0e1" + ], + "x-ms-correlation-request-id": [ + "15ffe30d-4470-4207-9993-957aa3a8c0e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191512Z:15ffe30d-4470-4207-9993-957aa3a8c0e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" + ], + "x-ms-request-id": [ + "a1c3c335-76a8-4e4c-bffc-41c0a1227bb2" + ], + "x-ms-correlation-request-id": [ + "a1c3c335-76a8-4e4c-bffc-41c0a1227bb2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191516Z:a1c3c335-76a8-4e4c-bffc-41c0a1227bb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31923" + ], + "x-ms-request-id": [ + "9df06505-1a82-467d-bb13-8ae371364e67" + ], + "x-ms-correlation-request-id": [ + "9df06505-1a82-467d-bb13-8ae371364e67" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191520Z:9df06505-1a82-467d-bb13-8ae371364e67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31921" + ], + "x-ms-request-id": [ + "4c2878bc-36bc-4127-bda5-d62a5b44cb5e" + ], + "x-ms-correlation-request-id": [ + "4c2878bc-36bc-4127-bda5-d62a5b44cb5e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191524Z:4c2878bc-36bc-4127-bda5-d62a5b44cb5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31919" + ], + "x-ms-request-id": [ + "2431e80e-7174-43d9-8e47-50d4707affbe" + ], + "x-ms-correlation-request-id": [ + "2431e80e-7174-43d9-8e47-50d4707affbe" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191528Z:2431e80e-7174-43d9-8e47-50d4707affbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31917" + ], + "x-ms-request-id": [ + "e82267ce-f482-4e65-8772-d256630f7d6c" + ], + "x-ms-correlation-request-id": [ + "e82267ce-f482-4e65-8772-d256630f7d6c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191532Z:e82267ce-f482-4e65-8772-d256630f7d6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31915" + ], + "x-ms-request-id": [ + "9de48712-85fc-4b2f-a5b0-f9e743ab2953" + ], + "x-ms-correlation-request-id": [ + "9de48712-85fc-4b2f-a5b0-f9e743ab2953" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191536Z:9de48712-85fc-4b2f-a5b0-f9e743ab2953" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations/BC8F02D5C0856B66\",\r\n \"operationId\": \"BC8F02D5C0856B66\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:37.8614192Z\",\r\n \"trackingId\": \"13d0b2e8-86ae-43a5-b125-852fc5037cd4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31913" + ], + "x-ms-request-id": [ + "8469759c-4c53-4ba1-8f16-007e2c95de6e" + ], + "x-ms-correlation-request-id": [ + "8469759c-4c53-4ba1-8f16-007e2c95de6e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191540Z:8469759c-4c53-4ba1-8f16-007e2c95de6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations/950B6A4B4675DD5F\",\r\n \"operationId\": \"950B6A4B4675DD5F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:43.9156919Z\",\r\n \"trackingId\": \"abd0628c-bb59-43a0-883b-a9adacf89a20\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations/BC8F02D5C0856B66\",\r\n \"operationId\": \"BC8F02D5C0856B66\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:37.8614192Z\",\r\n \"trackingId\": \"13d0b2e8-86ae-43a5-b125-852fc5037cd4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31911" + ], + "x-ms-request-id": [ + "8ea1875c-f4d5-4f7d-a26e-502fdab5f47f" + ], + "x-ms-correlation-request-id": [ + "8ea1875c-f4d5-4f7d-a26e-502fdab5f47f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191544Z:8ea1875c-f4d5-4f7d-a26e-502fdab5f47f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations/950B6A4B4675DD5F\",\r\n \"operationId\": \"950B6A4B4675DD5F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:43.9156919Z\",\r\n \"trackingId\": \"abd0628c-bb59-43a0-883b-a9adacf89a20\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup/operations/BC8F02D5C0856B66\",\r\n \"operationId\": \"BC8F02D5C0856B66\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:37.8614192Z\",\r\n \"trackingId\": \"13d0b2e8-86ae-43a5-b125-852fc5037cd4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31909" + ], + "x-ms-request-id": [ + "f63a7bd9-513f-4daa-86aa-171bd4855abd" + ], + "x-ms-correlation-request-id": [ + "f63a7bd9-513f-4daa-86aa-171bd4855abd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191548Z:f63a7bd9-513f-4daa-86aa-171bd4855abd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "ae9e9ba9-e61b-40bd-ad03-a70c5b33c9f3" + ], + "x-ms-correlation-request-id": [ + "ae9e9ba9-e61b-40bd-ad03-a70c5b33c9f3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191444Z:ae9e9ba9-e61b-40bd-ad03-a70c5b33c9f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "a462f649-e786-4361-a82a-81d4a646ea09" + ], + "x-ms-correlation-request-id": [ + "a462f649-e786-4361-a82a-81d4a646ea09" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191448Z:a462f649-e786-4361-a82a-81d4a646ea09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31936" + ], + "x-ms-request-id": [ + "0ed1d7ed-a00f-4585-89d5-5869d8924b72" + ], + "x-ms-correlation-request-id": [ + "0ed1d7ed-a00f-4585-89d5-5869d8924b72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191452Z:0ed1d7ed-a00f-4585-89d5-5869d8924b72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31934" + ], + "x-ms-request-id": [ + "dd018367-66b0-42f4-abd7-77756fc30818" + ], + "x-ms-correlation-request-id": [ + "dd018367-66b0-42f4-abd7-77756fc30818" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191456Z:dd018367-66b0-42f4-abd7-77756fc30818" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31932" + ], + "x-ms-request-id": [ + "0e6ad7b0-ebba-483c-bb4e-3f81e057ba17" + ], + "x-ms-correlation-request-id": [ + "0e6ad7b0-ebba-483c-bb4e-3f81e057ba17" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191500Z:0e6ad7b0-ebba-483c-bb4e-3f81e057ba17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:14:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31930" + ], + "x-ms-request-id": [ + "19d4ffd4-177c-466a-a848-1964f86dc40c" + ], + "x-ms-correlation-request-id": [ + "19d4ffd4-177c-466a-a848-1964f86dc40c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191504Z:19d4ffd4-177c-466a-a848-1964f86dc40c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], + "x-ms-request-id": [ + "0bfd5bee-6f73-4893-b51f-f7d24bcbeeaf" + ], + "x-ms-correlation-request-id": [ + "0bfd5bee-6f73-4893-b51f-f7d24bcbeeaf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191508Z:0bfd5bee-6f73-4893-b51f-f7d24bcbeeaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31926" + ], + "x-ms-request-id": [ + "fa5b9ee9-bb41-4218-9034-77eb51b346df" + ], + "x-ms-correlation-request-id": [ + "fa5b9ee9-bb41-4218-9034-77eb51b346df" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191512Z:fa5b9ee9-bb41-4218-9034-77eb51b346df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31924" + ], + "x-ms-request-id": [ + "0363b6b3-d61a-48b8-8d66-2012a51b7592" + ], + "x-ms-correlation-request-id": [ + "0363b6b3-d61a-48b8-8d66-2012a51b7592" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191516Z:0363b6b3-d61a-48b8-8d66-2012a51b7592" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31922" + ], + "x-ms-request-id": [ + "bb5d64e5-9f9b-477b-afe5-b99082f009f2" + ], + "x-ms-correlation-request-id": [ + "bb5d64e5-9f9b-477b-afe5-b99082f009f2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191521Z:bb5d64e5-9f9b-477b-afe5-b99082f009f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31920" + ], + "x-ms-request-id": [ + "df43a841-9339-46a9-8f10-00e2d911a8aa" + ], + "x-ms-correlation-request-id": [ + "df43a841-9339-46a9-8f10-00e2d911a8aa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191525Z:df43a841-9339-46a9-8f10-00e2d911a8aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31918" + ], + "x-ms-request-id": [ + "f37b014c-b4c5-457b-8e2d-e35b8ac0f7d8" + ], + "x-ms-correlation-request-id": [ + "f37b014c-b4c5-457b-8e2d-e35b8ac0f7d8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191529Z:f37b014c-b4c5-457b-8e2d-e35b8ac0f7d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31916" + ], + "x-ms-request-id": [ + "59704bd5-2674-4db9-adbe-9a0ac1af2779" + ], + "x-ms-correlation-request-id": [ + "59704bd5-2674-4db9-adbe-9a0ac1af2779" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191533Z:59704bd5-2674-4db9-adbe-9a0ac1af2779" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31914" + ], + "x-ms-request-id": [ + "5250802c-11a7-4143-a2d5-043e0dde45ec" + ], + "x-ms-correlation-request-id": [ + "5250802c-11a7-4143-a2d5-043e0dde45ec" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191537Z:5250802c-11a7-4143-a2d5-043e0dde45ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31912" + ], + "x-ms-request-id": [ + "b8056ed6-9e7f-47eb-a9c6-fcacf0ae0162" + ], + "x-ms-correlation-request-id": [ + "b8056ed6-9e7f-47eb-a9c6-fcacf0ae0162" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191541Z:b8056ed6-9e7f-47eb-a9c6-fcacf0ae0162" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:14:44.1521826Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31910" + ], + "x-ms-request-id": [ + "5a03d239-5050-45ae-bfe4-cdc720eb51e7" + ], + "x-ms-correlation-request-id": [ + "5a03d239-5050-45ae-bfe4-cdc720eb51e7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191545Z:5a03d239-5050-45ae-bfe4-cdc720eb51e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db801\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server801\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:15:47.3386302Z\",\r\n \"correlationId\": \"d0febcd0-5d9b-4df5-9e3a-b94799e07466\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31908" + ], + "x-ms-request-id": [ + "b7763cfc-580d-47aa-a29c-7a25d9f8c6a7" + ], + "x-ms-correlation-request-id": [ + "b7763cfc-580d-47aa-a29c-7a25d9f8c6a7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191549Z:b7763cfc-580d-47aa-a29c-7a25d9f8c6a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801\",\r\n \"name\": \"sql-audit-cmdlet-server801\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databases/sql-audit-cmdlet-db801\",\r\n \"name\": \"sql-audit-cmdlet-server801/sql-audit-cmdlet-db801\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31907" + ], + "x-ms-request-id": [ + "7375701d-a739-44a8-baf3-8435028cb535" + ], + "x-ms-correlation-request-id": [ + "7375701d-a739-44a8-baf3-8435028cb535" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191552Z:7375701d-a739-44a8-baf3-8435028cb535" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31922" + ], + "x-ms-request-id": [ + "e04c5e33-9bea-4cc9-8bf5-a9f97424d8e0" + ], + "x-ms-correlation-request-id": [ + "e04c5e33-9bea-4cc9-8bf5-a9f97424d8e0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191553Z:e04c5e33-9bea-4cc9-8bf5-a9f97424d8e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "6aa6fcbe-9b6b-4e90-9497-83451605f578-2014-09-17 19:15:53Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a7dbc92f-3ec8-41b7-8391-13d5dff3ac5a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31883" + ], + "x-ms-correlation-request-id": [ + "f443a0a8-345b-40ff-bd81-27fd252c29e9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191556Z:f443a0a8-345b-40ff-bd81-27fd252c29e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:56 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "f01848f9-fd61-4000-84b0-8eef9177e94a-2014-09-17 19:16:02Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d42b354e-1e83-46fd-8187-c27d4f73b083" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31882" + ], + "x-ms-correlation-request-id": [ + "e2801d33-835a-44c2-a60b-c08da515451f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191604Z:e2801d33-835a-44c2-a60b-c08da515451f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "8da35844-e6b1-49b9-a959-2644ccf3fb94-2014-09-17 19:16:04Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1bd9e31b-f05f-4256-a4b0-eca76c77373c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31881" + ], + "x-ms-correlation-request-id": [ + "b7b6125e-7f4d-4575-a205-3e5988c7ec6d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191606Z:b7b6125e-7f4d-4575-a205-3e5988c7ec6d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "055e03ba-a069-4a4c-a9a5-21652b6604c9-2014-09-17 19:16:10Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "f3dc4330-4dad-4340-98f6-564770126174" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" + ], + "x-ms-correlation-request-id": [ + "05d807c0-9c35-4c39-9adf-c5a70ae5e154" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191612Z:05d807c0-9c35-4c39-9adf-c5a70ae5e154" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "ec60bf3b-76f0-4780-a7dd-6d89858525d3-2014-09-17 19:16:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "29a893dd-536a-40c1-9e84-365d709bff26" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31879" + ], + "x-ms-correlation-request-id": [ + "3e93432a-1d3b-4c6e-873f-2a53b46e49a3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191615Z:3e93432a-1d3b-4c6e-873f-2a53b46e49a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:15 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "84fa8e30-06ce-4ded-950e-36299fac9d20-2014-09-17 19:16:18Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "1c32eca0-db8f-4c8d-a607-c1821c55e66d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31878" + ], + "x-ms-correlation-request-id": [ + "ef81edd2-04c2-4c93-99e0-96728eb54106" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191619Z:ef81edd2-04c2-4c93-99e0-96728eb54106" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:19 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "4e5fcf0f-2535-43c7-9eae-1e0b95427371-2014-09-17 19:16:20Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "365cf3bc-6b83-46e0-9b3e-1e4084770b40" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31877" + ], + "x-ms-correlation-request-id": [ + "6cadf34d-ce68-4102-a1c1-b6034232a09a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191621Z:6cadf34d-ce68-4102-a1c1-b6034232a09a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "1a9b1b4e-dccf-4d0d-a1fd-e808bace88b3-2014-09-17 19:16:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "8b2a8e8e-cdbc-4de8-b8b4-cb76a148cc49" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31876" + ], + "x-ms-correlation-request-id": [ + "82d786f2-c752-4890-b7a2-0baac24da2cb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191626Z:82d786f2-c752-4890-b7a2-0baac24da2cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:26 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "3e4f6f09-b9e5-45f0-81c4-6bd014dac823-2014-09-17 19:16:27Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "12dec646-23c2-4e6d-8033-e927eec442ee" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31875" + ], + "x-ms-correlation-request-id": [ + "468310d4-e46c-4038-b92f-6c659fd3e2ce" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191628Z:468310d4-e46c-4038-b92f-6c659fd3e2ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "c9c3e60d-6d7e-4a9e-9a45-1f70fd20d8c1-2014-09-17 19:16:28Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e69dd071-0b43-4c3d-9a9b-d6568af1f075" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31874" + ], + "x-ms-correlation-request-id": [ + "e4531e8a-c2ab-4fa2-9fc5-295f1ee208d3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191630Z:e4531e8a-c2ab-4fa2-9fc5-295f1ee208d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "8f0586a1-64fe-4432-b79e-98e0fb6e299d-2014-09-17 19:16:30Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "6acf8e00-949c-48e6-ab15-c8ea98367bdc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31873" + ], + "x-ms-correlation-request-id": [ + "bda4c3c9-2fde-4f80-a677-7361783835c4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191632Z:bda4c3c9-2fde-4f80-a677-7361783835c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "c513d51d-7600-49a9-ab9b-487320e474cb-2014-09-17 19:16:32Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server801;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server801;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server801.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server801\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server801.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server801.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server801;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server801.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "844305ee-2138-4135-93db-4c6ae3018c6e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31872" + ], + "x-ms-correlation-request-id": [ + "74c59267-bbbc-45be-8f9e-524fcb60ed7a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191634Z:74c59267-bbbc-45be-8f9e-524fcb60ed7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets801\",\r\n \"name\": \"auditcmdlets801\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31906" + ], + "x-ms-request-id": [ + "130c4957-4c99-4c9d-9402-42db41734249" + ], + "x-ms-correlation-request-id": [ + "130c4957-4c99-4c9d-9402-42db41734249" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191557Z:130c4957-4c99-4c9d-9402-42db41734249" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801\r\n auditcmdlets801\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets801.blob.core.windows.net/\r\n https://auditcmdlets801.queue.core.windows.net/\r\n https://auditcmdlets801.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:14:04Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "61f66650a4dc152aa29c05067f4d17a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:57 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801\r\n \r\n Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\r\n v5sxGQyCmEdELcQTen+hU+G+MgU5iViSw38VKckKZNYIe9UJf0ckC2TjwH9l/6LRnAeoSeEDmwLsLsQdGdZv8w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "690f29df91b21d1a81aba9fe47d1ce37" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:15:57 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801\r\n \r\n Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\r\n v5sxGQyCmEdELcQTen+hU+G+MgU5iViSw38VKckKZNYIe9UJf0ckC2TjwH9l/6LRnAeoSeEDmwLsLsQdGdZv8w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "8a25270a1d301d3bada3a90833acfa1b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:06 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801\r\n \r\n Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\r\n v5sxGQyCmEdELcQTen+hU+G+MgU5iViSw38VKckKZNYIe9UJf0ckC2TjwH9l/6LRnAeoSeEDmwLsLsQdGdZv8w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d5bce7b535461235a6bffb3132c46f31" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:15 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801\r\n \r\n Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\r\n v5sxGQyCmEdELcQTen+hU+G+MgU5iViSw38VKckKZNYIe9UJf0ckC2TjwH9l/6LRnAeoSeEDmwLsLsQdGdZv8w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "13d659fa0b5e1713a57ebc08300549e7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:22 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "6aa6fcbe-9b6b-4e90-9497-83451605f578-2014-09-17 19:15:53Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "3ce92305-48a9-44b2-9bfe-277fe4562226" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-correlation-request-id": [ + "24841e95-574a-4940-bacc-82f370c9ccf9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191602Z:24841e95-574a-4940-bacc-82f370c9ccf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "8da35844-e6b1-49b9-a959-2644ccf3fb94-2014-09-17 19:16:04Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "b34a1632-e59f-4611-abe6-0d3897a711bc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-correlation-request-id": [ + "8da5507f-78a9-4db0-aac9-585d09cab16d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191610Z:8da5507f-78a9-4db0-aac9-585d09cab16d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "ec60bf3b-76f0-4780-a7dd-6d89858525d3-2014-09-17 19:16:12Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "01168657-2a0e-470c-9f76-a05082b54d23" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-correlation-request-id": [ + "1f04f492-b917-42bd-aa87-68d4bf43de62" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191618Z:1f04f492-b917-42bd-aa87-68d4bf43de62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:18 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzgwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyODAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "b6282f36-ac70-4cf9-9ef2-1a59e4ab38cc-2014-09-17 19:15:53Z" + ], + "x-ms-client-request-id": [ + "4e5fcf0f-2535-43c7-9eae-1e0b95427371-2014-09-17 19:16:20Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets801\",\r\n \"storageAccountKey\": \"Mw3x5EZXX1LNYwd8IK/wt70FqhgPG2IMd/OZMwpFwS8NHkM495ehLUjF3ZSD93aTSRd0uHZylS9PFNbLgGT+Tw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets801.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg801/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server801/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "c26beb16-0223-463f-bb64-c91eabd9bf74" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-correlation-request-id": [ + "aa739dae-1cf1-40d6-8bbe-af02f9a13d1a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191625Z:aa739dae-1cf1-40d6-8bbe-af02f9a13d1a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:24 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets801", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzODAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d075fa24242b19ff903c56c8a527fdb0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:38 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/d075fa24242b19ff903c56c8a527fdb0", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2QwNzVmYTI0MjQyYjE5ZmY5MDNjNTZjOGE1MjdmZGIw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n d075fa24-242b-19ff-903c-56c8a527fdb0\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "e21c2102d9461dfcb3653b2ea9de5cb0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:16:39 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypes.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypes.json new file mode 100644 index 000000000000..a65d7c81b300 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithEventTypes.json @@ -0,0 +1,3419 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets601\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "923" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f244664543181e00a7fc04f439c4c1d0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:38:49 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets601" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/f244664543181e00a7fc04f439c4c1d0", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2YyNDQ2NjQ1NDMxODFlMDBhN2ZjMDRmNDM5YzRjMWQw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "923" + ] + }, + "ResponseBody": "\r\n f2446645-4318-1e00-a7fc-04f439c4c1d0\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ffb2b324595e19b890eb25759f81c5f4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:38:50 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/f244664543181e00a7fc04f439c4c1d0", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2YyNDQ2NjQ1NDMxODFlMDBhN2ZjMDRmNDM5YzRjMWQw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "923" + ] + }, + "ResponseBody": "\r\n f2446645-4318-1e00-a7fc-04f439c4c1d0\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "1d1b59b2ce2819b0a0aa27269ff624d2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:20 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31871" + ], + "x-ms-request-id": [ + "626ac045-9cec-4cd2-ac30-bdd8b4c47285" + ], + "x-ms-correlation-request-id": [ + "626ac045-9cec-4cd2-ac30-bdd8b4c47285" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193921Z:626ac045-9cec-4cd2-ac30-bdd8b4c47285" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:21 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601\",\r\n \"name\": \"sql-audit-cmdlet-test-rg601\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1177" + ], + "x-ms-request-id": [ + "9b3832a2-132b-441c-97e2-3cd4954b0052" + ], + "x-ms-correlation-request-id": [ + "9b3832a2-132b-441c-97e2-3cd4954b0052" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193923Z:9b3832a2-132b-441c-97e2-3cd4954b0052" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:23 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:39:25.0240012Z\",\r\n \"correlationId\": \"94cbafed-2061-48b6-8ef2-523cce081957\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1176" + ], + "x-ms-request-id": [ + "94cbafed-2061-48b6-8ef2-523cce081957" + ], + "x-ms-correlation-request-id": [ + "94cbafed-2061-48b6-8ef2-523cce081957" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193925Z:94cbafed-2061-48b6-8ef2-523cce081957" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:39:27.2676963Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1175" + ], + "x-ms-request-id": [ + "e0f4a0d0-793c-40db-9ca4-244452e132cf" + ], + "x-ms-correlation-request-id": [ + "e0f4a0d0-793c-40db-9ca4-244452e132cf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193927Z:e0f4a0d0-793c-40db-9ca4-244452e132cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:27 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31870" + ], + "x-ms-request-id": [ + "0fc365ff-df62-426a-adc6-8b9ee1d4ea61" + ], + "x-ms-correlation-request-id": [ + "0fc365ff-df62-426a-adc6-8b9ee1d4ea61" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193928Z:0fc365ff-df62-426a-adc6-8b9ee1d4ea61" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31868" + ], + "x-ms-request-id": [ + "d1219306-5e67-4e39-a7cf-68520e66f710" + ], + "x-ms-correlation-request-id": [ + "d1219306-5e67-4e39-a7cf-68520e66f710" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193932Z:d1219306-5e67-4e39-a7cf-68520e66f710" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31866" + ], + "x-ms-request-id": [ + "a437e8bb-8790-4ccd-b419-9533c9690b9b" + ], + "x-ms-correlation-request-id": [ + "a437e8bb-8790-4ccd-b419-9533c9690b9b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193937Z:a437e8bb-8790-4ccd-b419-9533c9690b9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31864" + ], + "x-ms-request-id": [ + "f50dedc2-bbc6-47e4-868a-530fd39feda7" + ], + "x-ms-correlation-request-id": [ + "f50dedc2-bbc6-47e4-868a-530fd39feda7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193941Z:f50dedc2-bbc6-47e4-868a-530fd39feda7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31862" + ], + "x-ms-request-id": [ + "cf17bd8d-5ce7-43e7-a672-32dea9280022" + ], + "x-ms-correlation-request-id": [ + "cf17bd8d-5ce7-43e7-a672-32dea9280022" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193945Z:cf17bd8d-5ce7-43e7-a672-32dea9280022" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31860" + ], + "x-ms-request-id": [ + "2bcdf215-6b92-4212-8217-86287dc4e0d6" + ], + "x-ms-correlation-request-id": [ + "2bcdf215-6b92-4212-8217-86287dc4e0d6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193949Z:2bcdf215-6b92-4212-8217-86287dc4e0d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31858" + ], + "x-ms-request-id": [ + "b7b47ad2-7408-42f7-bb71-6e631a92a7d5" + ], + "x-ms-correlation-request-id": [ + "b7b47ad2-7408-42f7-bb71-6e631a92a7d5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193953Z:b7b47ad2-7408-42f7-bb71-6e631a92a7d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "49603933-b6af-4f6f-a3ae-7c043e187e20" + ], + "x-ms-correlation-request-id": [ + "49603933-b6af-4f6f-a3ae-7c043e187e20" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193956Z:49603933-b6af-4f6f-a3ae-7c043e187e20" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31854" + ], + "x-ms-request-id": [ + "56ee59ac-5177-4567-8c67-f568cc6c72df" + ], + "x-ms-correlation-request-id": [ + "56ee59ac-5177-4567-8c67-f568cc6c72df" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194001Z:56ee59ac-5177-4567-8c67-f568cc6c72df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31852" + ], + "x-ms-request-id": [ + "9900a370-6158-4521-aed6-be9e855c4080" + ], + "x-ms-correlation-request-id": [ + "9900a370-6158-4521-aed6-be9e855c4080" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194004Z:9900a370-6158-4521-aed6-be9e855c4080" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31850" + ], + "x-ms-request-id": [ + "63c55efd-8d78-42a8-91ec-9f395d857f2a" + ], + "x-ms-correlation-request-id": [ + "63c55efd-8d78-42a8-91ec-9f395d857f2a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194008Z:63c55efd-8d78-42a8-91ec-9f395d857f2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], + "x-ms-request-id": [ + "66b38b24-9ea4-4991-b368-59cc0af2da65" + ], + "x-ms-correlation-request-id": [ + "66b38b24-9ea4-4991-b368-59cc0af2da65" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194012Z:66b38b24-9ea4-4991-b368-59cc0af2da65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31846" + ], + "x-ms-request-id": [ + "602dd0c0-e6c8-48ff-a94f-a4f362621ed7" + ], + "x-ms-correlation-request-id": [ + "602dd0c0-e6c8-48ff-a94f-a4f362621ed7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194017Z:602dd0c0-e6c8-48ff-a94f-a4f362621ed7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31844" + ], + "x-ms-request-id": [ + "edae8a30-1450-4ad0-9759-d41fea5d25f9" + ], + "x-ms-correlation-request-id": [ + "edae8a30-1450-4ad0-9759-d41fea5d25f9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194021Z:edae8a30-1450-4ad0-9759-d41fea5d25f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31842" + ], + "x-ms-request-id": [ + "a3e9170f-cde6-4102-af2c-306421fed36a" + ], + "x-ms-correlation-request-id": [ + "a3e9170f-cde6-4102-af2c-306421fed36a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194025Z:a3e9170f-cde6-4102-af2c-306421fed36a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31840" + ], + "x-ms-request-id": [ + "e6010145-cbdf-48be-8fec-db5951991879" + ], + "x-ms-correlation-request-id": [ + "e6010145-cbdf-48be-8fec-db5951991879" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194029Z:e6010145-cbdf-48be-8fec-db5951991879" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:29 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31838" + ], + "x-ms-request-id": [ + "a3212f8a-d5c2-4ab3-827b-c1a5f965b18f" + ], + "x-ms-correlation-request-id": [ + "a3212f8a-d5c2-4ab3-827b-c1a5f965b18f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194033Z:a3212f8a-d5c2-4ab3-827b-c1a5f965b18f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31836" + ], + "x-ms-request-id": [ + "3ae5004c-8a4a-4387-b460-11b170b6ba09" + ], + "x-ms-correlation-request-id": [ + "3ae5004c-8a4a-4387-b460-11b170b6ba09" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194037Z:3ae5004c-8a4a-4387-b460-11b170b6ba09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31834" + ], + "x-ms-request-id": [ + "d37b10a1-cf66-454c-af12-bf96a7d43312" + ], + "x-ms-correlation-request-id": [ + "d37b10a1-cf66-454c-af12-bf96a7d43312" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194042Z:d37b10a1-cf66-454c-af12-bf96a7d43312" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31832" + ], + "x-ms-request-id": [ + "2be848e3-d076-4ad1-aed1-876b6c876ec8" + ], + "x-ms-correlation-request-id": [ + "2be848e3-d076-4ad1-aed1-876b6c876ec8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194046Z:2be848e3-d076-4ad1-aed1-876b6c876ec8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31830" + ], + "x-ms-request-id": [ + "3da64770-7122-4522-808b-c24fdd9f2d74" + ], + "x-ms-correlation-request-id": [ + "3da64770-7122-4522-808b-c24fdd9f2d74" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194050Z:3da64770-7122-4522-808b-c24fdd9f2d74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31828" + ], + "x-ms-request-id": [ + "6fb31657-54af-4c49-b1a5-6433351854ef" + ], + "x-ms-correlation-request-id": [ + "6fb31657-54af-4c49-b1a5-6433351854ef" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194054Z:6fb31657-54af-4c49-b1a5-6433351854ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31826" + ], + "x-ms-request-id": [ + "3fba0781-20f4-4194-86b1-c12897bd1712" + ], + "x-ms-correlation-request-id": [ + "3fba0781-20f4-4194-86b1-c12897bd1712" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194058Z:3fba0781-20f4-4194-86b1-c12897bd1712" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31824" + ], + "x-ms-request-id": [ + "ab474a3d-ad83-4214-a87e-b9559f40aba1" + ], + "x-ms-correlation-request-id": [ + "ab474a3d-ad83-4214-a87e-b9559f40aba1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194102Z:ab474a3d-ad83-4214-a87e-b9559f40aba1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31822" + ], + "x-ms-request-id": [ + "28a977be-b904-4fa2-9a08-8ee17eb4667d" + ], + "x-ms-correlation-request-id": [ + "28a977be-b904-4fa2-9a08-8ee17eb4667d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194107Z:28a977be-b904-4fa2-9a08-8ee17eb4667d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31820" + ], + "x-ms-request-id": [ + "28d08584-7b9e-499f-b8bc-40d0b3267cf5" + ], + "x-ms-correlation-request-id": [ + "28d08584-7b9e-499f-b8bc-40d0b3267cf5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194111Z:28d08584-7b9e-499f-b8bc-40d0b3267cf5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31818" + ], + "x-ms-request-id": [ + "0c948eb5-b225-4e86-8c15-9202015115eb" + ], + "x-ms-correlation-request-id": [ + "0c948eb5-b225-4e86-8c15-9202015115eb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194115Z:0c948eb5-b225-4e86-8c15-9202015115eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31816" + ], + "x-ms-request-id": [ + "47ff9e6d-2307-460f-985a-0beffa1ea2a7" + ], + "x-ms-correlation-request-id": [ + "47ff9e6d-2307-460f-985a-0beffa1ea2a7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194119Z:47ff9e6d-2307-460f-985a-0beffa1ea2a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/575FAFDB90437210\",\r\n \"operationId\": \"575FAFDB90437210\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:41:22.0338591Z\",\r\n \"trackingId\": \"69f18e14-b8c2-4f03-8dcf-f77693691a56\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31814" + ], + "x-ms-request-id": [ + "586bbaa7-9c0d-4b62-b414-d1b43d1146bd" + ], + "x-ms-correlation-request-id": [ + "586bbaa7-9c0d-4b62-b414-d1b43d1146bd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194123Z:586bbaa7-9c0d-4b62-b414-d1b43d1146bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/575FAFDB90437210\",\r\n \"operationId\": \"575FAFDB90437210\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:41:22.0338591Z\",\r\n \"trackingId\": \"69f18e14-b8c2-4f03-8dcf-f77693691a56\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup/operations/CC441065B89B7261\",\r\n \"operationId\": \"CC441065B89B7261\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:40:23.0895851Z\",\r\n \"trackingId\": \"16fcd847-9286-446a-a4c1-5c5412792c78\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31812" + ], + "x-ms-request-id": [ + "90ec104a-45a9-405a-a971-6333327c4ef8" + ], + "x-ms-correlation-request-id": [ + "90ec104a-45a9-405a-a971-6333327c4ef8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194127Z:90ec104a-45a9-405a-a971-6333327c4ef8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:39:27.2676963Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31869" + ], + "x-ms-request-id": [ + "5d0aa20f-6c62-4dfc-be04-7c0d583ad7ab" + ], + "x-ms-correlation-request-id": [ + "5d0aa20f-6c62-4dfc-be04-7c0d583ad7ab" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193929Z:5d0aa20f-6c62-4dfc-be04-7c0d583ad7ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31867" + ], + "x-ms-request-id": [ + "82274844-3d87-465d-b901-e4981eb929ff" + ], + "x-ms-correlation-request-id": [ + "82274844-3d87-465d-b901-e4981eb929ff" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193933Z:82274844-3d87-465d-b901-e4981eb929ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-request-id": [ + "18ed1ba1-dca7-4957-abd7-a03990725a0c" + ], + "x-ms-correlation-request-id": [ + "18ed1ba1-dca7-4957-abd7-a03990725a0c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193937Z:18ed1ba1-dca7-4957-abd7-a03990725a0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31863" + ], + "x-ms-request-id": [ + "5a377da6-ce2f-46e8-83c0-53205befe45a" + ], + "x-ms-correlation-request-id": [ + "5a377da6-ce2f-46e8-83c0-53205befe45a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193941Z:5a377da6-ce2f-46e8-83c0-53205befe45a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31861" + ], + "x-ms-request-id": [ + "7b3d2948-30c7-400a-a840-43797e927a19" + ], + "x-ms-correlation-request-id": [ + "7b3d2948-30c7-400a-a840-43797e927a19" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193945Z:7b3d2948-30c7-400a-a840-43797e927a19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31859" + ], + "x-ms-request-id": [ + "53259a17-0f9e-46ec-82af-a3db6a46349e" + ], + "x-ms-correlation-request-id": [ + "53259a17-0f9e-46ec-82af-a3db6a46349e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193949Z:53259a17-0f9e-46ec-82af-a3db6a46349e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31857" + ], + "x-ms-request-id": [ + "6d3ae9ab-f346-4309-a97d-4fda6a4962b3" + ], + "x-ms-correlation-request-id": [ + "6d3ae9ab-f346-4309-a97d-4fda6a4962b3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193953Z:6d3ae9ab-f346-4309-a97d-4fda6a4962b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31855" + ], + "x-ms-request-id": [ + "4eb0dbb8-dacb-49b8-93e4-48a6e9cd72b1" + ], + "x-ms-correlation-request-id": [ + "4eb0dbb8-dacb-49b8-93e4-48a6e9cd72b1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T193957Z:4eb0dbb8-dacb-49b8-93e4-48a6e9cd72b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:39:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31853" + ], + "x-ms-request-id": [ + "04d0836a-f94b-4174-92d8-8c9d013386ae" + ], + "x-ms-correlation-request-id": [ + "04d0836a-f94b-4174-92d8-8c9d013386ae" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194001Z:04d0836a-f94b-4174-92d8-8c9d013386ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:01 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31851" + ], + "x-ms-request-id": [ + "d90641eb-b730-4f17-8706-13fcbaebba33" + ], + "x-ms-correlation-request-id": [ + "d90641eb-b730-4f17-8706-13fcbaebba33" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194005Z:d90641eb-b730-4f17-8706-13fcbaebba33" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31849" + ], + "x-ms-request-id": [ + "9e822c56-7964-49ca-95af-996a31568c7b" + ], + "x-ms-correlation-request-id": [ + "9e822c56-7964-49ca-95af-996a31568c7b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194009Z:9e822c56-7964-49ca-95af-996a31568c7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31847" + ], + "x-ms-request-id": [ + "97a1935f-d697-41f8-a9fc-6cb55b03c3c8" + ], + "x-ms-correlation-request-id": [ + "97a1935f-d697-41f8-a9fc-6cb55b03c3c8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194013Z:97a1935f-d697-41f8-a9fc-6cb55b03c3c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], + "x-ms-request-id": [ + "a8786758-68be-4bc2-bded-af460a87c742" + ], + "x-ms-correlation-request-id": [ + "a8786758-68be-4bc2-bded-af460a87c742" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194018Z:a8786758-68be-4bc2-bded-af460a87c742" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31843" + ], + "x-ms-request-id": [ + "225775df-d100-4594-8b87-8776356986be" + ], + "x-ms-correlation-request-id": [ + "225775df-d100-4594-8b87-8776356986be" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194022Z:225775df-d100-4594-8b87-8776356986be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31841" + ], + "x-ms-request-id": [ + "009caff2-5d90-40db-8740-97cc45cf6ca3" + ], + "x-ms-correlation-request-id": [ + "009caff2-5d90-40db-8740-97cc45cf6ca3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194026Z:009caff2-5d90-40db-8740-97cc45cf6ca3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" + ], + "x-ms-request-id": [ + "2ffa99fd-b8c5-415e-87f0-b30d5f035c7f" + ], + "x-ms-correlation-request-id": [ + "2ffa99fd-b8c5-415e-87f0-b30d5f035c7f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194030Z:2ffa99fd-b8c5-415e-87f0-b30d5f035c7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31837" + ], + "x-ms-request-id": [ + "cf31a5eb-2b3e-4f62-8471-9c2647e8bbec" + ], + "x-ms-correlation-request-id": [ + "cf31a5eb-2b3e-4f62-8471-9c2647e8bbec" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194034Z:cf31a5eb-2b3e-4f62-8471-9c2647e8bbec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:33 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31835" + ], + "x-ms-request-id": [ + "f6756d68-cae5-4713-863f-188c4b75970b" + ], + "x-ms-correlation-request-id": [ + "f6756d68-cae5-4713-863f-188c4b75970b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194038Z:f6756d68-cae5-4713-863f-188c4b75970b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31833" + ], + "x-ms-request-id": [ + "23c7d46e-2acf-4fe4-86f5-177d6a494a8f" + ], + "x-ms-correlation-request-id": [ + "23c7d46e-2acf-4fe4-86f5-177d6a494a8f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194043Z:23c7d46e-2acf-4fe4-86f5-177d6a494a8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31831" + ], + "x-ms-request-id": [ + "9e0565b9-4aa4-4019-8c85-58bb0f267984" + ], + "x-ms-correlation-request-id": [ + "9e0565b9-4aa4-4019-8c85-58bb0f267984" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194047Z:9e0565b9-4aa4-4019-8c85-58bb0f267984" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31829" + ], + "x-ms-request-id": [ + "ffa6283a-e953-442d-85b8-5f244f9eef07" + ], + "x-ms-correlation-request-id": [ + "ffa6283a-e953-442d-85b8-5f244f9eef07" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194051Z:ffa6283a-e953-442d-85b8-5f244f9eef07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31827" + ], + "x-ms-request-id": [ + "3c391e8f-c661-4985-b1b6-57a11150aa2c" + ], + "x-ms-correlation-request-id": [ + "3c391e8f-c661-4985-b1b6-57a11150aa2c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194055Z:3c391e8f-c661-4985-b1b6-57a11150aa2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31825" + ], + "x-ms-request-id": [ + "1ce8de10-1208-4090-88db-d2a012e16290" + ], + "x-ms-correlation-request-id": [ + "1ce8de10-1208-4090-88db-d2a012e16290" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194059Z:1ce8de10-1208-4090-88db-d2a012e16290" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:40:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31823" + ], + "x-ms-request-id": [ + "8feffa69-11e3-4411-9679-cc15d2ac118c" + ], + "x-ms-correlation-request-id": [ + "8feffa69-11e3-4411-9679-cc15d2ac118c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194103Z:8feffa69-11e3-4411-9679-cc15d2ac118c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31821" + ], + "x-ms-request-id": [ + "7d04483f-3682-488c-ba91-11a53f769a56" + ], + "x-ms-correlation-request-id": [ + "7d04483f-3682-488c-ba91-11a53f769a56" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194108Z:7d04483f-3682-488c-ba91-11a53f769a56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31819" + ], + "x-ms-request-id": [ + "d808b0e8-44f9-4493-9f7b-796e5662e521" + ], + "x-ms-correlation-request-id": [ + "d808b0e8-44f9-4493-9f7b-796e5662e521" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194112Z:d808b0e8-44f9-4493-9f7b-796e5662e521" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31817" + ], + "x-ms-request-id": [ + "16c0a534-0712-408a-bb6a-bc57891452b6" + ], + "x-ms-correlation-request-id": [ + "16c0a534-0712-408a-bb6a-bc57891452b6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194115Z:16c0a534-0712-408a-bb6a-bc57891452b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31815" + ], + "x-ms-request-id": [ + "a6f49ea4-df05-44c0-80a2-02cf3bfc9123" + ], + "x-ms-correlation-request-id": [ + "a6f49ea4-df05-44c0-80a2-02cf3bfc9123" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194119Z:a6f49ea4-df05-44c0-80a2-02cf3bfc9123" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:39:29.8167992Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31813" + ], + "x-ms-request-id": [ + "e657037f-c70e-4571-9cb8-fb610b715e05" + ], + "x-ms-correlation-request-id": [ + "e657037f-c70e-4571-9cb8-fb610b715e05" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194124Z:e657037f-c70e-4571-9cb8-fb610b715e05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db601\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server601\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:41:26.5604615Z\",\r\n \"correlationId\": \"e0f4a0d0-793c-40db-9ca4-244452e132cf\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31811" + ], + "x-ms-request-id": [ + "77279aae-9715-4ac4-b92a-b605d2f7cb7d" + ], + "x-ms-correlation-request-id": [ + "77279aae-9715-4ac4-b92a-b605d2f7cb7d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194128Z:77279aae-9715-4ac4-b92a-b605d2f7cb7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:27 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601\",\r\n \"name\": \"sql-audit-cmdlet-server601\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databases/sql-audit-cmdlet-db601\",\r\n \"name\": \"sql-audit-cmdlet-server601/sql-audit-cmdlet-db601\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31810" + ], + "x-ms-request-id": [ + "5fc342bd-52e3-4e70-a5dd-18998b46ef6a" + ], + "x-ms-correlation-request-id": [ + "5fc342bd-52e3-4e70-a5dd-18998b46ef6a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194131Z:5fc342bd-52e3-4e70-a5dd-18998b46ef6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31809" + ], + "x-ms-request-id": [ + "a1a51241-a9ca-4aad-9381-01212825cf77" + ], + "x-ms-correlation-request-id": [ + "a1a51241-a9ca-4aad-9381-01212825cf77" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194132Z:a1a51241-a9ca-4aad-9381-01212825cf77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "8bd57728-62ec-4900-a40e-e63beea8e3a1-2014-09-17 19:41:32Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "f15d360b-dbc3-423e-b791-246d5e646e40" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31785" + ], + "x-ms-correlation-request-id": [ + "f340978a-65e3-4f0c-a95a-00e6aa06e7d7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194135Z:f340978a-65e3-4f0c-a95a-00e6aa06e7d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:35 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "ca46542e-c6a3-424e-bb5b-0204d062e587-2014-09-17 19:41:42Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e663683c-5c7c-4ad6-bc41-f4de938d52a3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31784" + ], + "x-ms-correlation-request-id": [ + "cd750e78-ae24-493b-8fd2-7cab048763f9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194145Z:cd750e78-ae24-493b-8fd2-7cab048763f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:45 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "32e7f5d9-b413-4c5d-bd5d-5b3de17b5afe-2014-09-17 19:41:45Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "53320b62-fd6e-44a0-8bcd-069a75dde10d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31783" + ], + "x-ms-correlation-request-id": [ + "659b6511-c0a8-4b5a-a3eb-aa59a95ad713" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194147Z:659b6511-c0a8-4b5a-a3eb-aa59a95ad713" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "fe2b0e40-967b-4716-bb3c-c749b08c60b0-2014-09-17 19:41:50Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "59ad87b9-4021-4c9b-8b02-0a52ee65a9f5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31782" + ], + "x-ms-correlation-request-id": [ + "941c917b-cd05-474e-a7a3-32c5ff426113" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194152Z:941c917b-cd05-474e-a7a3-32c5ff426113" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:52 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "54121c9c-3535-4d0b-803d-2b99e1e20db6-2014-09-17 19:41:52Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "f9b26a31-dbf5-4c2f-9ad9-9a2c75c4b2dc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31781" + ], + "x-ms-correlation-request-id": [ + "f2b434b4-4a02-4efd-bb1f-01dac8b90e60" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194154Z:f2b434b4-4a02-4efd-bb1f-01dac8b90e60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "193774a9-3f46-4562-91af-9fc6cbb78705-2014-09-17 19:41:58Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server601;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server601;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server601.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server601\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server601.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server601.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server601;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server601.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "5a4b0ff5-80d5-4f61-af2c-297007d513bf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31780" + ], + "x-ms-correlation-request-id": [ + "93b0041a-bf11-44d0-98c9-563b12ee042a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194200Z:93b0041a-bf11-44d0-98c9-563b12ee042a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:42:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets601\",\r\n \"name\": \"auditcmdlets601\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31808" + ], + "x-ms-request-id": [ + "3c471924-1424-4c3a-9484-34ffad9d95f5" + ], + "x-ms-correlation-request-id": [ + "3c471924-1424-4c3a-9484-34ffad9d95f5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194136Z:3c471924-1424-4c3a-9484-34ffad9d95f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNjAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601\r\n auditcmdlets601\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets601.blob.core.windows.net/\r\n https://auditcmdlets601.queue.core.windows.net/\r\n https://auditcmdlets601.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:38:49Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5f336a60ef8f10db8ef400d0351c6044" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:38 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNjAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601\r\n \r\n 8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\r\n gEHPh83G+37Rpxx3dj8TrguY8IwsI1BEnsMXK8F6Gtcickpo8GQoMuK7jMFhP7ZaEszrcw6zAGPaFVme6jpTrQ==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b35a4426975511d4bd68f08328921138" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:39 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNjAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601\r\n \r\n 8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\r\n gEHPh83G+37Rpxx3dj8TrguY8IwsI1BEnsMXK8F6Gtcickpo8GQoMuK7jMFhP7ZaEszrcw6zAGPaFVme6jpTrQ==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f588d71a9ae71927947f24b8c65198ad" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:47 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNjAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601\r\n \r\n 8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\r\n gEHPh83G+37Rpxx3dj8TrguY8IwsI1BEnsMXK8F6Gtcickpo8GQoMuK7jMFhP7ZaEszrcw6zAGPaFVme6jpTrQ==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "53284586c02e1d14a073add551e4107a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "8bd57728-62ec-4900-a40e-e63beea8e3a1-2014-09-17 19:41:32Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "98a13bb4-fd8f-4ae0-a789-1afad7364e2a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1173" + ], + "x-ms-correlation-request-id": [ + "16e075c0-405c-4351-aaf4-0f627a224248" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194142Z:16e075c0-405c-4351-aaf4-0f627a224248" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "32e7f5d9-b413-4c5d-bd5d-5b3de17b5afe-2014-09-17 19:41:45Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "690e3939-3a36-41cd-bf1e-ad9e0e6e279b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1172" + ], + "x-ms-correlation-request-id": [ + "9b719dcb-220e-4175-a429-3efd9041f8c5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194150Z:9b719dcb-220e-4175-a429-3efd9041f8c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzYwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyNjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "2939a253-40e5-4a48-bc13-73bba3c468dd-2014-09-17 19:41:32Z" + ], + "x-ms-client-request-id": [ + "54121c9c-3535-4d0b-803d-2b99e1e20db6-2014-09-17 19:41:52Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": false,\r\n \"isEventTypeSchemaChangeEnabled\": false,\r\n \"isEventTypeDataChangesEnabled\": false,\r\n \"isEventTypeSecurityExceptionsEnabled\": false,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": false,\r\n \"storageAccountName\": \"auditcmdlets601\",\r\n \"storageAccountKey\": \"8ZlNuJY7RfcXG5LCbkvzyU/eakuUw9VJ+cx09OC5S9CTt0PrJ6CnQqxVYYB1C1vZ24RZK3DN0JI0MoZ3Sxc9oQ==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets601.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg601/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server601/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "fc256500-4c17-4e13-a012-f73dc3043394" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1171" + ], + "x-ms-correlation-request-id": [ + "7cdebdbf-6bcb-4876-ab27-b424e29f53b5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T194158Z:7cdebdbf-6bcb-4876-ab27-b424e29f53b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:41:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets601", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzNjAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "f88098d33314195798ffe9a1cef3b490" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:42:03 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/f88098d33314195798ffe9a1cef3b490", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2Y4ODA5OGQzMzMxNDE5NTc5OGZmZTlhMWNlZjNiNDkw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n f88098d3-3314-1957-98ff-e9a1cef3b490\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "6b5fa842744f158d8e0ad0725ff13e9f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:42:05 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithStorage.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithStorage.json new file mode 100644 index 000000000000..9a191e68958d --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestServerUpdatePolicyWithStorage.json @@ -0,0 +1,2023 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets201\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "213" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "6045379a906114aaac65df2f925156a5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:00 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets201" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6045379a906114aaac65df2f925156a5", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzYwNDUzNzlhOTA2MTE0YWFhYzY1ZGYyZjkyNTE1NmE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "213" + ] + }, + "ResponseBody": "\r\n 6045379a-9061-14aa-ac65-df2f925156a5\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "258ba4af4b3e1b1592a0c32aa4a1f091" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:00 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/6045379a906114aaac65df2f925156a5", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzYwNDUzNzlhOTA2MTE0YWFhYzY1ZGYyZjkyNTE1NmE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "213" + ] + }, + "ResponseBody": "\r\n 6045379a-9061-14aa-ac65-df2f925156a5\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "0119388fa1ac1001aaa95aa0132de834" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:31 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "d93a4173-7f01-40d1-b25b-ef2a17f913bc" + ], + "x-ms-correlation-request-id": [ + "d93a4173-7f01-40d1-b25b-ef2a17f913bc" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190232Z:d93a4173-7f01-40d1-b25b-ef2a17f913bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:32 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201\",\r\n \"name\": \"sql-audit-cmdlet-test-rg201\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "a9167c54-d031-42de-ad29-344235d6fa27" + ], + "x-ms-correlation-request-id": [ + "a9167c54-d031-42de-ad29-344235d6fa27" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190235Z:a9167c54-d031-42de-ad29-344235d6fa27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:34 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:02:36.5969658Z\",\r\n \"correlationId\": \"7a025d75-7061-4bd0-99a6-31400b46ff29\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "7a025d75-7061-4bd0-99a6-31400b46ff29" + ], + "x-ms-correlation-request-id": [ + "7a025d75-7061-4bd0-99a6-31400b46ff29" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190236Z:7a025d75-7061-4bd0-99a6-31400b46ff29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:02:39.0558852Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "d5cf4186-1a7e-45d6-a18d-6020220fb262" + ], + "x-ms-correlation-request-id": [ + "d5cf4186-1a7e-45d6-a18d-6020220fb262" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190239Z:d5cf4186-1a7e-45d6-a18d-6020220fb262" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:39 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "7cfc709a-f1de-4e7f-ab38-1a0ae1ad1f85" + ], + "x-ms-correlation-request-id": [ + "7cfc709a-f1de-4e7f-ab38-1a0ae1ad1f85" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190240Z:7cfc709a-f1de-4e7f-ab38-1a0ae1ad1f85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "fa949b12-7e3a-4113-8b80-19aba0efb7d6" + ], + "x-ms-correlation-request-id": [ + "fa949b12-7e3a-4113-8b80-19aba0efb7d6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190245Z:fa949b12-7e3a-4113-8b80-19aba0efb7d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "8063eb60-b708-42a2-9fda-2882b0530df2" + ], + "x-ms-correlation-request-id": [ + "8063eb60-b708-42a2-9fda-2882b0530df2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190250Z:8063eb60-b708-42a2-9fda-2882b0530df2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "4e3429a2-1401-4e27-ac10-2e4dd7d8c1f5" + ], + "x-ms-correlation-request-id": [ + "4e3429a2-1401-4e27-ac10-2e4dd7d8c1f5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190254Z:4e3429a2-1401-4e27-ac10-2e4dd7d8c1f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "4ed1c884-660e-435f-a2a0-2d36d48cd539" + ], + "x-ms-correlation-request-id": [ + "4ed1c884-660e-435f-a2a0-2d36d48cd539" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190258Z:4ed1c884-660e-435f-a2a0-2d36d48cd539" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "e6beb307-b0c5-47b0-92db-1d37628a12dd" + ], + "x-ms-correlation-request-id": [ + "e6beb307-b0c5-47b0-92db-1d37628a12dd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190302Z:e6beb307-b0c5-47b0-92db-1d37628a12dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "7ef3e6c4-ce80-4c97-ad40-40b2d323422b" + ], + "x-ms-correlation-request-id": [ + "7ef3e6c4-ce80-4c97-ad40-40b2d323422b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190307Z:7ef3e6c4-ce80-4c97-ad40-40b2d323422b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:06 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "116df89b-a55a-4823-ba5f-da5cd296cee8" + ], + "x-ms-correlation-request-id": [ + "116df89b-a55a-4823-ba5f-da5cd296cee8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190311Z:116df89b-a55a-4823-ba5f-da5cd296cee8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "b16e6744-517d-4e98-a29b-52c068e34b49" + ], + "x-ms-correlation-request-id": [ + "b16e6744-517d-4e98-a29b-52c068e34b49" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190315Z:b16e6744-517d-4e98-a29b-52c068e34b49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "31c782e3-1fd6-4d31-9727-cf2610d91bf5" + ], + "x-ms-correlation-request-id": [ + "31c782e3-1fd6-4d31-9727-cf2610d91bf5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190319Z:31c782e3-1fd6-4d31-9727-cf2610d91bf5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "94dd3cc9-cce2-498a-abb6-0a007d5c3a63" + ], + "x-ms-correlation-request-id": [ + "94dd3cc9-cce2-498a-abb6-0a007d5c3a63" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190323Z:94dd3cc9-cce2-498a-abb6-0a007d5c3a63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "cea3702e-a4bf-4ca0-b207-56a089e4d1e3" + ], + "x-ms-correlation-request-id": [ + "cea3702e-a4bf-4ca0-b207-56a089e4d1e3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190327Z:cea3702e-a4bf-4ca0-b207-56a089e4d1e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "8d2f5628-1b36-43de-a657-267d29d57579" + ], + "x-ms-correlation-request-id": [ + "8d2f5628-1b36-43de-a657-267d29d57579" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190331Z:8d2f5628-1b36-43de-a657-267d29d57579" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "a46eee89-3e4f-44d2-a3b5-d3c14f528ab3" + ], + "x-ms-correlation-request-id": [ + "a46eee89-3e4f-44d2-a3b5-d3c14f528ab3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190335Z:a46eee89-3e4f-44d2-a3b5-d3c14f528ab3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations/70ED637B94D3908F\",\r\n \"operationId\": \"70ED637B94D3908F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:03:39.4072913Z\",\r\n \"trackingId\": \"ad4fc52b-cda5-4737-89c6-80384d0638a4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "b603676d-a653-41d9-8e36-26fbab1edc55" + ], + "x-ms-correlation-request-id": [ + "b603676d-a653-41d9-8e36-26fbab1edc55" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190339Z:b603676d-a653-41d9-8e36-26fbab1edc55" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations/70ED637B94D3908F\",\r\n \"operationId\": \"70ED637B94D3908F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:03:39.4072913Z\",\r\n \"trackingId\": \"ad4fc52b-cda5-4737-89c6-80384d0638a4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "a1023d5a-6944-42fb-8eab-e1b012737772" + ], + "x-ms-correlation-request-id": [ + "a1023d5a-6944-42fb-8eab-e1b012737772" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190344Z:a1023d5a-6944-42fb-8eab-e1b012737772" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations/4AE56E83ACD522CE\",\r\n \"operationId\": \"4AE56E83ACD522CE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:03:45.0882281Z\",\r\n \"trackingId\": \"f2b90630-f94b-47a1-ab0d-36df4353de33\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup/operations/70ED637B94D3908F\",\r\n \"operationId\": \"70ED637B94D3908F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:03:39.4072913Z\",\r\n \"trackingId\": \"ad4fc52b-cda5-4737-89c6-80384d0638a4\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "bbb4cd42-1761-4def-93c6-8c3ff8dd9757" + ], + "x-ms-correlation-request-id": [ + "bbb4cd42-1761-4def-93c6-8c3ff8dd9757" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190349Z:bbb4cd42-1761-4def-93c6-8c3ff8dd9757" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:48 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "13c501b9-9a45-4588-b080-8936c72a2d72" + ], + "x-ms-correlation-request-id": [ + "13c501b9-9a45-4588-b080-8936c72a2d72" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190241Z:13c501b9-9a45-4588-b080-8936c72a2d72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "018307ed-972f-43b5-b941-92a7bda784a9" + ], + "x-ms-correlation-request-id": [ + "018307ed-972f-43b5-b941-92a7bda784a9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190246Z:018307ed-972f-43b5-b941-92a7bda784a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "29682322-4bcb-4efd-a757-b13b2146ad0b" + ], + "x-ms-correlation-request-id": [ + "29682322-4bcb-4efd-a757-b13b2146ad0b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190251Z:29682322-4bcb-4efd-a757-b13b2146ad0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "688def35-9362-434c-bff7-af29bb83e6b6" + ], + "x-ms-correlation-request-id": [ + "688def35-9362-434c-bff7-af29bb83e6b6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190255Z:688def35-9362-434c-bff7-af29bb83e6b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:54 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "a4d43f1e-066e-4a95-81bb-ffdeca7690b4" + ], + "x-ms-correlation-request-id": [ + "a4d43f1e-066e-4a95-81bb-ffdeca7690b4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190259Z:a4d43f1e-066e-4a95-81bb-ffdeca7690b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:02:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "c51ba631-f4cd-4b91-9ff6-213428bb40a8" + ], + "x-ms-correlation-request-id": [ + "c51ba631-f4cd-4b91-9ff6-213428bb40a8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190303Z:c51ba631-f4cd-4b91-9ff6-213428bb40a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "c158071f-63ee-495b-877e-524d612d4d0e" + ], + "x-ms-correlation-request-id": [ + "c158071f-63ee-495b-877e-524d612d4d0e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190308Z:c158071f-63ee-495b-877e-524d612d4d0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "7c9318c0-d97c-4525-996b-fc6196feb94d" + ], + "x-ms-correlation-request-id": [ + "7c9318c0-d97c-4525-996b-fc6196feb94d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190312Z:7c9318c0-d97c-4525-996b-fc6196feb94d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "199a83db-d06d-4be3-9551-fd973f956fc3" + ], + "x-ms-correlation-request-id": [ + "199a83db-d06d-4be3-9551-fd973f956fc3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190316Z:199a83db-d06d-4be3-9551-fd973f956fc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "2449a4cf-3bd6-4f10-ab01-e5e3052be33d" + ], + "x-ms-correlation-request-id": [ + "2449a4cf-3bd6-4f10-ab01-e5e3052be33d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190320Z:2449a4cf-3bd6-4f10-ab01-e5e3052be33d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "a51e5dc7-95e4-43cf-ac63-7d45b8559d5f" + ], + "x-ms-correlation-request-id": [ + "a51e5dc7-95e4-43cf-ac63-7d45b8559d5f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190324Z:a51e5dc7-95e4-43cf-ac63-7d45b8559d5f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "20feb201-2476-4639-8a04-8a6a546c64c2" + ], + "x-ms-correlation-request-id": [ + "20feb201-2476-4639-8a04-8a6a546c64c2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190328Z:20feb201-2476-4639-8a04-8a6a546c64c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "57ca4378-6a70-4768-abe0-0317c745fe5c" + ], + "x-ms-correlation-request-id": [ + "57ca4378-6a70-4768-abe0-0317c745fe5c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190332Z:57ca4378-6a70-4768-abe0-0317c745fe5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "17278f1b-1201-45c4-aa90-91091cd332d3" + ], + "x-ms-correlation-request-id": [ + "17278f1b-1201-45c4-aa90-91091cd332d3" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190336Z:17278f1b-1201-45c4-aa90-91091cd332d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "050f5918-7102-40ad-b19a-0625dbdaf484" + ], + "x-ms-correlation-request-id": [ + "050f5918-7102-40ad-b19a-0625dbdaf484" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190341Z:050f5918-7102-40ad-b19a-0625dbdaf484" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:02:41.3180383Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "8b1e4338-d621-435a-9d4d-eaf0a8e768d9" + ], + "x-ms-correlation-request-id": [ + "8b1e4338-d621-435a-9d4d-eaf0a8e768d9" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190345Z:8b1e4338-d621-435a-9d4d-eaf0a8e768d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db201\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server201\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:03:49.438788Z\",\r\n \"correlationId\": \"d5cf4186-1a7e-45d6-a18d-6020220fb262\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "b28343e3-b05c-49e7-ba05-4ec73d346300" + ], + "x-ms-correlation-request-id": [ + "b28343e3-b05c-49e7-ba05-4ec73d346300" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190350Z:b28343e3-b05c-49e7-ba05-4ec73d346300" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201\",\r\n \"name\": \"sql-audit-cmdlet-server201\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databases/sql-audit-cmdlet-db201\",\r\n \"name\": \"sql-audit-cmdlet-server201/sql-audit-cmdlet-db201\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "abd1aa5d-db83-4546-926a-ff044f82c3ef" + ], + "x-ms-correlation-request-id": [ + "abd1aa5d-db83-4546-926a-ff044f82c3ef" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190352Z:abd1aa5d-db83-4546-926a-ff044f82c3ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31921" + ], + "x-ms-request-id": [ + "86854e07-741c-46f4-854c-ef170841a9a7" + ], + "x-ms-correlation-request-id": [ + "86854e07-741c-46f4-854c-ef170841a9a7" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190353Z:86854e07-741c-46f4-854c-ef170841a9a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "a91edbc4-9eeb-4e24-a34a-f336870a22d3-2014-09-17 19:03:53Z" + ], + "x-ms-client-request-id": [ + "422c1594-f39d-4059-a95a-162cc38aab51-2014-09-17 19:03:53Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server201;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server201;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server201.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server201\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server201.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server201;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server201.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d10cf376-6e7d-4911-b2e8-d5360fb24b6f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-correlation-request-id": [ + "9cbbba25-d72b-4351-af7f-6695ff3a90b8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190358Z:9cbbba25-d72b-4351-af7f-6695ff3a90b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:57 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "a91edbc4-9eeb-4e24-a34a-f336870a22d3-2014-09-17 19:03:53Z" + ], + "x-ms-client-request-id": [ + "8f4655ef-fca9-4a48-a2a1-a8344e6238ef-2014-09-17 19:04:02Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets201\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets201.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server201;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server201;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server201.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server201\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server201.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server201.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server201;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server201.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "93b5e81e-dcbb-48c6-96a0-088aa993dddd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-correlation-request-id": [ + "637769c0-ac7b-4c87-94a4-5b3b136b29e4" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190405Z:637769c0-ac7b-4c87-94a4-5b3b136b29e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:05 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets201\",\r\n \"name\": \"auditcmdlets201\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "59f15b98-3b21-444c-a88c-dd5ac569a22a" + ], + "x-ms-correlation-request-id": [ + "59f15b98-3b21-444c-a88c-dd5ac569a22a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190359Z:59f15b98-3b21-444c-a88c-dd5ac569a22a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets201", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMjAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets201\r\n auditcmdlets201\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets201.blob.core.windows.net/\r\n https://auditcmdlets201.queue.core.windows.net/\r\n https://auditcmdlets201.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:02:00Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "4bcfa3552e781e97821afdb50da1e3d8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:59 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets201/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMjAxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets201\r\n \r\n LleJeoxd3CXjYNIzetdqaoXjdhaZZGcsNJS2nEPXZvLDaEv15wajFB1rYYmtedIqjx+YIm9g6dfd+edbRVeMGw==\r\n j7m7ImYpxJszM51EBYerF0BEVFc/BKENRGusbjlSR5P1GkddPceOEdOu1wMsVkqEUlQwdcPEqNKST7rHgMV69w==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "0078c4f1a98b1062a6820c06c97c1580" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:03:59 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMjAxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets201\",\r\n \"storageAccountKey\": \"LleJeoxd3CXjYNIzetdqaoXjdhaZZGcsNJS2nEPXZvLDaEv15wajFB1rYYmtedIqjx+YIm9g6dfd+edbRVeMGw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets201.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "a91edbc4-9eeb-4e24-a34a-f336870a22d3-2014-09-17 19:03:53Z" + ], + "x-ms-client-request-id": [ + "422c1594-f39d-4059-a95a-162cc38aab51-2014-09-17 19:03:53Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets201\",\r\n \"storageAccountKey\": \"LleJeoxd3CXjYNIzetdqaoXjdhaZZGcsNJS2nEPXZvLDaEv15wajFB1rYYmtedIqjx+YIm9g6dfd+edbRVeMGw==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets201.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg201/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server201/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "d03a019b-98e4-408a-85ed-5613bfebb3c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "d3819c0e-a78f-4a56-9865-c508414e3895" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T190403Z:d3819c0e-a78f-4a56-9865-c508414e3895" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:02 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets201", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMjAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "ff97549c45f5118daba0fb62fda92fa9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:08 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/ff97549c45f5118daba0fb62fda92fa9", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zL2ZmOTc1NDljNDVmNTExOGRhYmEwZmI2MmZkYTkyZmE5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n ff97549c-45f5-118d-aba0-fb62fda92fa9\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "25f794361be6142a8b444f4e7c2e5ea9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:04:10 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestUseServerDefault.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestUseServerDefault.json new file mode 100644 index 000000000000..f8ad5ac22c47 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.SecurityTests/TestUseServerDefault.json @@ -0,0 +1,2288 @@ +{ + "Entries": [ + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXM=", + "RequestMethod": "POST", + "RequestBody": "\r\n auditcmdlets141\r\n \r\n \r\n West US\r\n Standard_GRS\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "515" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "9b1d7865f1641853af6e1a12bb332d6b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:17:24 GMT" + ], + "Location": [ + "https://management.core.windows.net/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/storage/auditcmdlets141" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/9b1d7865f1641853af6e1a12bb332d6b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzliMWQ3ODY1ZjE2NDE4NTNhZjZlMWExMmJiMzMyZDZi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "515" + ] + }, + "ResponseBody": "\r\n 9b1d7865-f164-1853-af6e-1a12bb332d6b\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "952cdc956bdc1d998f7cf582895b6e18" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:17:24 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/9b1d7865f1641853af6e1a12bb332d6b", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzliMWQ3ODY1ZjE2NDE4NTNhZjZlMWExMmJiMzMyZDZi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "515" + ] + }, + "ResponseBody": "\r\n 9b1d7865-f164-1853-af6e-1a12bb332d6b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "d4b0da67903911b8ba2435adc639cac7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:17:55 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31905" + ], + "x-ms-request-id": [ + "ded66c10-47cf-4bb9-8a15-19915a785ca0" + ], + "x-ms-correlation-request-id": [ + "ded66c10-47cf-4bb9-8a15-19915a785ca0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191757Z:ded66c10-47cf-4bb9-8a15-19915a785ca0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:17:57 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141\",\r\n \"name\": \"sql-audit-cmdlet-test-rg141\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "536c39dc-216a-47d5-8a7b-a4f1fe7b7468" + ], + "x-ms-correlation-request-id": [ + "536c39dc-216a-47d5-8a7b-a4f1fe7b7468" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191759Z:536c39dc-216a-47d5-8a7b-a4f1fe7b7468" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:17:59 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/validate?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvdmFsaWRhdGU/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:18:01.1959804Z\",\r\n \"correlationId\": \"3fb2f948-1a37-4428-aba6-2fbe3246cad5\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "3fb2f948-1a37-4428-aba6-2fbe3246cad5" + ], + "x-ms-correlation-request-id": [ + "3fb2f948-1a37-4428-aba6-2fbe3246cad5" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191801Z:3fb2f948-1a37-4428-aba6-2fbe3246cad5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"securestring\",\r\n \"defaultValue\": \"testp@ssMakingIt1007Longer\"\r\n },\r\n \"collation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"string\"\r\n },\r\n \"edition\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"EnvLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('serverName')]\",\r\n \"properties\": {\r\n \"administratorLogin\": \"[parameters('administratorLogin')]\",\r\n \"administratorLoginPassword\": \"[parameters('administratorLoginPassword')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2.0\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Sql/servers/', parameters('serverName'))]\"\r\n ],\r\n \"location\": \"[parameters('EnvLocation')]\",\r\n \"name\": \"[parameters('databaseName')]\",\r\n \"properties\": {\r\n \"collation\": \"[parameters('collation')]\",\r\n \"edition\": \"[parameters('edition')]\",\r\n \"maxSizeBytes\": \"1073741824\"\r\n },\r\n \"type\": \"databases\"\r\n }\r\n ],\r\n \"type\": \"Microsoft.Sql/servers\"\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"databaseName\": {\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"serverName\": {\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n },\r\n \"EnvLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:18:03.4555142Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "3a066084-ee7f-48a2-bd09-dd92ad11f11f" + ], + "x-ms-correlation-request-id": [ + "3a066084-ee7f-48a2-bd09-dd92ad11f11f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191803Z:3a066084-ee7f-48a2-bd09-dd92ad11f11f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:03 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31904" + ], + "x-ms-request-id": [ + "9b72938d-2b8e-4d92-a8d9-06779c555848" + ], + "x-ms-correlation-request-id": [ + "9b72938d-2b8e-4d92-a8d9-06779c555848" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191805Z:9b72938d-2b8e-4d92-a8d9-06779c555848" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31902" + ], + "x-ms-request-id": [ + "d4b9591a-7fbd-4f2b-8c7d-b911d3613e29" + ], + "x-ms-correlation-request-id": [ + "d4b9591a-7fbd-4f2b-8c7d-b911d3613e29" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191809Z:d4b9591a-7fbd-4f2b-8c7d-b911d3613e29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31900" + ], + "x-ms-request-id": [ + "be72c56d-7b78-4974-838c-a5dc343ceb80" + ], + "x-ms-correlation-request-id": [ + "be72c56d-7b78-4974-838c-a5dc343ceb80" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191813Z:be72c56d-7b78-4974-838c-a5dc343ceb80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31898" + ], + "x-ms-request-id": [ + "c424e6de-636b-4f54-9b2b-80f20e20dabf" + ], + "x-ms-correlation-request-id": [ + "c424e6de-636b-4f54-9b2b-80f20e20dabf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191817Z:c424e6de-636b-4f54-9b2b-80f20e20dabf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:16 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31896" + ], + "x-ms-request-id": [ + "db04324b-ff7f-4fc4-971c-162256d17ead" + ], + "x-ms-correlation-request-id": [ + "db04324b-ff7f-4fc4-971c-162256d17ead" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191821Z:db04324b-ff7f-4fc4-971c-162256d17ead" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31894" + ], + "x-ms-request-id": [ + "a75f9c20-0219-4de7-804b-ca8228654b09" + ], + "x-ms-correlation-request-id": [ + "a75f9c20-0219-4de7-804b-ca8228654b09" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191825Z:a75f9c20-0219-4de7-804b-ca8228654b09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31892" + ], + "x-ms-request-id": [ + "0bd4030c-2b72-4e36-960a-3d63a17621ad" + ], + "x-ms-correlation-request-id": [ + "0bd4030c-2b72-4e36-960a-3d63a17621ad" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191829Z:0bd4030c-2b72-4e36-960a-3d63a17621ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31890" + ], + "x-ms-request-id": [ + "9a61c1ea-65c1-4f93-bebd-1e8737ef50a1" + ], + "x-ms-correlation-request-id": [ + "9a61c1ea-65c1-4f93-bebd-1e8737ef50a1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191833Z:9a61c1ea-65c1-4f93-bebd-1e8737ef50a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31888" + ], + "x-ms-request-id": [ + "bb3024aa-4f65-4f27-8751-a72071f281e1" + ], + "x-ms-correlation-request-id": [ + "bb3024aa-4f65-4f27-8751-a72071f281e1" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191837Z:bb3024aa-4f65-4f27-8751-a72071f281e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31886" + ], + "x-ms-request-id": [ + "5bf95bdd-6e78-4a93-8cc9-ed138fa056ee" + ], + "x-ms-correlation-request-id": [ + "5bf95bdd-6e78-4a93-8cc9-ed138fa056ee" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191841Z:5bf95bdd-6e78-4a93-8cc9-ed138fa056ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], + "x-ms-request-id": [ + "592827c0-a1fc-469a-9b7b-b42725260de6" + ], + "x-ms-correlation-request-id": [ + "592827c0-a1fc-469a-9b7b-b42725260de6" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191846Z:592827c0-a1fc-469a-9b7b-b42725260de6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31882" + ], + "x-ms-request-id": [ + "73d9aa04-94a7-44da-baf4-98bc4fb8087a" + ], + "x-ms-correlation-request-id": [ + "73d9aa04-94a7-44da-baf4-98bc4fb8087a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191850Z:73d9aa04-94a7-44da-baf4-98bc4fb8087a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" + ], + "x-ms-request-id": [ + "fca375c0-8d32-4b82-b552-433c9a9aee68" + ], + "x-ms-correlation-request-id": [ + "fca375c0-8d32-4b82-b552-433c9a9aee68" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191854Z:fca375c0-8d32-4b82-b552-433c9a9aee68" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31878" + ], + "x-ms-request-id": [ + "10347843-09fe-4b43-9cd1-352f49ea2fcd" + ], + "x-ms-correlation-request-id": [ + "10347843-09fe-4b43-9cd1-352f49ea2fcd" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191858Z:10347843-09fe-4b43-9cd1-352f49ea2fcd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations/7BAF7DBAA77B3C08\",\r\n \"operationId\": \"7BAF7DBAA77B3C08\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:00.7449104Z\",\r\n \"trackingId\": \"8e11a9a4-b96a-43ae-8a5d-0ac6d69742ad\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31876" + ], + "x-ms-request-id": [ + "5b166a67-2a55-4a6f-84b2-3a1f637cdf56" + ], + "x-ms-correlation-request-id": [ + "5b166a67-2a55-4a6f-84b2-3a1f637cdf56" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191903Z:5b166a67-2a55-4a6f-84b2-3a1f637cdf56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations/A5C30C6EE09ECB68\",\r\n \"operationId\": \"A5C30C6EE09ECB68\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:06.5310171Z\",\r\n \"trackingId\": \"03d6500a-0198-4183-aa2a-cf74605ac4ee\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations/7BAF7DBAA77B3C08\",\r\n \"operationId\": \"7BAF7DBAA77B3C08\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:00.7449104Z\",\r\n \"trackingId\": \"8e11a9a4-b96a-43ae-8a5d-0ac6d69742ad\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31874" + ], + "x-ms-request-id": [ + "885cc977-1231-4ea0-a58a-ab75ff13edda" + ], + "x-ms-correlation-request-id": [ + "885cc977-1231-4ea0-a58a-ab75ff13edda" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191907Z:885cc977-1231-4ea0-a58a-ab75ff13edda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations/A5C30C6EE09ECB68\",\r\n \"operationId\": \"A5C30C6EE09ECB68\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:06.5310171Z\",\r\n \"trackingId\": \"03d6500a-0198-4183-aa2a-cf74605ac4ee\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup/operations/7BAF7DBAA77B3C08\",\r\n \"operationId\": \"7BAF7DBAA77B3C08\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:00.7449104Z\",\r\n \"trackingId\": \"8e11a9a4-b96a-43ae-8a5d-0ac6d69742ad\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31872" + ], + "x-ms-request-id": [ + "b1c2ff9b-88dd-4ef9-9fb3-635128dfe690" + ], + "x-ms-correlation-request-id": [ + "b1c2ff9b-88dd-4ef9-9fb3-635128dfe690" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191912Z:b1c2ff9b-88dd-4ef9-9fb3-635128dfe690" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2014-09-17T19:18:03.4555142Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31903" + ], + "x-ms-request-id": [ + "47477b23-c75b-419e-a08e-60014a3c2944" + ], + "x-ms-correlation-request-id": [ + "47477b23-c75b-419e-a08e-60014a3c2944" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191805Z:47477b23-c75b-419e-a08e-60014a3c2944" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31901" + ], + "x-ms-request-id": [ + "5b3905dc-4216-4ce1-8c7d-3b304a86c02a" + ], + "x-ms-correlation-request-id": [ + "5b3905dc-4216-4ce1-8c7d-3b304a86c02a" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191810Z:5b3905dc-4216-4ce1-8c7d-3b304a86c02a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31899" + ], + "x-ms-request-id": [ + "4169fc8d-74ca-48e2-83c1-5c2c59005100" + ], + "x-ms-correlation-request-id": [ + "4169fc8d-74ca-48e2-83c1-5c2c59005100" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191814Z:4169fc8d-74ca-48e2-83c1-5c2c59005100" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31897" + ], + "x-ms-request-id": [ + "1ecca7c3-9460-4d2a-97a5-850c36cc8965" + ], + "x-ms-correlation-request-id": [ + "1ecca7c3-9460-4d2a-97a5-850c36cc8965" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191818Z:1ecca7c3-9460-4d2a-97a5-850c36cc8965" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31895" + ], + "x-ms-request-id": [ + "8e41b837-d15c-4ab4-a953-6f62247c64ac" + ], + "x-ms-correlation-request-id": [ + "8e41b837-d15c-4ab4-a953-6f62247c64ac" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191822Z:8e41b837-d15c-4ab4-a953-6f62247c64ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31893" + ], + "x-ms-request-id": [ + "c67f32a5-d407-44c6-892a-a0434f2dadeb" + ], + "x-ms-correlation-request-id": [ + "c67f32a5-d407-44c6-892a-a0434f2dadeb" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191826Z:c67f32a5-d407-44c6-892a-a0434f2dadeb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31891" + ], + "x-ms-request-id": [ + "d173b7ab-dd2d-4563-aaad-d8e1c621239d" + ], + "x-ms-correlation-request-id": [ + "d173b7ab-dd2d-4563-aaad-d8e1c621239d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191830Z:d173b7ab-dd2d-4563-aaad-d8e1c621239d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31889" + ], + "x-ms-request-id": [ + "0c35db46-c15f-428b-af26-d104d6628e8c" + ], + "x-ms-correlation-request-id": [ + "0c35db46-c15f-428b-af26-d104d6628e8c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191834Z:0c35db46-c15f-428b-af26-d104d6628e8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], + "x-ms-request-id": [ + "ee94a073-13f7-4686-9218-d06ad190a505" + ], + "x-ms-correlation-request-id": [ + "ee94a073-13f7-4686-9218-d06ad190a505" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191838Z:ee94a073-13f7-4686-9218-d06ad190a505" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31885" + ], + "x-ms-request-id": [ + "86973d9e-7386-4dd0-8057-1483c241b4d8" + ], + "x-ms-correlation-request-id": [ + "86973d9e-7386-4dd0-8057-1483c241b4d8" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191842Z:86973d9e-7386-4dd0-8057-1483c241b4d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31883" + ], + "x-ms-request-id": [ + "66c3c4d9-4ef0-453a-88ca-291faebfda66" + ], + "x-ms-correlation-request-id": [ + "66c3c4d9-4ef0-453a-88ca-291faebfda66" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191847Z:66c3c4d9-4ef0-453a-88ca-291faebfda66" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:46 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31881" + ], + "x-ms-request-id": [ + "ca3b1a5f-981f-49b9-ae6f-12841207ef9f" + ], + "x-ms-correlation-request-id": [ + "ca3b1a5f-981f-49b9-ae6f-12841207ef9f" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191851Z:ca3b1a5f-981f-49b9-ae6f-12841207ef9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31879" + ], + "x-ms-request-id": [ + "69209d08-bc25-48f5-a74d-c5a1597f4823" + ], + "x-ms-correlation-request-id": [ + "69209d08-bc25-48f5-a74d-c5a1597f4823" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191855Z:69209d08-bc25-48f5-a74d-c5a1597f4823" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31877" + ], + "x-ms-request-id": [ + "623c8cce-3451-4ff5-9bc6-85f0e9c95200" + ], + "x-ms-correlation-request-id": [ + "623c8cce-3451-4ff5-9bc6-85f0e9c95200" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191859Z:623c8cce-3451-4ff5-9bc6-85f0e9c95200" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:18:59 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31875" + ], + "x-ms-request-id": [ + "410a27e6-6c36-4b3f-a52d-7b73997d783e" + ], + "x-ms-correlation-request-id": [ + "410a27e6-6c36-4b3f-a52d-7b73997d783e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191904Z:410a27e6-6c36-4b3f-a52d-7b73997d783e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2014-09-17T19:18:05.6809436Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31873" + ], + "x-ms-request-id": [ + "c9644804-9e05-414d-ab65-3a30ea687c24" + ], + "x-ms-correlation-request-id": [ + "c9644804-9e05-414d-ab65-3a30ea687c24" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191908Z:c9644804-9e05-414d-ab65-3a30ea687c24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-db141\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-audit-cmdlet-server141\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2014-09-17T19:19:10.0725568Z\",\r\n \"correlationId\": \"3a066084-ee7f-48a2-bd09-dd92ad11f11f\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31871" + ], + "x-ms-request-id": [ + "09690e36-620b-4290-8e83-b5cc55f3943d" + ], + "x-ms-correlation-request-id": [ + "09690e36-620b-4290-8e83-b5cc55f3943d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191913Z:09690e36-620b-4290-8e83-b5cc55f3943d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141\",\r\n \"name\": \"sql-audit-cmdlet-server141\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databases/sql-audit-cmdlet-db141\",\r\n \"name\": \"sql-audit-cmdlet-server141/sql-audit-cmdlet-db141\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31870" + ], + "x-ms-request-id": [ + "9ea14baf-8a59-42a0-af41-5a1f1275821c" + ], + "x-ms-correlation-request-id": [ + "9ea14baf-8a59-42a0-af41-5a1f1275821c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191915Z:9ea14baf-8a59-42a0-af41-5a1f1275821c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31870" + ], + "x-ms-request-id": [ + "3d2b0eba-2ce8-4527-a2e4-f2ef1f63904d" + ], + "x-ms-correlation-request-id": [ + "3d2b0eba-2ce8-4527-a2e4-f2ef1f63904d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191917Z:3d2b0eba-2ce8-4527-a2e4-f2ef1f63904d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:17 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "3e223d97-8006-4a35-ac0a-f4f455558fa6-2014-09-17 19:19:17Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server141;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server141;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server141.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server141\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server141.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server141;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server141.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "e6386fc0-a44d-4563-8018-0c455582c0aa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31921" + ], + "x-ms-correlation-request-id": [ + "3c93d6e9-579f-4e5b-ac00-d9fea7f59413" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191920Z:3c93d6e9-579f-4e5b-ac00-d9fea7f59413" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:19 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "ad87ab8f-817b-4d98-b93d-6fd81d1fe1ef-2014-09-17 19:19:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;User ID={0}@sql-audit-cmdlet-server141;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=c3d905bb-e460-48bb-884d-75fac8f63e11;Uid={0}@sql-audit-cmdlet-server141;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server141.database.secure.windows.net,1433 \\r\\nSQL Database: c3d905bb-e460-48bb-884d-75fac8f63e11\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433; Database = c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server141\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"c3d905bb-e460-48bb-884d-75fac8f63e11\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server141.database.secure.windows.net:1433;database=c3d905bb-e460-48bb-884d-75fac8f63e11;user={0}@sql-audit-cmdlet-server141;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server141.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "0bcdb7be-0d39-46b0-a283-3eede5c37c2e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31919" + ], + "x-ms-correlation-request-id": [ + "68384af9-24a1-4be0-b137-37dc531401e2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191931Z:68384af9-24a1-4be0-b137-37dc531401e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:30 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets141\",\r\n \"name\": \"auditcmdlets141\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31869" + ], + "x-ms-request-id": [ + "07645bc7-c1a0-42c7-9564-6cf1c8158ef0" + ], + "x-ms-correlation-request-id": [ + "07645bc7-c1a0-42c7-9564-6cf1c8158ef0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191920Z:07645bc7-c1a0-42c7-9564-6cf1c8158ef0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resources?$filter=resourceType%20eq%20'Microsoft.ClassicStorage%2FstorageAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZSUyRnN0b3JhZ2VBY2NvdW50cycmYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/excludetest\",\r\n \"name\": \"excludetest\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhdskjrssp0tmqrw5\",\r\n \"name\": \"portalvhdskjrssp0tmqrw5\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/rondemo1\",\r\n \"name\": \"rondemo1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-EastUS2/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds1skjklpb8n8sf\",\r\n \"name\": \"portalvhds1skjklpb8n8sf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/onesitests\",\r\n \"name\": \"onesitests\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/yrubintest1\",\r\n \"name\": \"yrubintest1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency1\",\r\n \"name\": \"auditwritelatency1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency2\",\r\n \"name\": \"auditwritelatency2\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency3\",\r\n \"name\": \"auditwritelatency3\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/auditwritelatency4\",\r\n \"name\": \"auditwritelatency4\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/bugtrackeraudit\",\r\n \"name\": \"bugtrackeraudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/datasecauditlogs1\",\r\n \"name\": \"datasecauditlogs1\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/db5mdsonbehalf\",\r\n \"name\": \"db5mdsonbehalf\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/mdsonbehalfclient\",\r\n \"name\": \"mdsonbehalfclient\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestEurope/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds8ptftczrm4glb\",\r\n \"name\": \"portalvhds8ptftczrm4glb\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/auditcmdlets141\",\r\n \"name\": \"auditcmdlets141\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds5lvyhmcrfd784\",\r\n \"name\": \"portalvhds5lvyhmcrfd784\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidaudit\",\r\n \"name\": \"splendidaudit\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/splendidauditlogs\",\r\n \"name\": \"splendidauditlogs\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31868" + ], + "x-ms-request-id": [ + "8776cee6-4cd3-4395-bfed-514d643dae4e" + ], + "x-ms-correlation-request-id": [ + "8776cee6-4cd3-4395-bfed-514d643dae4e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191932Z:8776cee6-4cd3-4395-bfed-514d643dae4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:32 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTQx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141\r\n auditcmdlets141\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets141.blob.core.windows.net/\r\n https://auditcmdlets141.queue.core.windows.net/\r\n https://auditcmdlets141.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:17:25Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "b78ae12c061b16d1b0b027dcae211fa0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:20 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTQx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141\r\n auditcmdlets141\r\n \r\n \r\n West US\r\n \r\n Created\r\n \r\n https://auditcmdlets141.blob.core.windows.net/\r\n https://auditcmdlets141.queue.core.windows.net/\r\n https://auditcmdlets141.table.core.windows.net/\r\n \r\n West US\r\n Available\r\n East US\r\n Available\r\n 2014-09-17T19:17:25Z\r\n \r\n Standard_GRS\r\n \r\n \r\n \r\n ResourceGroup\r\n Default-Storage-WestUS\r\n \r\n \r\n ResourceLocation\r\n West US\r\n \r\n \r\n \r\n PersistentVMRole\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "aa61c527a5221821bacccffa0a29f94b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:32 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTQxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141\r\n \r\n cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\r\n 4hWH3S7ISXt2gvwEgvgnQvdCj08QcfBIOVJNCiQxXDF1bC652Lh86Cjty3trhbYA9xy+xmkS6QsC5SDioz2kpA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "1685d791decb104fb5b0cbdd9e9c5464" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:21 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141/keys", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTQxL2tleXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "\r\n https://management.core.windows.net/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141\r\n \r\n cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\r\n 4hWH3S7ISXt2gvwEgvgnQvdCj08QcfBIOVJNCiQxXDF1bC652Lh86Cjty3trhbYA9xy+xmkS6QsC5SDioz2kpA==\r\n \r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "3b1163322e8e14f68868def0cf7db37a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:33 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9jM2Q5MDViYi1lNDYwLTQ4YmItODg0ZC03NWZhYzhmNjNlMTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": \"cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": false\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "3e223d97-8006-4a35-ac0a-f4f455558fa6-2014-09-17 19:19:17Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": \"cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"name\": \"c3d905bb-e460-48bb-884d-75fac8f63e11\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "eb6de7da-83d4-4736-acfe-9c2cc53e3ce0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "d1f5f31d-61a8-4e4d-8ad8-0d5e8b1e28bf" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191925Z:d1f5f31d-61a8-4e4d-8ad8-0d5e8b1e28bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTQxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "ad87ab8f-817b-4d98-b93d-6fd81d1fe1ef-2014-09-17 19:19:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": false,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": null,\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": null,\r\n \"storageAccountResourceGroupName\": null,\r\n \"storageAccountSubscriptionId\": null,\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db141;User ID={0}@sql-audit-cmdlet-server141;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db141;Uid={0}@sql-audit-cmdlet-server141;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server141.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db141\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db141\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server141\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db141\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server141.database.secure.windows.net:1433;database=sql-audit-cmdlet-db141;user={0}@sql-audit-cmdlet-server141;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server141.database.secure.windows.net\",\r\n \"useServerDefault\": false\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141\",\r\n \"name\": \"sql-audit-cmdlet-db141\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "4dfa38a3-0717-4454-9726-5600058f1651" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31920" + ], + "x-ms-correlation-request-id": [ + "7f570509-d991-4c58-acf9-f910f726c928" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191928Z:7f570509-d991-4c58-acf9-f910f726c928" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:27 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTQxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "5b166cfc-ccf6-4f7e-9f14-65d3fc802a6c-2014-09-17 19:19:37Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": null,\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": \"Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db141;User ID={0}@sql-audit-cmdlet-server141;Password={your_password_here};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;\",\r\n \"odbcConnectionString\": \"Driver={SQL Server Native Client 11.0};Server=tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433;Database=sql-audit-cmdlet-db141;Uid={0}@sql-audit-cmdlet-server141;Pwd={your_password_here};Encrypt=yes;Connection Timeout=30;\",\r\n \"phpConnectionString\": \"Server: sql-audit-cmdlet-server141.database.secure.windows.net,1433 \\r\\nSQL Database: sql-audit-cmdlet-db141\\r\\nUser Name: {0}\\r\\n\\r\\nPHP Data Objects(PDO) Sample Code:\\r\\n\\r\\ntry {\\r\\n $conn = new PDO ( \\\"sqlsrv:server = tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433; Database = sql-audit-cmdlet-db141\\\", \\\"{0}\\\", \\\"{your_password_here}\\\");\\r\\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\\r\\n}\\r\\ncatch ( PDOException $e ) {\\r\\n print( \\\"Error connecting to SQL Server.\\\" );\\r\\n die(print_r($e));\\r\\n}\\r\\n\\rSQL Server Extension Sample Code:\\r\\n\\r\\n$connectionInfo = array(\\\"UID\\\" => \\\"{0}@sql-audit-cmdlet-server141\\\", \\\"pwd\\\" => \\\"{your_password_here}\\\", \\\"Database\\\" => \\\"sql-audit-cmdlet-db141\\\", \\\"LoginTimeout\\\" => 30, \\\"Encrypt\\\" => 1);\\r\\n$serverName = \\\"tcp:sql-audit-cmdlet-server141.database.secure.windows.net,1433\\\";\\r\\n$conn = sqlsrv_connect($serverName, $connectionInfo);\",\r\n \"jdbcConnectionString\": \"jdbc:sqlserver://sql-audit-cmdlet-server141.database.secure.windows.net:1433;database=sql-audit-cmdlet-db141;user={0}@sql-audit-cmdlet-server141;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.secure.windows.net;loginTimeout=30;\",\r\n \"proxyDnsName\": \"sql-audit-cmdlet-server141.database.secure.windows.net\",\r\n \"useServerDefault\": true\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141\",\r\n \"name\": \"sql-audit-cmdlet-db141\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": \"West US\"\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "019b2cc7-9cb6-4ca6-92bb-6a91fe3389b8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31918" + ], + "x-ms-correlation-request-id": [ + "6215ab3f-376a-489c-9d27-8e90cb764e6e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191940Z:6215ab3f-376a-489c-9d27-8e90cb764e6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:39 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1hdWRpdC1jbWRsZXQtdGVzdC1yZzE0MS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbC1hdWRpdC1jbWRsZXQtc2VydmVyMTQxL2RhdGFiYXNlU2VjdXJpdHlQb2xpY2llcy9zcWwtYXVkaXQtY21kbGV0LWRiMTQxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": \"cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"useServerDefault\": true\r\n }\r\n}", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-session-id": [ + "fcee5c2b-54ac-4892-9545-dd8d078520dc-2014-09-17 19:19:17Z" + ], + "x-ms-client-request-id": [ + "ad87ab8f-817b-4d98-b93d-6fd81d1fe1ef-2014-09-17 19:19:25Z" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"isAuditingEnabled\": true,\r\n \"retentionDays\": 90,\r\n \"isEventTypeDataAccessEnabled\": true,\r\n \"isEventTypeSchemaChangeEnabled\": true,\r\n \"isEventTypeDataChangesEnabled\": true,\r\n \"isEventTypeSecurityExceptionsEnabled\": true,\r\n \"isEventTypeGrantRevokePermissionsEnabled\": true,\r\n \"storageAccountName\": \"auditcmdlets141\",\r\n \"storageAccountKey\": \"cBm7W12YLORK3k8sstGHXFuxY/0clccfTNeHLfoKTXjphNk/kmhgpA6r14pKlRW6TIKozB1AQBSa4gykN4/6mA==\",\r\n \"storageTableEndpoint\": \"https://auditcmdlets141.table.core.windows.net/\",\r\n \"storageAccountResourceGroupName\": \"Default-Storage-WestUS\",\r\n \"storageAccountSubscriptionId\": \"cca24ec8-99b5-4aa7-9ff6-486e886f304c\",\r\n \"adoNetConnectionString\": null,\r\n \"odbcConnectionString\": null,\r\n \"phpConnectionString\": null,\r\n \"jdbcConnectionString\": null,\r\n \"proxyDnsName\": null,\r\n \"useServerDefault\": true\r\n },\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-audit-cmdlet-test-rg141/providers/Microsoft.Sql/servers/sql-audit-cmdlet-server141/databaseSecurityPolicies/sql-audit-cmdlet-db141\",\r\n \"name\": \"sql-audit-cmdlet-db141\",\r\n \"type\": \"Microsoft.Sql/servers/databaseSecurityPolicies\",\r\n \"location\": null\r\n}", + "ResponseHeaders": { + "x-ms-request-id": [ + "a7b4f787-c807-43de-99a5-ab830fe016f7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "dd0872b4-99f9-42ef-b324-8a2dd377a76b" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20140917T191937Z:dd0872b4-99f9-42ef-b324-8a2dd377a76b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:37 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/services/storageservices/auditcmdlets141", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9zZXJ2aWNlcy9zdG9yYWdlc2VydmljZXMvYXVkaXRjbWRsZXRzMTQx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-06-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Storage.StorageManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "711a9a4166cd188da6904cc96c18cf90" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:43 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/cca24ec8-99b5-4aa7-9ff6-486e886f304c/operations/711a9a4166cd188da6904cc96c18cf90", + "EncodedRequestUri": "L2NjYTI0ZWM4LTk5YjUtNGFhNy05ZmY2LTQ4NmU4ODZmMzA0Yy9vcGVyYXRpb25zLzcxMWE5YTQxNjZjZDE4OGRhNjkwNGNjOTZjMThjZjkw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.8" + ] + }, + "ResponseBody": "\r\n 711a9a41-66cd-188d-a690-4cc96c18cf90\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "200f3bd957ac1412a648f5b3c2e02748" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 17 Sep 2014 19:19:52 GMT" + ], + "Server": [ + "1.0.6198.125", + "(rd_rdfe_stable.140911-0949)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "cca24ec8-99b5-4aa7-9ff6-486e886f304c", + "UserId": "yrubin@microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Templates/sql-audit-test-env-setup.json b/src/ResourceManager/Sql/Commands.Sql.Test/Templates/sql-audit-test-env-setup.json new file mode 100644 index 000000000000..8510a0b96361 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Templates/sql-audit-test-env-setup.json @@ -0,0 +1,67 @@ +{ + "$schema": "http://schemas.management.azure.com/deploymentTemplate?api-version=2014-04-01-preview", + "contentVersion": "1.0.0.0", + "parameters": { + "administratorLogin": { + "type": "string", + "defaultValue": "testlogin" + + }, + "administratorLoginPassword": { + "type": "securestring", + "defaultValue": "testp@ssMakingIt1007Longer" + }, + "collation": { + "type": "string", + "defaultValue": "SQL_Latin1_General_CP1_CI_AS" + }, + "databaseName": { + "type": "string" + }, + "edition": { + "type": "string", + "defaultValue": "Basic" + }, + "configuredServiceLevelObjectiveId": { + "type": "string", + "defaultValue": "910b4fcb-8a29-4c3e-958f-f7ba794388b2" + }, + "EnvLocation": { + "type": "string" + }, + "serverName": { + "type": "string" + } + + }, + "resources": [ + { + "apiVersion": "2.0", + "location": "[parameters('EnvLocation')]", + "name": "[parameters('serverName')]", + "properties": { + "administratorLogin": "[parameters('administratorLogin')]", + "administratorLoginPassword": "[parameters('administratorLoginPassword')]" + }, + "resources": [ + { + "apiVersion": "2.0", + "dependsOn": [ + "[concat('Microsoft.Sql/servers/', parameters('serverName'))]" + ], + "location": "[parameters('EnvLocation')]", + "name": "[parameters('databaseName')]", + "properties": { + "collation": "[parameters('collation')]", + "edition": "[parameters('edition')]", + "maxSizeBytes": "1073741824" + }, + "type": "databases" + } + + ], + "type": "Microsoft.Sql/servers" + } + + ] +} diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config new file mode 100644 index 000000000000..76e06cfd6bc7 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index c705c6ecf117..847f0e3fd40b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -85,7 +85,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.Sql.0.11.0-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll + ..\..\..\packages\Microsoft.Azure.Management.Sql.0.11.1-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll False @@ -106,23 +106,23 @@ False - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.2.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -141,13 +141,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 new file mode 100644 index 000000000000..f6ee542d13a7 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Resources' +# +# Generated by: Microsoft Corporation +# +# Generated on: 4/01/2014 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '81d522a4-6e5d-4105-8f58-376204c47458' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = ' Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Sql\Microsoft.Azure.Commands.Sql.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml index f8bd36fae16c..04be23b036d5 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml @@ -1,158 +1,531 @@ - - - - - Set-AzureSqlDatabaseAuditingSetting - - Sets an Azure Sql database's auditing setting. - - - - - Set - AzureSqlDatabaseAuditingSetting - - - - The Set-AzureSqlDatabaseAuditingSetting cmdlet changes the auditing setting of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit. - After the successful execution of the cmdlet, auditing of the database is enabled. These settings override the server default auditing settings. - If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database identifiers (ResourceGroupName, ServerName and DatabaseName) - - - - Set-AzureSqlDatabaseAuditingSetting - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. - Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. - - String - - - - EventType - - - Specifies the event types to audit - Valid values are: - -- DataAccess - -- DataChanges - -- SchemaChanges - -- SecurityExceptions - -- RevokePermissions - -- All - -- None - - Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. - - - DataAccess - DataChanges - SchemaChanges - SecurityExceptions - RevokePermissions - All - None - - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - String - - - - - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - String - - - - - - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. - Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. - - String - - String - - - - - - - - EventType - - - Specifies the event types to audit + + + + + Disable-AzureSqlDatabaseAuditing + + Disables an Azure Sql database's auditing. + + + + + Disable + AzureSqlDatabaseAuditing + + + + + The Disable-AzureSqlDatabaseAuditing cmdlet disables the auditing of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database.After the successful execution of the cmdlet, auditing of the database is disabled. If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Disable-AzureSqlDatabaseAuditing + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + + + + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + String + + + + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Disable-AzureSqlServerAuditing + + Disables auditing of all the databases that rely on the auditing setting of the given database server. + + + + + Disable + AzureSqlServerAuditing + + + + + The Disable-AzureSqlServerAuditing cmdlet disables auditing of all the databases that rely on the auditing setting of the given database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server.After the successful execution of the cmdlet, auditing of the database is disabled. If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database server identifiers (i.e., ResourceGroupName and ServerName) + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Disable-AzureSqlServerAuditing + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + + + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSqlDatabaseAuditingSetting + + Gets an Azure Sql database's auditing setting. + + + + + Get + AzureSqlDatabaseAuditingSetting + + + + + The Get-AzureSqlDatabaseAuditingSetting cmdlet gets the auditing setting of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Get-AzureSqlDatabaseAuditingSetting + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + + + + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + String + + + + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSqlServerAuditingSetting + + Gets an Azure Sql server's auditing setting. + + + + + Get + AzureSqlServerAuditingSetting + + + + + The Get-AzureSqlServerAuditingSetting cmdlet gets the auditing setting of an Azure Sql server. To use the cmdlet, use the ResourceGroupName and the ServerName parameters to identify the database server. + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Get-AzureSqlServerAuditingSetting + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + + + + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureSqlDatabaseAuditingSetting + + Sets an Azure Sql database's auditing setting. + + + + + Set + AzureSqlDatabaseAuditingSetting + + + + + The Set-AzureSqlDatabaseAuditingSetting cmdlet changes the auditing setting of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit.After the successful execution of the cmdlet, auditing of the database is enabled. These settings override the server default auditing settings. If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database identifiers (ResourceGroupName, ServerName and DatabaseName) + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Set-AzureSqlDatabaseAuditingSetting + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted.Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. + + String + + + EventType + + Specifies the event types to audit Valid values are: -- DataAccess -- DataChanges @@ -161,207 +534,67 @@ -- RevokePermissions -- All -- None - - Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. - - - DataAccess - DataChanges - SchemaChanges - SecurityExceptions - RevokePermissions - All - None - - - String[] - - - - - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - - Set-AzureSqlServerAuditingSetting - - Sets an Azure Sql database server's auditing setting. - - - - - Set - AzureSqlServerAuditingSetting - - - - The Set-AzureSqlServerAuditingSetting cmdlet changes the auditing setting of an Azure Sql database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit. - The auditing settings of a database server apply to all the databases in this server that are marked as using the server's auditing settings, as well as all newly created databases. - If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the server's identifiers (i.e., ResourceGroupName and ServerName) - - - - Set-AzureSqlServerAuditingSetting - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the databases that rely on this server's auditing settings. Wildcards are not permitted. - Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. - - String - - - - EventType - - - Specifies the event types to audit - Valid values are: - -- DataAccess - -- DataChanges - -- SchemaChanges - -- SecurityExceptions - -- RevokePermissions - -- All - -- None - - Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. - - - DataAccess - DataChanges - SchemaChanges - SecurityExceptions - RevokePermissions - All - None - - - - - PassThru - - Returns an object describing the auditing setting as well as the database server's identifiers (i.e., ResourceGroupName and ServerName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the databases that rely on this server's auditing settings. Wildcards are not permitted. - Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. - - String - - String - - - - - - - - EventType - - - Specifies the event types to audit + Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. + + String[] + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + + + + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + String + + + + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + none + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted.Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. + + String + + String + + + + + + EventType + + Specifies the event types to audit Valid values are: -- DataAccess -- DataChanges @@ -370,713 +603,390 @@ -- RevokePermissions -- All -- None - - Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. - - - DataAccess - DataChanges - SchemaChanges - SecurityExceptions - RevokePermissions - All - None - - - String[] - - - - - - - - PassThru - - Returns an object describing the auditing setting as well as the database server's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdletsucceeds. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - - Disable-AzureSqlDatabaseAuditing - - Disables an Azure Sql database's auditing. - - - - - Disable - AzureSqlDatabaseAuditing - - - - The Disable-AzureSqlDatabaseAuditing cmdlet disables the auditing of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. - After the successful execution of the cmdlet, auditing of the database is disabled. - If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) - - - - Disable-AzureSqlDatabaseAuditing - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - String - - - - - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - String - - - - - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - Disable-AzureSqlServerAuditing - - Disables auditing of all the databases that rely on the auditing setting of the given database server. - - - - - Disable - AzureSqlServerAuditing - - - - The Disable-AzureSqlServerAuditing cmdlet disables auditing of all the databases that rely on the auditing setting of the given database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server. - After the successful execution of the cmdlet, auditing of the database is disabled. - If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the database server identifiers (i.e., ResourceGroupName and ServerName) - - - - Disable-AzureSqlServerAuditing - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - Get-AzureSqlDatabaseAuditingSetting - - Gets an Azure Sql database's auditing setting. - - - - - Get - AzureSqlDatabaseAuditingSetting - - - - The Get-AzureSqlDatabaseAuditingSetting cmdlet gets the auditing setting of an Azure Sql database. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. - - - - Get-AzureSqlDatabaseAuditingSetting - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - String - - - - - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - Get-AzureSqlServerAuditingSetting - - Gets an Azure Sql server's auditing setting. - - - - - Get - AzureSqlServerAuditingSetting - - - - The Get-AzureSqlServerAuditingSetting cmdlet gets the auditing setting of an Azure Sql server. To use the cmdlet, use the ResourceGroupName and the ServerName parameters to identify the database server. - - - - Get-AzureSqlServerAuditingSetting - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server. Wildcards are not permitted. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - - - Use-AzureSqlServerAuditingSetting - - Marks an Azure Sql database as using its server's auditing setting. - - - - - Use - AzureSqlServerAuditingSetting - - - - The Use-AzureSqlServerAuditingSetting cmdlet marks an Azure Sql database as using its server's auditing setting. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. - If no auditing setting was defined already for the database server, this cmdlet would fail. - - - - Use-AzureSqlServerAuditingSetting - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - - - - - - - - ResourceGroupName - - Specifies the name of the resource group of the database. Wildcards are not permitted. - - String - - String - - - - - - - - ServerName - - Specifies the name of the database server holding the database. Wildcards are not permitted. - - String - - String - - - - - - - - DatabaseName - - Specifies the name of the database. Wildcards are not permitted. - - String - - String - - - - - - - - PassThru - - Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - None - - - - - - - - You can pipe input to the cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy - - - - - - - - - - - - - - - - - + Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. + + String[] + + String[] + + + + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureSqlServerAuditingSetting + + Sets an Azure Sql database server's auditing setting. + + + + + Set + AzureSqlServerAuditingSetting + + + + + The Set-AzureSqlServerAuditingSetting cmdlet changes the auditing setting of an Azure Sql database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit.The auditing settings of a database server apply to all the databases in this server that are marked as using the server's auditing settings, as well as all newly created databases.If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing setting used as well as the server's identifiers (i.e., ResourceGroupName and ServerName) + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Set-AzureSqlServerAuditingSetting + + PassThru + + Returns an object describing the auditing setting as well as the database server's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdletsucceeds. By default, this cmdlet does not return any output. + + SwitchParameter + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the databases that rely on this server's auditing settings. Wildcards are not permitted.Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. + + String + + + EventType + + Specifies the event types to audit + Valid values are: + -- DataAccess + -- DataChanges + -- SchemaChanges + -- SecurityExceptions + -- RevokePermissions + -- All + -- None + Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. + + String[] + + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + + + + + PassThru + + Returns an object describing the auditing setting as well as the database server's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdletsucceeds. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + none + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the databases that rely on this server's auditing settings. Wildcards are not permitted.Note that this parameter is not required. When this parameter is not provided, the cmdlet would use the storage account that was defined previously as part of the auditing setting of the database. If this is the first time an auditing setting is defined for the database and this parameter is not provided, the cmdlet will fail. + + String + + String + + + + + + EventType + + Specifies the event types to audit + Valid values are: + -- DataAccess + -- DataChanges + -- SchemaChanges + -- SecurityExceptions + -- RevokePermissions + -- All + -- None + Note that is possible to specify several event types. You can specify 'All' to audit all of the event types or 'None' to specify that none of the events will be audited. Specifying 'All' or 'None' alongside other event types would result in failure to execute the cmdlet. + + String[] + + String[] + + + + + + ServerName + + Specifies the name of the database server. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database server. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + + + + Use-AzureSqlServerAuditingSetting + + Marks an Azure Sql database as using its server's auditing setting. + + + + + Use + AzureSqlServerAuditingSetting + + + + + The Use-AzureSqlServerAuditingSetting cmdlet marks an Azure Sql database as using its server's auditing setting. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database.If no auditing setting was defined already for the database server, this cmdlet would fail. + It is important to note that this cmdlet can be executed only in Azure Resource Manager mode. To switch to that mode run: Switch-AzureMode AzureResourceManager + + + + Use-AzureSqlServerAuditingSetting + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + + + + + DatabaseName + + Specifies the name of the database. Wildcards are not permitted. + + String + + String + + + + + + PassThru + + Returns an object describing the auditing setting as well as the database's identifiers (i.e., ResourceGroupName, ServerName and DatabaseName) when the cmdlet succeeds. By default, this cmdlet does not return any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the database server holding the database. Wildcards are not permitted. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group of the database. Wildcards are not permitted. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.AuditingPolicy + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Model/AuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Model/AuditingPolicy.cs index 6aa01f5fc13d..5fb7825986e4 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Model/AuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Model/AuditingPolicy.cs @@ -12,10 +12,18 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections.Generic; + namespace Microsoft.Azure.Commands.Sql.Security.Model { public class AuditingPolicy { + + public AuditingPolicy() + { + ConnectionStrings = new ConnectionStrings(); + } + public string ResourceGroupName { get; set; } public string ServerName { get; set; } @@ -29,5 +37,18 @@ public class AuditingPolicy public bool IsEnabled { get; set; } public bool UseServerDefault { get; set; } + + public ConnectionStrings ConnectionStrings { get; set; } + } + + public class ConnectionStrings + { + public string AdoNetConnectionString { get; set; } + + public string OdbcConnectionString { get; set; } + + public string PhpConnectionString { get; set; } + + public string JdbcConnectionString { get; set; } } } diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Model/Constants.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Model/Constants.cs index e79642abcc9b..2f09d7ee931c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Model/Constants.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Model/Constants.cs @@ -31,5 +31,8 @@ public class Constants //id to locate a server's security policy public const string ServerPolicyId = "c3d905bb-e460-48bb-884d-75fac8f63e11"; + + // types of storage keys + public enum StorageKeyTypes {Primary, Secondary}; } } diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs index 5f45738fe096..8098ae719415 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs @@ -22,6 +22,7 @@ using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; using Microsoft.WindowsAzure.Management.Storage; +using Microsoft.WindowsAzure.Management.Storage.Models; using System; using System.Collections.Generic; @@ -90,14 +91,18 @@ public void SetServerSecurityPolicy(string resourceGroupName, string serverName, } /// - /// Gets primary storage keys for the given storage account + /// Gets the storage keys for the given storage account. /// - public string GetPrimaryStorageKeys(string storageAccountName) + public Dictionary GetStorageKeys(string storageAccountName) { - try { - return GetCurrentStorageClient().StorageAccounts.GetKeys(storageAccountName).PrimaryKey; + // intentionally returning a dictinary and not the response object to allow callees not to depand upon the storage module + StorageAccountGetKeysResponse keys = GetCurrentStorageClient().StorageAccounts.GetKeys(storageAccountName); + Dictionary result = new Dictionary(); + result.Add(Constants.StorageKeyTypes.Primary, keys.PrimaryKey); + result.Add(Constants.StorageKeyTypes.Secondary, keys.SecondaryKey); + return result; } catch { diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs index 26d044e983c3..cc02e5fb4b75 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs @@ -73,10 +73,19 @@ private AuditingPolicy WrapPolicy(DatabaseSecurityPolicy policy) wrapper.IsEnabled = properties.IsAuditingEnabled; wrapper.StorageAccountName = properties.StorageAccountName; AddEventTypesToWrapperFromPolicy(wrapper, properties); + AddConnectionStringsToWrapperFromPolicy(wrapper, properties); this.FetchedProperties = properties; return wrapper; } + private void AddConnectionStringsToWrapperFromPolicy(AuditingPolicy wrapper, DatabaseSecurityPolicyProperties properties) + { + wrapper.ConnectionStrings.AdoNetConnectionString = properties.AdoNetConnectionString; + wrapper.ConnectionStrings.OdbcConnectionString = properties.OdbcConnectionString; + wrapper.ConnectionStrings.JdbcConnectionString = properties.JdbcConnectionString; + wrapper.ConnectionStrings.PhpConnectionString = properties.PhpConnectionString; + } + private void AddEventTypesToWrapperFromPolicy(AuditingPolicy wrapper, DatabaseSecurityPolicyProperties properties) { HashSet events = new HashSet(); @@ -100,6 +109,11 @@ public void SetDatabaseAuditingPolicy(AuditingPolicy policy, String clientId) Communicator.SetDatabaseSecurityPolicy(policy.ResourceGroupName, policy.ServerName, policy.DatabaseName, clientId, parameters); } + /// + /// Unwrap the cmdlets model object and transform it to the communication model object + /// + /// The AuditingPolicy object + /// The communication model object private DatabaseSecurityPolicyUpdateParameters UnwrapPolicy(AuditingPolicy policy) { DatabaseSecurityPolicyUpdateParameters updateParameters = new DatabaseSecurityPolicyUpdateParameters(); @@ -114,22 +128,11 @@ private DatabaseSecurityPolicyUpdateParameters UnwrapPolicy(AuditingPolicy polic } /// - /// Check that the user didn't enter an All or None option with other event types. - /// Assumption - it is valid to repeat the All or None option several times, as long as no other values are provided + /// Check that the user didn't enter a shortcut option (All or None) with other event types. /// - private bool ValidateEventTypeOption(string[] userEnteredEventType, string option) + private bool ValidateShortcutUsage(HashSet userEnteredEventType, string option) { - // if there's only one value, there can't be All / None with other values - if (userEnteredEventType.Length > 1) - { - // if All / None is not there, no problem either - if (!userEnteredEventType.Contains(option)) - return true; - // if there are values that are not All / None alongside All / None, than we're at invalid state - if (userEnteredEventType.Count(s => s.Equals(option)) != userEnteredEventType.Length) - return false; - } - return true; + return userEnteredEventType.Count == 1 || !userEnteredEventType.Contains(option); } /// @@ -140,13 +143,13 @@ private void UpdateEventTypes(AuditingPolicy wrappedPolicy, DatabaseSecurityPoli string[] userEnteredEventType = wrappedPolicy.EventType; if (userEnteredEventType == null || userEnteredEventType.Length == 0) return; + HashSet eventTypes = new HashSet(userEnteredEventType); - if (!ValidateEventTypeOption(userEnteredEventType, Constants.All)) + if (!ValidateShortcutUsage(eventTypes, Constants.All)) throw new Exception(string.Format(Microsoft.Azure.Commands.Sql.Properties.Resources.InvalidEventTypeSet, Constants.All)); - if (!ValidateEventTypeOption(userEnteredEventType, Constants.None)) + if (!ValidateShortcutUsage(eventTypes, Constants.None)) throw new Exception(string.Format(Microsoft.Azure.Commands.Sql.Properties.Resources.InvalidEventTypeSet, Constants.None)); - HashSet eventTypes = new HashSet(userEnteredEventType); properties.IsEventTypeDataAccessEnabled = ValueOfProperty(eventTypes, Constants.Access); properties.IsEventTypeSchemaChangeEnabled = ValueOfProperty(eventTypes, Constants.Schema); properties.IsEventTypeDataChangesEnabled = ValueOfProperty(eventTypes, Constants.Data); @@ -187,8 +190,9 @@ private void UpdateStorage(string storageAccountName, DatabaseSecurityPolicyProp if (!IgnoreStorage) { - // storage primary key is not sent when fetching the policy, so if it is needed, it should be fetched - properties.StorageAccountKey = Communicator.GetPrimaryStorageKeys(properties.StorageAccountName); + // storage keys are not sent when fetching the policy, so if they are needed, they should be fetched + Dictionary keys = Communicator.GetStorageKeys(properties.StorageAccountName); + properties.StorageAccountKey = keys[Constants.StorageKeyTypes.Primary]; } } diff --git a/src/ResourceManager/Sql/Commands.Sql/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config index 9a365d809cb9..ac43f456c9f6 100644 --- a/src/ResourceManager/Sql/Commands.Sql/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql/packages.config @@ -1,20 +1,20 @@  - + - - + + - - + + - + \ No newline at end of file diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj index e3e9cc4d4f79..66baca79a544 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj +++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj @@ -52,13 +52,13 @@ False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -72,13 +72,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll True - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -88,13 +88,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1 b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1 new file mode 100644 index 000000000000..76b408714958 --- /dev/null +++ b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Resources' +# +# Generated by: Microsoft Corporation +# +# Generated on: 4/01/2014 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '81d522a4-6e5d-4105-8f58-376204c47458' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = ' Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Tags\Microsoft.Azure.Commands.Tags.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml index 027e29786222..1aee30ad1b7e 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml +++ b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml @@ -1,113 +1,106 @@ - - - - - Get-AzureTag - - Gets predefined Azure tags - - - - - Get - AzureTag - - - - The Get-AzureTag cmdlet gets predefined Azure tags in your subscription. This cmdlet returns basic information about the tags or detailed information about tags and their values. All output objects include a Count property that represents the number of resources and resource groups to which the tags and values have been applied. Get-AzureTag is part of a set of cmdlets (New/Get/Remove) that help you manage predefined Azure tags. - An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. - You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription. - To create a predefined tag, use the New-AzureTag cmdlet. To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureResource and Get-AzureResourceGroup cmdlets. - - - - Get-AzureTag - - Name - - Gets detailed information about the predefined tag with the specified name. By default, Get-AzureTag gets basic information about all predefined tags in the subscription. - When you use the Name parameter, the Detailed parameter has no effect. - - String - - - Detailed - - Adds information about tag values to the output. - - - - - - - Detailed - - Adds information about tag values to the output. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Gets detailed information about the predefined tag with the specified name. By default, Get-AzureTag gets basic information about all predefined tags in the subscription. - When you use the Name parameter, the Detailed parameter has no effect. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Tags.Model.PSTag, Microsoft.Azure.Commands.Tags - - - - - - - - - - - - - - - - - Example 1: Get all predefined tags - - - - - PS C:\>Get-AzureTag + + + + + Get-AzureTag + + Gets predefined Azure tags + + + + + Get + AzureTag + + + + + The Get-AzureTag cmdlet gets predefined Azure tags in your subscription. This cmdlet returns basic information about the tags or detailed information about tags and their values. All output objects include a Count property that represents the number of resources and resource groups to which the tags and values have been applied. Get-AzureTag is part of a set of cmdlets (New/Get/Remove) that help you manage predefined Azure tags.An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To create a predefined tag, use the New-AzureTag cmdlet. To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureResource and Get-AzureResourceGroup cmdlets. + + + + Get-AzureTag + + Name + + Gets detailed information about the predefined tag with the specified name. By default, Get-AzureTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect. + + String + + + Detailed + + Adds information about tag values to the output. + + SwitchParameter + + + + + + Name + + Gets detailed information about the predefined tag with the specified name. By default, Get-AzureTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect. + + String + + String + + + + + + Detailed + + Adds information about tag values to the output. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Tags.Model.PSTag, Microsoft.Azure.Commands.Tags + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get all predefined tags -------------------------- + + + + PS C:\>Get-AzureTag Name Count ======== ===== @@ -116,25 +109,22 @@ Department 5 FY2015 2 -CostCenter 20 - - - - This command gets all predefined tags in the subscription. The Count property shows how many times the tag has been applied to resources and resource groups in the subscription. - - - - - - - - - Example 2: Get a tag by name - - - - - PS C:\>Get-AzureTag -Name Department +CostCenter 20 + + This command gets all predefined tags in the subscription. The Count property shows how many times the tag has been applied to resources and resource groups in the subscription. + + + + + + + + + -------------------------- Example 2: Get a tag by name -------------------------- + + + + PS C:\>Get-AzureTag -Name Department Name: Department Count: 5 @@ -147,25 +137,22 @@ Values: Finance 2 - IT 3 - - - - This command gets detailed information about the Department tag and its values. The Count property shows how many times the tag and each of its values has been applied to resources and resource groups in the subscription. - - - - - - - - - Example 3: Get values of all tags - - - - - PS C:\>Get-AzureTag -Detailed + IT 3 + + This command gets detailed information about the Department tag and its values. The Count property shows how many times the tag and each of its values has been applied to resources and resource groups in the subscription. + + + + + + + + + -------------------------- Example 3: Get values of all tags -------------------------- + + + + PS C:\>Get-AzureTag -Detailed Name: Department Count: 5 @@ -200,144 +187,134 @@ Values: 0002 10 - 0003 5 - - - - This command uses the Detailed parameter to get detailed information about all predefined tags in the subscription. It's the equivalent of using the Name parameter for every tag. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=404173 - - - New-AzureTag - - - - Remove-AzureTag - - - - - - - New-AzureTag - - Creates a predefined Azure tag or adds values to an existing tag - - - - - New - AzureTag - - - - The New-AzureTag cmdlet creates a predefined Azure tag with an optional predefined value. You can also use it to add additional values to existing predefined tags. To create a new predefined tag, enter a unique tag name. To add a value to an existing predefined tag, specify the name of the existing tag and the new value. This cmdlet returns an object that represents the new or changed tag with its values and the number of resources to which it has been applied. New-AzureTag is part of a set of cmdlets (New/Get/Remove) that let you manage predefined Azure tags. - An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. - You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription. - To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureResource and Get-AzureResourceGroup cmdlets. - Every tag has a name. The values are optional. A predefined Azure tag can have multiple values, but when you apply the tag to a resource or resource group, you apply the tag name and only one of its values. For example, you can create a predefined Department tag with a value for each department, such as Finance, Human Resources, and IT. When you apply the Department tag to a resource, you apply only one predefined value, such as Finance. - - - - New-AzureTag - - Name - - Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag. - If an existing predefined tag has the specified name, New-AzureTag adds the specified value, if any, to the tag with that name, instead of creating a new tag. - - String - - - Value - - Specifies a tag value. Predefined tags can have multiple value, but you can enter only one value in each command. This parameter is optional, because tags can have names and no values. - - String - - - - - - Name - - Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag. - If an existing predefined tag has the specified name, New-AzureTag adds the specified value, if any, to the tag with that name, instead of creating a new tag. - - String - - String - - - - - - - Value - - Specifies a tag value. Predefined tags can have multiple value, but you can enter only one value in each command. This parameter is optional, because tags can have names and no values. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.Tags.Model.PSTag - - - - - - - - - - - - - - - - - Example 1: Create a predefined tag - - - - - PS C:\>New-AzureTag -Name FY2015 + 0003 5 + + This command uses the Detailed parameter to get detailed information about all predefined tags in the subscription. It's the equivalent of using the Name parameter for every tag. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=404173 + + + New-AzureTag + + + + Remove-AzureTag + + + + + + + + New-AzureTag + + Creates a predefined Azure tag or adds values to an existing tag + + + + + New + AzureTag + + + + + The New-AzureTag cmdlet creates a predefined Azure tag with an optional predefined value. You can also use it to add additional values to existing predefined tags. To create a new predefined tag, enter a unique tag name. To add a value to an existing predefined tag, specify the name of the existing tag and the new value. This cmdlet returns an object that represents the new or changed tag with its values and the number of resources to which it has been applied. New-AzureTag is part of a set of cmdlets (New/Get/Remove) that let you manage predefined Azure tags.An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureResource and Get-AzureResourceGroup cmdlets.Every tag has a name. The values are optional. A predefined Azure tag can have multiple values, but when you apply the tag to a resource or resource group, you apply the tag name and only one of its values. For example, you can create a predefined Department tag with a value for each department, such as Finance, Human Resources, and IT. When you apply the Department tag to a resource, you apply only one predefined value, such as Finance. + + + + New-AzureTag + + Name + + Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureTag adds the specified value, if any, to the tag with that name, instead of creating a new tag. + + String + + + Value + + Specifies a tag value. Predefined tags can have multiple value, but you can enter only one value in each command. This parameter is optional, because tags can have names and no values. + + String + + + + + + Name + + Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureTag adds the specified value, if any, to the tag with that name, instead of creating a new tag. + + String + + String + + + + + + Value + + Specifies a tag value. Predefined tags can have multiple value, but you can enter only one value in each command. This parameter is optional, because tags can have names and no values. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.Tags.Model.PSTag + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a predefined tag -------------------------- + + + + PS C:\>New-AzureTag -Name FY2015 Name: Department Count: 0 @@ -348,24 +325,22 @@ Values: ========= ===== - Finance 0 - - - This command creates a predefined tag named "FY2015". This tag has no values. You can apply a tag with no values to a resource or resource group, or use New-AzureTag to add values to the tag. You can also specify a value when you apply the tag to the resource or resource group. - - - - - - - - - Example 2: Create a predefined tag with a value - - - - - PS C:\>New-AzureTag -Name Department -Value Finance + Finance 0 + + This command creates a predefined tag named "FY2015". This tag has no values. You can apply a tag with no values to a resource or resource group, or use New-AzureTag to add values to the tag. You can also specify a value when you apply the tag to the resource or resource group. + + + + + + + + + -------------------------- Example 2: Create a predefined tag with a value -------------------------- + + + + PS C:\>New-AzureTag -Name Department -Value Finance Name: Department Count: 0 @@ -376,24 +351,22 @@ Values: ========= ===== - Finance 0 - - - This command creates a Department predefined tag with a value of Finance. - - - - - - - - - Example 3: Add a value to a predefined tag - - - - - PS C:\>New-AzureTag -Name Department -Value Finance + Finance 0 + + This command creates a Department predefined tag with a value of Finance. + + + + + + + + + -------------------------- Example 3: Add a value to a predefined tag -------------------------- + + + + PS C:\>New-AzureTag -Name Department -Value Finance Name: Department Count: 0 @@ -411,27 +384,22 @@ Values: Name Count ========= ===== Finance 0 - IT 0 - - - - - These commands creates a Department predefined tag with two values. When the tag name exists, New-AzureTag adds the value to the existing tag, instead of creating a new one. - You can create multiple values for a predefined tag. When you apply the tag to a resource, you apply just one of its values. - - - - - - - - - Example 4: Use a predefined tag - - - - - PS C:\>New-AzureTag -Name CostCenter -Value 0001 + IT 0 + + These commands creates a Department predefined tag with two values. When the tag name exists, New-AzureTag adds the value to the existing tag, instead of creating a new one. + + + + You can create multiple values for a predefined tag. When you apply the tag to a resource, you apply just one of its values. + + + + + -------------------------- Example 4: Use a predefined tag -------------------------- + + + + PS C:\>New-AzureTag -Name CostCenter -Value 0001 Name: CostCenter @@ -442,7 +410,7 @@ Values: 0001 0 -PS C:\>Set-AzureResourceGroup -Name EngineerBlog -Tag @{Name="CostCenter";Value="0001"} +PS C:\>Set-AzureResourceGroup -Name EngineerBlog -Tag @{Name="CostCenter";Value="0001"} Name: EngineerBlog @@ -470,7 +438,7 @@ Values: ========= ===== 0001 1 -PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter"} +PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter"} Name: EngineerBlog Location: East US @@ -484,201 +452,187 @@ Resources: Tags: Name Value ========== ===== - CostCenter 0001 - - - - - The commands in this example create and use a predefined tag. - The first command uses the New-AzureTag cmdlet to create a predefined CostCenter tag with a value of 0001. You can use New-AzureTag again to add more values to the predefined tag. - The second command uses the Set-AzureResourceGroup cmdlet to apply the CostCenter tag to the EngineerBlog resource group. - The third command uses the Get-AzureTag cmdlet to get the CostCenter tag. The output shows that the Count property of the tag and its values were incremented when the tag was applied to the EngineeringBlog resource group. - The fourth command uses the Tag parameter of the Get-AzureResource cmdlet to search for resource groups with the CostCenter tag (and any value). The cmdlet returns the EngineeringBlog resource group. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=404172 - - - Get-AzureTag - - - - Remove-AzureTag - - - - - - - Remove-AzureTag - - Deletes predefined Azure tags or values - - - - - Remove - AzureTag - - - - The Remove-AzureTag cmdlet deletes predefined Azure tags and values from your subscription. To delete particular values from a predefined tag, use the Value parameter. By default, Remove-AzureTag deletes the specified tag and all of its values. - You cannot delete a tag or value that is currently applied to a resource or resource group. Before using Remove-AzureTag, use the Tag parameter of the Set-AzureResource or Set-AzureResourceGroup cmdlets to delete the tag or values from the resource or resource group. The Remove-AzureTag cmdlet is part of a set of cmdlets (New/Get/Remove) that help you to manage your predefined Azure tags. - An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. - You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription. - - - - Remove-AzureTag - - Name - - Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter. - - String - - - Value - - Deletes the specified values from the predefined tag, but does not delete the tag. - - String[] - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureTag prompts for confirmation before deleting a predefined Azure tag. - - - - PassThru - - Returns an object that represents the deleted tag or the resulting tag with deleted valued. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureTag prompts for confirmation before deleting a predefined Azure tag. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter. - - String - - String - - - - - - - PassThru - - Returns an object that represents the deleted tag or the resulting tag with deleted valued. - - SwitchParameter - - SwitchParameter - - - - - - - Value - - Deletes the specified values from the predefined tag, but does not delete the tag. - - String[] - - String[] - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - None or Microsoft.Azure.Commands.Tags.Model.PSTag - - - - - - - - If you use the PassThru parameter, Remove-AzureTag returns an object that represents the deleted tag. Otherwise, this cmdlet does not return any output. - - - - - - - - Example 1: Delete a predefined tag - - - - - PS C:\>Remove-AzureTag -Name Department - - - - This command deletes the predefined Department tag and all of its resources. If the tag has been applied to any resources or resource groups, the command fails. - - - - - - - - - Example 2: Delete a value from a predefined tag - - - - - PS C:\>Remove-AzureTag -Name Department -Value HumanResources -PassThru + CostCenter 0001 + + The commands in this example create and use a predefined tag. + + + + The first command uses the New-AzureTag cmdlet to create a predefined CostCenter tag with a value of 0001. You can use New-AzureTag again to add more values to the predefined tag.The second command uses the Set-AzureResourceGroup cmdlet to apply the CostCenter tag to the EngineerBlog resource group.The third command uses the Get-AzureTag cmdlet to get the CostCenter tag. The output shows that the Count property of the tag and its values were incremented when the tag was applied to the EngineeringBlog resource group.The fourth command uses the Tag parameter of the Get-AzureResource cmdlet to search for resource groups with the CostCenter tag (and any value). The cmdlet returns the EngineeringBlog resource group. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=404172 + + + Get-AzureTag + + + + Remove-AzureTag + + + + + + + + Remove-AzureTag + + Deletes predefined Azure tags or values + + + + + Remove + AzureTag + + + + + The Remove-AzureTag cmdlet deletes predefined Azure tags and values from your subscription. To delete particular values from a predefined tag, use the Value parameter. By default, Remove-AzureTag deletes the specified tag and all of its values.You cannot delete a tag or value that is currently applied to a resource or resource group. Before using Remove-AzureTag, use the Tag parameter of the Set-AzureResource or Set-AzureResourceGroup cmdlets to delete the tag or values from the resource or resource group. The Remove-AzureTag cmdlet is part of a set of cmdlets (New/Get/Remove) that help you to manage your predefined Azure tags.An Azure "tag" is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups.You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription. + + + + Remove-AzureTag + + Name + + Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter. + + String + + + Value + + Deletes the specified values from the predefined tag, but does not delete the tag. + + String[] + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureTag prompts for confirmation before deleting a predefined Azure tag. + + SwitchParameter + + + PassThru + + Returns an object that represents the deleted tag or the resulting tag with deleted valued. + + SwitchParameter + + + + + + Name + + Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter. + + String + + String + + + + + + Value + + Deletes the specified values from the predefined tag, but does not delete the tag. + + String[] + + String[] + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureTag prompts for confirmation before deleting a predefined Azure tag. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Returns an object that represents the deleted tag or the resulting tag with deleted valued. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + None or Microsoft.Azure.Commands.Tags.Model.PSTag + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Delete a predefined tag -------------------------- + + + + PS C:\>Remove-AzureTag -Name Department + + This command deletes the predefined Department tag and all of its resources. If the tag has been applied to any resources or resource groups, the command fails. + + + + + + + + + -------------------------- Example 2: Delete a value from a predefined tag -------------------------- + + + + PS C:\>Remove-AzureTag -Name Department -Value HumanResources -PassThru Name: Department Count: 14 @@ -691,32 +645,30 @@ Values: Finance 2 - IT 12 - - - This command deletes the HumanResources value from the predefined Department tag. It does not delete the tag. If the value has been applied to any resources or resource groups, the command fails. - Because the command uses the PassThru parameter, the cmdlet returns the object tag without the HumanResources value. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=404174 - - - Get-AzureTag - - - - New-AzureTag - - - - - + IT 12 + + This command deletes the HumanResources value from the predefined Department tag. It does not delete the tag. If the value has been applied to any resources or resource groups, the command fails. + + + + Because the command uses the PassThru parameter, the cmdlet returns the object tag without the HumanResources value. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=404174 + + + Get-AzureTag + + + + New-AzureTag + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Tags/Commands.Tags/packages.config b/src/ResourceManager/Tags/Commands.Tags/packages.config index 753183a8d359..15dd2cb893b1 100644 --- a/src/ResourceManager/Tags/Commands.Tags/packages.config +++ b/src/ResourceManager/Tags/Commands.Tags/packages.config @@ -4,9 +4,9 @@ - - - + + + \ No newline at end of file diff --git a/src/ServiceManagement.Network.sln b/src/ServiceManagement.Network.sln new file mode 100644 index 000000000000..bed39f27267a --- /dev/null +++ b/src/ServiceManagement.Network.sln @@ -0,0 +1,93 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network", "ServiceManagement\Network\Commands.Network\Commands.Network.csproj", "{40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Network.Test", "ServiceManagement\Network\Commands.Network.Test\Commands.Network.Test.csproj", "{FDB897BD-FCB4-44A1-8D66-AC99F22EC737}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands", "ServiceManagement\Services\Commands\Commands.csproj", "{CD5AA507-F5EF-473D-855B-84B91A1ABE54}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Utilities", "ServiceManagement\Services\Commands.Utilities\Commands.Utilities.csproj", "{4900EC4E-8DEB-4412-9108-0BC52F81D457}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.Common", "Common\Commands.ScenarioTests.Common\Commands.ScenarioTests.Common.csproj", "{C1BDA476-A5CC-4394-914D-48B0EC31A710}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Storage", "Common\Commands.Common.Storage\Commands.Common.Storage.csproj", "{65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Test", "Common\Commands.Common.Test\Commands.Common.Test.csproj", "{3B48A77B-5956-4A62-9081-92BA04B02B27}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "Common\Commands.Profile\Commands.Profile.csproj", "{C60342B1-47D3-4A0E-8081-9B97CE60B7AF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Test.Utilities", "ServiceManagement\Services\Commands.Test.Utilities\Commands.Test.Utilities.csproj", "{BC420543-C04E-4BF3-96E1-CD81B823BDD7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement", "ServiceManagement\Compute\Commands.ServiceManagement\Commands.ServiceManagement.csproj", "{E1CA72BA-8374-45F6-904D-FD34ECDF5B6F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sync", "ServiceManagement\Compute\Sync\Sync.csproj", "{73820CBC-F4EB-4C5E-B4F0-CC4A93FBF157}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VhdManagement", "ServiceManagement\Compute\VhdManagement\VhdManagement.csproj", "{80496B7B-068A-4A1E-B0BB-4B1FFF3FA616}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}.Release|Any CPU.Build.0 = Release|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737}.Release|Any CPU.Build.0 = Release|Any CPU + {CD5AA507-F5EF-473D-855B-84B91A1ABE54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CD5AA507-F5EF-473D-855B-84B91A1ABE54}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CD5AA507-F5EF-473D-855B-84B91A1ABE54}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CD5AA507-F5EF-473D-855B-84B91A1ABE54}.Release|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 + {4900EC4E-8DEB-4412-9108-0BC52F81D457}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4900EC4E-8DEB-4412-9108-0BC52F81D457}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4900EC4E-8DEB-4412-9108-0BC52F81D457}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4900EC4E-8DEB-4412-9108-0BC52F81D457}.Release|Any CPU.Build.0 = Release|Any CPU + {C1BDA476-A5CC-4394-914D-48B0EC31A710}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C1BDA476-A5CC-4394-914D-48B0EC31A710}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C1BDA476-A5CC-4394-914D-48B0EC31A710}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C1BDA476-A5CC-4394-914D-48B0EC31A710}.Release|Any CPU.Build.0 = Release|Any CPU + {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.Build.0 = Release|Any CPU + {3B48A77B-5956-4A62-9081-92BA04B02B27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B48A77B-5956-4A62-9081-92BA04B02B27}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B48A77B-5956-4A62-9081-92BA04B02B27}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B48A77B-5956-4A62-9081-92BA04B02B27}.Release|Any CPU.Build.0 = Release|Any CPU + {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Release|Any CPU.Build.0 = Release|Any CPU + {BC420543-C04E-4BF3-96E1-CD81B823BDD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BC420543-C04E-4BF3-96E1-CD81B823BDD7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BC420543-C04E-4BF3-96E1-CD81B823BDD7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BC420543-C04E-4BF3-96E1-CD81B823BDD7}.Release|Any CPU.Build.0 = Release|Any CPU + {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E1CA72BA-8374-45F6-904D-FD34ECDF5B6F}.Release|Any CPU.Build.0 = Release|Any CPU + {73820CBC-F4EB-4C5E-B4F0-CC4A93FBF157}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {73820CBC-F4EB-4C5E-B4F0-CC4A93FBF157}.Debug|Any CPU.Build.0 = Debug|Any CPU + {73820CBC-F4EB-4C5E-B4F0-CC4A93FBF157}.Release|Any CPU.ActiveCfg = Release|Any CPU + {73820CBC-F4EB-4C5E-B4F0-CC4A93FBF157}.Release|Any CPU.Build.0 = Release|Any CPU + {80496B7B-068A-4A1E-B0BB-4B1FFF3FA616}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {80496B7B-068A-4A1E-B0BB-4B1FFF3FA616}.Debug|Any CPU.Build.0 = Debug|Any CPU + {80496B7B-068A-4A1E-B0BB-4B1FFF3FA616}.Release|Any CPU.ActiveCfg = Release|Any CPU + {80496B7B-068A-4A1E-B0BB-4B1FFF3FA616}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/ServiceManagement.RecoveryServices.sln b/src/ServiceManagement.RecoveryServices.sln new file mode 100644 index 000000000000..23cb2abadaac --- /dev/null +++ b/src/ServiceManagement.RecoveryServices.sln @@ -0,0 +1,32 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices", "ServiceManagement\RecoveryServices\Commands.RecoveryServices\Commands.RecoveryServices.csproj", "{98B10548-DF97-4FB1-8D82-2A12945D4F21}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices.Test", "ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\Commands.RecoveryServices.Test.csproj", "{A415F75B-EB6A-49A6-934E-5BA71B83D6EB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Release|Any CPU.ActiveCfg = Release|Any CPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21}.Release|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 + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal 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 70e6efd9ef8d..49e3198321f4 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj @@ -60,11 +60,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False @@ -78,13 +80,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs index 45d33ef36219..bdc2457c8e7a 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs @@ -61,7 +61,8 @@ public void NewAzureAutomationScheduleByOneTimeSuccessfull() this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); } [TestMethod] @@ -70,16 +71,40 @@ public void NewAzureAutomationScheduleByDailySuccessfull() // Setup string accountName = "automation"; string scheduleName = "schedule"; + int dayInterval = 1; this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.DayInterval = dayInterval; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + } + + [TestMethod] + public void NewAzureAutomationScheduleByHourlySuccessfull() + { + // Setup + string accountName = "automation"; + string scheduleName = "schedule"; + int hourInterval = 1; + + this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = scheduleName; + this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.HourInterval = hourInterval; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); } [TestMethod] @@ -88,25 +113,82 @@ public void NewAzureAutomationScheduleByDailyWithDefaultExpiryTimeDayIntervalSuc // Setup string accountName = "automation"; string scheduleName = "schedule"; + int dayInterval = 1; + + this.mockAutomationClient + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, DailySchedule s) => s); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = scheduleName; + this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.DayInterval = dayInterval; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + + Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); + var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + .OutputPipeline + .FirstOrDefault(); + Assert.IsNotNull(schedule); + Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); + + // Test for default values + Assert.AreEqual( + Constants.DefaultScheduleExpiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", + schedule.ExpiryTime); + Assert.AreEqual( + dayInterval, + schedule.DayInterval, + "Day Interval is unexpectedly {0}", + schedule.DayInterval); + } + + [TestMethod] + public void NewAzureAutomationScheduleByHourlyWithDefaultExpiryTimeDayIntervalSuccessfull() + { + // Setup + string accountName = "automation"; + string scheduleName = "schedule"; + int hourInterval = 1; - this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())).Returns((string a, DailySchedule s) => s); + this.mockAutomationClient + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, HourlySchedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.HourInterval = hourInterval; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.FirstOrDefault(); + var schedule = (HourlySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + .OutputPipeline + .FirstOrDefault(); Assert.IsNotNull(schedule); - Assert.IsTrue(schedule.Name == scheduleName); + Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); // Test for default values - Assert.IsTrue(schedule.ExpiryTime == Constants.DefaultScheduleExpiryTime); - Assert.IsTrue(schedule.DayInterval == Constants.DefaultDailyScheduleDayInterval); + Assert.AreEqual( + Constants.DefaultScheduleExpiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", + schedule.ExpiryTime); + Assert.AreEqual( + hourInterval, + schedule.HourInterval, + "Hour Interval is unexpectedly {0}", + schedule.HourInterval); } [TestMethod] @@ -115,28 +197,88 @@ public void NewAzureAutomationScheduleByDailyWithUnspecificedDateTimeKindSuccess // Setup string accountName = "automation"; string scheduleName = "schedule"; + int dayInterval = 1; + var startTime = DateTime.Now; + var expiryTime = new DateTime(2048, 4, 2); + + this.mockAutomationClient + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, DailySchedule s) => s); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = scheduleName; + this.cmdlet.StartTime = startTime; + this.cmdlet.ExpiryTime = expiryTime; + this.cmdlet.DayInterval = dayInterval; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + + Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); + var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + .OutputPipeline + .FirstOrDefault(); + Assert.IsNotNull(schedule); + Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); + + // If startTime or expiryTime is unspecified DateTimeKind, we assume they are local time + Assert.AreEqual( + DateTimeKind.Local, + schedule.StartTime.Kind, + "DateTimeKind of start time is unexpectedly {0}", + schedule.StartTime.Kind); + Assert.AreEqual( + DateTimeKind.Local, + schedule.ExpiryTime.Kind, + "DateTimeKind of expiry time is unexpectedly {0}", + schedule.ExpiryTime.Kind); + } + + [TestMethod] + public void NewAzureAutomationScheduleByHourlyWithUnspecificedDateTimeKindSuccessfull() + { + // Setup + string accountName = "automation"; + string scheduleName = "schedule"; + int hourInterval = 1; var startTime = DateTime.Now; var expiryTime = new DateTime(2048, 4, 2); - this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())).Returns((string a, DailySchedule s) => s); + this.mockAutomationClient + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, HourlySchedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; this.cmdlet.StartTime = startTime; this.cmdlet.ExpiryTime = expiryTime; + this.cmdlet.HourInterval = hourInterval; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + this.mockAutomationClient + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.FirstOrDefault(); + var schedule = (HourlySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + .OutputPipeline + .FirstOrDefault(); Assert.IsNotNull(schedule); - Assert.IsTrue(schedule.Name == scheduleName); + Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); // If startTime or expiryTime is unspecified DateTimeKind, we assume they are local time - Assert.IsTrue(schedule.StartTime.Kind == DateTimeKind.Local); - Assert.IsTrue(schedule.ExpiryTime.Kind == DateTimeKind.Local); + Assert.AreEqual( + DateTimeKind.Local, + schedule.StartTime.Kind, + "DateTimeKind of start time is unexpectedly {0}", + schedule.StartTime.Kind); + Assert.AreEqual( + DateTimeKind.Local, + schedule.ExpiryTime.Kind, + "DateTimeKind of expiry time is unexpectedly {0}", + schedule.ExpiryTime.Kind); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config index 6780a29aefa4..61f07aca05c3 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config @@ -3,8 +3,8 @@ - - + + diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs index d3b93e8f8ef4..7a554e9f6efe 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs @@ -92,7 +92,7 @@ protected override void AutomationExecuteCmdlet() } /// - /// Writes a OneTimeSchedule or DailySchedule to the pipeline. + /// Writes a OneTimeSchedule, DailySchedule or HourlySchedule to the pipeline. /// /// /// The schedules. @@ -108,6 +108,13 @@ private void WriteSchedule(IEnumerable schedules) continue; } + var hourlySchedule = schedule as HourlySchedule; + if (hourlySchedule != null) + { + this.WriteObject(hourlySchedule); + continue; + } + var oneTimeSchedule = schedule as OneTimeSchedule; if (oneTimeSchedule != null) { diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs index f1a6db7b3114..8d65beb468ff 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs @@ -37,13 +37,17 @@ public class NewAzureAutomationSchedule : AzureAutomationBaseCmdlet /// private const string ByDaily = "ByDaily"; + /// + /// The hourly schedule parameter set. + /// + private const string ByHourly = "ByHourly"; + /// /// Initializes a new instance of the class. /// public NewAzureAutomationSchedule() { this.ExpiryTime = Constants.DefaultScheduleExpiryTime; - this.DayInterval = Constants.DefaultDailyScheduleDayInterval; } /// @@ -59,13 +63,13 @@ public NewAzureAutomationSchedule() /// [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule start time.")] + [ValidateNotNull] public DateTime StartTime { get; set; } /// /// Gets or sets the schedule description. /// - [Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule description.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule description.")] public string Description { get; set; } /// @@ -77,15 +81,24 @@ public NewAzureAutomationSchedule() /// /// Gets or sets the schedule expiry time. /// - [Parameter(ParameterSetName = ByDaily, Position = 4, Mandatory = false, HelpMessage = "The schedule expiry time.")] + [Parameter(ParameterSetName = ByDaily, Mandatory = false, HelpMessage = "The schedule expiry time.")] + [Parameter(ParameterSetName = ByHourly, Mandatory = false, HelpMessage = "The schedule expiry time.")] public DateTime ExpiryTime { get; set; } /// /// Gets or sets the daily schedule day interval. /// - [Parameter(ParameterSetName = ByDaily, Position = 5, Mandatory = false, HelpMessage = "The daily schedule day interval.")] + [Parameter(ParameterSetName = ByDaily, Mandatory = true, HelpMessage = "The daily schedule day interval.")] + [ValidateRange(1, int.MaxValue)] public int DayInterval { get; set; } + /// + /// Gets or sets the hourly schedule hour interval. + /// + [Parameter(ParameterSetName = ByHourly, Mandatory = true, HelpMessage = "The hourly schedule hour interval.")] + [ValidateRange(1, int.MaxValue)] + public int HourInterval { get; set; } + /// /// Execute this cmdlet. /// @@ -117,7 +130,7 @@ protected override void AutomationExecuteCmdlet() Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, oneTimeSchedule); this.WriteObject(schedule); } - else + else if (this.DayInterval >= 1) { // ByDaily var dailySchedule = new DailySchedule @@ -132,6 +145,21 @@ protected override void AutomationExecuteCmdlet() Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, dailySchedule); this.WriteObject(schedule); } + else if (this.HourInterval >= 1) + { + // ByHourly + var hourlySchedule = new HourlySchedule + { + Name = this.Name, + StartTime = this.StartTime, + HourInterval = this.HourInterval, + Description = this.Description, + ExpiryTime = this.ExpiryTime + }; + + Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, hourlySchedule); + this.WriteObject(schedule); + } } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj index 14ce6620331e..45ccfcbd4807 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj @@ -54,7 +54,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.Automation.0.11.0-preview\lib\net40\Microsoft.Azure.Management.Automation.dll + ..\..\..\packages\Microsoft.Azure.Management.Automation.0.12.1-preview\lib\net40\Microsoft.Azure.Management.Automation.dll False @@ -68,13 +68,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -85,13 +85,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -132,6 +132,7 @@ + diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs index c64d3959ef0b..83de8f67ee7e 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs @@ -472,7 +472,7 @@ public IEnumerable ListJobStreamItems(string automationAccountNam new AutomationManagement.Models.JobStreamListStreamItemsParameters { JobId = jobModel.Id, - StartTime = createdSince.ToUniversalTime(), + StartTime = this.FormatDateTime(createdSince), StreamType = streamTypeName, SkipToken = skipToken }); @@ -542,6 +542,34 @@ public Schedule CreateSchedule(string automationAccountName, DailySchedule sched return this.GetSchedule(automationAccountName, new Guid(scheduleCreateResponse.Schedule.Id)); } + public Schedule CreateSchedule(string automationAccountName, HourlySchedule schedule) + { + this.ValidateScheduleName(automationAccountName, schedule.Name); + + var scheduleModel = new AutomationManagement.Models.Schedule + { + Name = schedule.Name, + StartTime = schedule.StartTime.ToUniversalTime(), + ExpiryTime = schedule.ExpiryTime.ToUniversalTime(), + Description = schedule.Description, + HourInterval = schedule.HourInterval, + ScheduleType = + AutomationManagement.Models.ScheduleType + .HourlySchedule + }; + + var scheduleCreateParameters = new AutomationManagement.Models.ScheduleCreateParameters + { + Schedule = scheduleModel + }; + + var scheduleCreateResponse = this.automationManagementClient.Schedules.Create( + automationAccountName, + scheduleCreateParameters); + + return this.GetSchedule(automationAccountName, new Guid(scheduleCreateResponse.Schedule.Id)); + } + public void DeleteSchedule(string automationAccountName, Guid scheduleId) { this.automationManagementClient.Schedules.Delete( @@ -632,6 +660,10 @@ private Schedule CreateScheduleFromScheduleModel(AutomationManagement.Models.Sch { return new DailySchedule(schedule); } + else if (schedule.ScheduleType == AutomationManagement.Models.ScheduleType.HourlySchedule) + { + return new HourlySchedule(schedule); + } else { return new OneTimeSchedule(schedule); diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs index 229e75db018d..5b9a6c7a8b77 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs @@ -47,8 +47,6 @@ public class AutomationAccountState // 12/31/9999 12:00:00 AM public static readonly DateTime DefaultScheduleExpiryTime = new DateTime(9999, 12, 31, 0, 0, 0, DateTimeKind.Utc); - public const int DefaultDailyScheduleDayInterval = 1; - public const string JobStartedByParameterName = "MicrosoftApplicationManagementStartedBy"; public const string ClientIdentity = "PowerShell"; diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs index a4d4d28d7524..0ec14ddcb7d3 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs @@ -72,6 +72,8 @@ Runbook CreateRunbookByPath( Schedule CreateSchedule(string automationAccountName, DailySchedule schedule); + Schedule CreateSchedule(string automationAccountName, HourlySchedule schedule); + Runbook PublishRunbook(string automationAccountName, Guid runbookId); Runbook PublishRunbook(string automationAccountName, string runbookName); diff --git a/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1 b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1 new file mode 100644 index 000000000000..c98c836462f5 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Automation\Microsoft.Azure.Commands.Automation.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.xml b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.xml index 5bf971607760..a914885a0449 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.xml +++ b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.xml @@ -1,492 +1,427 @@ - - - - - Get-AzureAutomationAccount - - Gets Azure Automation accounts. - - - - - Get - AzureAutomationAccount - - - - The Get-AzureAutomationAccount cmdlet gets the Microsoft Azure Automation accounts for your subscription. An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, jobs, and assets. - - - - Get-AzureAutomationAccount - - Name - - Specifies the name of an Azure Automation account. - - String - - - Location - - Specifies an Azure location associated with Automation accounts. - - String - - - - - - Location - - Specifies an Azure location associated with Automation accounts. - - String - - String - - - none - - - Name - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get an Automation account - - - - - - PS C:\>Get-AzureAutomationAccount -Name "Contoso17" - - - This command gets the Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397902 - - - - - - Get-AzureAutomationJob - - Gets one or more Azure Automation runbook jobs. - - - - - Get - AzureAutomationJob - - - - The Get-AzureAutomationJob cmdlet gets one or more runbook jobs in Microsoft Azure Automation. - - - - Get-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - EndTime - - Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - - StartTime - - Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - - - Get-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a job. - - Guid - - - - Get-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - EndTime - - Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - - StartTime - - Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - - RunbookId - - Specifies the ID of a runbook. - - Guid - - - - Get-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - EndTime - - Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - - StartTime - - Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - - RunbookName - - Specifies the name of a runbook. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - EndTime - - Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - DateTime - - - none - - - Id - - Specifies the ID of a job. - - Guid - - Guid - - - none - - - RunbookId - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - RunbookName - - Specifies the name of a runbook. - - String - - String - - - none - - - StartTime - - Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - DateTime - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get a runbook job - - - - - - PS C:\>Get-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b647 - - - This command gets the job that has the specified GUID. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397903 - - - Resume-AzureAutomationJob - - - - Stop-AzureAutomationJob - - - - Suspend-AzureAutomationJob - - - - - - - Get-AzureAutomationJobOutput - - Gets the output of an Azure Automation job. - - - - - Get - AzureAutomationJobOutput - - - - The Get-AzureAutomationJobOutput cmdlet gets the output of a Microsoft Azure Automation job. - - - - Get-AzureAutomationJobOutput - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a job. - - Guid - - - StartTime - - Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - - Stream - - - Specifies the type of output. Valid values are: - - -- Any - -- Debug - -- Error - -- Output - -- Progress - -- Verbose - -- Warning - - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a job. - - Guid - - Guid - - - none - - - StartTime - - Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - DateTime - - - none - - - Stream - - - Specifies the type of output. Valid values are: + + + + + Get-AzureAutomationAccount + + Gets Azure Automation accounts. + + + + + Get + AzureAutomationAccount + + + + + The Get-AzureAutomationAccount cmdlet gets the Microsoft Azure Automation accounts for your subscription. An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, jobs, and assets. + + + + Get-AzureAutomationAccount + + Name + + Specifies the name of an Azure Automation account. + + String + + + Location + + Specifies an Azure location associated with Automation accounts. + + String + + + + + + Name + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Location + + Specifies an Azure location associated with Automation accounts. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get an Automation account -------------------------- + + + + PS C:\>Get-AzureAutomationAccount -Name "Contoso17" + + This command gets the Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397902 + + + + + + + Get-AzureAutomationJob + + Gets one or more Azure Automation runbook jobs. + + + + + Get + AzureAutomationJob + + + + + The Get-AzureAutomationJob cmdlet gets one or more runbook jobs in Microsoft Azure Automation. + + + + Get-AzureAutomationJob + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + RunbookId + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + RunbookName + + Specifies the name of a runbook. + + String + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + none + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a job. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + RunbookId + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + RunbookName + + Specifies the name of a runbook. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a runbook job -------------------------- + + + + PS C:\>Get-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b647 + + This command gets the job that has the specified GUID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397903 + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Get-AzureAutomationJobOutput + + Gets the output of an Azure Automation job. + + + + + Get + AzureAutomationJobOutput + + + + + The Get-AzureAutomationJobOutput cmdlet gets the output of a Microsoft Azure Automation job. + + + + Get-AzureAutomationJobOutput + + Id + + Specifies the ID of a job. + + Guid + + + StartTime + + Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + Stream + + Specifies the type of output. Valid values are: -- Any -- Debug @@ -494,3501 +429,3568 @@ -- Output -- Progress -- Verbose - -- Warning - - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get the output of an Azure Automation job - - - - - - PS C:\>Get-AzureAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -Stream "Any" - - - This command gets all of the output of the job that has the specified ID. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397904 - - - Get-AzureAutomationJob - - - - Resume-AzureAutomationJob - - - - Stop-AzureAutomationJob - - - - Suspend-AzureAutomationJob - - - - - - - Get-AzureAutomationRunbook - - Gets a runbook. - - - - - Get - AzureAutomationRunbook - - - - The Get-AzureAutomationRunbook cmdlet gets one or more Microsoft Azure Automation runbooks. By default, all runbooks are returned. To get a specific runbook, specify its name or ID. To get all runbooks linked to a specific schedule, specify the schedule name. - - - - Get-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - - Get-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a runbook. - - Guid - - - - Get-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a runbook. - - String - - - - Get-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - ScheduleName - - Specifies the name of a schedule. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - ScheduleName - - Specifies the name of a schedule. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get all runbooks - - - - - - PS C:\>Get-AzureAutomationRunbook -AutomationAccountName "Contoso17" + -- Warning + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + StartTime + + Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + DateTime + + + none + + + Stream + + Specifies the type of output. Valid values are: - - - This command gets all runbooks in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397905 - - - New-AzureAutomationRunbook - - - - Publish-AzureAutomationRunbook - - - - Remove-AzureAutomationRunbook - - - - Set-AzureAutomationRunbook - - - - Start-AzureAutomationRunbook - - - - - - - Get-AzureAutomationRunbookDefinition - - Gets a runbook definition. - - - - - Get - AzureAutomationRunbookDefinition - - - - The Get-AzureAutomationRunbookDefinition cmdlet gets the draft definition, the published definition, or both definitions of an Azure Automation runbook. By default, both runbook definitions are returned. - - - - Get-AzureAutomationRunbookDefinition - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Slot - - - Specifies a runbook definition type. Valid values are: + -- Any + -- Debug + -- Error + -- Output + -- Progress + -- Verbose + -- Warning + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get the output of an Azure Automation job -------------------------- + + + + PS C:\>Get-AzureAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -Stream "Any" + + This command gets all of the output of the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397904 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Get-AzureAutomationRunbook + + Gets a runbook. + + + + + Get + AzureAutomationRunbook + + + + + The Get-AzureAutomationRunbook cmdlet gets one or more Microsoft Azure Automation runbooks. By default, all runbooks are returned. To get a specific runbook, specify its name or ID. To get all runbooks linked to a specific schedule, specify the schedule name. + + + + Get-AzureAutomationRunbook + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + ScheduleName + + Specifies the name of a schedule. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get all runbooks -------------------------- + + + + PS C:\>Get-AzureAutomationRunbook -AutomationAccountName "Contoso17" + + This command gets all runbooks in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397905 + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Get-AzureAutomationRunbookDefinition + + Gets a runbook definition. + + + + + Get + AzureAutomationRunbookDefinition + + + + + The Get-AzureAutomationRunbookDefinition cmdlet gets the draft definition, the published definition, or both definitions of an Azure Automation runbook. By default, both runbook definitions are returned. + + + + Get-AzureAutomationRunbookDefinition + + Name + + Specifies the name of a runbook. + + String + + + Slot + + Specifies a runbook definition type. Valid values are: - -- Published - -- Draft - - - String - - - Name - - Specifies the name of a runbook. - - String - - - - Get-AzureAutomationRunbookDefinition - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Slot - - - Specifies a runbook definition type. Valid values are: + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbookDefinition + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Slot + + Specifies a runbook definition type. Valid values are: - -- Published - -- Draft - - - String - - - Id - - Specifies the ID of a runbook. - - Guid - - - - Get-AzureAutomationRunbookDefinition - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Slot - - - Specifies a runbook definition type. Valid values are: + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbookDefinition + + VersionId + + Specifies the ID of a runbook version. + + Nullable`1[Guid] + + + Slot + + Specifies a runbook definition type. Valid values are: - -- Published - -- Draft - - - String - - - VersionId - - Specifies the ID of a runbook version. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Slot - - - Specifies a runbook definition type. Valid values are: + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Slot + + Specifies a runbook definition type. Valid values are: -- Published - -- Draft - - - String - - String - - - none - - - VersionId - - Specifies the ID of a runbook version. - - Guid - - Guid - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get a runbook definition - - - - - - PS C:\>Get-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "RunbookDef01" -Slot "Published" - - - This command gets the published runbook definition of the runbook named RunbookDef01 in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397906 - - - Set-AzureAutomationRunbookDefinition - - - - - - - Get-AzureAutomationSchedule - - Gets an Azure Automation schedule. - - - - - Get - AzureAutomationSchedule - - - - The Get-AzureAutomationSchedule cmdlet gets a Microsoft Azure Automation schedule. - - - - Get-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - - Get-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a schedule. - - Guid - - - - Get-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a schedule. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a schedule. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a schedule. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get a schedule - - - - - - PS C:\>Get-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "DailySchedule08" - - - This command gets the schedule named DailySchedule08. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId= 397907 - - - New-AzureAutomationSchedule - - - - Remove-AzureAutomationSchedule - - - - Set-AzureAutomationSchedule - - - - - - - New-AzureAutomationRunbook - - Creates a new runbook. - - - - - New - AzureAutomationRunbook - - - - The New-AzureAutomationRunbook cmdlet creates a new, empty Microsoft Azure Automation runbook. Specify a name to create a new runbook. - You can also specify the path to a Windows PowerShell? script (.ps1 ) file to import a runbook. The script to import must contain a single Windows PowerShell? Workflow definition. The name of this Windows PowerShell Workflow becomes the name of the runbook. - - - - New-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Description - - Specifies a description for the runbook. - - String - - - Tags - - Specifies one or more runbook tags. - - String[] - - - Name - - Specifies the name for the runbook. - - String - - - - New-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Description - - Specifies a description for the runbook. - - String - - - Tags - - Specifies one or more runbook tags. - - String[] - - - Path - - Specifies the path to a runbook to import. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Description - - Specifies a description for the runbook. - - String - - String - - - none - - - Name - - Specifies the name for the runbook. - - String - - String - - - none - - - Path - - Specifies the path to a runbook to import. - - String - - String - - - none - - - Tags - - Specifies one or more runbook tags. - - String[] - - String[] - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Create a runbook - - - - - - PS C:\>New-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbook02" - - - This command creates a new runbook named Runbook02 in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397908 - - - Get-AzureAutomationRunbook - - - - Publish-AzureAutomationRunbook - - - - Remove-AzureAutomationRunbook - - - - Set-AzureAutomationRunbook - - - - Start-AzureAutomationRunbook - - - - - - - New-AzureAutomationSchedule - - Creates an Azure Automation schedule. - - - - - New - AzureAutomationSchedule - - - - The New-AzureAutomationSchedule cmdlet creates a schedule in Microsoft Azure Automation. - - - - New-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies a name for the schedule. - - String - - - StartTime - - Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - - Description - - Specifies a description. - - String - - - ExpiryTime - - Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - - DayInterval - - Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. - - Int32 - - - - New-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies a name for the schedule. - - String - - - StartTime - - Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - - Description - - Specifies a description. - - String - - - OneTime - - Specifies that the cmdlet creates a one-time schedule. - - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - DayInterval - - Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. - - Int32 - - Int32 - - - none - - - Description - - Specifies a description. - - String - - String - - - none - - - ExpiryTime - - Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - DateTime - - DateTime - - - none - - - Name - - Specifies a name for the schedule. - - String - - String - - - none - - - OneTime - - Specifies that the cmdlet creates a one-time schedule. - - SwitchParameter - - SwitchParameter - - - none - - - StartTime - - Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. - - DateTime - - DateTime - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Create a schedule - - - - - - PS C:\>$StartDate = Get-Date -Day 12 -Month 6 -Year 2016 + -- Draft + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + VersionId + + Specifies the ID of a runbook version. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a runbook definition -------------------------- + + + + PS C:\>Get-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "RunbookDef01" -Slot "Published" + + This command gets the published runbook definition of the runbook named RunbookDef01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397906 + + + Set-AzureAutomationRunbookDefinition + + + + + + + + Get-AzureAutomationSchedule + + Gets an Azure Automation schedule. + + + + + Get + AzureAutomationSchedule + + + + + The Get-AzureAutomationSchedule cmdlet gets a Microsoft Azure Automation schedule. + + + + Get-AzureAutomationSchedule + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a schedule -------------------------- + + + + PS C:\>Get-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "DailySchedule08" + + This command gets the schedule named DailySchedule08. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId= 397907 + + + New-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + New-AzureAutomationRunbook + + Creates a new runbook. + + + + + New + AzureAutomationRunbook + + + + + The New-AzureAutomationRunbook cmdlet creates a new, empty Microsoft Azure Automation runbook. Specify a name to create a new runbook.You can also specify the path to a Windows PowerShell? script (.ps1 ) file to import a runbook. The script to import must contain a single Windows PowerShell? Workflow definition. The name of this Windows PowerShell Workflow becomes the name of the runbook. + + + + New-AzureAutomationRunbook + + Name + + Specifies the name for the runbook. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + New-AzureAutomationRunbook + + Path + + Specifies the path to a runbook to import. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name for the runbook. + + String + + String + + + none + + + Description + + Specifies a description for the runbook. + + String + + String + + + none + + + Tags + + Specifies one or more runbook tags. + + String[] + + String[] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Path + + Specifies the path to a runbook to import. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a runbook -------------------------- + + + + PS C:\>New-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbook02" + + This command creates a new runbook named Runbook02 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397908 + + + Get-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + New-AzureAutomationSchedule + + Creates an Azure Automation schedule. + + + + + New + AzureAutomationSchedule + + + + + The New-AzureAutomationSchedule cmdlet creates a schedule in Microsoft Azure Automation. + + + + New-AzureAutomationSchedule + + Name + + Specifies a name for the schedule. + + String + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + + Description + + Specifies a description. + + String + + + ExpiryTime + + Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + DayInterval + + Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. + + Int32 + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + New-AzureAutomationSchedule + + Name + + Specifies a name for the schedule. + + String + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + + Description + + Specifies a description. + + String + + + OneTime + + Specifies that the cmdlet creates a one-time schedule. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies a name for the schedule. + + String + + String + + + none + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + DateTime + + + none + + + Description + + Specifies a description. + + String + + String + + + none + + + ExpiryTime + + Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + DateTime + + + none + + + DayInterval + + Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. + + Int32 + + Int32 + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + OneTime + + Specifies that the cmdlet creates a one-time schedule. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a schedule -------------------------- + + + + PS C:\>$StartDate = Get-Date -Day 12 -Month 6 -Year 2016 PS C:\> $EndDate = Get-Date -Day 12 -Month 6 -Year 2023 - PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -StartTime $StartDate -ExpiryTime $EndDate - - - The first command creates a date object by using the Get-Date cmdlet, and then stores the object in the $StartDate variable. Specify a time that is at least five minutes in the future. For more information, type Get-Help Get-Date. - The second command creates a date object by using the Get-Date cmdlet, and then stores the object in the $EndDate variable. The command specifies a future time. - The final command creates a daily schedule named Schedule01 to begin at the time stored in $StartDate and expire at the time stored in $EndDate. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397909 - - - Get-AzureAutomationSchedule - - - - Remove-AzureAutomationSchedule - - - - Set-AzureAutomationSchedule - - - - - - - Publish-AzureAutomationRunbook - - Publishes a runbook. - - - - - Publish - AzureAutomationRunbook - - - - The Publish-AzureAutomationRunbook cmdlet publishes a runbook for use in the production environment of Microsoft Azure Automation. - - - - Publish-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a runbook. - - String - - - - Publish-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a runbook. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Publish a runbook - - - - - - PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" - - - This command publishes the runbook named Runbk01 in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397910 - - - Get-AzureAutomationRunbook - - - - New-AzureAutomationRunbook - - - - Remove-AzureAutomationRunbook - - - - Set-AzureAutomationRunbook - - - - Start-AzureAutomationRunbook - - - - - - - Register-AzureAutomationScheduledRunbook - - Associates a runbook with a schedule. - - - - - Register - AzureAutomationScheduledRunbook - - - - The Register-AzureAutomationScheduledRunbook cmdlet associates a runbook with a schedule. The runbook starts based on the schedule you specify using the ScheduleName parameter. - - - - Register-AzureAutomationScheduledRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. - - IDictionary - - - Name - - Specifies the name of a runbook. - - String - - - ScheduleName - - Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. - - String - - - - Register-AzureAutomationScheduledRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. - - IDictionary - - - Id - - Specifies the ID of a runbook. - - Guid - - - ScheduleName - - Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. - - IDictionary - - IDictionary - - - none - - - ScheduleName - - Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Associate a runbook with a schedule - - - - - - PS C:\>Register-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Sched01" - - - This command associates the runbook named Runbk01 with the schedule named Sched01 in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397911 - - - New-AzureAutomationSchedule - - - - Unregister-AzureAutomationScheduledRunbook - - - - - - - Remove-AzureAutomationRunbook - - Removes a runbook. - - - - - Remove - AzureAutomationRunbook - - - - The Remove-AzureAutomationRunbook cmdlet removes a runbook from Microsoft Azure Automation. - - - - Remove-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - - - Name - - Specifies the name of a runbook. - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Remove-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - - - Id - - Specifies the ID of a runbook. - - Guid - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Remove a runbook - - - - - - PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" - - - This command removes the runbook named MyRunbook in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397912 - - - Get-AzureAutomationRunbook - - - - New-AzureAutomationRunbook - - - - Publish-AzureAutomationRunbook - - - - Set-AzureAutomationRunbook - - - - Start-AzureAutomationRunbook - - - - - - - Remove-AzureAutomationSchedule - - Deletes an Azure Automation schedule. - - - - - Remove - AzureAutomationSchedule - - - - The Remove-AzureAutomationSchedule cmdlet deletes a schedule from Microsoft Azure Automation. - - - - Remove-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a schedule. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Remove-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a schedule. - - Guid - - - Force - - Forces the command to run without asking for user confirmation. - - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - Id - - Specifies the ID of a schedule. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a schedule. - - String - - String - - - none - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Remove a schedule - - - - - - PS C:\>Remove-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "MySchedule" - - - This command removes the schedule named MySchedule. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397913 - - - Get-AzureAutomationSchedule - - - - New-AzureAutomationSchedule - - - - Set-AzureAutomationSchedule - - - - - - - Resume-AzureAutomationJob - - Resumes a suspended Azure Automation job. - - - - - Resume - AzureAutomationJob - - - - The Resume-AzureAutomationJob cmdlet resumes a suspended Microsoft Azure Automation job. Specify the suspended job. - To suspend a job, use the Suspend-AzureAutomationJob cmdlet. - - - - Resume-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a job. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a job. - - Guid - - Guid - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Resume a suspended job - - - - - - PS C:\>Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - - - This command resumes the job that has the specified ID. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397914 - - - Get-AzureAutomationJob - - - - Stop-AzureAutomationJob - - - - Suspend-AzureAutomationJob - - - - - - - Set-AzureAutomationRunbook - - Modifies the configuration of a runbook. - - - - - Set - AzureAutomationRunbook - - - - The Set-AzureAutomationRunbook cmdlet modifies the configuration of a Microsoft Azure Automation runbook. - - - - Set-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Description - - Specifies a description for the runbook. - - String - - - LogDebug - - Indicates whether debug output is logged for jobs of this runbook. - - Boolean - - - LogProgress - - Indicates whether progress output is logged for jobs of this runbook. - - Boolean - - - LogVerbose - - Indicates whether verbose output is logged for jobs of this runbook. - - Boolean - - - Tags - - Specifies one or more runbook tags. - - String[] - - - Name - - Specifies the name of a runbook. - - String - - - - Set-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Description - - Specifies a description for the runbook. - - String - - - LogDebug - - Indicates whether debug output is logged for jobs of this runbook. - - Boolean - - - LogProgress - - Indicates whether progress output is logged for jobs of this runbook. - - Boolean - - - LogVerbose - - Indicates whether verbose output is logged for jobs of this runbook. - - Boolean - - - Tags - - Specifies one or more runbook tags. - - String[] - - - Id - - Specifies the ID of a runbook. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Description - - Specifies a description for the runbook. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - LogDebug - - Indicates whether debug output is logged for jobs of this runbook. - - Boolean - - Boolean - - - none - - - LogProgress - - Indicates whether progress output is logged for jobs of this runbook. - - Boolean - - Boolean - - - none - - - LogVerbose - - Indicates whether verbose output is logged for jobs of this runbook. - - Boolean - - Boolean - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Tags - - Specifies one or more runbook tags. - - String[] - - String[] - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Enable verbose logging for a runbook - - - - - - PS C:\>Set-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" -LogVerbose $True - - - This command enables verbose logging for the jobs of the specified runbook in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397915 - - - Get-AzureAutomationRunbook - - - - New-AzureAutomationRunbook - - - - Publish-AzureAutomationRunbook - - - - Remove-AzureAutomationRunbook - - - - Start-AzureAutomationRunbook - - - - - - - Set-AzureAutomationRunbookDefinition - - Updates the draft definition of a runbook. - - - - - Set - AzureAutomationRunbookDefinition - - - - The Set-AzureAutomationRunbookDefinition cmdlet updates the draft definition of a Microsoft Azure Automation runbook. Provide a Windows PowerShell? script (.ps1) file that contains a runbook which becomes the draft runbook. If a draft already exists, use the Overwrite parameter to force the cmdlet to overwrite the existing draft. - - - - Set-AzureAutomationRunbookDefinition - - AutomationAccountName - - Specifies the name of an automation account. - - String - - - Overwrite - - Indicates that the new draft runbook overwrites the existing draft, if one exists. - - - - Name - - Specifies the name of a runbook. - - String - - - Path - - Specifies the path to the new draft runbook. - - String - - - - Set-AzureAutomationRunbookDefinition - - AutomationAccountName - - Specifies the name of an automation account. - - String - - - Overwrite - - Indicates that the new draft runbook overwrites the existing draft, if one exists. - - - - Id - - Specifies the ID of a runbook. - - Guid - - - Path - - Specifies the path to the new draft runbook. - - String - - - - - - AutomationAccountName - - Specifies the name of an automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Overwrite - - Indicates that the new draft runbook overwrites the existing draft, if one exists. - - SwitchParameter - - SwitchParameter - - - none - - - Path - - Specifies the path to the new draft runbook. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Overwrite an existing draft definition of a runbook - - - - - - PS C:\>Set-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "Runbk01" -Path App01.ps1 -Overwrite - - - This command overwrites the existing draft definition of a runbook. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397916 - - - Get-AzureAutomationRunbookDefinition - - - - - - - Set-AzureAutomationSchedule - - Modifies an Azure Automation schedule. - - - - - Set - AzureAutomationSchedule - - - - The Set-AzureAutomationSchedule cmdlet modifies a schedule in Microsoft Azure Automation. - - - - Set-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a schedule. - - String - - - Description - - Specifies a description. - - String - - - - Set-AzureAutomationSchedule - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a schedule. - - Guid - - - Description - - Specifies a description. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Description - - Specifies a description. - - String - - String - - - none - - - Id - - Specifies the ID of a schedule. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a schedule. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Modify a schedule - - - - - - PS C:\>Set-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -Description "Automation Schedule" - - - This command modifies the description of the schedule named Schedule01. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397917 - - - Get-AzureAutomationSchedule - - - - New-AzureAutomationSchedule - - - - Remove-AzureAutomationSchedule - - - - - - - Start-AzureAutomationRunbook - - Starts a runbook job. - - - - - Start - AzureAutomationRunbook - - - - The Start-AzureAutomationRunbook cmdlet starts a Microsoft Azure Automation runbook job. Specify the ID or name of a runbook. - - - - Start-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. - - IDictionary - - - Name - - Specifies the name of a runbook. - - String - - - - Start-AzureAutomationRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. - - IDictionary - - - Id - - Specifies the ID of a runbook. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - Parameters - - Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. - - IDictionary - - IDictionary - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Start a runbook job - - - - - - PS C:\>Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" - - - This command starts a runbook job for the runbook named Runbk01 in the Azure Automation account named Contoso17. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397918 - - - Get-AzureAutomationRunbook - - - - New-AzureAutomationRunbook - - - - Publish-AzureAutomationRunbook - - - - Remove-AzureAutomationRunbook - - - - Set-AzureAutomationRunbook - - - - - - - Stop-AzureAutomationJob - - Stops an Azure Automation job. - - - - - Stop - AzureAutomationJob - - - - The Stop-AzureAutomationJob cmdlet stops a Microsoft Azure Automation job. Specify a running automation job. - - - - Stop-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a job. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a job. - - Guid - - Guid - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Stop a job - - - - - - PS C:\>Stop-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - - - This command stops the job that has the specified ID. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397919 - - - Get-AzureAutomationJob - - - - Resume-AzureAutomationJob - - - - Suspend-AzureAutomationJob - - - - - - - Suspend-AzureAutomationJob - - Suspends an Azure Automation job. - - - - - Suspend - AzureAutomationJob - - - - The Suspend-AzureAutomationJob cmdlet suspends a Microsoft Azure Automation job. Specify a running Automation job. - To resume a suspended job, use the Resume-AzureAutomationJob cmdlet. - - - - Suspend-AzureAutomationJob - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a job. - - Guid - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a job. - - Guid - - Guid - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Suspend a job - - - - - - PS C:\>Suspend-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - - - This command suspends the job that has the specified ID. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397920 - - - Get-AzureAutomationJob - - - - Resume-AzureAutomationJob - - - - Stop-AzureAutomationJob - - - - - - - Unregister-AzureAutomationScheduledRunbook - - Removes an association between a runbook and a schedule. - - - - - Unregister - AzureAutomationScheduledRunbook - - - - The Unregister-AzureAutomationScheduledRunbook cmdlet removes the association between a Microsoft Azure Automation runbook and a schedule, which stops the runbook from starting when the schedule fires. - - - - Unregister-AzureAutomationScheduledRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Name - - Specifies the name of a runbook. - - String - - - ScheduleName - - Specifies the name of a schedule. - - String - - - - Unregister-AzureAutomationScheduledRunbook - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - - Id - - Specifies the ID of a runbook. - - Guid - - - ScheduleName - - Specifies the name of a schedule. - - String - - - - - - AutomationAccountName - - Specifies the name of an Azure Automation account. - - String - - String - - - none - - - Id - - Specifies the ID of a runbook. - - Guid - - Guid - - - none - - - Name - - Specifies the name of a runbook. - - String - - String - - - none - - - ScheduleName - - Specifies the name of a schedule. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Remove the association between a runbook and a schedule - - - - - - PS C:\>Unregister-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Runbk01Sched" - - - This command removes the association between the runbook named Runbk01 and the schedule named Runbk01Sched. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkId=397921 - - - Register-AzureAutomationScheduledRunbook - - - - - + PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -StartTime $StartDate -ExpiryTime $EndDate + + The first command creates a date object by using the Get-Date cmdlet, and then stores the object in the $StartDate variable. Specify a time that is at least five minutes in the future. For more information, type Get-Help Get-Date. + + + + The second command creates a date object by using the Get-Date cmdlet, and then stores the object in the $EndDate variable. The command specifies a future time.The final command creates a daily schedule named Schedule01 to begin at the time stored in $StartDate and expire at the time stored in $EndDate. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397909 + + + Get-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + Publish-AzureAutomationRunbook + + Publishes a runbook. + + + + + Publish + AzureAutomationRunbook + + + + + The Publish-AzureAutomationRunbook cmdlet publishes a runbook for use in the production environment of Microsoft Azure Automation. + + + + Publish-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Publish-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Publish a runbook -------------------------- + + + + PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + + This command publishes the runbook named Runbk01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397910 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Register-AzureAutomationScheduledRunbook + + Associates a runbook with a schedule. + + + + + Register + AzureAutomationScheduledRunbook + + + + + The Register-AzureAutomationScheduledRunbook cmdlet associates a runbook with a schedule. The runbook starts based on the schedule you specify using the ScheduleName parameter. + + + + Register-AzureAutomationScheduledRunbook + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + + Name + + Specifies the name of a runbook. + + String + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Register-AzureAutomationScheduledRunbook + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + String + + + none + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + IDictionary + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Associate a runbook with a schedule -------------------------- + + + + PS C:\>Register-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Sched01" + + This command associates the runbook named Runbk01 with the schedule named Sched01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397911 + + + New-AzureAutomationSchedule + + + + Unregister-AzureAutomationScheduledRunbook + + + + + + + + Remove-AzureAutomationRunbook + + Removes a runbook. + + + + + Remove + AzureAutomationRunbook + + + + + The Remove-AzureAutomationRunbook cmdlet removes a runbook from Microsoft Azure Automation. + + + + Remove-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove a runbook -------------------------- + + + + PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" + + This command removes the runbook named MyRunbook in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397912 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Remove-AzureAutomationSchedule + + Deletes an Azure Automation schedule. + + + + + Remove + AzureAutomationSchedule + + + + + The Remove-AzureAutomationSchedule cmdlet deletes a schedule from Microsoft Azure Automation. + + + + Remove-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove a schedule -------------------------- + + + + PS C:\>Remove-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "MySchedule" + + This command removes the schedule named MySchedule. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397913 + + + Get-AzureAutomationSchedule + + + + New-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + Resume-AzureAutomationJob + + Resumes a suspended Azure Automation job. + + + + + Resume + AzureAutomationJob + + + + + The Resume-AzureAutomationJob cmdlet resumes a suspended Microsoft Azure Automation job. Specify the suspended job. To suspend a job, use the Suspend-AzureAutomationJob cmdlet. + + + + Resume-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Resume a suspended job -------------------------- + + + + PS C:\>Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command resumes the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397914 + + + Get-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Set-AzureAutomationRunbook + + Modifies the configuration of a runbook. + + + + + Set + AzureAutomationRunbook + + + + + The Set-AzureAutomationRunbook cmdlet modifies the configuration of a Microsoft Azure Automation runbook. + + + + Set-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Set-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Description + + Specifies a description for the runbook. + + String + + String + + + none + + + Tags + + Specifies one or more runbook tags. + + String[] + + String[] + + + none + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Enable verbose logging for a runbook -------------------------- + + + + PS C:\>Set-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" -LogVerbose $True + + This command enables verbose logging for the jobs of the specified runbook in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397915 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Set-AzureAutomationRunbookDefinition + + Updates the draft definition of a runbook. + + + + + Set + AzureAutomationRunbookDefinition + + + + + The Set-AzureAutomationRunbookDefinition cmdlet updates the draft definition of a Microsoft Azure Automation runbook. Provide a Windows PowerShell? script (.ps1) file that contains a runbook which becomes the draft runbook. If a draft already exists, use the Overwrite parameter to force the cmdlet to overwrite the existing draft. + + + + Set-AzureAutomationRunbookDefinition + + Name + + Specifies the name of a runbook. + + String + + + Path + + Specifies the path to the new draft runbook. + + String + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + + + Set-AzureAutomationRunbookDefinition + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Path + + Specifies the path to the new draft runbook. + + String + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Path + + Specifies the path to the new draft runbook. + + String + + String + + + none + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Overwrite an existing draft definition of a runbook -------------------------- + + + + PS C:\>Set-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "Runbk01" -Path App01.ps1 -Overwrite + + This command overwrites the existing draft definition of a runbook. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397916 + + + Get-AzureAutomationRunbookDefinition + + + + + + + + Set-AzureAutomationSchedule + + Modifies an Azure Automation schedule. + + + + + Set + AzureAutomationSchedule + + + + + The Set-AzureAutomationSchedule cmdlet modifies a schedule in Microsoft Azure Automation. + + + + Set-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + IsEnabled + + + + Nullable`1[Boolean] + + + Description + + Specifies a description. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Set-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + IsEnabled + + + + Nullable`1[Boolean] + + + Description + + Specifies a description. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + IsEnabled + + + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + + + + Description + + Specifies a description. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Modify a schedule -------------------------- + + + + PS C:\>Set-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -Description "Automation Schedule" + + This command modifies the description of the schedule named Schedule01. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397917 + + + Get-AzureAutomationSchedule + + + + New-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + + + + + Start-AzureAutomationRunbook + + Starts a runbook job. + + + + + Start + AzureAutomationRunbook + + + + + The Start-AzureAutomationRunbook cmdlet starts a Microsoft Azure Automation runbook job. Specify the ID or name of a runbook. + + + + Start-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Start-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + IDictionary + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Start a runbook job -------------------------- + + + + PS C:\>Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + + This command starts a runbook job for the runbook named Runbk01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397918 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + + + + + Stop-AzureAutomationJob + + Stops an Azure Automation job. + + + + + Stop + AzureAutomationJob + + + + + The Stop-AzureAutomationJob cmdlet stops a Microsoft Azure Automation job. Specify a running automation job. + + + + Stop-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Stop a job -------------------------- + + + + PS C:\>Stop-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command stops the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397919 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Suspend-AzureAutomationJob + + Suspends an Azure Automation job. + + + + + Suspend + AzureAutomationJob + + + + + The Suspend-AzureAutomationJob cmdlet suspends a Microsoft Azure Automation job. Specify a running Automation job. To resume a suspended job, use the Resume-AzureAutomationJob cmdlet. + + + + Suspend-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Suspend a job -------------------------- + + + + PS C:\>Suspend-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command suspends the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397920 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + + + + + Unregister-AzureAutomationScheduledRunbook + + Removes an association between a runbook and a schedule. + + + + + Unregister + AzureAutomationScheduledRunbook + + + + + The Unregister-AzureAutomationScheduledRunbook cmdlet removes the association between a Microsoft Azure Automation runbook and a schedule, which stops the runbook from starting when the schedule fires. + + + + Unregister-AzureAutomationScheduledRunbook + + Name + + Specifies the name of a runbook. + + String + + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Unregister-AzureAutomationScheduledRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + ScheduleName + + Specifies the name of a schedule. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove the association between a runbook and a schedule -------------------------- + + + + PS C:\>Unregister-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Runbk01Sched" + + This command removes the association between the runbook named Runbk01 and the schedule named Runbk01Sched. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397921 + + + Register-AzureAutomationScheduledRunbook + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs new file mode 100644 index 000000000000..343e87c66ae2 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Automation.Model +{ + using Microsoft.Azure.Commands.Automation.Common; + using Microsoft.Azure.Commands.Automation.Properties; + using System; + using System.Globalization; + + /// + /// The hourly schedule. + /// + public class HourlySchedule : Schedule + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The schedule. + /// + public HourlySchedule(Azure.Management.Automation.Models.Schedule schedule) + { + Requires.Argument("schedule", schedule).NotNull(); + + if (!schedule.HourInterval.HasValue) + { + throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.InvalidHourlyScheduleModel, schedule.Name)); + } + + this.Id = new Guid(schedule.Id); + this.AccountId = new Guid(schedule.AccountId); + this.Name = schedule.Name; + this.Description = schedule.Description; + this.StartTime = DateTime.SpecifyKind(schedule.StartTime, DateTimeKind.Utc).ToLocalTime(); + this.ExpiryTime = DateTime.SpecifyKind(schedule.ExpiryTime, DateTimeKind.Utc).ToLocalTime(); + this.CreationTime = DateTime.SpecifyKind(schedule.CreationTime, DateTimeKind.Utc).ToLocalTime(); + this.LastModifiedTime = DateTime.SpecifyKind(schedule.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); + this.IsEnabled = schedule.IsEnabled; + this.NextRun = schedule.NextRun.HasValue + ? DateTime.SpecifyKind(schedule.NextRun.Value, DateTimeKind.Utc).ToLocalTime() + : this.NextRun; + this.HourInterval = schedule.HourInterval.Value; + } + + /// + /// Initializes a new instance of the class. + /// + public HourlySchedule() + { + } + + /// + /// Gets or sets The next run time of the schedule. + /// + public int HourInterval { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs index 0455a0799831..d69dcb78d390 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs @@ -87,6 +87,15 @@ internal static string InvalidDailyScheduleModel { } } + /// + /// Looks up a localized string similar to The hourly schedule model is not valid. Schedule name: {0}.. + /// + internal static string InvalidHourlyScheduleModel { + get { + return ResourceManager.GetString("InvalidHourlyScheduleModel", resourceCulture); + } + } + /// /// Looks up a localized string similar to The job model is not valid.. /// diff --git a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx index 1426891b96bd..cde935f6970b 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx +++ b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - The Automation accout was not found. + The Automation account was not found. Automation @@ -129,6 +129,10 @@ The daily schedule model is not valid. Schedule name: {0}. Automation + + The hourly schedule model is not valid. Schedule name: {0}. + Automation + The job model is not valid. Automation diff --git a/src/ServiceManagement/Automation/Commands.Automation/packages.config b/src/ServiceManagement/Automation/Commands.Automation/packages.config index 95e2290f4948..c1800219d89c 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation/packages.config @@ -1,11 +1,11 @@  - + - - + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj new file mode 100644 index 000000000000..6ddaa7a52ccc --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj @@ -0,0 +1,154 @@ + + + + Debug + AnyCPU + {7A9D7758-A1AB-4BE8-BD09-3FAF446314F2} + Library + Properties + Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test + Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test + v4.5 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + ..\..\..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + True + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + + + + + + + {C1BDA476-A5CC-4394-914D-48B0EC31A710} + Commands.ScenarioTests.Common + + + {e1ca72ba-8374-45f6-904d-fd34ecdf5b6f} + Commands.ServiceManagement + + + + + + + + + + + + + + + + + + + + + + + + + + False + + + False + + + False + + + False + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/VirtualMachineDscExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionConfigurationParsingHelperTests.cs similarity index 77% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/VirtualMachineDscExtensionTests.cs rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionConfigurationParsingHelperTests.cs index a5aed6d964fc..1016acc8820c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/VirtualMachineDscExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionConfigurationParsingHelperTests.cs @@ -12,29 +12,24 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; +using System.IO; +using System.IO.Compression; using System.Linq; + using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.DSC; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.UnitTests.Cmdlets.IaaS.Extensions +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test.DSC { /// - /// Tests for DSC ConfigurationParsingHelper class. + /// Tests for DSC class. /// /// /// ConfigurationParsingHelper.ParseConfiguration() API requires tests to be run in x64 host. - /// These tests also require presents of some DSC resource modules on the test machine. - /// That cannot be ommit, because the language Parser need to load each module on parsing, so additional - /// dynamic keywords that descrite Configuration can be handled appropriately. - /// List of required modules: - /// xComputerManagement - /// xNetworking - /// xPSDesiredStateConfiguration - /// xActiveDirectory /// [TestClass] - public class VirtualMachineDscExtensionTests : TestBase + public class DscExtensionConfigurationParsingHelperTests { private const string CorporateClientConfigurationPath = @"DSC\Configurations\CorporateClientConfiguration.ps1"; private const string DomainControllerConfigurationPath = @"DSC\Configurations\DomainControllerConfiguration.ps1"; @@ -52,8 +47,36 @@ public class VirtualMachineDscExtensionTests : TestBase private const string IEEScGoodConfigurationPath = @"DSC\Configurations\IEEScGood.ps1"; private const string IEEScBadConfigurationPath = @"DSC\Configurations\IEEScBad.ps1"; + private const string TestDscResourceModulesDirectory = @"azure-sdk-tools-dsc-test"; + + private const string xDscResourcesArchivePath = @"DSC\DSC Resource Kit Wave 6 08282014.zip"; + + private const string PSModulePathEnvVar = "PSModulePath"; + + /// + /// Unpack and populate custom DSC resource modules. + /// + /// + [ClassInitialize] + public static void ClassInit(TestContext a) + { + string testDscResourceModulesPath = Path.Combine(Path.GetTempPath(), TestDscResourceModulesDirectory); + if (Directory.Exists(testDscResourceModulesPath)) + { + // cleanup + Directory.Delete(testDscResourceModulesPath, true); + } + // unpack xPSDSC resources + ZipFile.ExtractToDirectory(xDscResourcesArchivePath, testDscResourceModulesPath); + + // Set $env:PSModulePath to include temp folder, so resources can be explored. + string psModulePath = Environment.GetEnvironmentVariable(PSModulePathEnvVar); + Environment.SetEnvironmentVariable(PSModulePathEnvVar, psModulePath + ";" + testDscResourceModulesPath); + } + [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] public void TestGetModuleNameForDscResourceXComputer() { string moduleName = ConfigurationParsingHelper.GetModuleNameForDscResource("MSFT_xComputer"); @@ -62,6 +85,7 @@ public void TestGetModuleNameForDscResourceXComputer() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] public void TestGetModuleNameForDscResourceXADDomain() { string moduleName = ConfigurationParsingHelper.GetModuleNameForDscResource("MSFT_xADDomain"); @@ -70,22 +94,24 @@ public void TestGetModuleNameForDscResourceXADDomain() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(CorporateClientConfigurationPath)] public void TestExtractConfigurationNames1() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(CorporateClientConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(DomainControllerConfigurationPath)] public void TestExtractConfigurationNames2() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(DomainControllerConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(2, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); Assert.AreEqual("xActiveDirectory", results.RequiredModules[1]); @@ -93,22 +119,24 @@ public void TestExtractConfigurationNames2() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(VisualStudioPath)] public void TestExtractConfigurationNames3() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(VisualStudioPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xPSDesiredStateConfiguration", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(SHMulptiConfigurationsPath)] public void TestExtractConfigurationNamesMulti() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(SHMulptiConfigurationsPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(3, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); Assert.AreEqual("xNetworking", results.RequiredModules[1]); @@ -117,11 +145,12 @@ public void TestExtractConfigurationNamesMulti() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(NameImportListInsideNodeConfigurationPath)] public void TestNameImportListInsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(NameImportListInsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(2, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); Assert.AreEqual("xActiveDirectory", results.RequiredModules[1]); @@ -129,11 +158,12 @@ public void TestNameImportListInsideNode() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(NameImportListOutsideNodeConfigurationPath)] public void TestNameImportListOutsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(NameImportListOutsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(2, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); Assert.AreEqual("xActiveDirectory", results.RequiredModules[1]); @@ -141,44 +171,48 @@ public void TestNameImportListOutsideNode() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(NameImportSingleInsideNodeConfigurationPath)] public void TestNameImportSingleInsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(NameImportSingleInsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(NameImportSingleOutsideNodeConfigurationPath)] public void TestNameImportSingleOutsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(NameImportSingleOutsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(NameModuleImportSingleInsideNodeConfigurationPath)] public void TestNameModuleImportSingleInsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(NameModuleImportSingleInsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xComputerManagement", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(ModuleImportListInsideNodeConfigurationPath)] public void TestModuleImportListInsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(ModuleImportListInsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(2, results.RequiredModules.Count); Assert.AreEqual("xPSDesiredStateConfiguration", results.RequiredModules[0]); Assert.AreEqual("xNetworking", results.RequiredModules[1]); @@ -186,11 +220,12 @@ public void TestModuleImportListInsideNode() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(ModuleImportListOutsideNodeConfigurationPath)] public void TestModuleImportListOutsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(ModuleImportListOutsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(2, results.RequiredModules.Count); Assert.AreEqual("xPSDesiredStateConfiguration", results.RequiredModules[0]); Assert.AreEqual("xNetworking", results.RequiredModules[1]); @@ -198,44 +233,48 @@ public void TestModuleImportListOutsideNode() [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(ModuleImportSingleInsideNodeConfigurationPath)] public void TestModuleImportSingleInsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(ModuleImportSingleInsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xNetworking", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(ModuleImportSingleOutsideNodeConfigurationPath)] public void TestModuleImportSingleOutsideNode() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(ModuleImportSingleOutsideNodeConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xNetworking", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(IEEScGoodConfigurationPath)] public void TestIEEScGood() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(IEEScGoodConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xSystemSecurity", results.RequiredModules[0]); } [TestMethod] [TestCategory("Scenario")] + [TestCategory("x64_only")] [DeploymentItem(IEEScBadConfigurationPath)] public void TestIEEScBad() { ConfigurationParseResult results = ConfigurationParsingHelper.ParseConfiguration(IEEScBadConfigurationPath); - Assert.AreEqual(0, results.Errors.Count()); + Assert.AreEqual(0, results.Errors.Count(), "Parsing errors"); Assert.AreEqual(1, results.RequiredModules.Count); Assert.AreEqual("xSystemSecurity", results.RequiredModules[0]); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionSettingsSerializerTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionSettingsSerializerTests.cs new file mode 100644 index 000000000000..b21485c26a70 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/DscExtensionSettingsSerializerTests.cs @@ -0,0 +1,200 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections; +using System.Linq; +using System.Management.Automation; +using System.Security; + +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.DSC; + +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test.DSC +{ + /// + /// Tests for class. + /// + [TestClass] + public class DscExtensionSettingsSerializerTests + { + [TestMethod] + [TestCategory(Category.BVT)] + public void TestPSCredential() + { + const string userName = "user"; + const string password = "password"; + const string credentialParameterName = "cred"; + Hashtable configurationArguments = new Hashtable(); + configurationArguments.Add(credentialParameterName, new PSCredential(userName, String2SecureString(password))); + + DscPrivateSettings privateSettings; + var publicSettings = GetPublicPrivateAfterDeseriazlization(configurationArguments, out privateSettings); + + Assert.AreEqual(1, publicSettings.Properties.Count()); + Assert.AreEqual(credentialParameterName, publicSettings.Properties[0].Name); + Assert.AreEqual(typeof(PSCredential).ToString(), publicSettings.Properties[0].TypeName); + var deserializedPSCredential = publicSettings.Properties[0].Value as JObject; + Assert.IsNotNull(deserializedPSCredential); + + Assert.AreEqual(userName, deserializedPSCredential["UserName"]); + string passwordRef = deserializedPSCredential["Password"].ToString(); + Assert.IsNotNull(passwordRef); + + Assert.IsTrue(passwordRef.StartsWith("PrivateSettingsRef:")); + passwordRef = passwordRef.Substring("PrivateSettingsRef:".Length); + + Assert.AreEqual(1, privateSettings.Items.Count); + // There is only one, so it's fine to check it in foreach. + foreach (DictionaryEntry argument in privateSettings.Items) + { + Assert.AreEqual(password, argument.Value); + Assert.AreEqual(passwordRef, argument.Key); + } + } + + [TestMethod] + [TestCategory(Category.BVT)] + public void TestString() + { + const string arg = "argument"; + const string value = "value"; + Hashtable configurationArguments = new Hashtable(); + configurationArguments.Add(arg, value); + + DscPrivateSettings privateSettings; + var publicSettings = GetPublicPrivateAfterDeseriazlization(configurationArguments, out privateSettings); + + Assert.AreEqual(1, publicSettings.Properties.Count()); + Assert.AreEqual(arg, publicSettings.Properties[0].Name); + Assert.AreEqual(typeof(string).ToString(), publicSettings.Properties[0].TypeName); + var deserializedValue = publicSettings.Properties[0].Value; + Assert.AreEqual(value, deserializedValue); + } + + [TestMethod] + [TestCategory(Category.BVT)] + public void TestInt() + { + const string arg = "argument"; + var value = 100500; + Hashtable configurationArguments = new Hashtable(); + configurationArguments.Add(arg, value); + + DscPrivateSettings privateSettings; + var publicSettings = GetPublicPrivateAfterDeseriazlization(configurationArguments, out privateSettings); + + Assert.AreEqual(1, publicSettings.Properties.Count()); + Assert.AreEqual(arg, publicSettings.Properties[0].Name); + Assert.AreEqual(typeof(int).ToString(), publicSettings.Properties[0].TypeName); + var deserializedValue = publicSettings.Properties[0].Value; + Assert.AreEqual(value.ToString(), deserializedValue.ToString()); + } + + [TestMethod] + [TestCategory(Category.BVT)] + public void TestBool() + { + const string arg = "argument"; + var value = true; + Hashtable configurationArguments = new Hashtable(); + configurationArguments.Add(arg, value); + + DscPrivateSettings privateSettings; + var publicSettings = GetPublicPrivateAfterDeseriazlization(configurationArguments, out privateSettings); + + Assert.AreEqual(1, publicSettings.Properties.Count()); + Assert.AreEqual(arg, publicSettings.Properties[0].Name); + Assert.AreEqual(typeof(bool).ToString(), publicSettings.Properties[0].TypeName); + var deserializedValue = publicSettings.Properties[0].Value; + Assert.AreEqual(value, deserializedValue); + } + + [TestMethod] + [TestCategory(Category.BVT)] + public void TestChar() + { + const string arg = "argument"; + var value = 'z'; + Hashtable configurationArguments = new Hashtable(); + configurationArguments.Add(arg, value); + + DscPrivateSettings privateSettings; + var publicSettings = GetPublicPrivateAfterDeseriazlization(configurationArguments, out privateSettings); + + Assert.AreEqual(1, publicSettings.Properties.Count()); + Assert.AreEqual(arg, publicSettings.Properties[0].Name); + Assert.AreEqual(typeof(char).ToString(), publicSettings.Properties[0].TypeName); + var deserializedValue = publicSettings.Properties[0].Value; + Assert.AreEqual(value.ToString(), deserializedValue.ToString()); + } + + /// + /// Helper function for tests. + /// + /// + /// + /// + private static DscPublicSettings GetPublicPrivateAfterDeseriazlization( + Hashtable configurationArguments, + out DscPrivateSettings privateSettings) + { + Tuple separatedSettings = + DscSettingsSerializer.SeparatePrivateItems(configurationArguments); + DscPublicSettings publicSettings = new DscPublicSettings(); + privateSettings = new DscPrivateSettings(); + publicSettings.Properties = separatedSettings.Item1; + privateSettings.Items = separatedSettings.Item2; + + string serializedPublic = DscSettingsSerializer.SerializePublicSettings(publicSettings); + string serializedPrivate = DscSettingsSerializer.SerializePrivateSettings(privateSettings); + + publicSettings = DscSettingsSerializer.DeserializePublicSettings(serializedPublic); + privateSettings = DeserializePrivateSettings(serializedPrivate); + return publicSettings; + } + + /// + /// Convert string to SecureString. + /// + /// + /// This implementation is unsecure and can be used only for tests. + /// + static private SecureString String2SecureString(string s) + { + var secureString = new SecureString(); + foreach (char c in s) + { + secureString.AppendChar(c); + } + return secureString; + } + + + /// + /// We use this method for test purposes only. + /// + /// + /// + static private DscPrivateSettings DeserializePrivateSettings(string s) + { + return JsonConvert.DeserializeObject(s); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Properties/AssemblyInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..547734f0b5a9 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +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("Commands.ServiceManagement.Extensions.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Commands.ServiceManagement.Extensions.Test")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ba31bdf6-c0b3-4d25-84c8-4f7998d8bdff")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/CorporateClientConfiguration.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/CorporateClientConfiguration.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/CorporateClientConfiguration.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/CorporateClientConfiguration.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/DomainControllerConfiguration.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/DomainControllerConfiguration.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/DomainControllerConfiguration.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/DomainControllerConfiguration.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportListInsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportListInsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportListInsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportListInsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportListOutsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportListOutsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportListOutsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportListOutsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleInsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleInsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleInsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleInsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleOutsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleOutsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleOutsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/ModuleImportSingleOutsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportListInsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportListInsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportListInsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportListInsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportListOutsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportListOutsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportListOutsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportListOutsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportSingleInsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportSingleInsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportSingleInsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportSingleInsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportSingleOutsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportSingleOutsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameImportSingleOutsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameImportSingleOutsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameModuleImportSingleInsideNode.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameModuleImportSingleInsideNode.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/Dummy/NameModuleImportSingleInsideNode.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/Dummy/NameModuleImportSingleInsideNode.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/IEEScBad.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/IEEScBad.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/IEEScBad.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/IEEScBad.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/IEEScGood.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/IEEScGood.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/IEEScGood.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/IEEScGood.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/SHMulptiConfigurations.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/SHMulptiConfigurations.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/SHMulptiConfigurations.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/SHMulptiConfigurations.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/VisualStudio.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/VisualStudio.ps1 similarity index 100% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/DSC/Configurations/VisualStudio.ps1 rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/Configurations/VisualStudio.ps1 diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/DSC Resource Kit Wave 6 08282014.zip b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/DSC Resource Kit Wave 6 08282014.zip new file mode 100644 index 000000000000..79f351ae5956 Binary files /dev/null and b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Resources/DSC/DSC Resource Kit Wave 6 08282014.zip differ diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config new file mode 100644 index 000000000000..e8c5131c0544 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj index ea6ba8e579e1..18afdc586714 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj @@ -80,28 +80,28 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -117,13 +117,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/ImagePublishing/SetAzurePlatformVMImage.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/ImagePublishing/SetAzurePlatformVMImage.cs index e562615e989d..119c44148cdc 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/ImagePublishing/SetAzurePlatformVMImage.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/ImagePublishing/SetAzurePlatformVMImage.cs @@ -164,6 +164,7 @@ private void ValidateTargetLocations() protected override void OnProcessRecord() { + ServiceManagementProfile.Initialize(); this.SetAzurePlatformVMImageProcess(); } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1 new file mode 100644 index 000000000000..9de8179ec015 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.xml b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.xml index 1797e93499d4..a8a8a3246c41 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.xml +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.xml @@ -1,1397 +1,2138 @@ - + + + + + Get-AzurePlatformVMImage + + Returns an image's properties along with the replication progress status across the replica locations. + + + + + Get + AzurePlatformVMImage + + + + + Returns an image's properties along with the replication progress status across the replica locations. + + + + Get-AzurePlatformVMImage + + ImageName + + Name of the image in the user image library. + + String + + + + + + ImageName + + Name of the image in the user image library. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzurePlatformVMImage -ImageName MyWin7Image + + Description + + + + -----------Returns the image from user image repository with the replication progress status across the target locations. + + + + + + + Unknown + + + + + + + + New-AzurePlatformExtensionCertificateConfig + + + + + + + New + AzurePlatformExtensionCertificateConfig + + + + + + + + + New-AzurePlatformExtensionCertificateConfig + + StoreLocation + + + + String + + + StoreName + + + + String + + + ThumbprintAlgorithm + + + + String + + + ThumbprintRequired + + + + SwitchParameter + + + + + + StoreLocation + + + + String + + String + + + + + + StoreName + + + + String + + String + + + + + + ThumbprintAlgorithm + + + + String + + String + + + + + + ThumbprintRequired + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzurePlatformExtensionEndpointConfigSet + + + + + + + New + AzurePlatformExtensionEndpointConfigSet + + + + + + + + + New-AzurePlatformExtensionEndpointConfigSet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzurePlatformExtensionLocalResourceConfigSet + + + + + + + New + AzurePlatformExtensionLocalResourceConfigSet + + + + + + + + + New-AzurePlatformExtensionLocalResourceConfigSet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Publish-AzurePlatformExtension + + Publishes a brand new extension or publish a newer version of an existing version. Extensions can be published as external or internal using this cmdlet but a brand new version is always published as internal by default. + + + + + Publish + AzurePlatformExtension + + + + + + + + + Publish-AzurePlatformExtension + + ExtensionName + + + + String + + + Publisher + + + + String + + + Version + + + + String + + + HostingResources + + + + String + + + MediaLink + + + + Uri + + + Label + + + + String + + + CertificateConfig + + + + ExtensionCertificateConfig + + + EndpointConfig + + + + ExtensionEndpointConfigSet + + + PublicConfigurationSchema + + + + String + + + PrivateConfigurationSchema + + + + String + + + Description + + + + String + + + CompanyName + + + + String + + + PublishedDate + + + + Nullable`1[DateTime] + + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + + BlockRoleUponFailure + + + + SwitchParameter + + + SampleConfig + + + + String + + + Eula + + + + Uri + + + PrivacyUri + + + + Uri + + + HomepageUri + + + + Uri + + + XmlExtension + + + + SwitchParameter + + + DisallowMajorVersionUpgrade + + + + SwitchParameter + + + SupportedOS + + + + String + + + Force + + + + SwitchParameter + + + + + + ExtensionName + + + + String + + String + + + + + + Publisher + + + + String + + String + + + + + + Version + + + + String + + String + + + + + + HostingResources + + + + String + + String + + + + + + MediaLink + + + + Uri + + Uri + + + + + + Label + + + + String + + String + + + + + + CertificateConfig + + + + ExtensionCertificateConfig + + ExtensionCertificateConfig + + + + + + EndpointConfig + + + + ExtensionEndpointConfigSet + + ExtensionEndpointConfigSet + + + + + + PublicConfigurationSchema + + + + String + + String + + + + + + PrivateConfigurationSchema + + + + String + + String + + + + + + Description + + + + String + + String + + + + + + CompanyName + + + + String + + String + + + + + + PublishedDate + + + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + ExtensionLocalResourceConfigSet + + + + + + BlockRoleUponFailure + + + + SwitchParameter + + SwitchParameter + + + + + + SampleConfig + + + + String + + String + + + + + + Eula + + + + Uri + + Uri + + + + + + PrivacyUri + + + + Uri + + Uri + + + + + + HomepageUri + + + + Uri + + Uri + + + + + + XmlExtension + + + + SwitchParameter + + SwitchParameter + + + + + + DisallowMajorVersionUpgrade + + + + SwitchParameter + + SwitchParameter + + + + + + SupportedOS + + + + String + + String + + + Windows + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Remove-AzurePlatformExtensionEndpoint + + + + + + + Remove + AzurePlatformExtensionEndpoint + + + + + + + + + Remove-AzurePlatformExtensionEndpoint + + EndpointConfig + + + + ExtensionEndpointConfigSet + + + InputEndpointName + + + + String + + + + Remove-AzurePlatformExtensionEndpoint + + EndpointConfig + + + + ExtensionEndpointConfigSet + + + InternalEndpointName + + + + String + + + + + + EndpointConfig + + + + ExtensionEndpointConfigSet + + ExtensionEndpointConfigSet + + + + + + InputEndpointName + + + + String + + String + + + + + + InternalEndpointName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzurePlatformExtensionLocalResource + + + + + + + Remove + AzurePlatformExtensionLocalResource + + + + + + + + + Remove-AzurePlatformExtensionLocalResource + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + + LocalResourceName + + + + String + + + + + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + ExtensionLocalResourceConfigSet + + + + + + LocalResourceName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzurePlatformVMImage + + Deletes the replicas of the platform image from all of the replica locations. + + + + + Remove + AzurePlatformVMImage + + + + + Deletes the replicas of the platform image from all of the replica locations. + + + + Remove-AzurePlatformVMImage + + ImageName + + Name of the image in user image repository. + + String + + + + + + ImageName + + Name of the image in user image repository. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzurePlatformVMImage -ImageName Win7UserImage + + Description + + + + -----------Replicas of "Win7UserImage" is deleted from all the locations. + + + + + + + Get-AzurePlatformVMImage + + + + Set-AzurePlatformVMImage + + + + + + + + Set-AzurePlatformExtension + + Once an extension version is registered (as public or internal), this cmdlet allows the publisher to modify the extension properties without changing version number. + + + + + Set + AzurePlatformExtension + + + + + + + + + Set-AzurePlatformExtension + + ExtensionName + + + + String + + + Publisher + + + + String + + + Version + + + + String + + + Label + + + + String + + + Description + + + + String + + + SampleConfig + + + + String + + + Eula + + + + Uri + + + PrivacyUri + + + + Uri + + + HomepageUri + + + + Uri + + + ExtensionMode + + + + String + + + CompanyName + + + + String + + + + + + ExtensionName + + + + String + + String + + + + + + Publisher + + + + String + + String + + + + + + Version + + + + String + + String + + + + + + Label + + + + String + + String + + + + + + Description + + + + String + + String + + + + + + SampleConfig + + + + String + + String + + + + + + Eula + + + + Uri + + Uri + + + + + + PrivacyUri + + + + Uri + + Uri + + + + + + HomepageUri + + + + Uri + + Uri + + + + + + ExtensionMode + + + + String + + String + + + + + + CompanyName + + + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Set-AzurePlatformExtensionEndpoint + + + + + + + Set + AzurePlatformExtensionEndpoint + + + + + + + + + Set-AzurePlatformExtensionEndpoint + + EndpointConfig + + + + ExtensionEndpointConfigSet + + + InputEndpointName + + + + String + + + Port + + + + Int32 + + + Protocol + + + + String + + + LocalPort + + + + Int32 + + + + Set-AzurePlatformExtensionEndpoint + + EndpointConfig + + + + ExtensionEndpointConfigSet + + + InternalEndpointName + + + + String + + + Port + + + + Int32 + + + Protocol + + + + String + + + + + + EndpointConfig + + + + ExtensionEndpointConfigSet + + ExtensionEndpointConfigSet + + + + + + InputEndpointName + + + + String + + String + + + + + + Port + + + + Int32 + + Int32 + + + + + + Protocol + + + + String + + String + + + + + + LocalPort + + + + Int32 + + Int32 + + + + + + InternalEndpointName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzurePlatformExtensionLocalResource + + + + + + + Set + AzurePlatformExtensionLocalResource + + + + + + + + + Set-AzurePlatformExtensionLocalResource + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + + LocalResourceName + + + + String + + + LocalResourceSizeInMb + + + + Int32 + + + + + + LocalResourceConfig + + + + ExtensionLocalResourceConfigSet + + ExtensionLocalResourceConfigSet + + + + + + LocalResourceName + + + + String + + String + + + + + + LocalResourceSizeInMb + + + + Int32 + + Int32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzurePlatformVMImage + + Allows to replicate the image to target replica locations or allows to share/stop sharing the replicated images. + + + + + Set + AzurePlatformVMImage + + + + + + + + + Set-AzurePlatformVMImage + + ImageName + + Specifies the name of the image in the user image library. + + String + + + ReplicaLocations + + Specifies the locations that image will be replicated + + String[] + + + + Set-AzurePlatformVMImage + + ImageName + + Specifies the name of the image in the user image library. + + String + + + Permission + + Specifies the sharing permission of replicated image. + + String + + + + + + ImageName + + Specifies the name of the image in the user image library. + + String + + String + + + + + + ReplicaLocations + + Specifies the locations that image will be replicated + + String[] + + String[] + + + + + + Permission + + Specifies the sharing permission of replicated image. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -ReplicaLocations @("West US", "East US") + + Description + + + + -----------Starts the replication of the "Win7UserImage" from the user image repository to "West US" and "East US" locations. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Public + + Description + + + + -----------Shares the replicas of Win7UserImage with Public if the replication is completed, otherwise the request is recorded and when the replication completes after then they are shared. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Private - - - - - Get-AzurePlatformVMImage - - - Returns an image's properties along with the replication progress status across the replica locations. - - - - - Get - AzurePlatformVMImage - - - - Returns an image's properties along with the replication progress status across the replica locations. - - - - - Get-AzurePlatformVMImage - - ImageName - - Name of the image in the user image library. - - string - - - - - - - ImageName - - Name of the image in the user image library. - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzurePlatformVMImage -ImageName MyWin7Image - - - Description - ----------- - Returns the image from user image repository with the replication progress status across the target locations. - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzurePlatformVMImage - - - Deletes the replicas of the platform image from all of the replica locations. - - - - - Remove - AzurePlatformVMImage - - - - Deletes the replicas of the platform image from all of the replica locations. - - - - - Remove-AzurePlatformVMImage - - ImageName - - Name of the image in user image repository. - - string - - - - - - - ImageName - - Name of the image in user image repository. - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzurePlatformVMImage -ImageName Win7UserImage - - - Description - ----------- - Replicas of "Win7UserImage" is deleted from all the locations. - - - - - - - - - - - - - - - - Get-AzurePlatformVMImage - - - - Set-AzurePlatformVMImage - - - - - - - - - Set-AzurePlatformVMImage - - - Allows to replicate the image to target replica locations or allows to share/stop sharing the replicated images. - - - - - Set - AzurePlatformVMImage - - - - - - - - - Set-AzurePlatformVMImage - - ImageName - - Specifies the name of the image in the user image library. - - string - - - ReplicaLocations - - Specifies the locations that image will be replicated - - string[] - - - - Set-AzurePlatformVMImage - - Permission - - Specifies the sharing permission of replicated image. - - string - - - ImageName - - Specifies the name of the image in the user image library. - - string - - - - - - - ImageName - - Specifies the name of the image in the user image library. - - - string - - string - - - - - - Permission - - Specifies the sharing permission of replicated image. - - - string - - string - - - - - - ReplicaLocations - - Specifies the locations that image will be replicated - - - string[] - - string[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzurePlatformVMImage -ImageName Win7UserImage -ReplicaLocations @("West US", "East US") - - - Description - ----------- - Starts the replication of the "Win7UserImage" from the user image repository to "West US" and "East US" locations. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Public - - - Description - ----------- - Shares the replicas of Win7UserImage with Public if the replication is completed, otherwise the request is recorded and when the replication completes after then they are shared. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Private - - Stops the sharing of the replicas of Win7UserImage with Public. - - - Description - ----------- - - - - - - - - - - - - - - - - - Get-AzurePlatformVMImage - - - - Remove-AzurePlatformVMImage - - - - - - - - - Publish-AzurePlatformExtension - - - Publishes a brand new extension or publish a newer version of an existing version. Extensions can be published as external or internal using this cmdlet but a brand new version is always published as internal by default. - - - - - Publish - AzurePlatformExtension - - - - - - - - - Publish-AzurePlatformExtension - - ExtensionName - - - - string - - - Publisher - - - - string - - - Version - - - - string - - - HostingResources - - - - string - - - MediaLink - - - - Uri - - - Label - - - - string - - - CertificateConfig - - - - ExtensionCertificateConfig - - - EndpointConfig - - - - ExtensionEndpointConfigSet - - - PublicConfigurationSchema - - - - string - - - PrivateConfigurationSchema - - - - string - - - Description - - - - string - - - CompanyName - - - - string - - - PublishedDate - - - - DateTime - - - LocalResourceConfig - - - - ExtensionLocalResourceConfigSet - - - BlockRoleUponFailure - - - - - - SampleConfig - - - - string - - - Eula - - - - Uri - - - PrivacyUri - - - - Uri - - - HomepageUri - - - - Uri - - - XmlExtension - - - - - - DisallowMajorVersionUpgrade - - - - - - SupportedOS - - - - string - - - Force - - - - - - PipelineVariable - - Not Specified - - string - - - - - - - BlockRoleUponFailure - - - - - SwitchParameter - - SwitchParameter - - - - - - CertificateConfig - - - - - ExtensionCertificateConfig - - ExtensionCertificateConfig - - - - - - CompanyName - - - - - string - - string - - - - - - Description - - - - - string - - string - - - - - - DisallowMajorVersionUpgrade - - - - - SwitchParameter - - SwitchParameter - - - - - - EndpointConfig - - - - - ExtensionEndpointConfigSet - - ExtensionEndpointConfigSet - - - - - - Eula - - - - - Uri - - Uri - - - - - - ExtensionName - - - - - string - - string - - - - - - Force - - - - - SwitchParameter - - SwitchParameter - - - - - - HomepageUri - - - - - Uri - - Uri - - - - - - HostingResources - - - - - string - - string - - - - - - Label - - - - - string - - string - - - - - - LocalResourceConfig - - - - - ExtensionLocalResourceConfigSet - - ExtensionLocalResourceConfigSet - - - - - - MediaLink - - - - - Uri - - Uri - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - PrivacyUri - - - - - Uri - - Uri - - - - - - PrivateConfigurationSchema - - - - - string - - string - - - - - - PublicConfigurationSchema - - - - - string - - string - - - - - - PublishedDate - - - - - DateTime - - DateTime - - - - - - Publisher - - - - - string - - string - - - - - - SampleConfig - - - - - string - - string - - - - - - SupportedOS - - - - - string - - string - - - Windows - - - Version - - - - - string - - string - - - - - - XmlExtension - - - - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzurePlatformExtension - - - Once an extension version is registered (as public or internal), this cmdlet allows the publisher to modify the extension properties without changing version number. - - - - - Set - AzurePlatformExtension - - - - - - - - - Set-AzurePlatformExtension - - ExtensionName - - - - string - - - Publisher - - - - string - - - Version - - - - string - - - Label - - - - string - - - Description - - - - string - - - SampleConfig - - - - string - - - Eula - - - - Uri - - - PrivacyUri - - - - Uri - - - HomepageUri - - - - Uri - - - ExtensionMode - - - - string - - - CompanyName - - - - string - - - PipelineVariable - - Not Specified - - string - - - - - - - CompanyName - - - - - string - - string - - - - - - Description - - - - - string - - string - - - - - - Eula - - - - - Uri - - Uri - - - - - - ExtensionMode - - - - - string - - string - - - - - - ExtensionName - - - - - string - - string - - - - - - HomepageUri - - - - - Uri - - Uri - - - - - - Label - - - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - PrivacyUri - - - - - Uri - - Uri - - - - - - Publisher - - - - - string - - string - - - - - - SampleConfig - - - - - string - - string - - - - - - Version - - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Stops the sharing of the replicas of Win7UserImage with Public. + + Description + + + + ----------- + + + + + + + Get-AzurePlatformVMImage + + + + Remove-AzurePlatformVMImage + + + + + + + + Unpublish-AzurePlatformExtension + + + + + + + Unpublish + AzurePlatformExtension + + + + + + + + + Unpublish-AzurePlatformExtension + + ExtensionName + + + + String + + + Publisher + + + + String + + + Version + + + + String + + + Force + + + + SwitchParameter + + + + + + ExtensionName + + + + String + + String + + + + + + Publisher + + + + String + + String + + + + + + Version + + + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 index a060bed21973..cd8235eb76d8 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll' # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.8.10.1' # ID used to uniquely identify this module GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config index ccf136586ee1..244087329296 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config @@ -7,13 +7,13 @@ - - + + - - - + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 index c41af6432586..2a16c3499548 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll' # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.8.10.1' # ID used to uniquely identify this module GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj index cdb69badbfde..b69b462a090d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj @@ -80,32 +80,32 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.2.3.1\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -121,13 +121,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll-Help.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll-Help.psd1 new file mode 100644 index 000000000000..436bc7377b07 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll-Help.psd1 @@ -0,0 +1,91 @@ +# +# Module manifest for module 'Microsoft.WindowsAzure.Commands.ServiceManagement.Preview' +# +# Generated by: Microsoft Corporation +# +# Generated on: 11/22/2013 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = ' Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = '' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @( +) + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @( +) + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = '*' + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config index d9513bbd311e..60e40c1d9cac 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config @@ -7,14 +7,14 @@ - - + + - - - - + + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTBVTs.playlist b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTBVTs.playlist new file mode 100644 index 000000000000..5a1c1fbcd27b --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTBVTs.playlist @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTExtensions.playlist b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTExtensions.playlist new file mode 100644 index 000000000000..f154f323c7f7 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTExtensions.playlist @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTFull.playlist b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTFull.playlist new file mode 100644 index 000000000000..063f5b93fc75 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/AzureRTFull.playlist @@ -0,0 +1 @@ + \ No newline at end of file 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 9b2fb0aaca71..36611189d0fa 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj @@ -62,13 +62,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -82,28 +82,28 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -131,13 +131,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -187,6 +187,9 @@ + + + @@ -251,6 +254,7 @@ + @@ -268,7 +272,10 @@ - + + + + @@ -352,14 +359,15 @@ - + + - + - + @@ -389,7 +397,6 @@ True Resource.resx - @@ -405,21 +412,6 @@ Always - - - - - - - - - - - - - - - @@ -480,6 +472,10 @@ {c60342b1-47d3-4a0e-8081-9b97ce60b7af} Commands.Profile + + {40fee0bb-fd45-4efc-85bc-0d602a6892c4} + Commands.Network + {6478fa8b-3801-4863-8591-87f0855d5c82} Commands.ServiceManagement.PlatformImageRepository diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs index bc279aff8b71..ecd8cc84743f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs @@ -71,37 +71,30 @@ public void UploadDiskSasUri() int i = 0; while (i < 16) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (!isReadWritePermission(i)) { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); - ReImportSubscription(); - Console.WriteLine("Finished uploading: {0}", destinationSasUri2); - - // Verify the upload. - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - i++; + i++; // Skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 } - catch (Exception e) + else { - if (e.ToString().Contains("already running")) - { - Console.WriteLine(e.ToString()); - continue; - } - if (i != 3 && i != 7 && i != 11 && i != 15) + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); + ReImportSubscription(); + Console.WriteLine("Finished uploading: {0}", destinationSasUri2); + + // Verify the upload. + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); i++; - continue; } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + continueIfNotReadWrite(e, ref i); + continue; } } } @@ -153,39 +146,32 @@ public void UploadDiskOverwriteSasUri() int i = 0; while (i < 16) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (!isReadWriteDeletePermission(i)) { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - - vmPowershellCmdlets.RemoveAzureSubscriptions(); - vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, true); - ReImportSubscription(); - Console.WriteLine("Finished uploading: {0}", destinationSasUri2); - - // Verify the upload. - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - i++; + i++; // Skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 } - catch (Exception e) + else { - if (e.ToString().Contains("already running")) - { - Console.WriteLine(e.ToString()); - continue; - } - if (i != 7 && i != 15) + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + + vmPowershellCmdlets.RemoveAzureSubscriptions(); + vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, true); + ReImportSubscription(); + Console.WriteLine("Finished uploading: {0}", destinationSasUri2); + + // Verify the upload. + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); i++; - continue; } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + continueIfNotReadWriteDelete(e, ref i); + continue; } } } @@ -219,37 +205,30 @@ public void UploadDiskOverwriteNonExistSasUri() int i = 0; while (i < 16) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (!isReadWriteDeletePermission(i)) { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, true); - ReImportSubscription(); - Console.WriteLine("Finished uploading: {0}", destinationSasUri2); - - // Verify the upload. - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - i++; + i++; // Skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 } - catch (Exception e) + else { - if (e.ToString().Contains("already running")) - { - Console.WriteLine(e.ToString()); - continue; - } - if (i != 7 && i != 15) + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, true); + ReImportSubscription(); + Console.WriteLine("Finished uploading: {0}", destinationSasUri2); + + // Verify the upload. + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); i++; - continue; } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + continueIfNotReadWriteDelete(e, ref i); + continue; } } } @@ -281,42 +260,37 @@ public void UploadDiskSecondWithoutOverwriteSasUri() for (int i = 0; i < 16; i++) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (isReadWritePermission(i)) // Otherwise, skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); - + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); try { - Console.WriteLine("uploads {0} to {1} second times", vhdName, destinationSasUri2); - vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); - pass = false; + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); + + try + { + Console.WriteLine("uploads {0} to {1} second times", vhdName, destinationSasUri2); + vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); + pass = false; + } + catch (Exception e) + { + Console.WriteLine("Failed as expected while uploading {0} second time without overwrite: {1}", vhdLocalPath.Name, e.InnerException.Message); + + } + + // Verify the upload. + ReImportSubscription(); + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); } catch (Exception e) - { - Console.WriteLine("Failed as expected while uploading {0} second time without overwrite: {1}", vhdLocalPath.Name, e.InnerException.Message); - - } - - // Verify the upload. - ReImportSubscription(); - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - } - catch (Exception e) - { - if (i != 3 && i != 7 && i != 11 && i != 15) { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + continueIfNotReadWrite(e, ref i); continue; } - else - { - Assert.Fail("Test failed. Permission: {0}", i); - } } } @@ -348,37 +322,30 @@ public void UploadDiskThreadNumberSasUri() int i = 0; while (i < 16) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (!isReadWritePermission(i)) { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, 16); - ReImportSubscription(); - Console.WriteLine("uploading completed: {0}", vhdName); - - // Verify the upload. - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - i++; + i++; // Skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 } - catch (Exception e) + else { - if (e.ToString().Contains("already running")) - { - Console.WriteLine(e.ToString()); - continue; - } - if (i != 3 && i != 7 && i != 11 && i != 15) + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, 16); + ReImportSubscription(); + Console.WriteLine("uploading completed: {0}", vhdName); + + // Verify the upload. + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); i++; - continue; } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + continueIfNotReadWrite(e, ref i); + continue; } } } @@ -411,32 +378,27 @@ public void UploadDiskThreadNumberOverwriteSasUri() for (int i = 0; i < 16; i++) { - string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); - try + if (!isReadWriteDeletePermission(i)) // Otherwise, skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 { - Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); - Console.WriteLine("uploaded: {0}", vhdName); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, 16, true); - Console.WriteLine("uploading overwrite completed: {0}", vhdName); - - // Verify the upload. - ReImportSubscription(); - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - } - catch (Exception e) - { - if (i != 7 && i != 15) + string destinationSasUri2 = CreateSasUriWithPermission(vhdName, i); + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); - continue; + Console.WriteLine("uploads {0} to {1}", vhdName, destinationSasUri2); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2); + Console.WriteLine("uploaded: {0}", vhdName); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, destinationSasUri2, 16, true); + Console.WriteLine("uploading overwrite completed: {0}", vhdName); + + // Verify the upload. + ReImportSubscription(); + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUri2, vhdLocalPath, vhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + continueIfNotReadWriteDelete(e, ref i); + continue; } } } @@ -454,6 +416,7 @@ public void UploadDiskThreadNumberOverwriteSasUri() /// [TestMethod(), TestCategory(Category.Sequential), TestProperty("Feature", "IAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet (Add-AzureVhd)")] [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\patch_VHD.csv", "patch_VHD#csv", DataAccessMethod.Sequential)] + [Ignore] // BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 public void PatchFirstLevelDifferencingDiskSasUri() { StartTest(MethodBase.GetCurrentMethod().Name, testStartTime); @@ -604,46 +567,44 @@ public void PatchNormalSasUriBase() int i = 0; while (i < 16) { - string destinationSasUriParent = CreateSasUriWithPermission(baseVhdName, i); // the destination of the parent vhd is a Sas Uri - - // Set the destination of child vhd - string vhdBlobName = string.Format("{0}/{1}.vhd", vhdContainerName, Utilities.GetUniqueShortName(Path.GetFileNameWithoutExtension(childVhdName))); - string vhdDestUri = blobUrlRoot + vhdBlobName; - - try + if (!isReadWritePermission(i)) { - // Upload the parent vhd using Sas Uri - Console.WriteLine("uploads {0} to {1}", baseVhdName, destinationSasUriParent); - vmPowershellCmdlets.RemoveAzureSubscriptions(); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(baseVhdLocalPath, destinationSasUriParent, true); - Console.WriteLine("uploading completed: {0}", baseVhdName); - - // Verify the upload. - ReImportSubscription(); - AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUriParent, baseVhdLocalPath, vhdUploadContext, md5hashBase, false); - - Console.WriteLine("uploads {0} to {1} with patching from {2}", childVhdName, vhdDestUri, destinationSasUriParent); - var patchVhdUploadContext = vmPowershellCmdlets.AddAzureVhd(childVhdLocalPath, vhdDestUri, destinationSasUriParent); - Console.WriteLine("uploading the child vhd completed: {0}", childVhdName); - - // Verify the upload. - AssertUploadContextAndContentMD5UsingSaveVhd(vhdDestUri, childVhdLocalPath, patchVhdUploadContext, md5hash); - Console.WriteLine("Test success with permission: {0}", i); - i++; + i++; // Skip negative tests due to BUG: https://github.com/Azure/azure-sdk-tools/issues/2956 } - catch (Exception e) + else { - if (i != 3 && i != 7 && i != 11 && i != 15) + string destinationSasUriParent = CreateSasUriWithPermission(baseVhdName, i); // the destination of the parent vhd is a Sas Uri + + // Set the destination of child vhd + string vhdBlobName = string.Format("{0}/{1}.vhd", vhdContainerName, Utilities.GetUniqueShortName(Path.GetFileNameWithoutExtension(childVhdName))); + string vhdDestUri = blobUrlRoot + vhdBlobName; + + try { - Console.WriteLine("Error as expected. Permission: {0}", i); - Console.WriteLine("Error message: {0}", e.InnerException.Message); + // Upload the parent vhd using Sas Uri + Console.WriteLine("uploads {0} to {1}", baseVhdName, destinationSasUriParent); + vmPowershellCmdlets.RemoveAzureSubscriptions(); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(baseVhdLocalPath, destinationSasUriParent, true); + Console.WriteLine("uploading completed: {0}", baseVhdName); + + // Verify the upload. + ReImportSubscription(); + AssertUploadContextAndContentMD5UsingSaveVhd(destinationSasUriParent, baseVhdLocalPath, vhdUploadContext, md5hashBase, false); + + Console.WriteLine("uploads {0} to {1} with patching from {2}", childVhdName, vhdDestUri, destinationSasUriParent); + var patchVhdUploadContext = vmPowershellCmdlets.AddAzureVhd(childVhdLocalPath, vhdDestUri, destinationSasUriParent); + Console.WriteLine("uploading the child vhd completed: {0}", childVhdName); + + // Verify the upload. + AssertUploadContextAndContentMD5UsingSaveVhd(vhdDestUri, childVhdLocalPath, patchVhdUploadContext, md5hash); + Console.WriteLine("Test success with permission: {0}", i); i++; - continue; } - else + catch (Exception e) { - Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); - } + continueIfNotReadWrite(e, ref i); + continue; + } } } @@ -661,5 +622,56 @@ public virtual void CleanUp() Console.WriteLine("Test {0}", pass ? "passed" : "failed"); ReImportSubscription(); } + + private bool checkPermission(int i, int j) + { + return (i & j) == j; + } + + private bool isReadWritePermission(int i) + { + return checkPermission(i,(int)(SharedAccessBlobPermissions.Read ^ SharedAccessBlobPermissions.Write)); + } + + private bool isReadWriteDeletePermission(int i) + { + return checkPermission(i, + (int)(SharedAccessBlobPermissions.Read ^ SharedAccessBlobPermissions.Write ^ SharedAccessBlobPermissions.Delete)); + } + private void continueIfNotReadWrite(Exception e, ref int i) + { + if (e.ToString().Contains("already running")) + { + Console.WriteLine(e.ToString()); + } + else if (!isReadWritePermission(i)) + { + Console.WriteLine("Error as expected. Permission: {0}", i); + Console.WriteLine("Error message: {0}", e.InnerException.Message); + i++; + } + else + { + Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + } + } + + private void continueIfNotReadWriteDelete(Exception e, ref int i) + { + if (e.ToString().Contains("already running")) + { + Console.WriteLine(e.ToString()); + } + else if (!isReadWriteDeletePermission(i)) + { + Console.WriteLine("Error as expected. Permission: {0}", i); + Console.WriteLine("Error message: {0}", e.InnerException.Message); + i++; + } + else + { + Assert.Fail("Test failed Permission: {0} \n {1}", i, e.ToString()); + } + } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs index 91cb93f9eafd..df9d65c4deb1 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs @@ -40,6 +40,7 @@ public static class CredentialHelper private static string defaultSubscriptionName = null; private static string location = null; private static string defaultStorageName = null; + private static string currentTestEnvironment = null; private static CloudBlobContainer blobContainer; private static Dictionary environment = new Dictionary(); @@ -51,14 +52,14 @@ public static void GetCredentialInfo(string downloadDirectoryPath) StringDictionary environment = currentProcess.StartInfo.EnvironmentVariables; Assert.IsTrue(environment.ContainsKey(TestEnvironmentVariable), string.Format("You must define a test environment using environment variable {0}", TestEnvironmentVariable)); - string testEnvironment = environment[TestEnvironmentVariable]; + currentTestEnvironment = environment[TestEnvironmentVariable]; Assert.IsTrue(environment.ContainsKey(StorageAccountVariable), string.Format("You must define a storage account for credential download using environment variable {0}", StorageAccountVariable)); string storageAccount = environment[StorageAccountVariable]; Assert.IsTrue(environment.ContainsKey(StorageAccountKeyVariable), string.Format("You must define a storage account key for credential download using environment variable {0}", StorageAccountKeyVariable)); string storageAccountKey = environment[StorageAccountKeyVariable]; - DownloadTestCredentials(testEnvironment, downloadDirectoryPath, + DownloadTestCredentials(currentTestEnvironment, downloadDirectoryPath, string.Format(CredentialBlobUriFormat, storageAccount), storageAccount, storageAccountKey); @@ -169,6 +170,18 @@ public static string PublishSettingsFile } } + public static string TestEnvironment + { + get + { + return currentTestEnvironment; + } + set + { + currentTestEnvironment = value; + } + } + public static string DefaultSubscriptionName { get diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs index fca6129077a9..ecc912dfada4 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs @@ -76,7 +76,7 @@ public static void ClassCleanUp() [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "IAAS"), Priority(0), Owner("hylee"), Description("Test the cmdlet ((Get,Set)-AzureVMAccessExtension)")] [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\package.csv", "package#csv", DataAccessMethod.Sequential)] - public void AzureVMAccessExtensionTest() + public void CreateVMAccessExtensionTest() { try { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs index e913b54c38c8..bb98bdc806a7 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs @@ -312,6 +312,36 @@ public void AzureDeploymentTest() pass &= Utilities.PrintAndCompareDeployment(result, serviceName, deploymentName, serviceName, DeploymentSlotType.Production, null, 4); Console.WriteLine("successfully updated the deployment"); + var date = new DateTime(2014, 10, 17); + // Get Deployment Events by Name + var events = vmPowershellCmdlets.GetAzureDeploymentEvent(serviceName, deploymentName, date, date.AddHours(1)); + Assert.IsTrue(!events.Any() || events.All(e => e.DeploymentName == deploymentName + && !string.IsNullOrEmpty(e.InstanceName) && !string.IsNullOrEmpty(e.RebootReason) && !string.IsNullOrEmpty(e.RoleName) + && (!e.RebootStartTime.HasValue || (e.RebootStartTime >= date && e.RebootStartTime <= date.AddHours(1))))); + // Get Deployment Events by Slot + events = vmPowershellCmdlets.GetAzureDeploymentEventBySlot(serviceName, DeploymentSlotType.Production, date, date.AddHours(1)); + Assert.IsTrue(!events.Any() || events.All(e => e.DeploymentSlot == DeploymentSlotType.Production + && !string.IsNullOrEmpty(e.InstanceName) && !string.IsNullOrEmpty(e.RebootReason) && !string.IsNullOrEmpty(e.RoleName) + && (!e.RebootStartTime.HasValue || (e.RebootStartTime >= date && e.RebootStartTime <= date.AddHours(1))))); + // Get Deployment Events default by Production Slot + events = vmPowershellCmdlets.GetAzureDeploymentEventBySlot(serviceName, null, date, date.AddHours(1)); + Assert.IsTrue(!events.Any() || events.All(e => e.DeploymentSlot == DeploymentSlotType.Production + && !string.IsNullOrEmpty(e.InstanceName) && !string.IsNullOrEmpty(e.RebootReason) && !string.IsNullOrEmpty(e.RoleName) + && (!e.RebootStartTime.HasValue || (e.RebootStartTime >= date && e.RebootStartTime <= date.AddHours(1))))); + + try + { + // Negative test for invalid date range + events = vmPowershellCmdlets.GetAzureDeploymentEvent(serviceName, deploymentName, date, date.AddHours(-1)); + } + catch (Exception ex) + { + Assert.IsNotNull(ex.InnerException); + CloudException ce = (CloudException)ex.InnerException; + Assert.IsTrue(ce.Response.StatusCode == System.Net.HttpStatusCode.BadRequest); + Assert.IsTrue(ce.Message.Contains("The date specified in parameter EndTime is not within the correct range.")); + } + vmPowershellCmdlets.RemoveAzureDeployment(serviceName, DeploymentSlotType.Production, true); pass &= Utilities.CheckRemove(vmPowershellCmdlets.GetAzureDeployment, serviceName, DeploymentSlotType.Production); @@ -322,6 +352,13 @@ public void AzureDeploymentTest() Console.WriteLine("Exception occurred: {0}", e.ToString()); throw; } + finally + { + if (!Utilities.CheckRemove(vmPowershellCmdlets.GetAzureDeployment, serviceName, DeploymentSlotType.Production)) + { + vmPowershellCmdlets.RemoveAzureDeployment(serviceName, DeploymentSlotType.Production, true); + } + } } /// @@ -413,6 +450,92 @@ public void AzureDnsTest2() } } + /// + /// Test to validate creation of multiple network interfaces on a vm + /// + [TestMethod(), TestCategory(Category.Preview), TestProperty("Feature", "IAAS"), Priority(1), Owner("derajen"), Description("Test the cmdlet ((Add,Set,Remove)-AzureNetworkInterfaceConfig)")] + public void AzureMultiNicTest() + { + StartTest(MethodBase.GetCurrentMethod().Name, testStartTime); + try + { + var nic1 = "eth1"; + var nic2 = "eth2"; + + var nic1Address = "10.0.1.40"; + var nic2Address = "10.0.1.39"; + + // Create a VNet + var vnetConfig = vmPowershellCmdlets.GetAzureVNetConfig(null); + if (vnetConfig.Count > 0) + { + vmPowershellCmdlets.RunPSScript("Get-AzureService | Remove-AzureService -Force"); + Utilities.RetryActionUntilSuccess(() => vmPowershellCmdlets.RemoveAzureVNetConfig(), "in use", 5, 30); + } + vmPowershellCmdlets.SetAzureVNetConfig(Directory.GetCurrentDirectory() + "\\VnetconfigWithLocation.netcfg"); + var sites = vmPowershellCmdlets.GetAzureVNetSite(null); + var subnet = sites[0].Subnets.First().Name; + var vnetName = sites[0].Name; + + // Create a new service + vmPowershellCmdlets.NewAzureService(serviceName, locationName); + + // Create the VM + var azureVMConfigInfo = new AzureVMConfigInfo(vmName, InstanceSize.Large.ToString(), imageName); + var azureProvisioningConfig = new AzureProvisioningConfigInfo(OS.Windows, username, password); + var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); + PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); + vm = (PersistentVM)vmPowershellCmdlets.SetAzureSubnet(vm, new string[] {subnet}); + + // AddNetworkInterfaceConfig + vm = (PersistentVM)vmPowershellCmdlets.AddAzureNetworkInterfaceConfig(nic1, subnet, nic1Address, vm); + vm = (PersistentVM)vmPowershellCmdlets.AddAzureNetworkInterfaceConfig(nic2, subnet, vm); + + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces.Count, 2); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[0].Name, nic1); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[0].IPConfigurations[0].SubnetName, subnet); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[0].IPConfigurations[0].StaticVirtualNetworkIPAddress, nic1Address); + + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].Name, nic2); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].IPConfigurations[0].SubnetName, subnet); + Assert.IsNull(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].IPConfigurations[0].StaticVirtualNetworkIPAddress); + + // Verify SetNetworkInterfaceConfig + vm = (PersistentVM)vmPowershellCmdlets.SetAzureNetworkInterfaceConfig(nic2, subnet, nic2Address, vm); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].Name, nic2); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].IPConfigurations[0].SubnetName, subnet); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[1].IPConfigurations[0].StaticVirtualNetworkIPAddress, nic2Address); + + // Verify RemoveNetworkInterfaceConfig + vm = (PersistentVM)vmPowershellCmdlets.RemoveAzureNetworkInterfaceConfig(nic2, vm); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces.Count, 1); + Assert.AreEqual(((NetworkConfigurationSet)vm.ConfigurationSets[1]).NetworkInterfaces[0].Name, nic1); + + // Verify the create vm using NIC + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, vnetName, null, null, null, null, null, null, null, null, null, false ); + + // Verify GetNetworkInterfaceConfig + var getVM = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); + + Assert.AreEqual(getVM.NetworkInterfaces[0].Name, nic1); + Assert.AreEqual(getVM.NetworkInterfaces[0].IpConfigurations[0].SubnetName, subnet); + Assert.IsNotNull(getVM.NetworkInterfaces[0].MacAddress); + + var getNic = vmPowershellCmdlets.GetAzureNetworkInterfaceConfig(nic1, getVM); + Assert.AreEqual(getNic.Name, nic1); + Assert.AreEqual(getNic.IpConfigurations[0].SubnetName, subnet); + Assert.IsNotNull(getNic.MacAddress); + + pass = true; + } + catch (Exception e) + { + pass = false; + Console.WriteLine("Exception occurred: {0}", e.ToString()); + throw; + } + } + /// /// /// @@ -896,6 +1019,53 @@ public void AzureStorageKeyTest() } } + [TestMethod(), TestCategory(Category.Functional), TestCategory(Category.BVT), TestProperty("Feature", "IAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet ((New,Get,Remove)-AzureStorageAccount)")] + [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\storageAccountTestData.csv", "storageAccountTestData#csv", DataAccessMethod.Sequential)] + public void AzureStorageAccountBVTTest() + { + StartTest(MethodBase.GetCurrentMethod().Name, testStartTime); + + string storageAccountPrefix = Convert.ToString(TestContext.DataRow["NamePrefix"]); + string location = CheckLocation(Convert.ToString(TestContext.DataRow["Location1"])); + var storageName = Utilities.GetUniqueShortName(storageAccountPrefix); + var grsAccountType = "Standard_GRS"; + string[] storageStaticProperties = new string[3] { storageName, location, null }; + + try + { + // New-AzureStorageAccount test for default 'Standard_GRS' + vmPowershellCmdlets.NewAzureStorageAccount(storageName, location, null, null, null); + Assert.IsTrue(StorageAccountVerify(vmPowershellCmdlets.GetAzureStorageAccount(storageName)[0], + storageStaticProperties, storageName, null, true, grsAccountType)); + Console.WriteLine("{0} is created", storageName); + + vmPowershellCmdlets.SetAzureStorageAccount(storageName, "test", "test", (string)null); + Assert.IsTrue(StorageAccountVerify(vmPowershellCmdlets.GetAzureStorageAccount(storageName)[0], + storageStaticProperties, "test", "test", true, grsAccountType)); + Console.WriteLine("{0} is updated", storageName); + + vmPowershellCmdlets.RemoveAzureStorageAccount(storageName); + Assert.IsTrue(Utilities.CheckRemove(vmPowershellCmdlets.GetAzureStorageAccount, storageName), "The storage account was not removed"); + Console.WriteLine("{0} is removed", storageName); + + pass = true; + } + catch (Exception e) + { + pass = false; + Assert.Fail("Exception occurred: {0}", e.ToString()); + } + finally + { + Console.WriteLine("Starts cleaning up..."); + // Clean-up storage if it is not removed. + if (!Utilities.CheckRemove(vmPowershellCmdlets.GetAzureStorageAccount, storageName)) + { + vmPowershellCmdlets.RemoveAzureStorageAccount(storageName); + } + } + } + /// /// /// diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVM.cs index e4686a885b15..9f71a7de993a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVM.cs @@ -217,7 +217,7 @@ public void AzureDataDiskTest() private void RemoveDisk(string diskName, int maxTry) { - for (int i = 0; i < maxTry ; i++) + for (int i = 0; i <= maxTry ; i++) { try { @@ -232,7 +232,7 @@ private void RemoveDisk(string diskName, int maxTry) } if (e.ToString().Contains("currently in use")) { - Thread.Sleep(5000); + Thread.Sleep(TimeSpan.FromSeconds(30)); continue; } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs index e8d26ed4bbcd..f6a88a893fe1 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs @@ -154,11 +154,12 @@ public void AzureVMImageTest() OSImageContext result = vmPowershellCmdlets.AddAzureVMImage(newImageName, mediaLocation, OS.Windows, oldLabel); OSImageContext resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0]; + Assert.IsTrue(!string.IsNullOrEmpty(resultReturned.IOType)); Assert.IsTrue(CompareContext(result, resultReturned)); result = vmPowershellCmdlets.UpdateAzureVMImage(newImageName, newLabel); - resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0]; + Assert.IsTrue(!string.IsNullOrEmpty(resultReturned.IOType)); Assert.IsTrue(CompareContext(result, resultReturned)); vmPowershellCmdlets.RemoveAzureVMImage(newImageName, false); @@ -184,15 +185,15 @@ public void AzureVMImageTest() /// /// [TestMethod(), TestCategory(Category.Functional), TestProperty("Feature", "IAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet (Set-AzureVMSize)")] + [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\overwrite_VHD.csv", "overwrite_VHD#csv", DataAccessMethod.Sequential)] public void AzureVMImageSizeTest() { - vhdName = "os2.vhd"; + string mediaLocation = UploadVhdFile(); string newImageName = Utilities.GetUniqueShortName("vmimage"); - string mediaLocation = string.Format("{0}{1}/{2}", blobUrlRoot, vhdContainerName, vhdName); try { - var instanceSizes = vmPowershellCmdlets.GetAzureRoleSize().ToArray(); + var instanceSizes = vmPowershellCmdlets.GetAzureRoleSize().Where(r => r.Cores <= 1).ToArray(); int arrayLength = instanceSizes.Count(); for (int i = 0; i < arrayLength; i++) @@ -201,22 +202,48 @@ public void AzureVMImageSizeTest() // Add-AzureVMImage test for VM size OSImageContext result = vmPowershellCmdlets.AddAzureVMImage(newImageName, mediaLocation, OS.Windows, null, instanceSizes[i].InstanceSize); OSImageContext resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0]; + Assert.IsTrue(!string.IsNullOrEmpty(resultReturned.IOType)); Assert.IsTrue(CompareContext(result, resultReturned)); // Update-AzureVMImage test for VM size - result = vmPowershellCmdlets.UpdateAzureVMImage(newImageName, null, instanceSizes[Math.Max((i + 1) % arrayLength, 1)].InstanceSize); + System.Threading.Thread.Sleep(TimeSpan.FromSeconds(10)); + result = vmPowershellCmdlets.UpdateAzureVMImage(newImageName, resultReturned.ImageName, instanceSizes[Math.Max((i + 1) % arrayLength, 1)].InstanceSize); resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0]; + Assert.IsTrue(!string.IsNullOrEmpty(resultReturned.IOType)); Assert.IsTrue(CompareContext(result, resultReturned)); vmPowershellCmdlets.RemoveAzureVMImage(newImageName); + System.Threading.Thread.Sleep(TimeSpan.FromSeconds(10)); + pass = true; } } catch (Exception e) { pass = false; + System.Threading.Thread.Sleep(TimeSpan.FromSeconds(10)); + vmPowershellCmdlets.RemoveAzureVMImage(newImageName, true); Console.WriteLine("Exception occurred: {0}", e.ToString()); throw; } + finally + { + try + { + vmPowershellCmdlets.GetAzureVMImage(newImageName); + vmPowershellCmdlets.RemoveAzureVMImage(newImageName); + } + catch (Exception e) + { + if (e.ToString().Contains("ResourceNotFound")) + { + Console.WriteLine("The vm image, {0}, is already deleted.", newImageName); + } + else + { + throw; + } + } + } } [TestMethod(), TestCategory(Category.Functional), TestProperty("Feature", "IAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet (Set-AzureVMSize, Get-AzureRoleSize)")] @@ -306,7 +333,7 @@ public void RegularVMSizeTest() var size = instanceSize.InstanceSize; if (!size.Equals(InstanceSize.A5.ToString()) && !size.Equals(InstanceSize.A6.ToString()) && !size.Equals(InstanceSize.A7.ToString()) - && !size.Equals(InstanceSize.A8.ToString()) && !size.Equals(InstanceSize.A9.ToString())) + && !size.Equals(InstanceSize.A8.ToString()) && !size.Equals(InstanceSize.A9.ToString()) && !size.Contains("Standard_D")) { // Set-AzureVMSize test for regular VM size vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(size)); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs index a0a7045595b8..d1abbb377cf2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs @@ -147,9 +147,18 @@ public void UpdateVMWithExtensionTest() vmAccessExtension.Version, referenceName, publicConfiguration, - privateConfiguration); + privateConfiguration, + "pubkey1", + "prikey1"); vmPowershellCmdlets.UpdateAzureVM(vmName, serviceName, vm); + var updatedVM = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); + var updatedExt = updatedVM.VM.ResourceExtensionReferences.First( + e => e.Name == vmAccessExtension.ExtensionName && + e.Publisher == vmAccessExtension.Publisher && + e.Version == vmAccessExtension.Version); + Assert.IsTrue(updatedExt.ResourceExtensionParameterValues.Any(r => r.Type == "Public" && r.Key == "pubkey1")); + ValidateVMAccessExtension(vmName, serviceName, true); vmPowershellCmdlets.RemoveAzureVMExtension(GetAzureVM(vmName, serviceName), vmAccessExtension.ExtensionName, vmAccessExtension.Publisher); @@ -374,7 +383,7 @@ private void VerifyRDPExtension(string vmName, string serviceName) Console.WriteLine("Azure VM RDP file downloaded."); Console.WriteLine("Waiting for a minute vefore trying to connect to VM"); - Thread.Sleep(240000); + Thread.Sleep(TimeSpan.FromMinutes(4)); Utilities.RetryActionUntilSuccess(() => ValidateLogin(dns, port, vmAccessUserName, vmAccessPassword), "Cannot RDP to the instance!!", 5, 10000); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureEnvironmentCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureEnvironmentCmdletInfo.cs new file mode 100644 index 000000000000..d66a2e24eab4 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureEnvironmentCmdletInfo.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo +{ + public class AddAzureEnvironmentCmdletInfo : CmdletsInfo + { + public AddAzureEnvironmentCmdletInfo(string name, string serviceEndpoint) + { + cmdletName = Utilities.AddAzureEnvironmentCmdletName; + cmdletParams.Add(new CmdletParam("Name", name)); + cmdletParams.Add(new CmdletParam("ServiceEndpoint", serviceEndpoint)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureNetworkInterfaceConfigCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureNetworkInterfaceConfigCmdletInfo.cs new file mode 100644 index 000000000000..b3571bedaec2 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureNetworkInterfaceConfigCmdletInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.ILB +{ + public class AddAzureNetworkInterfaceConfigCmdletInfo: CmdletsInfo + { + public AddAzureNetworkInterfaceConfigCmdletInfo(string name, string subnetName, string staticVnetIpAddress, IPersistentVM vm) + { + this.cmdletName = Utilities.AddAzureNetworkInterfaceConfig; + this.parameters.Add(new CmdletParam("Name", name)); + this.parameters.Add(new CmdletParam("SubnetName", subnetName)); + if (!string.IsNullOrEmpty(staticVnetIpAddress)) + { + this.parameters.Add(new CmdletParam("StaticVnetIpAddress", staticVnetIpAddress)); + } + this.parameters.Add(new CmdletParam("VM", vm)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs index b3390601d4e7..611fa38ff6b9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs @@ -20,7 +20,8 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests public class SetAzureVMExtensionCmdletInfo: CmdletsInfo { public SetAzureVMExtensionCmdletInfo(IPersistentVM vm, string extensionName, string publisher, string version, string referenceName = null, - string publicConfiguration = null, string privateConfiguration = null,string publicConfigPath = null,string privateConfigPath = null, bool disable = false) + string publicConfiguration = null, string privateConfiguration = null, string publicConfigKey = null, string privateConfigKey = null, + string publicConfigPath = null,string privateConfigPath = null, bool disable = false) { cmdletName = Utilities.SetAzureVMExtensionCmdletName; cmdletParams.Add(new CmdletParam("VM", vm)); @@ -52,6 +53,14 @@ public SetAzureVMExtensionCmdletInfo(IPersistentVM vm, string extensionName, str { cmdletParams.Add(new CmdletParam("PrivateConfigPath", privateConfigPath)); } + if (!string.IsNullOrEmpty(publicConfigKey)) + { + cmdletParams.Add(new CmdletParam("PublicConfigKey", publicConfigKey)); + } + if (!string.IsNullOrEmpty(publicConfigKey)) + { + cmdletParams.Add(new CmdletParam("PrivateConfigKey", privateConfigKey)); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureNetworkInterfaceConfigCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureNetworkInterfaceConfigCmdletInfo.cs new file mode 100644 index 000000000000..06f0deff83e0 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureNetworkInterfaceConfigCmdletInfo.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.ILB +{ + public class GetAzureNetworkInterfaceConfigCmdletInfo: CmdletsInfo + { + + public GetAzureNetworkInterfaceConfigCmdletInfo(string name, PersistentVMRoleContext vm) + { + this.cmdletName = Utilities.GetAzureNetworkInterfaceConfig; + + if (!string.IsNullOrEmpty(name)) + { + this.parameters.Add(new CmdletParam("Name", name)); + } + + this.parameters.Add(new CmdletParam("VM", vm)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureNetworkInterfaceConfigCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureNetworkInterfaceConfigCmdletInfo.cs new file mode 100644 index 000000000000..14db28875205 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureNetworkInterfaceConfigCmdletInfo.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.ILB +{ + public class RemoveAzureNetworkInterfaceConfigCmdletInfo: CmdletsInfo + { + + public RemoveAzureNetworkInterfaceConfigCmdletInfo(string name, IPersistentVM vm) + { + this.cmdletName = Utilities.RemoveAzureNetworkInterfaceConfig; + this.parameters.Add(new CmdletParam("Name", name)); + this.parameters.Add(new CmdletParam("VM", vm)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureNetworkInterfaceConfigCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureNetworkInterfaceConfigCmdletInfo.cs new file mode 100644 index 000000000000..2a53670827a8 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureNetworkInterfaceConfigCmdletInfo.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.ILB +{ + public class SetAzureNetworkInterfaceConfigCmdletInfo: CmdletsInfo + { + + public SetAzureNetworkInterfaceConfigCmdletInfo(string name, string subnetName, string staticVnetIpAddress, IPersistentVM vm) + { + this.cmdletName = Utilities.SetAzureNetworkInterfaceConfig; + this.parameters.Add(new CmdletParam("Name", name)); + this.parameters.Add(new CmdletParam("SubnetName", subnetName)); + if (!string.IsNullOrEmpty(staticVnetIpAddress)) + { + this.parameters.Add(new CmdletParam("StaticVnetIpAddress", staticVnetIpAddress)); + } + this.parameters.Add(new CmdletParam("VM", vm)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs index c74bd71a9020..804d9350f08b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs @@ -26,10 +26,8 @@ public UpdateAzureVMImageCmdletInfo(string imageName, string label, string recom cmdletParams.Add(new CmdletParam("ImageName", imageName)); - if (label != null) - { - cmdletParams.Add(new CmdletParam("Label", label)); - } + cmdletParams.Add(new CmdletParam("Label", label)); + if (! string.IsNullOrEmpty(recommendedSize)) { cmdletParams.Add(new CmdletParam("RecommendedVMSize", recommendedSize)); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/InternaloadbalancerTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/InternaloadbalancerTests.cs index be5414b391d8..39a024f05318 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/InternaloadbalancerTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/InternaloadbalancerTests.cs @@ -281,16 +281,15 @@ public void PublicIpPerVMTest() { string vmName = Utilities.GetUniqueShortName(vmNamePrefix); string vmName2 = Utilities.GetUniqueShortName(vmNamePrefix); - string vmName3 = Utilities.GetUniqueShortName(vmNamePrefix); + string endpointName = Utilities.GetUniqueShortName("endpoint"); string endpointName2 = Utilities.GetUniqueShortName("endpoint"); - string endpointName3 = Utilities.GetUniqueShortName("endpoint"); + string disklabel1 = Utilities.GetUniqueShortName("disk"); string disklabel2 = Utilities.GetUniqueShortName("disk"); - string disklabel3 = Utilities.GetUniqueShortName("disk"); + string publicIpName = Utilities.GetUniqueShortName("publicIp"); string publicIpName2 = Utilities.GetUniqueShortName("publicIp"); - string publicIpName3 = Utilities.GetUniqueShortName("publicIp"); vmPowershellCmdlets.NewAzureService(serviceName, locationName); var vm1 = CreateVMWithEndpointDataDiskAndPublicIP(vmName, endpointName, disklabel1, publicIpName, serviceName, LOCAL_PORT_NUMBER1, PUBLIC_PORT_NUMBER1); @@ -301,22 +300,20 @@ public void PublicIpPerVMTest() var vm2 = CreateVMWithEndpointDataDiskAndPublicIP(vmName2, endpointName2, disklabel2, publicIpName2, serviceName, LOCAL_PORT_NUMBER2, PUBLIC_PORT_NUMBER2); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm2 }); VerifyPublicIP(publicIpName2, vm2); - - var vm3 = CreateVMWithEndpointDataDiskAndPublicIP(vmName3, endpointName3, disklabel3, publicIpName3, serviceName, LOCAL_PORT_NUMBER3, PUBLIC_PORT_NUMBER3); - Utilities.VerifyFailure(() => vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm3 }), BadRequestException); pass = true; - } catch (Exception ex) { pass = false; - Console.WriteLine(ex.InnerException.ToString()); + Console.WriteLine(ex); + if (ex.InnerException != null) + { + Console.WriteLine(ex.InnerException); + } throw ex; } } - - private static PersistentVM CreateVMWithEndpointDataDiskAndPublicIP(string vmName, string endpointName, string disklabel1, string publicIpName, string serviceName, int localPort, int publicport) { var vm1 = Utilities.CreateIaaSVMObject(vmName, InstanceSize.Small, imageName, true, username, password); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs index f1e159d2b085..59dacea68f0a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs @@ -198,16 +198,18 @@ public void NewAzureVMWithWindowsAndCustomData() // Install the WinRM cert to the local machine's root location. InstallCertificate(winRmCert, StoreLocation.LocalMachine, StoreName.Root); - // Invoke Command var connUri = vmPowershellCmdlets.GetAzureWinRMUri(_serviceName, newAzureVMName); var cred = new PSCredential(username, Utilities.convertToSecureString(password)); - var scriptBlock = ScriptBlock.Create(@"Get-Content -Path 'C:\AzureData\CustomData.bin'"); - var invokeInfo = new InvokeCommandCmdletInfo(connUri, cred, scriptBlock); - var invokeCmd = new PowershellCmdlet(invokeInfo); - var results = invokeCmd.Run(false); - - Assert.IsTrue(customDataContent == results.First().BaseObject as string); + Utilities.RetryActionUntilSuccess(() => + { + // Invoke Command + var scriptBlock = ScriptBlock.Create(@"Get-Content -Path 'C:\AzureData\CustomData.bin'"); + var invokeInfo = new InvokeCommandCmdletInfo(connUri, cred, scriptBlock); + var invokeCmd = new PowershellCmdlet(invokeInfo); + var results = invokeCmd.Run(false); + Assert.IsTrue(customDataContent == results.First().BaseObject as string); + }, "Access is denied", 10, 30); pass = true; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventBySlotCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventBySlotCmdletInfo.cs new file mode 100644 index 000000000000..a60510354f2c --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventBySlotCmdletInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; +using System; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PaasCmdletInfo +{ + public class GetAzureDeploymentEventBySlotCmdletInfo : CmdletsInfo + { + public GetAzureDeploymentEventBySlotCmdletInfo(string serviceName, string deploymentSlot, DateTime startTime, DateTime endTime) + { + cmdletName = Utilities.GetAzureDeploymentEventCmdletName; + + cmdletParams.Add(new CmdletParam("ServiceName", serviceName)); + if (!string.IsNullOrEmpty(deploymentSlot)) + { + cmdletParams.Add(new CmdletParam("Slot", deploymentSlot)); + } + cmdletParams.Add(new CmdletParam("StartTime", startTime)); + cmdletParams.Add(new CmdletParam("EndTime", endTime)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventCmdletInfo.cs new file mode 100644 index 000000000000..8b7392939622 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/GetAzureDeploymentEventCmdletInfo.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 Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; +using System; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PaasCmdletInfo +{ + public class GetAzureDeploymentEventCmdletInfo : CmdletsInfo + { + public GetAzureDeploymentEventCmdletInfo(string serviceName, string deploymentName, DateTime startTime, DateTime endTime) + { + cmdletName = Utilities.GetAzureDeploymentEventCmdletName; + + cmdletParams.Add(new CmdletParam("ServiceName", serviceName)); + cmdletParams.Add(new CmdletParam("DeploymentName", deploymentName)); + cmdletParams.Add(new CmdletParam("StartTime", startTime)); + cmdletParams.Add(new CmdletParam("EndTime", endTime)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PowershellCore/PowershellCmdlet.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PowershellCore/PowershellCmdlet.cs index 7a0ed787473d..e6e490e6b3d9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PowershellCore/PowershellCmdlet.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PowershellCore/PowershellCmdlet.cs @@ -92,7 +92,7 @@ public override Collection Run(bool debug) { runspace.Close(); - var exceptions = powershell.Streams.Error.Select(error => new Exception(error.Exception.Message)).ToList(); + var exceptions = powershell.Streams.Error.Select(error => error.Exception).ToList(); throw new AggregateException(exceptions); } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs index a8b5a1985aba..039444bf58a0 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs @@ -28,7 +28,6 @@ using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Models; -using Microsoft.WindowsAzure.Commands.Service.Gateway; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; @@ -830,24 +829,24 @@ public void VNetTest() Assert.AreEqual(localNetworkSites[0].VpnGatewayAddress, vnetsite.GatewaySites[0].VpnGatewayAddress); Assert.IsTrue(localNetworkSites[0].AddressSpace.AddressPrefixes.All(c => vnetsite.GatewaySites[0].AddressSpace.AddressPrefixes.Contains(c))); - Assert.AreEqual(ProvisioningState.NotProvisioned, vmPowershellCmdlets.GetAzureVNetGateway(vnet)[0].State); + Assert.AreEqual(Microsoft.Azure.Commands.Network.ProvisioningState.NotProvisioned, vmPowershellCmdlets.GetAzureVNetGateway(vnet)[0].State); } vmPowershellCmdlets.NewAzureVNetGateway(vnet1); - Assert.IsTrue(GetVNetState(vnet1, ProvisioningState.Provisioned, 12, 60)); + Assert.IsTrue(GetVNetState(vnet1, Microsoft.Azure.Commands.Network.ProvisioningState.Provisioned, 12, 60)); // Set-AzureVNetGateway -Connect Test vmPowershellCmdlets.SetAzureVNetGateway("connect", vnet1, lnet1); - foreach (GatewayConnectionContext connection in vmPowershellCmdlets.GetAzureVNetConnection(vnet1)) + foreach (Microsoft.Azure.Commands.Network.Gateway.Model.GatewayConnectionContext connection in vmPowershellCmdlets.GetAzureVNetConnection(vnet1)) { Console.WriteLine("Connectivity: {0}, LocalNetwork: {1}", connection.ConnectivityState, connection.LocalNetworkSiteName); Assert.IsFalse(connection.ConnectivityState.ToLowerInvariant().Contains("notconnected")); } // Get-AzureVNetGatewayKey - SharedKeyContext result = vmPowershellCmdlets.GetAzureVNetGatewayKey(vnet1, + Microsoft.Azure.Commands.Network.Gateway.Model.SharedKeyContext result = vmPowershellCmdlets.GetAzureVNetGatewayKey(vnet1, vmPowershellCmdlets.GetAzureVNetConnection(vnet1)[0].LocalNetworkSiteName); Console.WriteLine("Gateway Key: {0}", result.Value); @@ -855,7 +854,7 @@ public void VNetTest() // Set-AzureVNetGateway -Disconnect vmPowershellCmdlets.SetAzureVNetGateway("disconnect", vnet1, lnet1); - foreach (GatewayConnectionContext connection in vmPowershellCmdlets.GetAzureVNetConnection(vnet1)) + foreach (Microsoft.Azure.Commands.Network.Gateway.Model.GatewayConnectionContext connection in vmPowershellCmdlets.GetAzureVNetConnection(vnet1)) { Console.WriteLine("Connectivity: {0}, LocalNetwork: {1}", connection.ConnectivityState, connection.LocalNetworkSiteName); } @@ -865,20 +864,20 @@ public void VNetTest() foreach (string vnet in virtualNets) { - VirtualNetworkGatewayContext gateway = vmPowershellCmdlets.GetAzureVNetGateway(vnet)[0]; + Microsoft.Azure.Commands.Network.VirtualNetworkGatewayContext gateway = vmPowershellCmdlets.GetAzureVNetGateway(vnet)[0]; Console.WriteLine("State: {0}, VIP: {1}", gateway.State.ToString(), gateway.VIPAddress); if (vnet.Equals(vnet1)) { - if (gateway.State != ProvisioningState.Deprovisioning && - gateway.State != ProvisioningState.NotProvisioned) + if (gateway.State != Microsoft.Azure.Commands.Network.ProvisioningState.Deprovisioning && + gateway.State != Microsoft.Azure.Commands.Network.ProvisioningState.NotProvisioned) { Assert.Fail("The state of the gateway is neither Deprovisioning nor NotProvisioned!"); } } else { - Assert.AreEqual(ProvisioningState.NotProvisioned, gateway.State); + Assert.AreEqual(Microsoft.Azure.Commands.Network.ProvisioningState.NotProvisioned, gateway.State); } } @@ -1556,9 +1555,9 @@ private string GetSiteContent(Uri uri, int maxRetryTimes, bool holdConnection) return responseString; } - private bool GetVNetState(string vnet, ProvisioningState expectedState, int maxTime, int intervalTime) + private bool GetVNetState(string vnet, Microsoft.Azure.Commands.Network.ProvisioningState expectedState, int maxTime, int intervalTime) { - ProvisioningState vnetState; + Microsoft.Azure.Commands.Network.ProvisioningState vnetState; int i = 0; do { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs index 2d670bdf2961..22d921c147d6 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs @@ -39,14 +39,15 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.ILB; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PaasCmdletInfo; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PIRCmdletInfo; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PreviewCmdletInfo; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Storage.Blob; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { using SM = Model; - public class ServiceManagementCmdletTestHelper { @@ -128,7 +129,7 @@ private Collection RunPSCmdletAndReturnAll(PowershellCore.CmdletsInfo cmdl return resultCollection; } - public Collection RunPSScript(string script, bool debug = true) + public Collection RunPSScript(string script, bool debug = false) { List st = new List(); st.Add(script); @@ -392,6 +393,16 @@ public SM.DeploymentInfoContext GetAzureDeployment(string serviceName) return GetAzureDeployment(serviceName, SM.DeploymentSlotType.Production); } + public Collection GetAzureDeploymentEvent(string serviceName, string deploymentName, DateTime startTime, DateTime endTime) + { + return RunPSCmdletAndReturnAll(new GetAzureDeploymentEventCmdletInfo(serviceName, deploymentName, startTime, endTime)); + } + + public Collection GetAzureDeploymentEventBySlot(string serviceName, string deploymentSlot, DateTime startTime, DateTime endTime) + { + return RunPSCmdletAndReturnAll(new GetAzureDeploymentEventBySlotCmdletInfo(serviceName, deploymentSlot, startTime, endTime)); + } + private ManagementOperationContext SetAzureDeployment(SetAzureDeploymentCmdletInfo cmdletInfo) { return RunPSCmdletAndReturnFirst(cmdletInfo); @@ -823,8 +834,12 @@ internal void ImportAzurePublishSettingsFile() internal void ImportAzurePublishSettingsFile(string publishSettingsFile, bool debug = false) { - (new WindowsAzurePowershellCmdlet(new ImportAzurePublishSettingsFileCmdletInfo(publishSettingsFile))).Run( - (debug)); + (new WindowsAzurePowershellCmdlet(new ImportAzurePublishSettingsFileCmdletInfo(publishSettingsFile))).Run(debug); + } + + internal void ImportAzurePublishSettingsFile(string publishSettingsFile, string env, bool debug = false) + { + (new WindowsAzurePowershellCmdlet(new ImportAzurePublishSettingsFileCmdletInfo(publishSettingsFile, env))).Run(debug); } #endregion @@ -1450,9 +1465,9 @@ public ManagementOperationContext NewAzureVNetGateway(string vnetName) return RunPSCmdletAndReturnFirst(new NewAzureVNetGatewayCmdletInfo(vnetName)); } - public Collection GetAzureVNetGateway(string vnetName) + public Collection GetAzureVNetGateway(string vnetName) { - return RunPSCmdletAndReturnAll(new GetAzureVNetGatewayCmdletInfo(vnetName)); + return RunPSCmdletAndReturnAll(new GetAzureVNetGatewayCmdletInfo(vnetName)); } public ManagementOperationContext SetAzureVNetGateway(string option, string vnetName, string localNetwork) @@ -1465,18 +1480,18 @@ public ManagementOperationContext RemoveAzureVNetGateway(string vnetName) return RunPSCmdletAndReturnFirst(new RemoveAzureVNetGatewayCmdletInfo(vnetName)); } - public SM.SharedKeyContext GetAzureVNetGatewayKey(string vnetName, string localnet) + public Microsoft.Azure.Commands.Network.Gateway.Model.SharedKeyContext GetAzureVNetGatewayKey(string vnetName, string localnet) { - return RunPSCmdletAndReturnFirst(new GetAzureVNetGatewayKeyCmdletInfo(vnetName, localnet)); + return RunPSCmdletAndReturnFirst(new GetAzureVNetGatewayKeyCmdletInfo(vnetName, localnet)); } #endregion #region AzureVNet - public Collection GetAzureVNetConnection(string vnetName) + public Collection GetAzureVNetConnection(string vnetName) { - return RunPSCmdletAndReturnAll(new GetAzureVNetConnectionCmdletInfo(vnetName)); + return RunPSCmdletAndReturnAll(new GetAzureVNetConnectionCmdletInfo(vnetName)); } public Collection GetAzureVNetSite(string vnetName) @@ -1620,6 +1635,29 @@ public void RemoveAzureSubscription(string Name, bool force, bool debug = false) removeAzureSubscriptionCmdlet.Run(debug); } + public List GetAzureEnvironment(string name = null, string subscriptionDataFile = null, bool debug = false) + { + Collection result = (new WindowsAzurePowershellCmdlet(new GetAzureEnvironmentCmdletInfo(name, subscriptionDataFile))).Run(debug); + List envList = new List(); + + foreach (var element in result) + { + var newEnv = new AzureEnvironment(); + newEnv.Name = element.Properties.Match("Name")[0].Value.ToString(); + var endpoints = new Dictionary(); + var endpointKeys = Enum.GetValues(typeof(AzureEnvironment.Endpoint)); + foreach(var key in endpointKeys) + { + endpoints.Add((AzureEnvironment.Endpoint) key, (string) element.Properties.Match(key.ToString())[0].Value); + } + + newEnv.Endpoints = endpoints; + envList.Add(newEnv); + } + + return envList; + } + internal SM.NetworkAclObject NewAzureAclConfig() { return RunPSCmdletAndReturnFirst(new NewAzureAclConfigCmdletInfo()); @@ -1832,10 +1870,10 @@ public SM.PersistentVM RemoveAzureVMBGInfoExtension(SM.IPersistentVM vm, string #region Generic VM Extension cmdlets public SM.PersistentVM SetAzureVMExtension(SM.IPersistentVM vm, string extensionName, string publisher, string version, string referenceName = null, - string publicConfiguration = null, string privateConfiguration = null, string publicConfigPath = null, string privateConfigPath = null, bool disable = false) + string publicConfiguration = null, string privateConfiguration = null, string publicConfigKey = null, string privateConfigKey = null, string publicConfigPath = null, string privateConfigPath = null, bool disable = false) { return RunPSCmdletAndReturnFirst(new SetAzureVMExtensionCmdletInfo(vm, extensionName, publisher, version, referenceName, - publicConfiguration, privateConfiguration,publicConfigPath,privateConfigPath, disable)); + publicConfiguration, privateConfiguration, publicConfigKey, privateConfigKey, publicConfigPath, privateConfigPath, disable)); } public SM.PersistentVM RemoveAzureVMExtension(SM.PersistentVM vm, string extensionName, string publisher, string referenceName=null, bool removeAll=false) @@ -2014,5 +2052,35 @@ internal SM.AssignPublicIP GetAzurePublicIpName(string publicIpName, SM.IPersist { return RunPSCmdletAndReturnFirst(new GetAzurePublicIPCmdletInfo(publicIpName, vm)); } + + internal SM.IPersistentVM AddAzureNetworkInterfaceConfig(string name, string subnetName, string staticVnetIpAddress, SM.IPersistentVM vm) + { + return RunPSCmdletAndReturnFirst(new AddAzureNetworkInterfaceConfigCmdletInfo(name, subnetName, staticVnetIpAddress, vm)); + } + + internal SM.IPersistentVM AddAzureNetworkInterfaceConfig(string name, string subnetName, SM.IPersistentVM vm) + { + return RunPSCmdletAndReturnFirst(new AddAzureNetworkInterfaceConfigCmdletInfo(name, subnetName, null, vm)); + } + + internal SM.IPersistentVM SetAzureNetworkInterfaceConfig(string name, string subnetName, string staticVnetIpAddress, SM.IPersistentVM vm) + { + return RunPSCmdletAndReturnFirst(new SetAzureNetworkInterfaceConfigCmdletInfo(name, subnetName, staticVnetIpAddress, vm)); + } + + internal SM.IPersistentVM SetAzureNetworkInterfaceConfig(string name, string subnetName, SM.IPersistentVM vm) + { + return RunPSCmdletAndReturnFirst(new SetAzureNetworkInterfaceConfigCmdletInfo(name, subnetName, null, vm)); + } + + internal SM.NetworkInterface GetAzureNetworkInterfaceConfig(string name, SM.PersistentVMRoleContext vm) + { + return RunPSCmdletAndReturnFirst(new GetAzureNetworkInterfaceConfigCmdletInfo(name, vm)); + } + + internal SM.IPersistentVM RemoveAzureNetworkInterfaceConfig(string name, SM.IPersistentVM vm) + { + return RunPSCmdletAndReturnFirst(new RemoveAzureNetworkInterfaceConfigCmdletInfo(name, vm)); + } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs index 3efc190f355e..a932994c8c42 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs @@ -13,9 +13,11 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; +using System.Threading; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Models; @@ -44,6 +46,7 @@ public class ServiceManagementTest protected const string WinRmEndpointName = "PowerShell"; protected const string RdpEndpointName = "RemoteDesktop"; + protected const string TempEnvName = "tempEnv"; // Test cleanup settings protected const bool deleteDefaultStorageAccount = false; // Temporarily set to false @@ -58,6 +61,7 @@ public class ServiceManagementTest protected static string locationName; protected static string imageName; + protected static string currentEnvName = null; protected bool pass; protected string testName; @@ -94,6 +98,74 @@ public static void AssemblyInit(TestContext context) SetTestSettings(); } + [AssemblyCleanup] + public static void CleanUpAssembly() + { + vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); + + // Cleaning up affinity groups + var affGroup = vmPowershellCmdlets.GetAzureAffinityGroup(); + if (affGroup.Count > 0) + { + foreach (var aff in affGroup) + { + try + { + vmPowershellCmdlets.RemoveAzureAffinityGroup(aff.Name); + } + catch (Exception e) + { + if (e.ToString().Contains(BadRequestException)) + { + Console.WriteLine("Affinity Group, {0}, is not deleted.", aff.Name); + } + } + } + } + + if (defaultAzureSubscription != null) + { + // Cleaning up virtual disks + try + { + Retry(String.Format("Get-AzureDisk | Where {{$_.DiskName.Contains(\"{0}\")}} | Remove-AzureDisk", serviceNamePrefix), "in use"); + if (deleteDefaultStorageAccount) + { + //vmPowershellCmdlets.RemoveAzureStorageAccount(defaultAzureSubscription.CurrentStorageAccountName); + } + } + catch + { + Console.WriteLine("Error occurred during cleaning up disks.."); + } + + // Cleaning up vm images + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureVMImage | Where {$_.Categori -eq \"User\"} | Remove-AzureVMImage"); + } + catch + { + Console.WriteLine("Error occurred during cleaning up vm images.."); + } + + // Cleaning up reserved ips + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureReservedIp | Remove-AzureReservedIp -Force"); + } + catch + { + Console.WriteLine("Error occurred during cleaning up reserved ips.."); + } + } + + if (string.IsNullOrEmpty(currentEnvName)) + { + vmPowershellCmdlets.RunPSScript(string.Format("Remove-AzureEnvironment -Name {0} -Force", TempEnvName)); + } + } + public static void SetDefaultStorage() { if (!string.IsNullOrEmpty(GetDefaultStorage(CredentialHelper.DefaultStorageName, CredentialHelper.Location))) @@ -150,13 +222,92 @@ private static string GetSubscriptionName(string publishSettingsFile) } } + private static string GetServiceManagementUrl(string publishSettingsFile) + { + try + { + XDocument psf = XDocument.Load(publishSettingsFile); + XElement pubData = psf.Descendants().FirstOrDefault(); + XElement pubProfile = pubData.Elements().ToList()[0]; + return pubProfile.Attribute("Url").Value; + } + catch + { + Console.WriteLine("Error occurred during loading publish settings file..."); + return null; + } + } + public static void SetTestSettings() { vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); CredentialHelper.GetTestSettings(Resource.TestSettings); vmPowershellCmdlets.RemoveAzureSubscriptions(); - vmPowershellCmdlets.ImportAzurePublishSettingsFile(CredentialHelper.PublishSettingsFile); + if (vmPowershellCmdlets.GetAzureEnvironment("ussouth").Count > 0) + { + Console.WriteLine("Removing ussouth environment..."); + vmPowershellCmdlets.RunPSScript("Remove-AzureEnvironment -Name ussouth -Force"); + } + + List environments = vmPowershellCmdlets.GetAzureEnvironment(); + var serviceManagementUrl = GetServiceManagementUrl(CredentialHelper.PublishSettingsFile); + + foreach (var env in environments) + { + var envServiceManagementUrl = (string) env.Endpoints[AzureEnvironment.Endpoint.ServiceManagement]; + if (!string.IsNullOrEmpty(envServiceManagementUrl)) + { + if (envServiceManagementUrl.Equals(serviceManagementUrl)) + { + currentEnvName = env.Name; + var curEnv = vmPowershellCmdlets.GetAzureEnvironment(currentEnvName)[0]; + Console.WriteLine("Using the existing environment: {0}", currentEnvName); + Console.WriteLine("PublichSettingsFileUrl: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.PublishSettingsFileUrl)); + Console.WriteLine("ServiceManagement: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.ServiceManagement)); + Console.WriteLine("ManagementPortalUrl: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.ManagementPortalUrl)); + Console.WriteLine("ActiveDirectory: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.ActiveDirectory)); + Console.WriteLine("ActiveDirectoryServiceEndpointResourceId: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId)); + Console.WriteLine("ResourceManager: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.ResourceManager)); + Console.WriteLine("Gallery: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.Gallery)); + Console.WriteLine("Graph: {0}", curEnv.GetEndpoint(AzureEnvironment.Endpoint.Graph)); + break; + } + } + } + + if (string.IsNullOrEmpty(currentEnvName)) + { + Console.WriteLine("Creating new environment... : {0}", TempEnvName); + var prodEnv = vmPowershellCmdlets.GetAzureEnvironment("AzureCloud")[0]; + vmPowershellCmdlets.RunPSScript(string.Format( + @"Add-AzureEnvironment -Name {0} ` + -PublishSettingsFileUrl {1} ` + -ServiceEndpoint {2} ` + -ManagementPortalUrl {3} ` + -ActiveDirectoryEndpoint {4} ` + -ActiveDirectoryServiceEndpointResourceId {5} ` + -ResourceManagerEndpoint {6} ` + -GalleryEndpoint {7} ` + -GraphEndpoint {8}", + TempEnvName, + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.PublishSettingsFileUrl), + serviceManagementUrl, + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.ManagementPortalUrl), + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.ActiveDirectory), + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId), + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.ResourceManager), + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.Gallery), + prodEnv.GetEndpoint(AzureEnvironment.Endpoint.Graph))); + + vmPowershellCmdlets.ImportAzurePublishSettingsFile(CredentialHelper.PublishSettingsFile, TempEnvName); + } + else + { + Console.WriteLine("Using existing environment... : {0}", currentEnvName); + vmPowershellCmdlets.ImportAzurePublishSettingsFile(CredentialHelper.PublishSettingsFile, currentEnvName); + } + var firstSub = vmPowershellCmdlets.GetAzureSubscription().First(); vmPowershellCmdlets.SelectAzureSubscription(firstSub.SubscriptionName); @@ -219,49 +370,6 @@ protected void StartTest(string testname, DateTime testStartTime) Console.WriteLine("{0} test starts at {1}", testname, testStartTime); } - [AssemblyCleanup] - public static void CleanUpAssembly() - { - vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); - - try - { - // Cleaning up affinity groups - var affGroup = vmPowershellCmdlets.GetAzureAffinityGroup(); - if (affGroup.Count > 0) - { - foreach (var aff in affGroup) - { - try - { - vmPowershellCmdlets.RemoveAzureAffinityGroup(aff.Name); - } - catch (Exception e) - { - if (e.ToString().Contains(BadRequestException)) - { - Console.WriteLine("Affinity Group, {0}, is not deleted.", aff.Name); - } - } - } - } - - // Cleaning up virtual disks - if (defaultAzureSubscription != null) - { - Retry(String.Format("Get-AzureDisk | Where {{$_.DiskName.Contains(\"{0}\")}} | Remove-AzureDisk -DeleteVhd", serviceNamePrefix), "in use"); - if (deleteDefaultStorageAccount) - { - //vmPowershellCmdlets.RemoveAzureStorageAccount(defaultAzureSubscription.CurrentStorageAccountName); - } - } - } - catch - { - Console.WriteLine("Error occurred during cleaning up.."); - } - } - private static void Retry(string cmdlet, string message, int maxTry = 1, int intervalSecond = 10) { @@ -282,7 +390,7 @@ private static void Retry(string cmdlet, string message, int maxTry = 1, int int } if (e.ToString().Contains(message)) { - //Thread.Sleep(intervalSecond * 1000); + Thread.Sleep(TimeSpan.FromSeconds(intervalSecond)); continue; } else @@ -357,5 +465,29 @@ protected void VerifyRDP(string serviceName, string rdpPath) Assert.IsTrue((Utilities.RDPtestPaaS(dns, "WebRole1", 0, username, password, true)), "Cannot RDP to the instance!!"); } + + protected string UploadVhdFile() + { + // Choose the vhd file from local machine + var vhdName = Convert.ToString(TestContext.DataRow["vhdName"]); + var vhdLocalPath = new FileInfo(Directory.GetCurrentDirectory() + "\\" + vhdName); + Assert.IsTrue(File.Exists(vhdLocalPath.FullName), "VHD file not exist={0}", vhdLocalPath); + + // Get the pre-calculated MD5 hash of the fixed vhd that was converted from the original vhd. + string md5hash = Convert.ToString(TestContext.DataRow["MD5hash"]); + + + // Set the destination + string vhdBlobName = string.Format("{0}/{1}.vhd", vhdContainerName, Utilities.GetUniqueShortName(Path.GetFileNameWithoutExtension(vhdName))); + string vhdDestUri = blobUrlRoot + vhdBlobName; + + // Start uploading... + Console.WriteLine("uploads {0} to {1}", vhdName, vhdBlobName); + vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, vhdDestUri); + var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, vhdDestUri, true); + Console.WriteLine("uploading completed: {0}", vhdName); + + return vhdDestUri; + } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StopAzureVMTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StopAzureVMTest.cs index decf25b87fb6..ffde04adbba2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StopAzureVMTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StopAzureVMTest.cs @@ -1109,20 +1109,24 @@ internal static void WaitForStatus(string svcName, string vmName, string[] expSt skips = new List(skipStatus); } - + int totalWaitTimeInSeconds = 0; for (int i = 0; i < maxTry; i++) { vmStatus = vmPowershellCmdlets.GetAzureVM(vmName, svcName).InstanceStatus; if (exps.Contains(vmStatus)) { - Console.WriteLine("The VM is in {0} state after {1} seconds", vmStatus, i * interval); + Console.WriteLine("The VM is in {0} state after {1} seconds", vmStatus, totalWaitTimeInSeconds); return; } else if (skips == null || skips.Contains(vmStatus)) { - Console.WriteLine("Current VM state is {0}. Keep waiting...", vmStatus); - Thread.Sleep(interval * 1000); + // waitTimeInSeconds = interval * (2 ^ (i / 10)) + int waitTimeInSeconds = interval * (1 << (i / 10)); + totalWaitTimeInSeconds += waitTimeInSeconds; + Console.WriteLine("Total wait time = {0} second(s), by {1} {2}.", totalWaitTimeInSeconds, (i + 1), i == 0 ? "retry" : "retries"); + Console.WriteLine("Current VM state is {0}. Keep waiting for {1} second(s)...", vmStatus, waitTimeInSeconds); + Thread.Sleep(TimeSpan.FromSeconds(waitTimeInSeconds)); } else { @@ -1131,7 +1135,7 @@ internal static void WaitForStatus(string svcName, string vmName, string[] expSt } } - Console.WriteLine("Role status is still {0} after {1} seconds", vmStatus, interval * maxTry); + Console.WriteLine("Role status is still {0} after {1} seconds", vmStatus, totalWaitTimeInSeconds); Assert.Fail("The VM does not become ready within a given time."); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureEnvironment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureEnvironment.cs new file mode 100644 index 000000000000..6ea9b9426b5f --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureEnvironment.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo +{ + public class GetAzureEnvironmentCmdletInfo : CmdletsInfo + { + public GetAzureEnvironmentCmdletInfo(string name, string subscriptionDataFile) + { + cmdletName = Utilities.GetAzureEnvironmentCmdletName; + + if (!string.IsNullOrEmpty(name)) + { + this.cmdletParams.Add(new CmdletParam("Name", name)); + } + if (!string.IsNullOrEmpty(subscriptionDataFile)) + { + this.cmdletParams.Add(new CmdletParam("SubscriptionDataFile", subscriptionDataFile)); + } + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureSubscriptionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureSubscriptionCmdletInfo.cs similarity index 98% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureSubscriptionCmdletInfo.cs rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureSubscriptionCmdletInfo.cs index e0447a15b106..328a1960afe6 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/GetAzureSubscriptionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/GetAzureSubscriptionCmdletInfo.cs @@ -14,7 +14,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo { public class GetAzureSubscriptionCmdletInfo : CmdletsInfo { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs similarity index 84% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs index ecf5eef9f59a..9461d9df0e8c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/ImportAzurePublishSettingsFileCmdletInfo.cs @@ -14,14 +14,18 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo { public class ImportAzurePublishSettingsFileCmdletInfo : CmdletsInfo { - public ImportAzurePublishSettingsFileCmdletInfo(string publishSettingsFile) + public ImportAzurePublishSettingsFileCmdletInfo(string publishSettingsFile, string env = null) { cmdletName = Utilities.ImportAzurePublishSettingsFileCmdletName; cmdletParams.Add(new CmdletParam("PublishSettingsFile", publishSettingsFile)); + if (! string.IsNullOrEmpty(env)) + { + cmdletParams.Add(new CmdletParam("Environment", env)); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs similarity index 97% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs index 24f343053039..a9bd827dafca 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/RemoveAzureSubscriptionCmdletInfo.cs @@ -14,7 +14,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo { public class RemoveAzureSubscriptionCmdletInfo : CmdletsInfo { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureSubscriptionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/SetAzureSubscriptionCmdletInfo.cs similarity index 98% rename from src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureSubscriptionCmdletInfo.cs rename to src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/SetAzureSubscriptionCmdletInfo.cs index f4740fb4069f..0f750f2ac030 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureSubscriptionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SubscriptionCmdletInfo/SetAzureSubscriptionCmdletInfo.cs @@ -14,7 +14,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo { public class SetAzureSubscriptionCmdletInfo : CmdletsInfo { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs index 22f433bb3d44..156d8a26c35a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs @@ -85,6 +85,7 @@ internal class Utilities public const string SetAzureDeploymentCmdletName = "Set-AzureDeployment"; public const string RemoveAzureDeploymentCmdletName = "Remove-AzureDeployment"; public const string MoveAzureDeploymentCmdletName = "Move-AzureDeployment"; + public const string GetAzureDeploymentEventCmdletName = "Get-AzureDeploymentEvent"; // AzureDisk public const string AddAzureDiskCmdletName = "Add-AzureDisk"; @@ -120,6 +121,7 @@ internal class Utilities // AzurePublishSettingsFile public const string ImportAzurePublishSettingsFileCmdletName = "Import-AzurePublishSettingsFile"; public const string GetAzurePublishSettingsFileCmdletName = "Get-AzurePublishSettingsFile"; + public const string AddAzureEnvironmentCmdletName = "Add-AzureEnvironment"; // AzureQuickVM public const string NewAzureQuickVMCmdletName = "New-AzureQuickVM"; @@ -204,7 +206,11 @@ internal class Utilities public const string GetAzureSubscriptionCmdletName = "Get-AzureSubscription"; public const string SetAzureSubscriptionCmdletName = "Set-AzureSubscription"; public const string SelectAzureSubscriptionCmdletName = "Select-AzureSubscription"; - public const string RemoveAzureSubscriptionCmdletName = "Remove-AzureSubscription"; + public const string RemoveAzureSubscriptionCmdletName = "Remove-AzureSubscription"; + + // AzureEnvironment + public const string GetAzureEnvironmentCmdletName = "Get-AzureEnvironment"; + public const string SetAzureEnvironmentCmdletName = "Set-AzureEnvironment"; // AzureVhd public static string AddAzureVhdCmdletName = "Add-AzureVhd"; @@ -276,7 +282,6 @@ internal class Utilities public const string ResetAzureRoleInstanceCmdletName = "ReSet-AzureRoleInstance"; //Static CA cmdlets - public const string TestAzureStaticVNetIPCmdletName = "Test-AzureStaticVNetIP"; public const string SetAzureStaticVNetIPCmdletName = "Set-AzureStaticVNetIP"; public const string GetAzureStaticVNetIPCmdletName = "Get-AzureStaticVNetIP"; @@ -320,6 +325,12 @@ internal class Utilities public const string SetAzurePublicIPCmdletName = "Set-AzurePublicIP"; public const string GetAzurePublicIPCmdletName = "Get-AzurePublicIP"; + // NetworkInterface config + public const string AddAzureNetworkInterfaceConfig = "Add-AzureNetworkInterfaceConfig"; + public const string SetAzureNetworkInterfaceConfig = "Set-AzureNetworkInterfaceConfig"; + public const string RemoveAzureNetworkInterfaceConfig = "Remove-AzureNetworkInterfaceConfig"; + public const string GetAzureNetworkInterfaceConfig = "Get-AzureNetworkInterfaceConfig"; + // Custom script extension public const string SetAzureVMDscExtensionCmdletName = "Set-AzureVMDscExtension"; public const string GetAzureVMDscExtensionCmdletName = "Get-AzureVMDscExtension"; @@ -552,12 +563,12 @@ public static BlobHandle GetBlobHandle(string blob, string key) } /// - /// + /// Retry the given action until success or timed out. /// - /// - /// - /// - /// + /// the action + /// retry for this error message + /// the max number of retries + /// the interval between retries public static void RetryActionUntilSuccess(Action act, string errorMessage, int maxTry, int intervalSeconds) { int i = 0; @@ -565,7 +576,6 @@ public static void RetryActionUntilSuccess(Action act, string errorMessage, int { try { - act(); return; } @@ -574,17 +584,20 @@ public static void RetryActionUntilSuccess(Action act, string errorMessage, int if (e.ToString().Contains(errorMessage)) { Console.WriteLine("{0} error occurs! retrying ...", errorMessage); - Console.WriteLine(e.InnerException.ToString()); + if (e.InnerException != null) + { + Console.WriteLine(e.InnerException); + } Thread.Sleep(TimeSpan.FromSeconds(intervalSeconds)); i++; continue; } else { - Console.WriteLine(e.ToString()); + Console.WriteLine(e); if (e.InnerException != null) { - Console.WriteLine(e.InnerException.ToString()); + Console.WriteLine(e.InnerException); } throw; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs index fe8d0228c916..d51ceb2ff266 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs @@ -769,30 +769,6 @@ public PersistentVM CreateIaaSVMObjectWithDisk(string vmName, InstanceSize size, return vmPowershellCmdlets.AddAzureDataDisk(azureDataDiskConfigInfo1); } - public string UploadVhdFile() - { - // Choose the vhd file from local machine - var vhdName = Convert.ToString(TestContext.DataRow["vhdName"]); - var vhdLocalPath = new FileInfo(Directory.GetCurrentDirectory() + "\\" + vhdName); - Assert.IsTrue(File.Exists(vhdLocalPath.FullName), "VHD file not exist={0}", vhdLocalPath); - - // Get the pre-calculated MD5 hash of the fixed vhd that was converted from the original vhd. - string md5hash = Convert.ToString(TestContext.DataRow["MD5hash"]); - - - // Set the destination - string vhdBlobName = string.Format("{0}/{1}.vhd", vhdContainerName, Utilities.GetUniqueShortName(Path.GetFileNameWithoutExtension(vhdName))); - string vhdDestUri = blobUrlRoot + vhdBlobName; - - // Start uploading... - Console.WriteLine("uploads {0} to {1}", vhdName, vhdBlobName); - vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, vhdDestUri); - var vhdUploadContext = vmPowershellCmdlets.AddAzureVhd(vhdLocalPath, vhdDestUri, true); - Console.WriteLine("uploading completed: {0}", vhdName); - - return vhdDestUri; - } - public void DeleteVMImageIfExists(string vmImageName) { try diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/GetAzureVMChefExtensionCommandTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/GetAzureVMChefExtensionCommandTests.cs new file mode 100644 index 000000000000..8b7ea0b84a0b --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/GetAzureVMChefExtensionCommandTests.cs @@ -0,0 +1,84 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Linq; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Utilities; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.UnitTests.Cmdlets.IaaS.Extensions +{ + public class MockIPersistentVMForChefExtension : IPersistentVM + { + public PersistentVM GetInstance() + { + ResourceExtensionReference extensionRef = null; + extensionRef = new ResourceExtensionReference() + { + Name = "ChefClient", + Publisher = "Chef.Bootstrap.WindowsAzure,", + Version = "11.0" + }; + + var resourceList = new ResourceExtensionReferenceList(); + resourceList.Add(extensionRef); + + return new PersistentVM() + { + ResourceExtensionReferences = resourceList, + OSVirtualHardDisk = new OSVirtualHardDisk() { OS = "Windows" } + }; + } + } + + [TestClass] + public class GetAzureVMChefExtensionCommandTests : TestBase + { + private MockCommandRuntime mockCommandRuntime; + private MockIPersistentVMForChefExtension mockIPersistentVM; + [TestInitialize] + public void SetupTest() + { + mockCommandRuntime = new MockCommandRuntime(); + mockIPersistentVM = new MockIPersistentVMForChefExtension(); + } + + [TestCleanup] + public void CleanupTest() + { + } + public class GetAzureVMChefExtensionCommandStub : GetAzureVMChefExtensionCommand + { + public GetAzureVMChefExtensionCommandStub() { } + } + + [TestMethod] + public void GetAzureVMChefExtensionExecuteChefCommand() + { + var getChefExtension = new GetAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM + }; + + getChefExtension.ExecuteCommand(); + + Assert.AreEqual(1, mockCommandRuntime.OutputPipeline.Count, "One item should be in the output pipeline"); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/RemoveAzureVMChefExtensionCommandTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/RemoveAzureVMChefExtensionCommandTests.cs new file mode 100644 index 000000000000..9b938f1d1831 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/RemoveAzureVMChefExtensionCommandTests.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Linq; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Utilities; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.UnitTests.Cmdlets.IaaS.Extensions +{ + + [TestClass] + public class RemoveAzureVMChefExtensionCommandTests : TestBase + { + private MockCommandRuntime mockCommandRuntime; + private MockIPersistentVMForChefExtension mockIPersistentVM; + [TestInitialize] + public void SetupTest() + { + mockCommandRuntime = new MockCommandRuntime(); + mockIPersistentVM = new MockIPersistentVMForChefExtension(); + } + + [TestCleanup] + public void CleanupTest() + { + } + public class RemoveAzureVMChefExtensionCommandStub : RemoveAzureVMChefExtensionCommand + { + public RemoveAzureVMChefExtensionCommandStub() { } + } + + [TestMethod] + public void RemoveAzureVMChefExtensionExecuteChefCommand() + { + + var getChefExtension = new RemoveAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM, + }; + + getChefExtension.ExecuteCommand(); + Assert.AreEqual(1, mockCommandRuntime.OutputPipeline.Count, "One item should be in the output pipeline"); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/SetAzureVMChefExtensionCommandTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/SetAzureVMChefExtensionCommandTests.cs new file mode 100644 index 000000000000..5e842d0eafd5 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/UnitTests/Cmdlets/IaaS/Extensions/SetAzureVMChefExtensionCommandTests.cs @@ -0,0 +1,120 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Linq; +using System.IO; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Utilities; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.UnitTests.Cmdlets.IaaS.Extensions +{ + + [TestClass] + public class SetAzureVMChefExtensionCommandTests : TestBase + { + private MockCommandRuntime mockCommandRuntime; + private MockIPersistentVMForChefExtension mockIPersistentVM; + private string tmpfile = Path.GetTempFileName(); + + [TestInitialize] + public void SetupTest() + { + mockCommandRuntime = new MockCommandRuntime(); + mockIPersistentVM = new MockIPersistentVMForChefExtension(); + } + + [TestCleanup] + public void CleanupTest() + { + File.Delete(tmpfile); + } + + public class SetAzureVMChefExtensionCommandStub : SetAzureVMChefExtensionCommand + { + public SetAzureVMChefExtensionCommandStub() { } + } + + [TestMethod] + public void SetAzureVMChefExtensionExecuteChefCommand() + { + var setChefExtension = new SetAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM, + Version = "11.10", + ValidationPem = tmpfile, + ClientRb = tmpfile + }; + + setChefExtension.ExecuteCommand(); + Assert.AreEqual(1, mockCommandRuntime.OutputPipeline.Count, "One item should be in the output pipeline"); + } + + [TestMethod] + [ExpectedException(typeof(ArgumentException), + "Required -ClientRb or -ChefServerUrl and -ValidationClientName options.")] + public void SetAzureVMChefExtensionValidateMissingClientRBAndChefServerUrlOrValidationClientName() + { + var setChefExtension = new SetAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM, + Version = "11.10", + ValidationPem = tmpfile + }; + + setChefExtension.ExecuteCommand(); + } + + [TestMethod] + [ExpectedException(typeof(ArgumentException), + "Required -ClientRb or -ChefServerUrl and -ValidationClientName options.")] + public void SetAzureVMChefExtensionValidateGivenValidationClientNameAndMissingChefServerUrl() + { + var setChefExtension = new SetAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM, + Version = "11.10", + ValidationPem = tmpfile, + ValidationClientName = "testClient" + + }; + + setChefExtension.ExecuteCommand(); + } + + [TestMethod] + [ExpectedException(typeof(ArgumentException), + "Required -ClientRb or -ChefServerUrl and -ValidationClientName options.")] + public void SetAzureVMChefExtensionValidateGivenChefServerUrlAndMissingChefValidationClientName() + { + var setChefExtension = new SetAzureVMChefExtensionCommandStub() + { + CommandRuntime = mockCommandRuntime, + VM = mockIPersistentVM, + Version = "11.10", + ValidationPem = tmpfile, + ChefServerUrl = "https://testchefserverurl/testorg/" + + }; + + setChefExtension.ExecuteCommand(); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config index 5c2e3d0b000c..c856f193c449 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config @@ -7,14 +7,14 @@ - - - + + + - - - + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj index f42af2b10694..d3a3905461fd 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj @@ -82,32 +82,32 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.2.3.1\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -125,13 +125,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -171,6 +171,7 @@ + @@ -178,12 +179,17 @@ + + + + + @@ -200,19 +206,26 @@ + + + + + + + + - @@ -252,7 +265,6 @@ - @@ -370,17 +382,11 @@ - - - - - - @@ -411,7 +417,6 @@ - @@ -430,7 +435,6 @@ - @@ -439,7 +443,6 @@ - @@ -493,6 +496,10 @@ {5ee72c53-1720-4309-b54b-5fb79703195f} Commands.Common + + {40fee0bb-fd45-4efc-85bc-0d602a6892c4} + Commands.Network + {4900ec4e-8deb-4412-9108-0bc52f81d457} Commands.Utilities diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/BaseAzureServiceAntimalwareExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/BaseAzureServiceAntimalwareExtension.cs index ce44c6fcb845..87a78212edfe 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/BaseAzureServiceAntimalwareExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/BaseAzureServiceAntimalwareExtension.cs @@ -40,6 +40,84 @@ public abstract class BaseAzureServiceAntimalwareExtensionCmdlet : BaseAzureServ protected const string AntimalwareExtensionName = "PaaSAntimalware"; public virtual XmlDocument AntimalwareConfiguration { get; set; } + protected const string AntimalwareConfigurationXsd = +@" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +"; + // diagnostics protected const string StorageAccountElemStr = "StorageAccount"; protected const string AntimalwareDiagnosticsExtensionNamespace = "Microsoft.Azure.Diagnostics"; @@ -154,7 +232,7 @@ protected void InitializeDiagnosticsSettings() new XElement(configNameSpace + StorageAccountElemStr, new XAttribute("name", StorageContext.StorageAccountName), new XAttribute("key", StorageContext.StorageAccount.Credentials.ExportBase64EncodedKey()), - new XAttribute("endpoint", StorageContext.EndPointSuffix) + new XAttribute("endpoint", "https://" + StorageContext.EndPointSuffix) )) ); } @@ -215,7 +293,7 @@ protected HostedServiceListExtensionsResponse.Extension GetDiagnosticsExtension( where e.ProviderNamespace == AntimalwareDiagnosticsExtensionNamespace && e.Type == AntimalwareDiagnosticsExtensionName - select e).FirstOrDefault(); + select e).LastOrDefault(); } protected HostedServiceListExtensionsResponse.Extension GetAntimalwareExtension() @@ -224,7 +302,7 @@ protected HostedServiceListExtensionsResponse.Extension GetAntimalwareExtension( where e.ProviderNamespace == AntimalwareExtensionProviderNamespace && e.Type == AntimalwareExtensionName - select e).FirstOrDefault(); + select e).LastOrDefault(); } protected void RemoveExistingAntimalwareMonitoringConfig() diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/SetAzureServiceAntimalwareExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/SetAzureServiceAntimalwareExtension.cs index 7596ac77288f..15c4c996695a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/SetAzureServiceAntimalwareExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/MicrosoftAntimalware/SetAzureServiceAntimalwareExtension.cs @@ -17,6 +17,7 @@ using System.Linq; using System.Management.Automation; using System.Xml; +using System.Xml.Schema; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -193,9 +194,9 @@ protected void EnableMonitoring() } // establish the storage account name to be associated with monitoring - if (!IsValidStorageContext()) + if (!IsValidStorageContext() && (!string.IsNullOrWhiteSpace(monitoringStorageAccountName))) { - // no valid storage context exists, try to initialize storage context using config value + // no valid storage context exists, try to initialize storage context using provided account name InitializeStorageContext(monitoringStorageAccountName); } @@ -203,7 +204,7 @@ protected void EnableMonitoring() { // still unable to associate the storage account name with a valid storage context ThrowTerminatingError(new ErrorRecord( - new Exception(Resources.ServiceExtensionCannotFindStorageAccountName), + new Exception("Required storage context is missing or invalid"), string.Empty, ErrorCategory.InvalidData, null)); @@ -281,11 +282,57 @@ protected void EnableMonitoring() } } + private void ValidateAntimalwareConfigToXsd() + { + if ((AntimalwareConfiguration != null) && (!string.IsNullOrWhiteSpace(AntimalwareConfiguration.OuterXml))) + { + // load the xsd + StringReader xsdStringReader = new StringReader(AntimalwareConfigurationXsd); + XmlSchema antimalwareXsd = XmlSchema.Read(xsdStringReader, ValidationHandler); + string testXml = AntimalwareConfiguration.OuterXml; + + XmlReaderSettings settings = new XmlReaderSettings(); + settings.DtdProcessing = DtdProcessing.Prohibit; + settings.XmlResolver = null; + settings.CloseInput = true; + settings.ValidationEventHandler += ValidationHandler; + settings.ValidationType = ValidationType.Schema; + settings.Schemas.Add(antimalwareXsd); + settings.ValidationFlags = + XmlSchemaValidationFlags.ReportValidationWarnings | + XmlSchemaValidationFlags.ProcessIdentityConstraints | + XmlSchemaValidationFlags.ProcessInlineSchema | + XmlSchemaValidationFlags.ProcessSchemaLocation; + + StringReader r = new StringReader(testXml); + using (XmlReader validatingReader = XmlReader.Create(r, settings)) + { + while (validatingReader.Read()) { /* just loop through document */ } + } + } + } + + private void ValidationHandler(object sender, ValidationEventArgs e) + { + if (e.Severity == XmlSeverityType.Error || e.Severity == XmlSeverityType.Warning) + { + string validationErrorText = String.Format("XML Schema Validation Failed - Line: {0}, Position: {1} \"{2}\"",e.Exception.LineNumber, e.Exception.LinePosition, e.Exception.Message); + ThrowTerminatingError(new ErrorRecord( + new Exception(validationErrorText), + string.Empty, + ErrorCategory.InvalidData, + null)); + } + } + protected override void ValidateConfiguration() { // read values from xml file if provided if (AntimalwareConfiguration != null) { + // validate conformance to schema + ValidateAntimalwareConfigToXsd(); + // check for antimalware enabled XmlNode antimalwareEnabledNode = AntimalwareConfiguration.SelectSingleNode("//AntimalwareConfig/AntimalwareEnabled"); if ((antimalwareEnabledNode != null) && (antimalwareEnabledNode.InnerText != null)) @@ -323,6 +370,16 @@ protected override void ValidateConfiguration() // strip this node from the xml prior to passing to antimalware extension storageAccountNameNode.ParentNode.RemoveChild(storageAccountNameNode); } + + // error if configuration does not opt in to enable antimalware + if (!isAntimalwareEnabled) + { + ThrowTerminatingError(new ErrorRecord( + new Exception(Resources.ServiceExtensionCannotFindAntimalwareEnableSetting), + string.Empty, + ErrorCategory.InvalidData, + null)); + } } // process Monitoring parameter if specified (will override any setting in xml config) @@ -336,22 +393,13 @@ protected override void ValidateConfiguration() } } - // always error if user has not opted in to enable antimalware - if (!isAntimalwareEnabled) - { - ThrowTerminatingError(new ErrorRecord( - new Exception(Resources.ServiceExtensionCannotFindAntimalwareEnableSetting), - string.Empty, - ErrorCategory.InvalidData, - null)); - } } public void ExecuteCommand() { ValidateParameters(); - // set diagnostics extension + // prepare diagnostics extension switch (monitoringAction) { case MonitoringActionType.Enable : EnableMonitoring(); break; @@ -359,18 +407,22 @@ public void ExecuteCommand() default: break; } - // set antimalware extension - InitializeAntimalwareSettings(); - ExtensionConfigurationInput amExtConfigInput = new ExtensionConfigurationInput + // prepare antimalware extension + if (isAntimalwareEnabled) { - ProviderNameSpace = ProviderNamespace, - Type = ExtensionName, - PublicConfiguration = PublicConfiguration, - PrivateConfiguration = PrivateConfiguration, - Roles = new ExtensionRoleList(Role != null && Role.Any() ? Role.Select(r => new ExtensionRole(r)) : Enumerable.Repeat(new ExtensionRole(), 1)) - }; - AntimalwareExtensionConfigurationInput = amExtConfigInput; + InitializeAntimalwareSettings(); + ExtensionConfigurationInput amExtConfigInput = new ExtensionConfigurationInput + { + ProviderNameSpace = ProviderNamespace, + Type = ExtensionName, + PublicConfiguration = PublicConfiguration, + PrivateConfiguration = PrivateConfiguration, + Roles = new ExtensionRoleList(Role != null && Role.Any() ? Role.Select(r => new ExtensionRole(r)) : Enumerable.Repeat(new ExtensionRole(), 1)) + }; + AntimalwareExtensionConfigurationInput = amExtConfigInput; + } + // update extensions as appropriate ExtensionConfigurationInput[] extConfigInputs = null; if (AntimalwareExtensionConfigurationInput != null && AntimalwareMonitoringExtensionConfigurationInput != null) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureDeploymentEvent.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureDeploymentEvent.cs new file mode 100644 index 000000000000..647bb12acf0f --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureDeploymentEvent.cs @@ -0,0 +1,89 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Compute.Models; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.HostedServices +{ + /// + /// View details of deployment events. + /// + [Cmdlet(VerbsCommon.Get, "AzureDeploymentEvent", DefaultParameterSetName = GetDeploymentEventBySlotParamSet)] + [OutputType(typeof(DeploymentRebootEventContext))] + public class GetAzureDeploymentEventCommand : ServiceManagementBaseCmdlet + { + protected const string GetDeploymentEventByNameParamSet = "GetDeploymentEventByName"; + protected const string GetDeploymentEventBySlotParamSet = "GetDeploymentEventBySlot"; + + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Service name.")] + public string ServiceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "Start time.")] + public DateTime StartTime { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = "End time.")] + public DateTime EndTime { get; set; } + + [Parameter(ParameterSetName = GetDeploymentEventByNameParamSet, Position = 1, Mandatory = true, HelpMessage = "Deployment name.")] + [ValidateNotNullOrEmpty] + public string DeploymentName { get; set; } + + [Parameter(ParameterSetName = GetDeploymentEventBySlotParamSet, Position = 3, HelpMessage = "Deployment slot.")] + [ValidateSet(DeploymentSlotType.Staging, DeploymentSlotType.Production, IgnoreCase = true)] + public string Slot { get; set; } + + protected override void OnProcessRecord() + { + ServiceManagementProfile.Initialize(); + + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => + { + if (!string.IsNullOrEmpty(this.DeploymentName)) + { + return this.ComputeClient.Deployments.ListEvents(this.ServiceName, this.DeploymentName, this.StartTime, this.EndTime); + } + else + { + this.Slot = string.IsNullOrEmpty(this.Slot) ? DeploymentSlotType.Production : this.Slot; + var slot = (DeploymentSlot)Enum.Parse(typeof(DeploymentSlot), this.Slot, true); + return this.ComputeClient.Deployments.ListEventsBySlot(this.ServiceName, slot, this.StartTime, this.EndTime); + } + }, + (s, d) => + { + return d.DeploymentEvents.Select(e => new DeploymentRebootEventContext + { + OperationId = s.Id, + OperationStatus = s.Status.ToString(), + OperationDescription = CommandRuntime.ToString(), + ServiceName = this.ServiceName, + DeploymentName = this.DeploymentName, + DeploymentSlot = this.Slot, + InstanceName = e.InstanceName, + RebootReason = e.RebootReason, + RebootStartTime = e.RebootStartTime, + RoleName = e.RoleName + }); + }); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/AddAzureEndpoint.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/AddAzureEndpoint.cs index 35ec6a49d430..ef330462c84a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/AddAzureEndpoint.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/AddAzureEndpoint.cs @@ -93,6 +93,11 @@ public class AddAzureEndpoint : VirtualMachineConfigurationCmdletBase [ValidateNotNullOrEmpty] public int? IdleTimeoutInMinutes { get; set; } + [Parameter(HelpMessage = "LoadBalancerDistribution.")] + [ValidateSet("sourceIP", "sourceIPProtocol", "none", IgnoreCase = true)] + [ValidateNotNullOrEmpty] + public string LoadBalancerDistribution { get; set; } + internal void ExecuteCommand() { this.ValidateParameters(); @@ -120,6 +125,7 @@ internal void ExecuteCommand() EnableDirectServerReturn = this.DirectServerReturn, LoadBalancerName = this.InternalLoadBalancerName, IdleTimeoutInMinutes = this.ParameterSpecified("IdleTimeoutInMinutes") ? this.IdleTimeoutInMinutes : null, + LoadBalancerDistribution = this.ParameterSpecified("LoadBalancerDistribution") ? this.LoadBalancerDistribution : null, }; if (this.ParameterSetName == AddAzureEndpoint.LBNoProbeParameterSet diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/GetAzureEndpoint.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/GetAzureEndpoint.cs index c7ed78579c1a..8a9d3d9ed808 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/GetAzureEndpoint.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/GetAzureEndpoint.cs @@ -77,6 +77,7 @@ protected Collection GetInputEndpoints() EnableDirectServerReturn = ep.EnableDirectServerReturn, InternalLoadBalancerName = ep.LoadBalancerName, IdleTimeoutInMinutes = ep.IdleTimeoutInMinutes, + LoadBalancerDistribution = ep.LoadBalancerDistribution }; if (ep.LoadBalancerProbe != null && string.IsNullOrEmpty(endpointCtx.LBSetName) == false) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureEndpoint.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureEndpoint.cs index d0e5feb43bd6..5ad921c17c2c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureEndpoint.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureEndpoint.cs @@ -90,6 +90,15 @@ public int IdleTimeoutInMinutes set; } + [Parameter(HelpMessage = "LoadBalancerDistribution.")] + [ValidateSet("sourceIP", "sourceIPProtocol", "none", IgnoreCase = true)] + [ValidateNotNullOrEmpty] + public string LoadBalancerDistribution + { + get; + set; + } + internal void ExecuteCommand() { ValidateParameters(); @@ -142,6 +151,11 @@ internal void ExecuteCommand() endpoint.IdleTimeoutInMinutes = this.IdleTimeoutInMinutes; } + if (this.ParameterSpecified("LoadBalancerDistribution")) + { + endpoint.LoadBalancerDistribution = this.LoadBalancerDistribution; + } + WriteObject(VM, true); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureLoadBalancedEndpoint.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureLoadBalancedEndpoint.cs index b51daf585ad9..5a91e86b088e 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureLoadBalancedEndpoint.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Endpoints/SetAzureLoadBalancedEndpoint.cs @@ -82,6 +82,11 @@ public class SetAzureLoadBalancedEndpoint : IaaSDeploymentManagementCmdletBase [ValidateNotNullOrEmpty] public int IdleTimeoutInMinutes { get; set; } + [Parameter(HelpMessage = "LoadBalancerDistribution.")] + [ValidateSet("sourceIP", "sourceIPProtocol", "none", IgnoreCase = true)] + [ValidateNotNullOrEmpty] + public string LoadBalancerDistribution { get; set; } + protected override void ExecuteCommand() { ServiceManagementProfile.Initialize(); @@ -142,6 +147,7 @@ protected override void ExecuteCommand() VirtualIPAddress = endpoint.Vip, LoadBalancerName = this.InternalLoadBalancerName, IdleTimeoutInMinutes = endpoint.IdleTimeoutInMinutes, + LoadBalancerDistribution = endpoint.LoadBalancerDistribution, }).ToList() }; @@ -196,6 +202,11 @@ private void UpdateEndpointProperties(PVM.InputEndpoint endpoint) endpoint.IdleTimeoutInMinutes = this.IdleTimeoutInMinutes; } + if (this.ParameterSpecified("LoadBalancerDistribution")) + { + endpoint.LoadBalancerDistribution = this.LoadBalancerDistribution; + } + if (this.ParameterSpecified("DirectServerReturn")) { endpoint.EnableDirectServerReturn = this.DirectServerReturn; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/GetAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/GetAzureVMChefExtension.cs new file mode 100644 index 000000000000..ef94bec920c1 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/GetAzureVMChefExtension.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + [Cmdlet( + VerbsCommon.Get, + VirtualMachineChefExtensionNoun), + OutputType( + typeof(VirtualMachineExtensionContext))] + public class GetAzureVMChefExtensionCommand : VirtualMachineChefExtensionCmdletBase + { + + internal void ExecuteCommand() + { + base.extensionName = GetPlatformSpecificExtensionName(); + var extensionRefs = GetPredicateExtensionList(); + WriteObject( + extensionRefs == null ? null : extensionRefs.Select( + r => new VirtualMachineExtensionContext + { + ExtensionName = r.Name, + Publisher = r.Publisher, + ReferenceName = r.ReferenceName, + Version = r.Version, + State = r.State + }).FirstOrDefault()); + } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + ExecuteCommand(); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/RemoveAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/RemoveAzureVMChefExtension.cs new file mode 100644 index 000000000000..13e960e4cfef --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/RemoveAzureVMChefExtension.cs @@ -0,0 +1,39 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + [Cmdlet( + VerbsCommon.Remove, + VirtualMachineChefExtensionNoun), + OutputType(typeof(IPersistentVM))] + public class RemoveAzureVMChefExtensionCommand : VirtualMachineChefExtensionCmdletBase + { + + internal void ExecuteCommand() + { + base.extensionName = GetPlatformSpecificExtensionName(); + RemovePredicateExtensions(); + WriteObject(VM); + } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + ExecuteCommand(); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs new file mode 100644 index 000000000000..8208a8b9a1a6 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs @@ -0,0 +1,226 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Linq; +using System; +using System.IO; +using System.Text.RegularExpressions; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + [Cmdlet( + VerbsCommon.Set, + VirtualMachineChefExtensionNoun, + DefaultParameterSetName = WindowsParameterSetName), + OutputType( + typeof(IPersistentVM))] + public class SetAzureVMChefExtensionCommand : VirtualMachineChefExtensionCmdletBase + { + protected const string LinuxParameterSetName = OS.Linux; + protected const string WindowsParameterSetName = OS.Windows; + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Extension Version. Default is the latest available version")] + [ValidateNotNullOrEmpty] + public override string Version { get; set; } + + [Parameter( + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef Server Validation Key File Path.")] + [ValidateNotNullOrEmpty] + public string ValidationPem { get; set; } + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef Server Client Config (ClientRb)File Path.")] + [ValidateNotNullOrEmpty] + public string ClientRb { get; set; } + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef Server Node Runlist.")] + [ValidateNotNullOrEmpty] + public string RunList { get; set; } + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef Server Url.")] + [ValidateNotNullOrEmpty] + public string ChefServerUrl { get; set; } + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef ValidationClientName," + + " used to determine whether a chef-client may register with a Chef server.")] + [ValidateNotNullOrEmpty] + public string ValidationClientName { get; set; } + + [Parameter( + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Chef Organization name, used to form Validation Client Name.")] + [ValidateNotNullOrEmpty] + public string OrganizationName { get; set; } + + [Parameter( + Mandatory = true, + ParameterSetName = LinuxParameterSetName, + HelpMessage = "Set extension for Linux.")] + public SwitchParameter Linux { get; set; } + + [Parameter( + Mandatory = true, + ParameterSetName = WindowsParameterSetName, + HelpMessage = "Set extension for Windows.")] + public SwitchParameter Windows { get; set; } + + internal void ExecuteCommand() + { + SetDefault(); + ValidateParameters(); + SetPrivateConfig(); + SetPublicConfig(); + RemovePredicateExtensions(); + AddResourceExtension(); + WriteObject(VM); + } + + private string GetLatestChefExtensionVersion() + { + var extensionList = this.ComputeClient.VirtualMachineExtensions.List(); + return extensionList.ResourceExtensions.Where( + extension => extension.Publisher == ExtensionDefaultPublisher + && extension.Name == base.extensionName).Max(extension => extension.Version); + } + + private void SetDefault() + { + bool IsOrganizationNameEmpty = string.IsNullOrEmpty(this.OrganizationName); + + // form validation client name using organization name. + if (!IsOrganizationNameEmpty) + { + this.ValidationClientName = this.OrganizationName + "-validator"; + } + + if (this.Linux.IsPresent) + { + base.extensionName = LinuxExtensionName; + } + else if (this.Windows.IsPresent) + { + base.extensionName = ExtensionDefaultName; + } + this.Version = this.Version ?? GetLatestChefExtensionVersion(); + } + + private void SetPrivateConfig() + { + this.PrivateConfiguration = string.Format(PrivateConfigurationTemplate, + File.ReadAllText(this.ValidationPem).TrimEnd('\r', '\n')); + } + + private void SetPublicConfig() + { + string ClientConfig = string.Empty; + bool IsClientRbEmpty = string.IsNullOrEmpty(this.ClientRb); + bool IsChefServerUrlEmpty = string.IsNullOrEmpty(this.ChefServerUrl); + bool IsValidationClientNameEmpty = string.IsNullOrEmpty(this.ValidationClientName); + bool IsRunListEmpty = string.IsNullOrEmpty(this.RunList); + + //Cases handled: + // 1. When clientRb given by user and: + // 1.1 if ChefServerUrl and ValidationClientName given then append it to end of ClientRb + // 1.2 if ChefServerUrl given then append it to end of ClientRb + // 1.3 if ValidationClientName given then append it to end of ClientRb + // 2. When ClientRb not given but ChefServerUrl and ValidationClientName given by user then + // create ClientRb config using these values. + + if (!IsClientRbEmpty) + { + ClientConfig = Regex.Replace(File.ReadAllText(this.ClientRb), + "\"|'", "\\\"").TrimEnd('\r', '\n'); + // Append ChefServerUrl and ValidationClientName to end of ClientRb + if (!IsChefServerUrlEmpty && !IsValidationClientNameEmpty) + { + string UserConfig = @" +chef_server_url \""{0}\"" +validation_client_name \""{1}\"" +"; + ClientConfig += string.Format(UserConfig, this.ChefServerUrl, this.ValidationClientName); + } + // Append ChefServerUrl to end of ClientRb + else if (!IsChefServerUrlEmpty) + { + string UserConfig = @" +chef_server_url \""{0}\"" +"; + ClientConfig += string.Format(UserConfig, this.ChefServerUrl); + } + // Append ValidationClientName to end of ClientRb + else if (!IsValidationClientNameEmpty) + { + string UserConfig = @" +validation_client_name \""{0}\"" +"; + ClientConfig += string.Format(UserConfig, this.ValidationClientName); + } + } + // Create ClientRb config using ChefServerUrl and ValidationClientName + else if (!IsChefServerUrlEmpty && !IsValidationClientNameEmpty) + { + string UserConfig = @" +chef_server_url \""{0}\"" +validation_client_name \""{1}\"" +"; + ClientConfig = string.Format(UserConfig, this.ChefServerUrl, this.ValidationClientName); + } + + if (IsRunListEmpty) + { + this.PublicConfiguration = string.Format("{{{0}}}", + string.Format(ClientRbTemplate, ClientConfig)); + } + else + { + this.PublicConfiguration = string.Format("{{{0},{1}}}", + string.Format(ClientRbTemplate, ClientConfig), + string.Format(RunListTemplate, this.RunList)); + } + } + + protected override void ValidateParameters() + { + base.ValidateParameters(); + bool IsClientRbEmpty = string.IsNullOrEmpty(this.ClientRb); + bool IsChefServerUrlEmpty = string.IsNullOrEmpty(this.ChefServerUrl); + bool IsValidationClientNameEmpty = string.IsNullOrEmpty(this.ValidationClientName); + // Validate ClientRb or ChefServerUrl and ValidationClientName should exist. + if (IsClientRbEmpty && (IsChefServerUrlEmpty || IsValidationClientNameEmpty)) + { + throw new ArgumentException( + "Required -ClientRb or -ChefServerUrl and -ValidationClientName options."); + } + } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + ExecuteCommand(); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs new file mode 100644 index 000000000000..edef71c6b0e9 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/VirtualMachineChefExtensionCmdletBase.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + public class VirtualMachineChefExtensionCmdletBase : VirtualMachineExtensionCmdletBase + { + protected const string VirtualMachineChefExtensionNoun = "AzureVMChefExtension"; + + protected const string ExtensionDefaultPublisher = "Chef.Bootstrap.WindowsAzure"; + protected const string ExtensionDefaultName = "ChefClient"; + protected const string LinuxExtensionName = "LinuxChefClient"; + protected const string PrivateConfigurationTemplate = "{{\"validation_key\":\"{0}\"}}"; + protected const string ClientRbTemplate = "\"client_rb\":\"{0}\""; + protected const string RunListTemplate = "\"runlist\": \"\\\"{0}\\\"\""; + + public VirtualMachineChefExtensionCmdletBase() + { + base.publisherName = ExtensionDefaultPublisher; + } + + // Currently we have platform-wise extension names, + // So it uses VM object's platform details to find out platform specific extension name. + // This helper method is used for Get/Remove AzureVMChefExtension. + protected string GetPlatformSpecificExtensionName() + { + var vm = VM.GetInstance(); + if (vm.OSVirtualHardDisk != null) + { + return vm.OSVirtualHardDisk.OS.Equals("Windows", + System.StringComparison.OrdinalIgnoreCase) ? ExtensionDefaultName : LinuxExtensionName; + } + else { return null; } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs index 41bf4743f36c..bed707a519b4 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs @@ -196,6 +196,50 @@ public class SetAzureVMExtensionCommand : VirtualMachineExtensionCmdletBase HelpMessage = "To Set the Extension State to 'Uninstall'.")] public override SwitchParameter Uninstall { get; set; } + [Parameter( + ParameterSetName = SetByExtensionParamSetName, + Position = 9, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Public Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByReferenceParamSetName, + Position = 6, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Public Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByExtensionAndConfigFileParamSetName, + Position = 9, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Public Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByReferenceAndConfigFileParamSetName, + Position = 6, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Public Configuration's Reference Key.")] + public override string PublicConfigKey { get; set; } + + [Parameter( + ParameterSetName = SetByExtensionParamSetName, + Position = 10, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Private Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByReferenceParamSetName, + Position = 7, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Private Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByExtensionAndConfigFileParamSetName, + Position = 10, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Private Configuration's Reference Key.")] + [Parameter( + ParameterSetName = SetByReferenceAndConfigFileParamSetName, + Position = 7, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The Private Configuration's Reference Key.")] + public override string PrivateConfigKey { get; set; } + internal void ExecuteCommand() { ValidateParameters(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs index f729b8b8b3e6..9d4a84bd1257 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs @@ -70,6 +70,8 @@ public virtual string Publisher public virtual string Version { get; set; } public virtual string ReferenceName { get; set; } + public virtual string PublicConfigKey { get; set; } + public virtual string PrivateConfigKey { get; set; } public virtual string PublicConfiguration { get; set; } public virtual string PrivateConfiguration { get; set; } public virtual string PublicConfigPath { get; set; } @@ -216,7 +218,8 @@ protected ResourceExtensionReference NewResourceExtension() extensionRef.ResourceExtensionParameterValues.Add( new ResourceExtensionParameterValue { - Key = ExtensionName + (IsLegacyExtension() ? string.Empty : PublicTypeStr) + "ConfigParameter", + Key = !string.IsNullOrEmpty(this.PublicConfigKey) ? this.PublicConfigKey + : ExtensionName + (IsLegacyExtension() ? string.Empty : PublicTypeStr) + "ConfigParameter", Type = IsLegacyExtension() ? null : PublicTypeStr, Value = PublicConfiguration }); @@ -232,7 +235,8 @@ protected ResourceExtensionReference NewResourceExtension() extensionRef.ResourceExtensionParameterValues.Add( new ResourceExtensionParameterValue { - Key = ExtensionName + (IsLegacyExtension() ? string.Empty : PrivateTypeStr) + "ConfigParameter", + Key = !string.IsNullOrEmpty(this.PrivateConfigKey) ? this.PrivateConfigKey + : ExtensionName + (IsLegacyExtension() ? string.Empty : PrivateTypeStr) + "ConfigParameter", Type = IsLegacyExtension() ? null : PrivateTypeStr, SecureValue = SecureStringHelper.GetSecureString(PrivateConfiguration) }); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ConfigurationParsingHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ConfigurationParsingHelper.cs index 65a7eba9ca6d..9040556fbdde 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ConfigurationParsingHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ConfigurationParsingHelper.cs @@ -131,7 +131,8 @@ public static string GetModuleNameForDscResource(string resourceName) { using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) { - powershell.AddCommand("Get-DscResource").AddParameter("Name", resourceName). + powershell.AddCommand("Get-DscResource"). + AddCommand("Where-Object").AddParameter("Property", "ResourceType").AddParameter("Value", resourceName).AddParameter("EQ", true). AddCommand("Foreach-Object").AddParameter("MemberName", "Module"). AddCommand("Foreach-Object").AddParameter("MemberName", "Name"); moduleName = powershell.Invoke().First(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/DscSettingsSerializer.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/DscSettingsSerializer.cs new file mode 100644 index 000000000000..5f9293030da6 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/DscSettingsSerializer.cs @@ -0,0 +1,182 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Management.Automation; +using System.Runtime.InteropServices; +using System.Security; +using System.Text; +using System.Threading.Tasks; + +using Newtonsoft.Json; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.DSC +{ + public class DscSettingsSerializer + { + /// + /// Serialize DscPublicSettings to string. + /// + /// + /// + public static string SerializePublicSettings(DscPublicSettings publicSettings) + { + return JsonConvert.SerializeObject(publicSettings); + } + + /// + /// Serialize DscPrivateSettings to string. + /// + /// + /// + public static string SerializePrivateSettings(DscPrivateSettings privateSettings) + { + return JsonConvert.SerializeObject(privateSettings); + } + + public static DscPublicSettings DeserializePublicSettings(string publicSettingsString) + { + DscPublicSettings publicSettings = null; + try + { + publicSettings = string.IsNullOrEmpty(publicSettingsString) + ? null + : JsonConvert.DeserializeObject(publicSettingsString); + } + catch (JsonException) + { + // Try deserialize as version 1.0 + try + { + DscPublicSettings.Version1 publicSettingsV1 = + JsonConvert.DeserializeObject(publicSettingsString); + publicSettings = publicSettingsV1.ToCurrentVersion(); + } + catch (JsonException e) + { + throw e; + } + } + return publicSettings; + } + + /// + /// Convert hashtable of public settings into two parts: + /// 1) Array of public settings in format: + /// [ + /// { + /// "Name": "String Parameter", + /// "Value": "String Value", + /// "TypeName": "System.String" + /// } + /// ] + /// 2) Private settings hashtable. We extract all sensitive information (like password from PSCredential) + /// and store it in private settings. Public settings will reference them in form: + /// { + /// "Name": "AdminCredential", + /// "Value": + /// { + /// "Password" : "PrivateSettings:28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" + /// "UserName" : "DOMAIN\LOGIN" + /// }, + /// "TypeName": "System.Management.Automation.PSCredential" + /// } + /// and private hashtable will look like that: + /// { + /// "28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" : "password" + /// } + /// + /// + /// tuple of array (public settings) and hashtable (private settings) + public static Tuple SeparatePrivateItems(Hashtable arguments) + { + var publicSettings = new List(); + var privateSettings = new Hashtable(); + if (arguments != null) + { + foreach (DictionaryEntry argument in arguments) + { + object entryValue = argument.Value; + string entryType = argument.Value == null ? "null" : argument.Value.GetType().ToString(); + string entryName = argument.Key.ToString(); + // Special case for PSCredential + PSCredential credential = argument.Value as PSCredential; + if (credential == null) + { + PSObject psObject = argument.Value as PSObject; + if (psObject != null) + { + credential = psObject.BaseObject as PSCredential; + } + } + if (credential != null) + { + // plainTextPassword is a string object with sensitive information in plain text. + // We pass it to 3rd party serializer which may create copies of the string. + string plainTextPassword = ConvertToUnsecureString(credential.Password); + string userName = credential.UserName; + string passwordRef = Guid.NewGuid().ToString(); + privateSettings.Add(passwordRef, plainTextPassword); + var newValue = new Hashtable(); + newValue["UserName"] = String.Format(CultureInfo.InvariantCulture, userName); + newValue["Password"] = String.Format(CultureInfo.InvariantCulture, "PrivateSettingsRef:{0}", + passwordRef); + entryValue = newValue; + entryType = typeof (PSCredential).ToString(); + } + + var entry = new DscPublicSettings.Property() + { + Name = entryName, + TypeName = entryType, + Value = entryValue, + }; + publicSettings.Add(entry); + } + } + return new Tuple(publicSettings.ToArray(), privateSettings); + } + + /// + /// Converte SecureString to String. + /// + /// + /// This method creates a managed object with sensitive information and undetermined lifecycle. + /// + /// + /// + private static string ConvertToUnsecureString(SecureString source) + { + if (source == null) + throw new ArgumentNullException("source"); + + IntPtr unmanagedString = IntPtr.Zero; + try + { + unmanagedString = Marshal.SecureStringToGlobalAllocUnicode(source); + return Marshal.PtrToStringUni(unmanagedString); + } + finally + { + Marshal.ZeroFreeGlobalAllocUnicode(unmanagedString); + } + } + + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs index cdbe095861cd..abc52a38db9b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs @@ -19,6 +19,7 @@ using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.DSC; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Newtonsoft.Json; @@ -46,27 +47,21 @@ internal void ExecuteCommand() DscPublicSettings publicSettings = null; try { - publicSettings = string.IsNullOrEmpty(PublicConfiguration) - ? null - : JsonConvert.DeserializeObject(PublicConfiguration); + publicSettings = DscSettingsSerializer.DeserializePublicSettings(PublicConfiguration); } - catch (JsonException) + catch (JsonException e) { - // Try deserialize as version 1.0 - try - { - DscPublicSettings.Version1 publicSettingsV1 = JsonConvert.DeserializeObject(PublicConfiguration); - publicSettings = publicSettingsV1.ToCurrentVersion(); - } - catch (JsonException e) - { - this.ThrowTerminatingError(new ErrorRecord(new JsonException(String.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.AzureVMDscWrongSettingsFormat, - PublicConfiguration), e), string.Empty, + this.ThrowTerminatingError( + new ErrorRecord( + new JsonException( + String.Format( + CultureInfo.CurrentUICulture, + Properties.Resources.AzureVMDscWrongSettingsFormat, + PublicConfiguration), + e), + string.Empty, ErrorCategory.ParserError, null)); - } } var context = new VirtualMachineDscExtensionContext { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/PublishAzureVMDscConfiguration.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/PublishAzureVMDscConfiguration.cs index 4b212ab246aa..5ac9fb54e776 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/PublishAzureVMDscConfiguration.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/PublishAzureVMDscConfiguration.cs @@ -168,9 +168,9 @@ protected void ValidatePsVersion() new ErrorRecord( new InvalidOperationException( string.Format(CultureInfo.CurrentUICulture, Resources.PublishVMDscExtensionRequiredPsVersion, MinMajorPowerShellVersion, major)), - string.Empty, - ErrorCategory.InvalidOperation, - null)); + "InvalidPowerShellVersion", + ErrorCategory.InvalidOperation, + null)); } } } @@ -245,7 +245,7 @@ private string CreateConfigurationArchive() } catch (GetDscResourceException e) { - ThrowTerminatingError(new ErrorRecord(e, string.Empty, ErrorCategory.PermissionDenied, null)); + ThrowTerminatingError(new ErrorRecord(e, "CannotAccessDscResource", ErrorCategory.PermissionDenied, null)); } if (parseResult.Errors.Any()) { @@ -257,7 +257,7 @@ private string CreateConfigurationArchive() Resources.PublishVMDscExtensionStorageParserErrors, this.ConfigurationPath, String.Join("\n", parseResult.Errors.Select(error => error.ToString())))), - string.Empty, + "DscConfigurationParseError", ErrorCategory.ParserError, null)); } @@ -322,7 +322,7 @@ private string CreateConfigurationArchive() this.ThrowTerminatingError( new ErrorRecord( new UnauthorizedAccessException(string.Format(CultureInfo.CurrentUICulture, Resources.AzureVMDscArchiveAlreadyExists, archive)), - string.Empty, + "FileAlreadyExists", ErrorCategory.PermissionDenied, null)); } @@ -357,7 +357,7 @@ private void UploadConfigurationArchive(string archivePath) this.ThrowTerminatingError( new ErrorRecord( new UnauthorizedAccessException(string.Format(CultureInfo.CurrentUICulture, Resources.AzureVMDscStorageBlobAlreadyExists, modulesBlob.Uri.AbsoluteUri)), - string.Empty, + "StorageBlobAlreadyExists", ErrorCategory.PermissionDenied, null)); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs index 9e7ba7c9becb..2b930f601209 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs @@ -59,7 +59,7 @@ public static StorageCredentials GetStorageCredentials(this ServiceManagementBas cmdlet.ThrowTerminatingError( new ErrorRecord( new UnauthorizedAccessException(Resources.AzureVMDscDefaultStorageCredentialsNotFound), - string.Empty, + "CredentialsNotFound", ErrorCategory.PermissionDenied, null)); } @@ -77,7 +77,7 @@ public static void ThrowInvalidArgumentError(this ServiceManagementBaseCmdlet cm cmdlet.ThrowTerminatingError( new ErrorRecord( new ArgumentException(string.Format(CultureInfo.CurrentUICulture, format, args)), - string.Empty, + "InvalidArgument", ErrorCategory.InvalidArgument, null)); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs index b880dc75df37..a460b4379118 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs @@ -19,17 +19,13 @@ using System.Globalization; using System.IO; using System.Management.Automation; -using System.Runtime.InteropServices; -using System.Security; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.DSC; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; -using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; -using Newtonsoft.Json; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions { @@ -41,9 +37,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// /// The Extension Reference Name /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "The Extension Reference Name")] + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The Extension Reference Name")] [ValidateNotNullOrEmpty] public override string ReferenceName { get; set; } @@ -51,8 +45,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// A hashtable specifying the arguments to the ConfigurationFunction. The keys /// correspond to the parameter names and the values to the parameter values. /// - [Parameter( - ValueFromPipelineByPropertyName = true, + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "A hashtable specifying the arguments to the ConfigurationFunction")] [ValidateNotNullOrEmpty] public Hashtable ConfigurationArgument { get; set; } @@ -62,8 +55,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// file must contain a hashtable with the items described in /// http://technet.microsoft.com/en-us/library/dn249925.aspx. /// - [Parameter( - ValueFromPipelineByPropertyName = true, + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "Path to a .psd1 file that specifies the data for the Configuration")] [ValidateNotNullOrEmpty] public string ConfigurationDataPath { get; set; } @@ -75,11 +67,9 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// A null value or empty string indicate that the VM extension should install DSC, /// but not start any configuration /// - [Parameter( - Mandatory = true, - Position = 1, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration")] + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, + HelpMessage = + "The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration")] [AllowEmptyString] [AllowNull] public string ConfigurationArchive { get; set; } @@ -91,8 +81,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// If omitted, this parameter will default to the name of the file given by the ConfigurationArchive parameter, excluding any extension, for example if /// ConfigurationArchive is "SalesWebSite.ps1", the default value for ConfigurationName will be "SalesWebSite". /// - [Parameter( - ValueFromPipelineByPropertyName = true, + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the configuration that will be invoked by the DSC Extension")] [ValidateNotNullOrEmpty] public string ConfigurationName { get; set; } @@ -100,8 +89,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// /// Name of the Azure Storage Container where the configuration script is located. /// - [Parameter( - ValueFromPipelineByPropertyName = true, + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = " Name of the Azure Storage Container where the configuration script is located")] [ValidateNotNullOrEmpty] public string ContainerName { get; set; } @@ -116,9 +104,10 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// The Azure Storage Context that provides the security settings used to access the configuration script. This context should provide read access to the /// container specified by ContainerName. /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "The Azure Storage Context that provides the security settings used to access the configuration script")] + [Parameter(ValueFromPipelineByPropertyName = true, + HelpMessage = + "The Azure Storage Context that provides the security settings used to access the configuration script") + ] [ValidateNotNullOrEmpty] public AzureStorageContext StorageContext { get; set; } @@ -126,8 +115,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// The specific version of the DSC extension that Set-AzureVMDSCExtension will /// apply the settings to. If not given, it will default to "1.*" /// - [Parameter( - ValueFromPipelineByPropertyName = true, + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to")] [ValidateNotNullOrEmpty] public override string Version { get; set; } @@ -135,9 +123,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// /// The DNS endpoint suffix for all storage services, e.g. "core.windows.net". /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "The Storage Endpoint Suffix.")] + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The Storage Endpoint Suffix.")] [ValidateNotNullOrEmpty] public string StorageEndpointSuffix { get; set; } @@ -145,6 +131,17 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBas /// Credentials used to access Azure Storage /// private StorageCredentials _storageCredentials; + + /// + /// Class represent info about uploaded Configuration. + /// + private class ConfigurationUris + { + public string SasToken { get; set; } + public string DataBlobUri { get; set; } + + public string ModulesUrl { get; set; } + } protected override void ProcessRecord() { @@ -155,14 +152,22 @@ protected override void ProcessRecord() internal void ExecuteCommand() { ValidateParameters(); - + CreateConfiguration(); - this.ConfirmAction(true, string.Empty, string.Format(CultureInfo.CurrentUICulture, Resources.AzureVMDscApplyConfigurationAction, this.ConfigurationName), "VM", () => - { - RemovePredicateExtensions(); - AddResourceExtension(); - }); + this.ConfirmAction( + true, + string.Empty, + string.Format( + CultureInfo.CurrentUICulture, + Resources.AzureVMDscApplyConfigurationAction, + this.ConfigurationName), + "VM", + () => + { + RemovePredicateExtensions(); + AddResourceExtension(); + }); WriteObject(VM); } @@ -176,7 +181,8 @@ protected override void ValidateParameters() // if (string.IsNullOrEmpty(this.ConfigurationArchive)) { - if (this.ConfigurationName != null || this.ConfigurationArgument != null || this.ConfigurationDataPath != null) + if (this.ConfigurationName != null || this.ConfigurationArgument != null + || this.ConfigurationDataPath != null) { this.ThrowInvalidArgumentError(Resources.AzureVMDscNullArchiveNoConfiguragionParameters); } @@ -185,9 +191,12 @@ protected override void ValidateParameters() this.ThrowInvalidArgumentError(Resources.AzureVMDscNullArchiveNoStorageParameters); } } - else + else { - if (string.Compare(Path.GetFileName(this.ConfigurationArchive), this.ConfigurationArchive, StringComparison.InvariantCultureIgnoreCase) != 0) + if (string.Compare( + Path.GetFileName(this.ConfigurationArchive), + this.ConfigurationArchive, + StringComparison.InvariantCultureIgnoreCase) != 0) { this.ThrowInvalidArgumentError(Resources.AzureVMDscConfigurationDataFileShouldNotIncludePath); } @@ -198,9 +207,14 @@ protected override void ValidateParameters() if (!File.Exists(this.ConfigurationDataPath)) { - this.ThrowInvalidArgumentError(Resources.AzureVMDscCannotFindConfigurationDataFile, this.ConfigurationDataPath); + this.ThrowInvalidArgumentError( + Resources.AzureVMDscCannotFindConfigurationDataFile, + this.ConfigurationDataPath); } - if (string.Compare(Path.GetExtension(this.ConfigurationDataPath), ".psd1", StringComparison.InvariantCultureIgnoreCase) != 0) + if (string.Compare( + Path.GetExtension(this.ConfigurationDataPath), + ".psd1", + StringComparison.InvariantCultureIgnoreCase) != 0) { this.ThrowInvalidArgumentError(Resources.AzureVMDscInvalidConfigurationDataFile); } @@ -230,214 +244,134 @@ protected override void ValidateParameters() } } - private void CreateConfiguration() + /// + /// Uploading configuration data to blob storage. + /// + /// ConfigurationUris collection that represent artifacts of uploading + private ConfigurationUris UploadConfigurationDataToBlob() { - var publicSettings = new DscPublicSettings(); - var privateSettings = new DscPrivateSettings(); - publicSettings.ProtocolVersion = CurrentProtocolVersion; - - if (!string.IsNullOrEmpty(this.ConfigurationArchive)) - { - // - // Get a reference to the container in blob storage - // - var storageAccount = string.IsNullOrEmpty(this.StorageEndpointSuffix) - ? new CloudStorageAccount(this._storageCredentials, true) - : new CloudStorageAccount(this._storageCredentials, - this.StorageEndpointSuffix, true); - - var blobClient = storageAccount.CreateCloudBlobClient(); - - var containerReference = blobClient.GetContainerReference(this.ContainerName); - - // - // Get a reference to the configuration blob and create a SAS token to access it - // - var blobAccessPolicy = new SharedAccessBlobPolicy() - { - SharedAccessExpiryTime = DateTime.UtcNow.AddHours(1), - Permissions = SharedAccessBlobPermissions.Read - }; - - var configurationBlobName = this.ConfigurationArchive; - - var configurationBlobReference = containerReference.GetBlockBlobReference(configurationBlobName); - - var configurationBlobSasToken = configurationBlobReference.GetSharedAccessSignature(blobAccessPolicy); - - // - // Upload the configuration data to blob storage and get a SAS token - // - string configurationDataBlobUri = null; - - if (this.ConfigurationDataPath != null) - { - this.ConfirmAction(true, string.Empty, - string.Format(CultureInfo.CurrentUICulture, - Resources.AzureVMDscUploadToBlobStorageAction, - this.ConfigurationDataPath), - configurationBlobReference.Uri.AbsoluteUri, () => - { - var guid = Guid.NewGuid(); - // there may be multiple VMs using the same configuration - - var configurationDataBlobName = - string.Format(CultureInfo.InvariantCulture, "{0}-{1}.psd1", - this.ConfigurationName, guid); - - var configurationDataBlobReference = - containerReference.GetBlockBlobReference( - configurationDataBlobName); - - if (!this.Force && configurationDataBlobReference.Exists()) - { - this.ThrowTerminatingError( - new ErrorRecord( - new UnauthorizedAccessException( - string.Format(CultureInfo.CurrentUICulture, - Resources.AzureVMDscStorageBlobAlreadyExists, - configurationDataBlobName)), - string.Empty, - ErrorCategory.PermissionDenied, - null)); - } - - configurationDataBlobReference.UploadFromFile( - this.ConfigurationDataPath, FileMode.Open); - - var configurationDataBlobSasToken = - configurationDataBlobReference.GetSharedAccessSignature( - blobAccessPolicy); - - configurationDataBlobUri = - configurationDataBlobReference.StorageUri.PrimaryUri.AbsoluteUri + - configurationDataBlobSasToken; - }); - } + // + // Get a reference to the container in blob storage + // + var storageAccount = string.IsNullOrEmpty(this.StorageEndpointSuffix) + ? new CloudStorageAccount(this._storageCredentials, true) + : new CloudStorageAccount( + this._storageCredentials, + this.StorageEndpointSuffix, + true); - publicSettings.SasToken = configurationBlobSasToken; - publicSettings.ModulesUrl = configurationBlobReference.StorageUri.PrimaryUri.AbsoluteUri; - publicSettings.ConfigurationFunction = string.Format(CultureInfo.InvariantCulture, "{0}\\{1}", - Path.GetFileNameWithoutExtension( - this.ConfigurationArchive), - this.ConfigurationName); - Tuple settings = ConvertSettings(this.ConfigurationArgument); - publicSettings.Properties = settings.Item1; - privateSettings.Items = settings.Item2; + var blobClient = storageAccount.CreateCloudBlobClient(); - privateSettings.DataBlobUri = configurationDataBlobUri; - } + var containerReference = blobClient.GetContainerReference(this.ContainerName); // - // Define the public and private property bags that will be passed to the extension. + // Get a reference to the configuration blob and create a SAS token to access it // - this.PublicConfiguration = JsonConvert.SerializeObject(publicSettings); + var blobAccessPolicy = new SharedAccessBlobPolicy() + { + SharedAccessExpiryTime = + DateTime.UtcNow.AddHours(1), + Permissions = SharedAccessBlobPermissions.Read + }; + + var configurationBlobName = this.ConfigurationArchive; + var configurationBlobReference = containerReference.GetBlockBlobReference(configurationBlobName); + var configurationBlobSasToken = configurationBlobReference.GetSharedAccessSignature(blobAccessPolicy); + // - // PrivateConfuguration contains sensitive data in a plain text. + // Upload the configuration data to blob storage and get a SAS token // - this.PrivateConfiguration = JsonConvert.SerializeObject(privateSettings); - } + string configurationDataBlobUri = null; - /// - /// Convert hashtable of public settings into two parts: - /// 1) Array of public settings in format: - /// [ - /// { - /// "Name": "String Parameter", - /// "Value": "String Value", - /// "TypeName": "System.String" - /// } - /// ] - /// 2) Private settings hashtable. We extract all sensitive information (like password from PSCredential) - /// and store it in private settings. Public settings will reference them in form: - /// { - /// "Name": "AdminCredential", - /// "Value": - /// { - /// "Password" : "PrivateSettings:28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" - /// "UserName" : "DOMAIN\LOGIN" - /// }, - /// "TypeName": "System.Management.Automation.PSCredential" - /// } - /// and private hashtable will look like that: - /// { - /// "28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" : "password" - /// } - /// - /// - /// tuple of array (public settings) and hashtable (private settings) - private Tuple ConvertSettings(Hashtable arguments) - { - var publicSettings = new List(); - var privateSettings = new Hashtable(); - if (arguments != null) + if (this.ConfigurationDataPath != null) { - foreach (DictionaryEntry argument in arguments) - { - object entryValue = argument.Value; - string entryType = argument.Value == null ? "null" : argument.Value.GetType().ToString(); - string entryName = argument.Key.ToString(); - // Special case for PSCredential - PSCredential credential = argument.Value as PSCredential; - if (credential == null) + this.ConfirmAction( + true, + string.Empty, + string.Format( + CultureInfo.CurrentUICulture, + Resources.AzureVMDscUploadToBlobStorageAction, + this.ConfigurationDataPath), + configurationBlobReference.Uri.AbsoluteUri, + () => { - PSObject psObject = argument.Value as PSObject; - if (psObject != null) + var guid = Guid.NewGuid(); + // there may be multiple VMs using the same configuration + + var configurationDataBlobName = string.Format( + CultureInfo.InvariantCulture, + "{0}-{1}.psd1", + this.ConfigurationName, + guid); + + var configurationDataBlobReference = + containerReference.GetBlockBlobReference(configurationDataBlobName); + + if (!this.Force && configurationDataBlobReference.Exists()) { - credential = psObject.BaseObject as PSCredential; + this.ThrowTerminatingError( + new ErrorRecord( + new UnauthorizedAccessException( + string.Format( + CultureInfo.CurrentUICulture, + Resources.AzureVMDscStorageBlobAlreadyExists, + configurationDataBlobName)), + "StorageBlobAlreadyExists", + ErrorCategory.PermissionDenied, + null)); } - } - if (credential != null) - { - // plainTextPassword is a string object with sensitive information in plain text. - // We pass it to 3rd party serializer which may create copies of the string. - string plainTextPassword = ConvertToUnsecureString(credential.Password); - string userName = credential.UserName; - string passwordRef = Guid.NewGuid().ToString(); - privateSettings.Add(passwordRef, plainTextPassword); - var newValue = new Hashtable(); - newValue["UserName"] = String.Format(CultureInfo.InvariantCulture, userName); - newValue["Password"] = String.Format(CultureInfo.InvariantCulture, "PrivateSettingsRef:{0}", - passwordRef); - entryValue = newValue; - entryType = typeof (PSCredential).ToString(); - } - var entry = new DscPublicSettings.Property() - { - Name = entryName, - TypeName = entryType, - Value = entryValue, - }; - publicSettings.Add(entry); - } + configurationDataBlobReference.UploadFromFile(this.ConfigurationDataPath, FileMode.Open); + + var configurationDataBlobSasToken = + configurationDataBlobReference.GetSharedAccessSignature(blobAccessPolicy); + + configurationDataBlobUri = + configurationDataBlobReference.StorageUri.PrimaryUri.AbsoluteUri + + configurationDataBlobSasToken; + }); } - return new Tuple(publicSettings.ToArray(), privateSettings); + return new ConfigurationUris() + { + ModulesUrl = configurationBlobReference.StorageUri.PrimaryUri.AbsoluteUri, + SasToken = configurationBlobSasToken, + DataBlobUri = configurationDataBlobUri + }; } - /// - /// Converte SecureString to String. - /// - /// - /// This method creates a managed object with sensitive information and undetermined lifecycle. - /// - /// - /// - private static string ConvertToUnsecureString(SecureString source) + private void CreateConfiguration() { - if (source == null) - throw new ArgumentNullException("source"); + var publicSettings = new DscPublicSettings(); + var privateSettings = new DscPrivateSettings(); + publicSettings.ProtocolVersion = CurrentProtocolVersion; - IntPtr unmanagedString = IntPtr.Zero; - try - { - unmanagedString = Marshal.SecureStringToGlobalAllocUnicode(source); - return Marshal.PtrToStringUni(unmanagedString); - } - finally + if (!string.IsNullOrEmpty(this.ConfigurationArchive)) { - Marshal.ZeroFreeGlobalAllocUnicode(unmanagedString); + ConfigurationUris configurationUris = UploadConfigurationDataToBlob(); + + publicSettings.SasToken = configurationUris.SasToken; + publicSettings.ModulesUrl = configurationUris.ModulesUrl; + publicSettings.ConfigurationFunction = string.Format( + CultureInfo.InvariantCulture, + "{0}\\{1}", + Path.GetFileNameWithoutExtension(this.ConfigurationArchive), + this.ConfigurationName); + Tuple settings = + DscSettingsSerializer.SeparatePrivateItems(this.ConfigurationArgument); + publicSettings.Properties = settings.Item1; + privateSettings.Items = settings.Item2; + + privateSettings.DataBlobUri = configurationUris.DataBlobUri; } + + // + // Define the public and private property bags that will be passed to the extension. + // + this.PublicConfiguration = DscSettingsSerializer.SerializePublicSettings(publicSettings); + // + // PrivateConfuguration contains sensitive data in a plain text. + // + this.PrivateConfiguration = DscSettingsSerializer.SerializePrivateSettings(privateSettings); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/MicrosoftAntimalware/VirtualMachineMicrosoftAntimalwareExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/MicrosoftAntimalware/VirtualMachineMicrosoftAntimalwareExtensionCmdletBase.cs index e0ecbceaa74b..31f813f229c6 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/MicrosoftAntimalware/VirtualMachineMicrosoftAntimalwareExtensionCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/MicrosoftAntimalware/VirtualMachineMicrosoftAntimalwareExtensionCmdletBase.cs @@ -159,7 +159,7 @@ protected string GetJsonEncodedDiagnosticsPrivateConfig() return string.Format(DiagnosticsPrivateConfigFormatStr, StorageContext.StorageAccountName, StorageContext.StorageAccount.Credentials.ExportBase64EncodedKey(), - StorageContext.EndPointSuffix); + "https://" + StorageContext.EndPointSuffix); } else { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/AddAzureNetworkInterfaceConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/AddAzureNetworkInterfaceConfig.cs new file mode 100644 index 000000000000..ac501bccd889 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/AddAzureNetworkInterfaceConfig.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network +{ + [Cmdlet(VerbsCommon.Add, NetworkInterfaceConfig), OutputType(typeof(IPersistentVM))] + public class AddAzureNetworkInterfaceConfig : VirtualMachineConfigurationCmdletBase + { + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The NetworkInterface Name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = "The Subnet Name.")] + [ValidateNotNullOrEmpty] + public string SubnetName { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = "The static ip address.")] + public string StaticVNetIPAddress { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + if (networkConfiguration.NetworkInterfaces == null) + { + networkConfiguration.NetworkInterfaces = new AssignNetworkInterfaceCollection(); + } + + // Verify if the network interface already exists + var existingNics = + networkConfiguration.NetworkInterfaces.Where( + interfaces => string.Equals(interfaces.Name, this.Name, StringComparison.OrdinalIgnoreCase)).ToList(); + + if (existingNics.Any()) + { + throw new ArgumentOutOfRangeException(Resources.DuplicateNetworkInterfaceFound); + } + + var ipConfig = new AssignIPConfiguration(); + ipConfig.SubnetName = this.SubnetName; + if (!string.IsNullOrEmpty(this.StaticVNetIPAddress)) + { + ipConfig.StaticVirtualNetworkIPAddress = this.StaticVNetIPAddress; + } + + networkConfiguration.NetworkInterfaces.Add( + new AssignNetworkInterface() + { + Name = this.Name, + IPConfigurations = new AssignIPConfigurationCollection() + { + ipConfig + } + }); + WriteObject(VM); + } + } +} + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkInterfaceConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkInterfaceConfig.cs new file mode 100644 index 000000000000..c12a7fa9267c --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkInterfaceConfig.cs @@ -0,0 +1,67 @@ + +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network +{ + [Cmdlet(VerbsCommon.Get, NetworkInterfaceConfig), OutputType(typeof(NetworkInterface))] + public class GetAzureNetworkInterfaceConfig : PSCmdlet + { + protected const string NetworkInterfaceConfig = "AzureNetworkInterfaceConfig"; + + [Parameter(Position = 1, Mandatory = false, HelpMessage = "The NetworkInterface Name.")] + public string Name { get; set; } + + [Parameter( + Mandatory = true, + ValueFromPipeline = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Virtual Machine to update.")] + [ValidateNotNullOrEmpty] + [Alias("InputObject")] + public PersistentVMRoleContext VM + { + get; + set; + } + + protected override void ProcessRecord() + { + var networkInterfaces = VM.NetworkInterfaces; + + if (networkInterfaces != null) + { + if (string.IsNullOrEmpty(Name)) + { + WriteObject(networkInterfaces, true); + } + else + { + var nics = networkInterfaces.Where( + n => string.Equals(n.Name, this.Name, StringComparison.OrdinalIgnoreCase)).ToList(); + + if (nics.Count != 0) + { + WriteObject(nics.First()); + } + } + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs new file mode 100644 index 000000000000..9bee4f32e509 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Get, NetworkSecurityGroupConfig), OutputType(typeof(IEnumerable))] + public class GetAzureNetworkSecurityGroupConfigCommand : VirtualMachineConfigurationCmdletBase + { + [Parameter(Mandatory = false)] + [ValidateNotNullOrEmpty] + public SwitchParameter Detailed { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + string networkSecurityGroupName = networkConfiguration.NetworkSecurityGroup; + if (string.IsNullOrEmpty(networkSecurityGroupName)) + { + WriteWarningWithTimestamp(string.Format(Resources.WarningVmIsNotDirectlyAssociatedWithNetworkSecurityGroup, this.VM.GetInstance().RoleName)); + } + + else + { + var networkClient = new NetworkClient(AzureSession.CurrentContext.Subscription, CommandRuntime); + INetworkSecurityGroup networkSecurityGroup = networkClient.GetNetworkSecurityGroup(networkSecurityGroupName, Detailed); + + WriteObject(networkSecurityGroup, true); + } + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConnection.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConnection.cs deleted file mode 100644 index 7cb751de9411..000000000000 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConnection.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Linq; -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS -{ - [Cmdlet(VerbsCommon.Get, "AzureVNetConnection"), OutputType(typeof(GatewayConnectionContext))] - public class GetAzureVNetConnectionCommand : ServiceManagementBaseCmdlet - { - [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] - public string VNetName - { - get; - set; - } - - protected override void OnProcessRecord() - { - ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.ListConnections(this.VNetName), - (s, r) => r.Connections.Select(c => new GatewayConnectionContext - { - OperationId = s.Id, - OperationDescription = this.CommandRuntime.ToString(), - OperationStatus = s.Status.ToString(), - ConnectivityState = c.ConnectivityState.ToString(), - EgressBytesTransferred = (ulong)c.EgressBytesTransferred, - IngressBytesTransferred = (ulong)c.IngressBytesTransferred, - LastConnectionEstablished = c.LastConnectionEstablished.ToString(), - LastEventID = c.LastEvent != null ? c.LastEvent.Id.ToString() : null, - LastEventMessage = c.LastEvent != null ? c.LastEvent.Message.ToString() : null, - LastEventTimeStamp = c.LastEvent != null ? c.LastEvent.Timestamp.ToString() : null, - LocalNetworkSiteName = c.LocalNetworkSiteName - })); - } - } -} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGateway.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGateway.cs deleted file mode 100644 index c1494d981b8a..000000000000 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGateway.cs +++ /dev/null @@ -1,64 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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; -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Service.Gateway; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS -{ - [Cmdlet(VerbsCommon.Get, "AzureVNetGateway"), OutputType(typeof(VirtualNetworkGatewayContext))] - public class GetAzureVNetGatewayCommand : ServiceManagementBaseCmdlet - { - [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] - public string VNetName - { - get; - set; - } - - protected override void OnProcessRecord() - { - this.ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.Get(this.VNetName), - (operation, operationResponse) => new VirtualNetworkGatewayContext - { - OperationId = operation.Id, - OperationStatus = operation.Status.ToString(), - OperationDescription = this.CommandRuntime.ToString(), - LastEventData = (operationResponse.LastEvent != null) ? operationResponse.LastEvent.Data : null, - LastEventMessage = (operationResponse.LastEvent != null) ? operationResponse.LastEvent.Message : null, - LastEventID = GetEventId(operationResponse.LastEvent), - LastEventTimeStamp = (operationResponse.LastEvent != null) ? (DateTime?)operationResponse.LastEvent.Timestamp : null, - State = (ProvisioningState)Enum.Parse(typeof(ProvisioningState), operationResponse.State, true), - VIPAddress = operationResponse.VipAddress != null ? operationResponse.VipAddress.ToString() : null - }); - } - - private int GetEventId(Management.Network.Models.GatewayEvent gatewayEvent) - { - int val = -1; - if (gatewayEvent != null) - { - int.TryParse(gatewayEvent.Id, out val); - } - - return val; - } - } -} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkInterfaceConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkInterfaceConfig.cs new file mode 100644 index 000000000000..1ef5dbdc521c --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkInterfaceConfig.cs @@ -0,0 +1,47 @@ + +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network +{ + [Cmdlet(VerbsCommon.Remove, NetworkInterfaceConfig), OutputType(typeof(IPersistentVM))] + public class RemoveAzureNetworkInterfaceConfig : VirtualMachineConfigurationCmdletBase + { + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The NetworkInterface Name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + if (networkConfiguration.NetworkInterfaces != null) + { + networkConfiguration.NetworkInterfaces.RemoveAll(e => string.Equals(e.Name, this.Name, StringComparison.OrdinalIgnoreCase)); + } + + WriteObject(VM, true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkSecurityGroupConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkSecurityGroupConfig.cs new file mode 100644 index 000000000000..eae5eeeec2e6 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureNetworkSecurityGroupConfig.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Remove, NetworkSecurityGroupConfig), OutputType(typeof(IPersistentVM))] + public class RemoveAzureNetworkSecurityGroupConfigCommand : VirtualMachineConfigurationCmdletBase + { + [Parameter(Position = 1, Mandatory = false, HelpMessage = "The Network Security Group Name.")] + [ValidateNotNullOrEmpty] + public string NetworkSecurityGroupName { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + if (string.IsNullOrEmpty(this.NetworkSecurityGroupName)) + { + networkConfiguration.NetworkSecurityGroup = null; + } + else if (this.NetworkSecurityGroupName.Equals(networkConfiguration.NetworkSecurityGroup)) + { + networkConfiguration.NetworkSecurityGroup = null; + } + else + { + // the specified Network Security Group is not directly associated with this VM + WriteErrorWithTimestamp( + string.Format( + Resources.CannotRemoveNetworkSecurityGroupBecauseNotDirectlyAssociatedwithVm, + NetworkSecurityGroupName, + VM.GetInstance().RoleName)); + } + + WriteObject(VM, true); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkInterfaceConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkInterfaceConfig.cs new file mode 100644 index 000000000000..f3d282fe47a9 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkInterfaceConfig.cs @@ -0,0 +1,69 @@ + +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network +{ + [Cmdlet(VerbsCommon.Set, NetworkInterfaceConfig), OutputType(typeof(IPersistentVM))] + public class SetAzureNetworkInterfaceConfig : VirtualMachineConfigurationCmdletBase + { + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The NetworkInterface Name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = "The Subnet Name.")] + [ValidateNotNullOrEmpty] + public string SubnetName { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = "The Subnet Name.")] + public string StaticVNetIPAddress { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + if (networkConfiguration.NetworkInterfaces != null) + { + // Check if the networkInterface exists + var existingNics = + networkConfiguration.NetworkInterfaces.Where( + interfaces => string.Equals(interfaces.Name, this.Name, StringComparison.OrdinalIgnoreCase)).ToList(); + + if (!existingNics.Any()) + { + throw new ArgumentOutOfRangeException(Resources.NetworkInterfaceNotFound); + } + + foreach (var interfaces in existingNics) + { + interfaces.IPConfigurations.First().SubnetName = this.SubnetName; + interfaces.IPConfigurations.First().StaticVirtualNetworkIPAddress = this.StaticVNetIPAddress; + } + } + + WriteObject(VM, true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkSecurityGroupConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkSecurityGroupConfig.cs new file mode 100644 index 000000000000..eee94c40ff3d --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureNetworkSecurityGroupConfig.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Set, NetworkSecurityGroupConfig), OutputType(typeof(IPersistentVM)), Alias] + public class SetAzureNetworkSecurityGroupConfigCommand : VirtualMachineConfigurationCmdletBase + { + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The Network Security Group Name.")] + public string NetworkSecurityGroupName { get; set; } + + protected override void ProcessRecord() + { + base.ProcessRecord(); + + var networkConfiguration = GetNetworkConfiguration(); + if (networkConfiguration == null) + { + throw new ArgumentOutOfRangeException(Resources.NetworkConfigurationNotFoundOnPersistentVM); + } + + networkConfiguration.NetworkSecurityGroup = NetworkSecurityGroupName; + + WriteObject(VM); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs index 119624961043..4ee86ed627b7 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs @@ -139,19 +139,19 @@ private T CreateVMContext(string serviceName, NSM.Role vmRole, NSM.RoleInstan var vmContext = new T { ServiceName = serviceName, - DeploymentName = deployment.Name, - DNSName = deployment.Uri.AbsoluteUri, - Name = vmRole.RoleName, - AvailabilitySetName = vmRole.AvailabilitySetName, - Label = vmRole.Label, - InstanceSize = vmRole.RoleSize, + DeploymentName = deployment == null ? string.Empty : deployment.Name, + DNSName = deployment == null || deployment.Uri == null ? string.Empty : deployment.Uri.AbsoluteUri, + Name = vmRole == null ? string.Empty : vmRole.RoleName, + AvailabilitySetName = vmRole == null ? string.Empty : vmRole.AvailabilitySetName, + Label = vmRole == null ? string.Empty : vmRole.Label, + InstanceSize = vmRole == null ? string.Empty : vmRole.RoleSize, InstanceStatus = roleInstance == null ? string.Empty : roleInstance.InstanceStatus, IpAddress = roleInstance == null ? string.Empty : roleInstance.IPAddress, - PublicIPAddress = roleInstance == null ? null - : roleInstance.PublicIPs == null || !roleInstance.PublicIPs.Any() ? null + PublicIPAddress = roleInstance == null ? string.Empty + : roleInstance.PublicIPs == null || !roleInstance.PublicIPs.Any() ? string.Empty : roleInstance.PublicIPs.First().Address, - PublicIPName = roleInstance == null ? null - : roleInstance.PublicIPs == null || !roleInstance.PublicIPs.Any() ? null + PublicIPName = roleInstance == null ? string.Empty + : roleInstance.PublicIPs == null || !roleInstance.PublicIPs.Any() ? string.Empty : !string.IsNullOrEmpty(roleInstance.PublicIPs.First().Name) ? roleInstance.PublicIPs.First().Name : PersistentVMHelper.GetPublicIPName(vmRole), InstanceStateDetails = roleInstance == null ? string.Empty : roleInstance.InstanceStateDetails, @@ -166,22 +166,23 @@ private T CreateVMContext(string serviceName, NSM.Role vmRole, NSM.RoleInstan Status = roleInstance == null ? string.Empty : roleInstance.InstanceStatus, GuestAgentStatus = roleInstance == null ? null : Mapper.Map(roleInstance.GuestAgentStatus), ResourceExtensionStatusList = roleInstance == null ? null : Mapper.Map>(roleInstance.ResourceExtensionStatusList), - OperationId = deployment.RequestId, - OperationStatus = deployment.StatusCode.ToString(), + OperationId = deployment == null ? string.Empty : deployment.RequestId, + OperationStatus = deployment == null ? string.Empty : deployment.StatusCode.ToString(), OperationDescription = CommandRuntime.ToString(), + NetworkInterfaces = roleInstance == null ? null : Mapper.Map(roleInstance.NetworkInterfaces), VM = new PVM.PersistentVM { - AvailabilitySetName = vmRole.AvailabilitySetName, - Label = vmRole.Label, - RoleName = vmRole.RoleName, - RoleSize = vmRole.RoleSize, - RoleType = vmRole.RoleType, - DefaultWinRmCertificateThumbprint = vmRole.DefaultWinRmCertificateThumbprint, - ProvisionGuestAgent = vmRole.ProvisionGuestAgent, - ResourceExtensionReferences = Mapper.Map(vmRole.ResourceExtensionReferences), - DataVirtualHardDisks = Mapper.Map>(vmRole.DataVirtualHardDisks), - OSVirtualHardDisk = Mapper.Map(vmRole.OSVirtualHardDisk), - ConfigurationSets = PersistentVMHelper.MapConfigurationSets(vmRole.ConfigurationSets) + AvailabilitySetName = vmRole == null ? string.Empty : vmRole.AvailabilitySetName, + Label = vmRole == null ? string.Empty : vmRole.Label, + RoleName = vmRole == null ? string.Empty : vmRole.RoleName, + RoleSize = vmRole == null ? string.Empty : vmRole.RoleSize, + RoleType = vmRole == null ? string.Empty : vmRole.RoleType, + DefaultWinRmCertificateThumbprint = vmRole == null ? string.Empty : vmRole.DefaultWinRmCertificateThumbprint, + ProvisionGuestAgent = vmRole == null ? null : vmRole.ProvisionGuestAgent, + ResourceExtensionReferences = vmRole == null ? null : Mapper.Map(vmRole.ResourceExtensionReferences), + DataVirtualHardDisks = vmRole == null ? null : Mapper.Map>(vmRole.DataVirtualHardDisks), + OSVirtualHardDisk = vmRole == null ? null : Mapper.Map(vmRole.OSVirtualHardDisk), + ConfigurationSets = vmRole == null ? null : PersistentVMHelper.MapConfigurationSets(vmRole.ConfigurationSets) } }; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs index 18d876ef490c..1120de3088aa 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs @@ -370,9 +370,15 @@ public void NewAzureVMProcess() VMImageName = VMTuples[i].Item3 ? persistentVMs[i].VMImageName : null }; + if (parameter.OSVirtualHardDisk != null) + { + parameter.OSVirtualHardDisk.IOType = null; + } + if (persistentVMs[i].DataVirtualHardDisks != null && persistentVMs[i].DataVirtualHardDisks.Any()) { persistentVMs[i].DataVirtualHardDisks.ForEach(c => parameter.DataVirtualHardDisks.Add(c)); + parameter.DataVirtualHardDisks.ForEach(d => d.IOType = null); } persistentVMs[i].ConfigurationSets.ForEach(c => parameter.ConfigurationSets.Add(c)); @@ -425,6 +431,11 @@ private Management.Compute.Models.Role CreatePersistentVMRole(Tuple @@ -433,6 +444,7 @@ private Management.Compute.Models.Role CreatePersistentVMRole(Tuple d.IOType = null); } else { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs index ab0c6b91aa4c..7617aa7753ee 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs @@ -106,14 +106,21 @@ internal void ExecuteCommandNewSM() ResourceExtensionReferences = VM.ProvisionGuestAgent != null && VM.ProvisionGuestAgent.Value ? Mapper.Map>(VM.ResourceExtensionReferences) : null }; + if (parameters.OSVirtualHardDisk != null) + { + parameters.OSVirtualHardDisk.IOType = null; + } + if (VM.DataVirtualHardDisks != null) { + parameters.DataVirtualHardDisks = new List(); VM.DataVirtualHardDisks.ForEach(c => { var dataDisk = Mapper.Map(c); dataDisk.LogicalUnitNumber = dataDisk.LogicalUnitNumber; parameters.DataVirtualHardDisks.Add(dataDisk); }); + parameters.DataVirtualHardDisks.ForEach(d => d.IOType = null); } if (VM.ConfigurationSets != null) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/VirtualMachineConfigurationCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/VirtualMachineConfigurationCmdletBase.cs index 221a32493813..e94ac7ab90e8 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/VirtualMachineConfigurationCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/VirtualMachineConfigurationCmdletBase.cs @@ -23,7 +23,8 @@ public class VirtualMachineConfigurationCmdletBase : ServiceManagementBaseCmdlet { protected const string StaticVNetIPNoun = "AzureStaticVNetIP"; protected const string PublicIPNoun = "AzurePublicIP"; - + protected const string NetworkInterfaceConfig = "AzureNetworkInterfaceConfig"; + protected const string NetworkSecurityGroupConfig = "AzureNetworkSecurityGroupConfig"; [Parameter( Mandatory = true, ValueFromPipeline = true, diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1 new file mode 100644 index 000000000000..032ac4ea263a --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml index 7df459a0c125..0f62f04358a7 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml @@ -1,34057 +1,1421 @@ - - - - - Add-AzureCertificate - - Uploads a service certificate for the specified cloud service. - - - - - Add - AzureCertificate - - - - - - - Add-AzureCertificate - - ServiceName - - - Specifies the name of the Microsoft Azure service to which you are adding a certificate. - - - String - - - CertToDeploy - - - Specifies the certificate to deploy. You can specify the path file name of a certificate file (*.cer, *. pfx, etc) or an X.509 Certificate object. - - - Object - - - Password - - - Specifies the certificate password. - - - String - - - - - - CertToDeploy - - - Specifies the certificate to deploy. You can specify the path file name of a certificate file (*.cer, *. pfx, etc) or an X.509 Certificate object. - - - Object - - Object - - - - - - - Password - - - Specifies the certificate password. - - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service to which you are adding a certificate. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy myCertificate.pfx –password 123 - - - - - This command uploads myCertificate.pfx certificate to the specified cloud service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy myCertificate.cer - - - - - This command uploads myCertificate.cer certificate to the specified cloud service. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy (Get-Item cert:\CurrentUser\MY\1D6E34B526723E06C235BE8E5547784BF12C9F39) - - - - - This command uploads the specified certificate to the specified cloud service, using the Get-Item Windows PowerShell cmdlet to get the certificate object. - - - - - - - - - - - - Get-AzureCertificate - - - - Remove-AzureCertificate - - - - - - - Add-AzureDataDisk - - Adds a new data disk to a virtual machine object. - - - - - Add - AzureDataDisk - - - - The Add-AzureDataDisk cmdlet adds a new data disk to a virtual machine object. Use the –CreateNew parameter to create a new data disk with a specified size and label, and then attach it. Use the –Import parameter to attach an existing disk from the image repository. Use the –ImportFrom parameter to attach an existing disk from a blob in a storage account. - The cmdlet allows you to specify the host-cache mode of attached data disks. - - - - Add-AzureDataDisk - - CreateNew - - - Specify to create a new data disk. - - - SwitchParameter - - - DiskSizeInGB - - - Specifies the logical disk size in gigabytes. - - - Int32 - - - DiskLabel - - - Specifies the disk label when creating a new data disk. - - - String - - - LUN - - - Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. - - - Int32 - - - HostCaching - - - Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - - MediaLocation - - Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created - - String - - - VM - - Specifies the virtual machine object where the data disk will attach. - - IPersistentVM - - - - Add-AzureDataDisk - - ImportFrom - - - Imports an existing data disk from a blob in a storage acount. - - - SwitchParameter - - - DiskLabel - - - Specifies the disk label when creating a new data disk. - - - String - - - LUN - - - Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. - - - Int32 - - - HostCaching - - - Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - - MediaLocation - - Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created - - String - - - VM - - Specifies the virtual machine object where the data disk will attach. - - IPersistentVM - - - - Add-AzureDataDisk - - Import - - - Imports an existing data disk from the disk library. - - - SwitchParameter - - - DiskName - - - Specifies the name of the data disk in the disk repository. - - - String - - - LUN - - - Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. - - - Int32 - - - HostCaching - - - Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - - VM - - Specifies the virtual machine object where the data disk will attach. - - IPersistentVM - - - - - - CreateNew - - - Specify to create a new data disk. - - - SwitchParameter - - SwitchParameter - - - - - - - DiskLabel - - - Specifies the disk label when creating a new data disk. - - - String - - String - - - - - - - DiskName - - - Specifies the name of the data disk in the disk repository. - - - String - - String - - - - - - - DiskSizeInGB - - - Specifies the logical disk size in gigabytes. - - - Int32 - - Int32 - - - - - - - HostCaching - - - Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - String - - - - - - - Import - - - Imports an existing data disk from the disk library. - - - SwitchParameter - - SwitchParameter - - - - - - - ImportFrom - - - Imports an existing data disk from a blob in a storage acount. - - - SwitchParameter - - SwitchParameter - - - - - - - LUN - - - Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. - - - Int32 - - Int32 - - - - - - - MediaLocation - - Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created - - String - - String - - - - - - - VM - - Specifies the virtual machine object where the data disk will attach. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` - | Add-AzureDataDisk -Import -DiskName "MyExistingDisk" -LUN 0 ` - | Update-AzureVM - - - - - This example gets a virtual machine object for the virtual machine named “MyVM” in the “myservice” cloud service, updates the virtual machine object by attaching an existing data disk from the repository using the disk name, and then updates the Microsoft Azure virtual machine. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` - | Add-AzureDataDisk -CreateNew -DiskSizeInGB 128 -DiskLabel "main" -LUN 0 ` - | Update-AzureVM - - - - - This example updates the virtual machine by creating the new blank data disk “MyNewDisk.vhd” in the vhds container within the default storage account of the currently active subscription. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" -Name "Database" ` - | Add-AzureDataDisk -ImportFrom -MediaLocation ` - "https://mystorage.blob.core.windows.net/mycontainer/MyExistingDisk.vhd" ` - -DiskLabel "main" -LUN 0 ` - | Update-AzureVM - - - - - This example updates a virtual machine by attaching an existing data disk from a storage location. - - - - - - - - - - - - New-AzureVMConfig - - - - Set-AzureDataDisk - - - - Update-AzureVM - - - - - - - Add-AzureDisk - - Adds a new disk to the Microsoft Azure disk repository. - - - - - Add - AzureDisk - - - - - The Add-AzureDisk cmdlet adds a new disk to the Microsoft Azure disk repository in the current subscription. This disk is bootable if the optional –OS parameter is specified. If not specified, the disk is a data disk. - - The required parameters are DiskName and MediaLocation. - - - - Add-AzureDisk - - DiskName - - - Specifies the name of the disk. - - - String - - - MediaLocation - - - Specifies the physical location of the disk in Microsoft Azure storage. This link refers to a blob page in the current subscription and storage account. - - - String - - - Label - - - Specifies a disk label. - - - String - - - OS - - If specified, the disk is bootable. The OS parameter accepts either "Windows" or "Linux" values. - - String - - - - - - DiskName - - - Specifies the name of the disk. - - - String - - String - - - - - - - Label - - - Specifies a disk label. - - - String - - String - - - Disk name - - - MediaLocation - - - Specifies the physical location of the disk in Microsoft Azure storage. This link refers to a blob page in the current subscription and storage account. - - - String - - String - - - - - - - OS - - If specified, the disk is bootable. The OS parameter accepts either "Windows" or "Linux" values. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - DiskContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Add-AzureDisk -DiskName "MyWinDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/winserver-system.vhd" -Label "BootDisk" -OS "Windows" - - - - - This example adds a new, bootable Windows disk. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Add-AzureDisk -DiskName "MyDataDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/winserver-data.vhd" -Label "DataDisk" - - - - - This example adds a new data disk. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Add-AzureDisk -DiskName "MyLinuxDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/linuxsys.vhd" -OS "Linux" - - - - - This example adds a new Linux boot disk. The disk name and label are the same. - - - - - - - - - - - - Get-AzureDisk - - - - Remove-AzureDisk - - - - Update-AzureDisk - - - - - - - - Add-AzureDns - - - Add-AzureDns [-Name] <string> [-IPAddress] <string> [-ServiceName] <string> [<CommonParameters>] - - - - - Add - AzureDns - - - - The Add-AzureDns cmdlet adds a DNS server to an existing cloud service. It accepts three parameters: Name, IPAddress and ServiceName. The Name parameter is a friendly name, not necessarily a DNS resolvable name, the IPAddress is the IP address of the DNS server, and the ServiceName is the name of the cloud service - - - - - Add-AzureDns - - Name - - Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name - - string - - - IPAddress - - Specifies the IP address of the DNS server - - string - - - ServiceName - - Specifies the name of the cloud service - - string - - - PipelineVariable - - - - string - - - - - - - IPAddress - - Specifies the IP address of the DNS server - - - string - - string - - - - - - Name - - Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name - - - string - - string - - - - - - PipelineVariable - - - - - string - - string - - - - - - ServiceName - - Specifies the name of the cloud service - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Add-AzureDns -ServiceName "myservice" -IPAddress 10.1.2.4 -Name "mydns" - - Description - ----------- - This command adds a DNS server "mydns" to the specified cloud service - - - - - - - - - - - - - - - - - - - - - - - - Add-AzureEndpoint - - - Add endpoint to the persistent VM object. - - - - - - - Add - AzureEndpoint - - - - - - - - - - - Add-AzureEndpoint - - LBSetName - - - - - string - - - ProbePort - - - - - int - - - ProbeProtocol - - - - - string - - - VM - - - - - IPersistentVM - - - InternalLoadBalancerName - - The Internal LoadBalancer Name. - - string - - - ProbePath - - - - - string - - - PublicPort - - - - - int - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - - Add-AzureEndpoint - - Name - - - - - string - - - Protocol - - - - - string - - - LocalPort - - - - - int - - - VM - - - - - IPersistentVM - - - InternalLoadBalancerName - - The Internal LoadBalancer Name. - - string - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - - - - - InternalLoadBalancerName - - The Internal LoadBalancer Name. - - string - - string - - - - - - - LBSetName - - - - - string - - string - - - - - - - LocalPort - - - - - int - - int - - - - - - - Name - - - - - string - - string - - - - - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - int - - - - - - - ProbePath - - - - - string - - string - - - - - - - ProbePort - - - - - int - - int - - - - - - - ProbeProtocol - - - - - string - - string - - - - - - - Protocol - - - - - string - - string - - - - - - - PublicPort - - - - - int - - int - - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add-AzureProvisioningConfig - - - Adds the provisioning configuration to a Microsoft Azure virtual machine. - - - - - Add - AzureProvisioningConfig - - - - The Add-AzureProvisioningConfig cmdlet adds configuration information to a virtual machine configuration used to create a new Virtual Machine. -Different provisioning configurations are supported including standalone Windows servers, Windows servers joined to an Active Directory domain, and Linux-based servers. -When creating an Active Directory domain joined server, the provisioning configuration must specify the fully qualified domain name of the Active Directory domain, as well as the domain credentials of a user with permission to join the machine to the domain. - - - - - Add-AzureProvisioningConfig - - Linux - - Specify to create a Linux provisioning configuration. - - - - VM - - Specifies the virtual machine object. - - IPersistentVM - - - CustomDataFile - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - -On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. -On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - string - - - DisableGuestAgent - - To disable IaaS provision guest agent. - - - - DisableSSH - - If specified, the virtual machine is created with SSH disabled. - - - - LinuxUser - - Specifies the Linux administrative account name to create. - - string - - - NoSSHEndpoint - - If specified, create the virtual machine without an SSH endpoint. - - - - NoSSHPassword - - Not Specified - - - - PipelineVariable - - Not Specified - - string - - - SSHKeyPairs - - - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - - SSHPublicKeys - - - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - - - Add-AzureProvisioningConfig - - AdminUsername - - Specifies the Administrator account to create. - - string - - - Domain - - Specifies the name of the domain of the account with permission to add the computer to a domain. - - string - - - DomainPassword - - Specifies the password of the user account with permission to add the computer to a domain. - - string - - - DomainUserName - - Specifies the name of the user account with permission to add the computer to a domain. - - string - - - JoinDomain - - Specifies the fully qualified domain name (FQDN) of the Windows domain to join. - - string - - - VM - - Specifies the virtual machine object. - - IPersistentVM - - - Windows - - Specify to create a standalone Windows provisioning configuration. - - - - WindowsDomain - - Specify to create a provisioning configuration for a Windows server joined to an Active Directory domain. - - - - Certificates - - Specifies a set of certificates to install in the virtual machine. - - CertificateSettingList - - - CustomDataFile - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - -On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. -On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - string - - - DisableAutomaticUpdates - - If specified, the configuration will have automatic updates disabled. - - - - DisableGuestAgent - - To disable IaaS provision guest agent. - - - - DisableWinRMHttps - - Disables WinRM on https which is added by default. - - - - EnableWinRMHttp - - Enables WinRM over http. - - - - MachineObjectOU - - Specifies the fully qualified name of the organizational unit (OU) in which the computer account is created. - - string - - - NoExportPrivateKey - - Prevents the private key from being uploaded - - - - NoRDPEndpoint - - If specified, create the virtual machine without a remote desktop endpoint. - - - - NoWinRMEndpoint - - Prevents the WinRM endpoint from being added - - - - Password - - Specifies the password of the administrator account for the role. - - string - - - PipelineVariable - - Not Specified - - string - - - ResetPasswordOnFirstLogon - - If specified, forces the user to change their password on first logon. - - - - TimeZone - - Specifies the Microsoft Time Zone value to use to set the time zone for the virtual machine. Examples are: "Pacific Standard Time" and "Canada Central Standard Time". - - string - - - WinRMCertificate - - Certificate that will be associated with WinRM endpoint. - - X509Certificate2 - - - X509Certificates - - X509 certificates that will be deployed to hosted service. - - X509Certificate2[] - - - - - - - AdminUsername - - Specifies the Administrator account to create. - - - string - - string - - - - - - Certificates - - Specifies a set of certificates to install in the virtual machine. - - - CertificateSettingList - - CertificateSettingList - - - - - - CustomDataFile - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - -On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. -On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - - string - - string - - - - - - DisableAutomaticUpdates - - If specified, the configuration will have automatic updates disabled. - - - SwitchParameter - - SwitchParameter - - - - - - DisableGuestAgent - - To disable IaaS provision guest agent. - - - SwitchParameter - - SwitchParameter - - - - - - DisableSSH - - If specified, the virtual machine is created with SSH disabled. - - - SwitchParameter - - SwitchParameter - - - - - - DisableWinRMHttps - - Disables WinRM on https which is added by default. - - - SwitchParameter - - SwitchParameter - - - - - - Domain - - Specifies the name of the domain of the account with permission to add the computer to a domain. - - - string - - string - - - - - - DomainPassword - - Specifies the password of the user account with permission to add the computer to a domain. - - - string - - string - - - - - - DomainUserName - - Specifies the name of the user account with permission to add the computer to a domain. - - - string - - string - - - - - - EnableWinRMHttp - - Enables WinRM over http. - - - SwitchParameter - - SwitchParameter - - - - - - JoinDomain - - Specifies the fully qualified domain name (FQDN) of the Windows domain to join. - - - string - - string - - - - - - Linux - - Specify to create a Linux provisioning configuration. - - - SwitchParameter - - SwitchParameter - - - - - - LinuxUser - - Specifies the Linux administrative account name to create. - - - string - - string - - - - - - MachineObjectOU - - Specifies the fully qualified name of the organizational unit (OU) in which the computer account is created. - - - string - - string - - - - - - NoExportPrivateKey - - Prevents the private key from being uploaded - - - SwitchParameter - - SwitchParameter - - - - - - NoRDPEndpoint - - If specified, create the virtual machine without a remote desktop endpoint. - - - SwitchParameter - - SwitchParameter - - - - - - NoSSHEndpoint - - If specified, create the virtual machine without an SSH endpoint. - - - SwitchParameter - - SwitchParameter - - - - - - NoSSHPassword - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - NoWinRMEndpoint - - Prevents the WinRM endpoint from being added - - - SwitchParameter - - SwitchParameter - - - - - - Password - - Specifies the password of the administrator account for the role. - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - ResetPasswordOnFirstLogon - - If specified, forces the user to change their password on first logon. - - - SwitchParameter - - SwitchParameter - - - - - - SSHKeyPairs - - - - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - - - - - SSHPublicKeys - - - - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - - - - - TimeZone - - Specifies the Microsoft Time Zone value to use to set the time zone for the virtual machine. Examples are: "Pacific Standard Time" and "Canada Central Standard Time". - - - string - - string - - - - - - VM - - Specifies the virtual machine object. - - - IPersistentVM - - IPersistentVM - - - - - - Windows - - Specify to create a standalone Windows provisioning configuration. - - - SwitchParameter - - SwitchParameter - - - - - - WindowsDomain - - Specify to create a provisioning configuration for a Windows server joined to an Active Directory domain. - - - SwitchParameter - - SwitchParameter - - - - - - WinRMCertificate - - Certificate that will be associated with WinRM endpoint. - - - X509Certificate2 - - X509Certificate2 - - - - - - X509Certificates - - X509 certificates that will be deployed to hosted service. - - - X509Certificate2[] - - X509Certificate2[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Pass word $Password -AdminUsername PsTestAdmin ` -| New-AzureVM -ServiceName $svcName - - - Description - ----------- - This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -WindowsDomain -Password $Password -AdminUsername PsTestAdmin -ResetPasswordOnFirstLogon -JoinDomain "contoso.com" -Domain "contoso" -DomainUserName "domainadminuser" -DomainPassword "domainPassword" -MachineObjectOU 'OU=AzureVMs,DC=contoso,DC=com' -| New-AzureVM -ServiceName $svcName - - - Description - ----------- - This example creates a new, domain-joined Windows virtual machine and adds it to the specified service. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyLinuxVM" -InstanceSize Small -ImageName $LnxImg ` -| Add-AzureProvisioningConfig -Linux -LinuxUser $linuxUser -Password $Password ` -| New-AzureVM -ServiceName $svcName - - - Description - ----------- - This example creates a new Linux virtual machine and adds it to the specified service. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - -$certs = Get-ChildItem Cert:\CurrentUser\My -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -WinRMCertificate $certs[0] -X509Certificates $certs[1], $certs[2] ` -| New-AzureVM -ServiceName $svcName -WaitForBoot - - - Description - ----------- - This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureVM. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 5 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -EnableWinRMHttp ` -| New-AzureVM -ServiceName $svcName -WaitForBoot - - - Description - ----------- - This example creates a new Windows standalone virtual machine and adds it to the specified service. Both WinRM Https and Http listener is enabled on the VM. WaitForBoot option enables to wait for VM to boot. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 6 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -DisableWinRMHttps ` -| New-AzureVM -ServiceName $svcName -WaitForBoot - - - Description - ----------- - This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is not enabled on the VM. WaitForBoot option enables to wait for VM to boot. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 7 -------------------------- - - - C:\PS> - - -$certs = Get-ChildItem Cert:\CurrentUser\My -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -X509Certificates $certs[0], $certs[1] -NoExportPrivateKey ` -| New-AzureVM -ServiceName $svcName -WaitForBoot - - - Description - ----------- - This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureVM. PrivateKeys are removed from X509Certificates before uploading them. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 8 -------------------------- - - - C:\PS> - - -New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` -| Add-AzureProvisioningConfig -Windows -Pass word $Password -AdminUsername PsTestAdmin ` -| New-AzureVM -ServiceName $svcName -DisableGuestAgent - - - Description - ----------- - This example creates a new Windows standalone virtual machine without enabling the provision guest agent and adds it to the specified service. WinRM Https listener is enabled by default on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add-AzureVMImage - - - The Add-AzureVMImage cmdlet adds a new operating system (OS) image to the image repository. The image should be a sysprep'd or generalized OS image. - - - - - - Add - AzureVMImage - - - - - - - - - - - Add-AzureVMImage - - ImageName - - Specifies the name of the image being added to the image repository. - - string - - - MediaLocation - - Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. - - string - - - OS - - Specifies the operating system version of the image. - - string - - - Label - - Specifies a label to give the image. - - string - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - string - - - Description - - Specifies the description of the OS image. - - string - - - ImageFamily - - Specifies a value that can be used to group OS images. - - string - - - PublishedDate - - Specifies the date when the OS image was added to the image repository. - - DateTime - - - RecommendedVMSize - - - Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - - string - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS image. - - Uri - - - - - - - Description - - Specifies the description of the OS image. - - string - - string - - - - - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - string - - string - - - - - - - ImageFamily - - Specifies a value that can be used to group OS images. - - string - - string - - - - - - - ImageName - - Specifies the name of the image being added to the image repository. - - string - - string - - - - - - - Label - - Specifies a label to give the image. - - string - - string - - - - - - - MediaLocation - - Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. - - string - - string - - - - - - - OS - - Specifies the operating system version of the image. - - string - - string - - - - - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS image. - - Uri - - Uri - - - - - - - PublishedDate - - Specifies the date when the OS image was added to the image repository. - - DateTime - - DateTime - - - - - - - RecommendedVMSize - - - Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - OSImageContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Add-AzureVMImage -ImageName imageName -MediaLocation http://yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd -Label imageLabel - - - Description - ----------- - This example adds a new operating system image in the repository - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImage - - - - Remove-AzureVMImage - - - - Update-AzureVMImage - - - - - - - Export-AzureVM - - Exports a Microsoft Azure virtual machine state to a file. - - - - - Export - AzureVM - - - - - The Export-AzureVM cmdlet exports the state of a virtual machine to an xml file. - - - Note: Using Export-AzureVM, followed by Remove-AzureVM and then Import-AzureVM to recreate a virtual machine can cause the resultant virtual machine to have a different IP address than the original. - - - - - Export-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service that hosts the virtual machine. - - - String - - - Name - - - Specifies the name of the virtual machine whose state you are exporting. - - - String - - - Path - - - Specifies the path and file name to which the virtual machine state will be saved. - - - String - - - - - - Name - - - Specifies the name of the virtual machine whose state you are exporting. - - - String - - String - - - - - - - Path - - - Specifies the path and file name to which the virtual machine state will be saved. - - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service that hosts the virtual machine. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Export-AzureVM -ServiceName $MyService -Name $MyRole -Path "C:\vms\VMstate.xml" - - - - - This command exports the state of the $MyRole virtual machine to the “VMstate.xml” file. - - - - - - - - - - - - Import-AzureVM - - - - New-AzureVM - - - - - - - Get-AzureAffinityGroup - - Returns an object that represents a Microsoft Azure affinity group. - - - - - Get - AzureAffinityGroup - - - - The Get-AzureAffinityGroup cmdlet returns an affinity group object that includes the affinity group name, location, label, description and the storage and hosted services that are part of the affinity group. - - - - Get-AzureAffinityGroup - - Name - - Affinity Group name. A name is assigned to the affinity group at the time of creation. Note that names for affinity groups created through the Management Portal are typically GUIDs and that the UI shows its label. - - String - - - - - - Name - - Affinity Group name. A name is assigned to the affinity group at the time of creation. Note that names for affinity groups created through the Management Portal are typically GUIDs and that the UI shows its label. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - AffinityGroup - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureAffinityGroup -Name "MyGroup1" - - - - - This example list the properties of the "MyGroup1" affinity group. - - - - - - - - - - - - - - - Get-AzureCertificate - - Gets a certificate object from the specified Microsoft Azure service. - - - - - Get - AzureCertificate - - - - - - - Get-AzureCertificate - - ServiceName - - - Specifies the name of the Microsoft Azure service that has the certificate. - - - String - - - Thumbprint - - - Specifies the thumbprint that identifies the certificate. - - - String - - - ThumbprintAlgorithm - - - Specifies the algorithm used to create the certificate thumbprint. - - - String - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service that has the certificate. - - - String - - String - - - - - - - Thumbprint - - - Specifies the thumbprint that identifies the certificate. - - - String - - String - - - - - - - ThumbprintAlgorithm - - - Specifies the algorithm used to create the certificate thumbprint. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - CertificateContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>$MyAzureCert = Get-AzureCertificate -ServiceName "MyService" - - - - - This command gets the certificate object from the specified cloud service, and stores it in the $MyAzureCert variable. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>$MyAzureCert = Get-AzureCertificate -ServiceName "MyService" `-Thumbprint <CertThumbprint> - - - - - This command gets the certificate object identified by the specified thumbprint from the specified hosted service, and stores it in the $MyAzureCert variable. - - - - - - - - - - - - Add-AzureCertificate - - - - Remove-AzureCertificate - - - - - - - Get-AzureDataDisk - - Gets a Microsoft Azure data disk object. - - - - - Get - AzureDataDisk - - - - The Get-AzureDataDisk cmdlet gets an object that represents the Microsoft Azure data disks on the specified virtual machine. To get a specific data disk object, specify the disk's LUN. - - - - Get-AzureDataDisk - - Lun - - Specifies the LUN where the data disk resides. - - Int32 - - - VM - - Specifies the virtual machine object from which to get data disk objects. - - IPersistentVM - - - - - - Lun - - Specifies the LUN where the data disk resides. - - Int32 - - Int32 - - - - - - - VM - - Specifies the virtual machine object from which to get data disk objects. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" –Name "MyVM" | Get-AzureDataDisk - - - This command gets the "MyVM" virtual machine running on the "myservice" cloud service, and then gets a list of the data disks mounted on the virtual machine. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>$dDisk = ( Get-AzureVM "myservice" -Name "MyVM" ` - | Get-AzureDataDisk -LUN 2 ) - - - - This command gets a data disk object, $dDisk, that represents the data disk mounted at LUN 2 on the Database virtual machine running on the Microsoft Azure service "myservice". - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureVM "MyService" –Name "MyVM" | Get-AzureDataDisk –LUN 1 - - - This command removes the data disk at LUN 1 on the "MyVM" virtual machine running on the Microsoft Azure service "MyService". - - - - - - - - - - - Get-AzureVM - - - - Add-AzureDataDisk - - - - Set-AzureDataDisk - - - - Remove-AzureDataDisk - - - - - - - Get-AzureDeployment - - Gets the details of the specified deployment. - - - - - Get - AzureDeployment - - - - - The Get-AzureDeployment cmdlet returns an object with the details of the specified Microsoft Azure deployment. The deployment is specified by using the Microsoft Azure service name and the slot (Production or Staging) that the deployment object describes. - - - - - Get-AzureDeployment - - ServiceName - - - Specifies the name of the Microsoft Azure cloud service. - - - String - - - Slot - - - Specifies the environment for the deployment. Choices are Staging or Production. If not specified, Production is assumed. - - - String - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure cloud service. - - - String - - String - - - - - - - Slot - - - Specifies the environment for the deployment. Choices are Staging or Production. If not specified, Production is assumed. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - DeploymentInfoContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDeployment -ServiceName "MyService" - - - - - This command will return the details of the production deployment of "MyService". - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureDeployment -ServiceName "MyService" -Slot Staging - - - - - This command returns the details of the staging deployment of "MyService". - - - - - - - - - - - - Move-AzureDeployment - - - - New-AzureDeployment - - - - Remove-AzureDeployment - - - - Set-AzureDeployment - - - - - - - Get-AzureDisk - - Gets an object with information on disks in the Microsoft Azure disk repository. - - - - - Get - AzureDisk - - - - - The Get-AzureDisk cmdlet retrieves an object with information about the disks stored in the Microsoft Azure disk repository for the current subscription. It returns a list object with information for all disks in the repository, or with information on a specific disk if its disk name is specified. - - - - - Get-AzureDisk - - DiskName - - - Specifies the name of the disk in the disk repository to return information about. - - - String - - - - - - DiskName - - - Specifies the name of the disk in the disk repository to return information about. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDisk -DiskName MyDataDisk - - - - - This command retrieves data about the "MyDataDisk" disk from the disk repository. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureDisk - - - - - This command retrieves data for all the disks in the disk repository. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureDisk | Where-Object {$_.AttachedTo –eq $null } ` - | Format-Table –auto "DiskName","DiskSizeInGB","MediaLink" - - - - - This command gets data for all of the disks in the disk repository that are not currently attached to a virtual machine and then formats the list as a table. - - - - - - - - - - - - Add-AzureDisk - - - - Remove-AzureDisk - - - - Update-AzureDisk - - - - - - - Get-AzureDns - - Gets an object with the DNS settings for the Microsoft Azure deployment. - - - - - Get - AzureDns - - - - The Get-AzureDNS cmdlet gets the DNS settings for a Microsoft Azure deployment. The returned settings are "name" (a friendly name) and "Address" which is the IP address of the DNS server. - - - - Get-AzureDns - - DnsSettings - - Specifies a DnsSettings object. - - DnsSettings - - - - - - DnsSettings - - Specifies a DnsSettings object. - - DnsSettings - - DnsSettings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDeployment -ServiceName "MySvc1" -Slot "Production" | Get-AzureDNS - - - - - This command gets the production DNS settings for the specified deployment. - - - - - - - - - - - - - - - Get-AzureEndpoint - - Gets an object with information about the endpoints assigned to a Microsoft Azure virtual machine. - - - - - Get - AzureEndpoint - - - - The Get-AzureEndpoint cmdlet returns an object with information about the endpoints that are assigned to a Microsoft Azure virtual machine. - - - - Get-AzureEndpoint - - Name - - Specifies the name of the input endpoint from which information will be retrieved. If the Name parameter is omitted, information about all endpoints assigned to the specified virtual machine is retrieved. - - String - - - VM - - Specifies the virtual machine object from which endpoint information will be retrieved. - - IPersistentVM - - - - - - Name - - Specifies the name of the input endpoint from which information will be retrieved. If the Name parameter is omitted, information about all endpoints assigned to the specified virtual machine is retrieved. - - String - - String - - - - - - - VM - - Specifies the virtual machine object from which endpoint information will be retrieved. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> Get-AzureVM –ServiceName “MyService” –Name “MyVM” | Get-AzureEndpoint - - - This command gets endpoint information for the virtual machine “MyVM”. - - - - - - - - - - - Add-AzureEndpoint - - - - Remove-AzureEndpoint - - - - Set-AzureEndpoint - - - - Get-AzureVM - - - - - - - Get-AzureLocation - - Gets the available data center locations for the current Microsoft Azure subscription. - - - - - Get - AzureLocation - - - - The Get-AzureLocation cmdlet returns a list object with the available Microsoft Azure data centers and their properties for the current Microsoft Azure subscription. Before running this cmdlet, you need to set your current subscription with Select-AzureSubscription and Set-AzureSubscription. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureLocation - - - This command gets a list of available data centers, and their properties, for the current subscription. - - - - - - - - - - - Select-AzureSubscription - - - - Set-AzureSubscription - - - - Import-AzurePublishSettingsFile - - - - - - - Get-AzureOSDisk - - Gets the operating system disk object for the specified Microsoft Azure virtual machine. - - - - - Get - AzureOSDisk - - - - - The Get-AzureOSDisk cmdlet gets an object representing the operating system disk of the specified virtual machine object. - - - - - Get-AzureOSDisk - - VM - - Specifies the virtual machine object whose operating system disk object you want to get. - - IPersistentVM - - - - - - VM - - Specifies the virtual machine object whose operating system disk object you want to get. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - PS C:\> Get-AzureVM –ServiceName “MyService” –Name “MyVM” | Get-AzureOSDisk - - - - - This command gets the operating system disk object for the "MyVM" virtual machine. - - - - - - - - - - - - - - - Get-AzureOSVersion - - Returns an object with all the available Microsoft Azure guest operating systems. - - - - - Get - AzureOSVersion - - - - The Get-AzureOSVersion cmdlet returns a list object with all the available Microsoft Azure guest operating systems. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureOSVersion - - - - - This command retrieves an object containing a list of all versions of the guest operating system that are available in the current subscription. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureOSVersion | Format-Table –auto "Family", "FamilyLabel", "Version" - - - - - This command retrieves an object containing a list of all versions of the guest operating system that are available in the current subscription, and formats them in a table showing the OS Family, OS Family Label, and Version. - - - - - - - - - - - - - - - Get-AzureRegion - - - - - - - - Get - AzureRegion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureRemoteDesktopFile - - Gets a remote desktop connection file (.RDP) for the specified Microsoft Azure virtual machine. - - - - - Get - AzureRemoteDesktopFile - - - - The Get-AzureRemoteDesktopFile cmdlet downloads and saves a remote desktop connection (RDP) file to a local disk file. The cmdlet can optionally launch a remote desktop connection to the specified virtual machine. - - - - Get-AzureRemoteDesktopFile - - ServiceName - - Specifies the Microsoft Azure service name. - - String - - - Name - - Specifies the virtual machine to download an RDP file for. - - String - - - LocalPath - - - Specifies the path and name of the downloaded RDP file on the local disk. - - - String - - - - Get-AzureRemoteDesktopFile - - ServiceName - - Specifies the Microsoft Azure service name. - - String - - - Name - - Specifies the virtual machine to download an RDP file for. - - String - - - LocalPath - - - Specifies the path and name of the downloaded RDP file on the local disk. - - - String - - - Launch - - When specified, launches a remote desktop session to the specified virtual machine. - - SwitchParameter - - - - - - Launch - - When specified, launches a remote desktop session to the specified virtual machine. - - SwitchParameter - - SwitchParameter - - - - - - - LocalPath - - - Specifies the path and name of the downloaded RDP file on the local disk. - - - String - - String - - - - - - - Name - - Specifies the virtual machine to download an RDP file for. - - String - - String - - - - - - - ServiceName - - Specifies the Microsoft Azure service name. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureRemoteDesktopFile -ServiceName "myservice" -Name "MyVM-01_IN_0" -LocalPath "c:\temp\MyVM01.rdp" - - - - - This command gets an RDP file for the "MyVM-01_IN_0" virtual machine running on the "myservice" service and stores it as "c:\temp\MyVM01.rdp". - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureRemoteDesktopFile -ServiceName "myservice" -Name "MyVM-01_IN_0" –Launch - - - - - This command gets an RDP connection file for the "MyVM-01_IN_0" virtual machine running on the "myservice" service and launches a remote desktop connection to the specified virtual machine. The RDP file is deleted when the connection is closed. - - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureRole - - Returns a list of roles in your Microsoft Azure service. - - - - - Get - AzureRole - - - - The Get-AzureRole cmdlet returns a list object with details on the roles in your Microsoft Azure service. If the RoleName parameter is specified, Get-AzureRole returns details on that role only. If the InstanceDetails parameter is specified, additional, instance specific details are returned. - - - - Get-AzureRole - - ServiceName - - Specifies the name of the Microsoft Azure service. - - String - - - Slot - - Specifies the Microsoft Azure deployment environment. Choices are "Production" or "Staging". - - String - - - RoleName - - When specified, returns details only on the specified role. - - String - - - InstanceDetails - - When specified, returns details about the instances on each role. - - SwitchParameter - - - - - - InstanceDetails - - When specified, returns details about the instances on each role. - - SwitchParameter - - SwitchParameter - - - - - - - RoleName - - When specified, returns details only on the specified role. - - String - - String - - - - - - - ServiceName - - Specifies the name of the Microsoft Azure service. - - String - - String - - - - - - - Slot - - Specifies the Microsoft Azure deployment environment. Choices are "Production" or "Staging". - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production - - - - This command returns an object with details on all the production roles running on the "MySvc1" service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Staging –RoleName "MyTestVM3" - - - - This command returns an object with details on the "MyTestVM3" role, running on the staging environment of the "MySvc1" service. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production –RoleName "MyTestVM2" -InstanceDetails - - - - This command returns an object with details on the instances of the "MyTestVM2" role running in the production environment on the "MySvc1" service. - - - - - - - - - - - -------------- Example 4 -------------- - - - - - - - C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production -InstanceDetails ` - | Format-Table –Auto "InstanceName", "InstanceSize", "InstanceStatus" - - - - This command returns a table of the instance name, size, and status of all role instances running in the production environment on the "MySvc1" service. - - - - - - - - - - - - Set-AzureRole - - - - - - - Get-AzureService - - Returns an object with information about the cloud services for the current subscription. - - - - - Get - AzureService - - - - The Get-AzureService cmdlet returns a list object with all of the Microsoft Azure cloud services associated with the current subscription. If the ServiceName parameter is specified, Get-AzureService will return information on only the matching service. - - - - Get-AzureService - - ServiceName - - - If specified, returns information on the specified service. - - - String - - - - - - ServiceName - - - If specified, returns information on the specified service. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - HostedServiceContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureService - - - - - This command returns a list object that contains information about all of the Microsoft Azure services associated with the current subscription. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureService –ServiceName $MySvc - - - - - This command returns information about the $MySvc service. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureService | Get-Member - - - - - This command displays the properties and methods that are available from the Get-AzureService cmdlet. - - - - - - - - - - - - Set-AzureService - - - - New-AzureService - - - - - - - Get-AzureStorageAccount - - Gets the storage accounts for the current Microsoft Azure subscription. - - - - - Get - AzureStorageAccount - - - - The Get-AzureStorageAccount cmdlet returns an object with the details about the storage accounts for the current subscription. If the StorageAccountName parameter is specified, then only that storage account is returned. - - - - Get-AzureStorageAccount - - StorageAccountName - - If specified, the cmdlet returns only the specified storage account object. - - String - - - - - - StorageAccountName - - If specified, the cmdlet returns only the specified storage account object. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - - node-dev, php-dev - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Get-AzureStorageAccount - - - - - This command returns an object with all the storage accounts associated with the current subscription. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - C:\PS>Get-AzureStorageAccount –StorageAccountName "mystore1" - - - - - This command returns an object with only the "mystore1" account information. - - - - - - - - - - -------------- Example 3 -------------- - - - - - - C:\PS>Get-AzureStorageAccount | Format-Table -auto @{Label="Name";Expression={$_.StorageAccountName}},"Label","Location" - - - - - This command returns an object with all the storage accounts associated with the current subscription, and outputs them as a table showing the account name, the account label, and the storage location. - - - - - - - - - - - - New-AzureStorageAccount - - - - Set-AzureStorageAccount - - - - Get-AzureStorageAccount - - - - - - - Get-AzureStorageKey - - Returns the primary and secondary storage account keys for a Microsoft Azure storage account. - - - - - Get - AzureStorageKey - - - - The Get-AzureStorageKey cmdlet returns an object with the storage account name, the primary account key, and the secondary account key of the specified Microsoft Azure storage account as properties. - - - - Get-AzureStorageKey - - StorageAccountName - - Specifies the storage account name. - - String - - - - - - StorageAccountName - - Specifies the storage account name. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - node-dev, php-dev - - - - - -------------- Example 1 -------------- - - - - - - PS C:\> Get-AzureStorageKey –StorageAccountName "mystore1" - - - - - This command gets an object with the primary and secondary storage keys for the "mystore1" storage account. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - PS C:\> $myStoreKey = (Get-AzureStorageKey –StorageAccountName "mystore1").Primary - - - - - This command puts the primary storage account key for the "mystore1" storage account in the $myStoreKey variable. - - - - - - - - - - - - Get-AzureStorageAccount - - - - New-AzureStorageAccount - - - - New-AzureStorageKey - - - - Remove-AzureStorageAccount - - - - Set-AzureStorageAccount - - - - - - - Get-AzureSubnet - - Gets a list of subnets associated with the specified Microsoft Azure virtual machine. - - - - - Get - AzureSubnet - - - - The Get-AzureSubnet cmdlet returns a list the subnets associated with the specified virtual machine. Use Get-AzureVM to specify the virtual machine. - - - - Get-AzureSubnet - - VM - - Specifies the virtual machine object from which to get the subnet list. - - IPersistentVM - - - - - - VM - - Specifies the virtual machine object from which to get the subnet list. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>$myVM = Get-AzureVM –ServiceName "MySvc" –Name "MyVM" - C:\PS>Get-AzureSubnet –VM $myVM - - - This example gets the Microsoft Azure subnets for the virtual machine "MyVM" running in "MySvc" - - - - - - - - - - - Get-AzureVM - - - - - - - Get-AzureVM - - Retrieves information from one or more Microsoft Azure virtual machines. - - - - - Get - AzureVM - - - - - The Get-AzureVM cmdlet retrieves information about virtual machines running in Microsoft Azure. It returns an object with information on a specific virtual machine, or if no virtual machine is specified, for all the virtual machines in the specified service of the current subscription. - - - - - Get-AzureVM - - ServiceName - - - The name of the cloud service for which to return virtual machine information. - - - String - - - Name - - - Specifies the name of the virtual machine for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the virtual machines in the specified service. - - - String - - - - - - Name - - - Specifies the name of the virtual machine for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the virtual machines in the specified service. - - - String - - String - - - - - - - ServiceName - - - The name of the cloud service for which to return virtual machine information. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM1" - - - - - This command returns an object with information on the "MyVM1" virtual machine running in the "MySvc1" cloud service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "MySvc1" - - - - - This command retrieves a list object with information on all of the virtual machines running in the "MySvc1" cloud service. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "MySvc1" ` - | Format-Table –auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" - - - - This command displays a table showing the virtual machines running on the "MySvc1" service, their Upgrade Domain, and the current status of each machine. - - - - - - - - - - - - New-AzureVMConfig - - - - Remove-AzureVM - - - - Restart-AzureVM - - - - Start-AzureVM - - - - Stop-AzureVM - - - - Update-AzureVM - - - - New-AzureVM - - - - - - - - Get-AzureVMImage - - - The Get-AzureVMImage cmdlet gets the properties on one or a list of OS or VM image in the image repository. - - - - - - Get - AzureVMImage - - - - - The Get-AzureVMImage cmdlet returns one or a list of OS or VM object(s) with information on one or more operating system images stored in the image repository. The cmdlet returns information for all images in the repository, or about a specific image if its image name is provided. - - - - - Get-AzureVMImage - - ImageName - - Specifies the name of the OS or VM image in the image repository. If not specified, all the images will be returned. - - string - - - - - - - ImageName - - Specifies the name of the OS or VM image in the image repository. If not specified, all the images will be returned. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMImage -ImageName MyImage - - - Description - ----------- - This command retrieves the "MyImage" OS or VM image object from the current image repository. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureVMImage - - - Description - ----------- - This command retrieves all the OS and VM images from the current image repository. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - $subsId = <MySubscriptionID> - C:\PS>$cert = Get-AzureCertificate cert:\LocalMachine\MY\<CertificateThumbprint> - C:\PS>$MyOSImages = Get-AzureVMImage - - - Description - ----------- - This command sets the subscription context and then retrieves all the images from the image repository. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVNetConfig - - Gets the Microsoft Azure virtual network configuration from the current subscription. - - - - - Get - AzureVNetConfig - - - - - The Get-AzureVNetConfig retrieves the virtual network configuration of the current Microsoft Azure subscription. If the ExportToFile parameter is specified, a network configuration file is created. - - - - - Get-AzureVNetConfig - - ExportToFile - - - Specifies the path and file name of a network configuration file to be created from the settings. - - - String - - - - - - ExportToFile - - - Specifies the path and file name of a network configuration file to be created from the settings. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVNetConfig - - - - - This command gets the virtual network configuration of the current Microsoft Azure subscription and displays it. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVNetConfig -ExportToFile "c:\temp\MyAzNets.netcfg" - - - - - This command retrieves the virtual network configuration of the current Microsoft Azure subscription and then saves it to a local file. - - - - - - - - - - - - Get-AzureVNetSite - - - - Remove-AzureVNetConfig - - - - Set-AzureVNetConfig - - - - - - - Get-AzureVNetConnection - - Returns an object with all of the virtual network connections to the specified Microsoft Azure virtual network. - - - - - Get - AzureVNetConnection - - - - The Get-AzureVNetConnections cmdlet returns an object with all of the current active connections to the specified Microsoft Azure virtual network. - - - - Get-AzureVNetConnection - - VNetName - - - Specifies the name of the virtual network from which to return connections. - - - String - - - - - - VNetName - - - Specifies the name of the virtual network from which to return connections. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVNetConnection –VNetName "VNet1" - - - - - Gets a list of all of the current connections to the "VNet1" virtual network. - - - - - - - - - - - - Start-VirtualNetworkGateway - - - - End-VirtualNetworkGateway - - - - - - - Get-AzureVNetGateway - - Retrieves an object with information about a Microsoft Azure virtual network gateway. - - - - - Get - AzureVNetGateway - - - - The Get-AzureVNetGateway cmdlet retrieves an object with information about a Microsoft Azure virtual network gateway from the current Microsoft Azure subscription. A virtual network gateway is a connection between a local network site with a VPN device and a Microsoft Azure virtual network. - - - - Get-AzureVNetGateway - - VNetName - - Specifies the virtual network name whose virtual network gateway object will be retrieved. - - String - - - - - - VNetName - - Specifies the virtual network name whose virtual network gateway object will be retrieved. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-VNetGateway –VnetName "MyVNet01" - - - - - This command gets a Microsoft Azure virtual network gateway object from the "MyVNet01" virtual network. - - - - - - - - - - - - - - - Get-AzureVNetGatewayKey - - Returns a shared key that can be used to configure a VPN device. - - - - - Get - AzureVNetGatewayKey - - - - - The Get-AzureVNetGatewayKey cmdlet returns the shared key used by the VPN device on the specified LocalNetworkSiteName to authenticate to the Microsoft Azure Virtual Network Gateway for the specified Microsoft Azure virtual network. - - - - - Get-AzureVNetGatewayKey - - VNetName - - Specifies the name of the Microsoft Azure virtual network that the VPN device connects to. - - String - - - LocalNetworkSiteName - - Specifies the local network site name for which to retrieve a shared key. - - String - - - - - - LocalNetworkSiteName - - Specifies the local network site name for which to retrieve a shared key. - - String - - String - - - - - - - VNetName - - Specifies the name of the Microsoft Azure virtual network that the VPN device connects to. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> Get-AzureVNetGatewayKey –VNetName "MyVirtualNetwork" –LocalNetworkSiteName "MyBranchOffice" - - - - This command retrieves a shared-key to allow the VPN device at the specified local network site to authenticate to the specified virtual network. - - - - - - - - - - - - - - Get-AzureVNetSite - - Returns an object describing Microsoft Azure virtual networks. - - - - - Get - AzureVNetSite - - - - The Get-AzureVNetSite cmdlet returns a list object with information about Microsoft Azure virtual networks for the current subscription.. If you specify a virtual network name, only information for that virtual network is returned. - - - - Get-AzureVNetSite - - VNetName - - - Specifies a virtual network name to return information about. - - - String - - - - - - VNetName - - - Specifies a virtual network name to return information about. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVNetSite - - - - - This example retrieves information about all the virtual networks in the current subscription. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVNetSite –VNetName "MyProductionNetwork" - - - - - This example retrieves information on the "MyProductionNetwork" virtual network only. - - - - - - - - - - - - Get-AzureVNetConfig - - - - Remove-AzureVNetConfig - - - - Set-AzureVNetConfig - - - - - - - Import-AzureVM - - Imports a Microsoft Azure virtual machine state from a file. - - - - - Import - AzureVM - - - - - The Import-AzureVM cmdlet imports the previously saved state of a virtual machine from an xml file. This cmdlet is useful when you want to subsequently create a new virtual machine from the imported data. - - - Note: Using Export-AzureVM, followed by Remove-AzureVM and then Import-AzureVM to recreate a virtual machine can cause the resultant virtual machine to have a different IP address than the original. - - - - - Import-AzureVM - - Path - - - Specifies the path to the file with the previously saved virtual machine state. - - - String - - - - - - Path - - - Specifies the path to the file with the previously saved virtual machine state. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Import-AzureVM -Path "C:\VMstate.xml" | New-AzureVM –ServiceName "mynewsvc" - - - - This command imports the state of a virtual machine from the "myvm.xml" file, and then creates a new virtual machine in the specified cloud service. - - - - - - - - - - - - Export-AzureVM - - - - New-AzureVM - - - - - - - Move-AzureDeployment - - Swaps the deployments in production and staging. - - - - - Move - AzureDeployment - - - - - The Move-AzureDeployment swaps the virtual IP addresses (VIPs) of deployments in production and staging environments. A deployment currently running in the staging environment will be swapped to the production environment, and a deployment running in the production environment will be swapped to the staging environment. If there is a deployment in the staging environment and no deployment in the production environment, the deployment will move to production. If there is no deployment in the staging environment, the cmdlet will fail. - - - - - Move-AzureDeployment - - ServiceName - - - Specifies the name of the service whose production and staging deployments will be swapped. - - - String - - - - - - ServiceName - - - Specifies the name of the service whose production and staging deployments will be swapped. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Move-AzureDeployment -ServiceName "myservice" - - - - - This command swaps the deployments of the "myservice" service between the production and stanging environments. - - - - - - - - - - - - Get-AzureDeployment - - - - New-AzureDeployment - - - - Remove-AzureDeployment - - - - Set-AzureDeployment - - - - - - - New-AzureAffinityGroup - - Creates a new affinity group for the current Microsoft Azure subscription. - - - - - New - AzureAffinityGroup - - - - The New-AzureAffinityGroup cmdlet creates a new affinity group in the current subscription. An affinity group places your services and their resources together in a Microsoft Azure data center. The affinity group members are grouped together for optimal performance. - Affinity groups are defined at the subscription level and are available to any subsequent cloud services or storage accounts that you create. Services can be added to an affinity group only at the time of creation. - - - - New-AzureAffinityGroup - - Name - - - Specifies a name for the new affinity group that is unique to the subscription. - - - String - - - Description - - Specifies a description for the affinity group. The description may be up to 1024 characters in length. - - String - - - Label - - Specifies a label for the affinity group. The label may be up to 100 characters in length. - - String - - - Location - - Specifies the geographical location of the data center where the affinity group will be created. - - String - - - - - - Description - - Specifies a description for the affinity group. The description may be up to 1024 characters in length. - - String - - String - - - - - - - Label - - Specifies a label for the affinity group. The label may be up to 100 characters in length. - - String - - String - - - The same one as the Name - - - Location - - Required if AffinityGroup is not specified. The Location parameter specifies the geographical location of the data center where the affinity group will be created. - - String - - String - - - - - - - Name - - - Specifies a name for the new affinity group that is unique to the subscription. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureAffinityGroup -Name South1 -Location "South Central US" -Label "South Region" -Description "Affinity group for production applications in southern region." - - - - - This command creates a new affinity group named "South1" in the "South Central US" region and specifies both a label and a description. - - - - - - - - - - - - Get-AzureAffinityGroup - - - - Remove-AzureAffinityGroup - - - - Set-AzureAffinityGroup - - - - - - - New-AzureCertificateSetting - - Creates a setting object to insert an existing certificate into new Microsoft Azure virtual machines. - - - - - New - AzureCertificateSetting - - - - The New-AzureCertificateSetting cmdlet creates a certificate setting object for a certificate that has already been added to Microsoft Azure. This certificate setting object can be used by New-AzureProvisioningConfig when creating the configuration object for a new virtual machine using New-AzureVM, or when creating a new virtual machine with New-AzureQuickVM. When included as part of a virtual machine creation script, this adds the specified certificate to the new virtual machine. - - - - New-AzureCertificateSetting - - StoreName - - Specifies the Certificate Store to place the certificate in. - - String - - - Thumbprint - - Specifies the thumbprint of the certificate. - - String - - - - - - StoreName - - Specifies the Certificate Store to place the certificate in. - - String - - String - - - - - - - Thumbprint - - Specifies the thumbprint of the certificate. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>$myWinCert = New-AzureCertificateSetting –Thumbprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –StoreName "My" - - - - This command creates a certificate setting object for an existing certificate and then stores the object in a variable for later use. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Add-AzureCertificate –ServiceName "MySvc" –CertToDeploy "C:\temp\MyWinCert.cer" - C:\PS>$myWinCert = New-AzureCertificateSetting –Thumbprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –StoreName "My" - C:\PC>New-AzureVMConfig -Name "MyVM2" -InstanceSize Small -ImageName $winImage ` - | Add-AzureProvisioningConfig -Windows -Certificates $myWinCert -Password 'pass@word1' ` - | New-AzureVM -ServiceName "MySvc" - - - This command adds a certificate to the Microsoft Azure service, and then creates a new Windows virtual machine that uses the certificate. - - - - - - - - - - - - - - New-AzureDeployment - - Creates a new deployment from a service comprising web roles and worker roles. - - - - - New - AzureDeployment - - - - - The New-AzureDeployment cmdlet creates a new deployment based on package files (.cspkg) and a service configuration files (.cscfg). Use the New-AzureVM cmdlet to create a new deployment based on Microsoft Azure virtual machines. - - There should not be an existing deployment with the same name nor in the same deployment environment when executing this command. If there is, the command will fail. - - - - - New-AzureDeployment - - ServiceName - - - Specifies Microsoft Azure service name for the deployment. - - - String - - - Package - - - Specifies the path or URI to a .cspkg blob in a storage within the same subscription/project. - - - String - - - Configuration - - - Specifies the path and file name of a service configuration file (.cscfg). - - - String - - - Slot - - - Specifies the environment where the deployment is created. Acceptable values are Staging or Production. If not specified, Production is used. - - - String - - - Label - - - Specifies the label name for the new deployment. If not specified, a Globally Unique Identifier (GUID) is used. - - - String - - - Name - - - Specifies the deployment name. If not specified, a Global Unique Identifier is used. - - - String - - - DoNotStart - - Specifies that the new deployment will not be started when it is created. - - SwitchParameter - - - TreatWarningsAsError - - Causes warning messages to be treated as errors, resulting in the deployment failing on warnings. - - SwitchParameter - - - ExtensionConfiguration - - Optional array of extension configuration objects. - - ExtensionConfigurationInput[] - - - - - - Configuration - - - Specifies the path and file name of a service configuration file (.cscfg). - - - String - - String - - - - - - - DoNotStart - - Specifies that the new deployment will not be started when it is created. - - SwitchParameter - - SwitchParameter - - - - - - - Label - - - Specifies the label name for the new deployment. If not specified, a Globally Unique Identifier (GUID) is used. - - - String - - String - - - The same as Name - - - Name - - - Specifies the deployment name. If not specified, a Global Unique Identifier is used. - - - String - - String - - - Guid - - - Package - - - Specifies the path or URI to a .cspkg blob in a storage within the same subscription/project. - - - String - - String - - - - - - - ServiceName - - - Specifies Microsoft Azure service name for the deployment. - - - String - - String - - - - - - - Slot - - - Specifies the environment where the deployment is created. Acceptable values are Staging or Production. If not specified, Production is used. - - - String - - String - - - Production - - - TreatWarningsAsError - - Causes warning messages to be treated as errors, resulting in the deployment failing on warnings. - - SwitchParameter - - SwitchParameter - - - - - - - ExtensionConfiguration - - Optional array of extension configuration objects. - - ExtensionConfigurationInput[] - - ExtensionConfigurationInput[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> New-AzureDeployment -ServiceName "myservice" -Slot "Production" -Package "https://mystorage.blob.core.windows.net/mycontainer/MyPackage.cspkg" -Configuration "c:\packages\mypackage.cscfg" -Label "MyDeployment" - - - - - This example creates a new deployment based on a package location and a configuration path. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - PS C:\> New-AzureDeployment -ServiceName $svc -Package $pkg -Configuration $cnfg -Slot Production -ExtensionConfiguration $rdpConfig - - - - - - - This example installs the extension configuration in the specified Cloud Service and applies them on roles. - - - - - - - - - - - - Get-AzureDeployment - - - - Remove-AzureDeployment - - - - New-AzureVMConfig - - - - Set-AzureDeployment - - - - - - - New-AzureDns - - Creates a DNS settings object to be used when creating a Microsoft Azure deployment. - - - - - New - AzureDns - - - - The New-AzureDNS cmdlet creates a DNS settings object for use by the New-AzureVM cmdlet. It accepts two parameters: Name and Address. The Name parameter is a friendly name, not necessarily a DNS resolvable name, and the Address parameter is the IP address of the DNS server. - - - - New-AzureDns - - Name - - Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name. - - String - - - IPAddress - - Specifies the IP address of the DNS server. - - String - - - - - - IPAddress - - Specifies the IP address of the DNS server. - - String - - String - - - - - - - Name - - Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>$dns1 = New-AzureDns –Name "dns1" –address "10.1.2.4" - - - - - This command creates a new Microsoft Azure DNS settings object. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>$dns1 = New-AzureDns –Name "dns1" –address "10.1.2.4" - C:\PS>New-AzureVM –ServiceName $MyService –AffinityGroup $MyAG –VnetName $VNet1 –DnsSettings $dns1 –VMs $MyVMconfig - - - - This command creates a new Microsoft Azure DNS settings object that is then used during the creation of a virtual machine with the New-AzureVM cmdlet. - - - - - - - - - - - - - - - - - - New-AzureQuickVM - - - - - - - - New - AzureQuickVM - - - - The New-AzureQuickVM sets the configuration for a new virtual machine and creates the virtual machine. It can create a new Microsoft Azure service, or deploy the new virtual machine into an existing service if neither -Location or -AffinityGroup is specified. - - - - - New-AzureQuickVM - - ImageName - - Specifies the name of the operating system image to use to create the operating system disk. - - string - - - Linux - - Specify to create a Linux virtual machine. - - - - ServiceName - - - Specifies the new or existing service name. - - If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. - If the service exists, the -Location or -AffinityGroup parameter is not needed. - - - string - - - AffinityGroup - - Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. - - string - - - AvailabilitySetName - - Specify the availability set to use. - - string - - - CustomDataFile - - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - - On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. - On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - - string - - - DisableGuestAgent - - Not Specified - - - - DnsSettings - - Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. - - DnsServer[] - - - HostCaching - - Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". - - string - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". - - string - - - LinuxUser - - Specifies the Linux administrative account name to create. - - string - - - Location - - Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. - - string - - - MediaLocation - - Specifies the Microsoft Azure storage location to use for the virtual machines disks. - - string - - - Name - - Specifies the name of the virtual machine. - - string - - - Password - - Specifies the password for the administrative account. - - string - - - ReservedIPName - - Not Specified - - string - - - SSHKeyPairs - - - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - - SSHPublicKeys - - - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - - SubnetNames - - Specifies a list of subnet names the virtual machine will use. - - string[] - - - VNetName - - Specifies the name of a virtual network the virtual machine will use. - - string - - - WaitForBoot - - Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - - - - - New-AzureQuickVM - - ImageName - - Specifies the name of the operating system image to use to create the operating system disk. - - string - - - ServiceName - - - Specifies the new or existing service name. - - If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. - If the service exists, the -Location or -AffinityGroup parameter is not needed. - - - string - - - Windows - - Include to create a Windows virtual machine. - - - - AdminUsername - - Specifies the Administrator account to create. - - string - - - AffinityGroup - - Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. - - string - - - AvailabilitySetName - - Specify the availability set to use. - - string - - - Certificates - - Specifies a certificate list to use for creating the service. - - CertificateSettingList - - - CustomDataFile - - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - - On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. - On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - - string - - - DisableGuestAgent - - Not Specified - - - - DisableWinRMHttps - - Disables WinRM on https which is added by default. - - - - DnsSettings - - Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. - - DnsServer[] - - - EnableWinRMHttp - - Enables WinRM over http. - - - - HostCaching - - Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". - - string - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". - - string - - - Location - - Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. - - string - - - MediaLocation - - Specifies the Microsoft Azure storage location to use for the virtual machines disks. - - string - - - Name - - Specifies the name of the virtual machine. - - string - - - NoExportPrivateKey - - Prevents the private key from being uploaded - - - - NoWinRMEndpoint - - Prevents the WinRM endpoint from being added - - - - Password - - Specifies the password for the administrative account. - - string - - - ReservedIPName - - Not Specified - - string - - - SubnetNames - - Specifies a list of subnet names the virtual machine will use. - - string[] - - - VNetName - - Specifies the name of a virtual network the virtual machine will use. - - string - - - WaitForBoot - - Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - - - - WinRMCertificate - - Certificate that will be associated with WinRM endpoint. - - X509Certificate2 - - - X509Certificates - - X509 certificates that will be deployed to hosted service. - - X509Certificate2[] - - - - - - - AdminUsername - - Specifies the Administrator account to create. - - - string - - string - - - - - - AffinityGroup - - Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. - - - string - - string - - - - - - AvailabilitySetName - - Specify the availability set to use. - - - string - - string - - - - - - Certificates - - Specifies a certificate list to use for creating the service. - - - CertificateSettingList - - CertificateSettingList - - - - - - CustomDataFile - - - This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - - On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. - On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - - - - string - - string - - - - - - DisableGuestAgent - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - DisableWinRMHttps - - Disables WinRM on https which is added by default. - - - SwitchParameter - - SwitchParameter - - - - - - DnsSettings - - Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. - - - DnsServer[] - - DnsServer[] - - - - - - EnableWinRMHttp - - Enables WinRM over http. - - - SwitchParameter - - SwitchParameter - - - - - - HostCaching - - Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". - - - string - - string - - - - - - ImageName - - Specifies the name of the operating system image to use to create the operating system disk. - - - string - - string - - - - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". - - - string - - string - - - - - - Linux - - Specify to create a Linux virtual machine. - - - SwitchParameter - - SwitchParameter - - - - - - LinuxUser - - Specifies the Linux administrative account name to create. - - - string - - string - - - - - - Location - - Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. - - - string - - string - - - - - - MediaLocation - - Specifies the Microsoft Azure storage location to use for the virtual machines disks. - - - string - - string - - - - - - Name - - Specifies the name of the virtual machine. - - - string - - string - - - - - - NoExportPrivateKey - - Prevents the private key from being uploaded - - - SwitchParameter - - SwitchParameter - - - - - - NoWinRMEndpoint - - Prevents the WinRM endpoint from being added - - - SwitchParameter - - SwitchParameter - - - - - - Password - - Specifies the password for the administrative account. - - - string - - string - - - - - - ReservedIPName - - Not Specified - - - string - - string - - - - - - ServiceName - - - Specifies the new or existing service name. - - If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. - If the service exists, the -Location or -AffinityGroup parameter is not needed. - - - - string - - string - - - - - - SSHKeyPairs - - - - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - LinuxProvisioningConfigurationSet+SSHKeyPairList - - - - - - SSHPublicKeys - - - - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - LinuxProvisioningConfigurationSet+SSHPublicKeyList - - - - - - SubnetNames - - Specifies a list of subnet names the virtual machine will use. - - - string[] - - string[] - - - - - - VNetName - - Specifies the name of a virtual network the virtual machine will use. - - - string - - string - - - - - - WaitForBoot - - Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - - - SwitchParameter - - SwitchParameter - - - - - - Windows - - Include to create a Windows virtual machine. - - - SwitchParameter - - SwitchParameter - - - - - - WinRMCertificate - - Certificate that will be associated with WinRM endpoint. - - - X509Certificate2 - - X509Certificate2 - - - - - - X509Certificates - - X509 certificates that will be deployed to hosted service. - - - X509Certificate2[] - - X509Certificate2[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - New-AzureQuickVM -Windows -ServiceName "MySvc1" -name "MyWinVM1" -ImageName $image -Password $adminPasswd -AdminUsername PsTestAdmin -WaitForBoot - - - Description - ----------- - This example creates a new Windows virtual machine in an existing service from an image. (Use Get-AzureVMImage to get a list of images.) Optional WaitForBoot flag blocks New-AzureVM till the VM boots. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $certs = Get-ChildItem Cert:\CurrentUser\My - New-AzureQuickVM -Windows -ServiceName "MySvc1" -name "MyWinVM1" -ImageName $image -Password $adminPasswd -AdminUserName PsTestAdmin -WinRMCertificate $certs[0] -X509Certificates $certs[1], $certs[2] -WaitForBoot - - - Description - ----------- - - This example creates a new Windows virtual machine in an existing service from an image. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureQuickVM. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - New-AzureQuickVM -Linux -ServiceName "MySvc2" -name "MyLxVM1" -ImageName $image -LinuxUser $user -Password $adminPasswd -Location $dclocation - - - Description - ----------- - This example creates a new Linux virtual machine from an image, and creates a new service to host it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - $dclocations = Get-AzureLocation - $images = Get-AzureVMImage - New-AzureQuickVM -Windows -InstanceSize "Large" -ServiceName "MySvc3" -name "MyWinVM1" -ImageName $images[4].imagename -Password $adminPasswd -AdminUsername PSTestAdmin -location $dclocations[0].name - - - Description - ----------- - - This example gets a list of data center locations, and a list of virtual machine images, and then creates a new large Windows virtual machine and a new service. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 5 -------------------------- - - - C:\PS> - - - $dclocations = Get-AzureLocation - $images = Get-AzureVMImage - New-AzureQuickVM -Windows -InstanceSize "Large" -ServiceName "MySvc3" -name "MyWinVM1" -ImageName $images[4].imagename -Password $adminPasswd -AdminUsername PSTestAdmin -location $dclocations[0].name -ReservedIPName $ipName - - - Description - ----------- - - This example creates a new Windows virtual machine with a Reserved IP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureService - - Creates a new Microsoft Azure service. - - - - - New - AzureService - - - - - The New-AzureService cmdlet creates a new Microsoft Azure service in the current subscription. - - - - - New-AzureService - - ServiceName - - - Specifies the name of the new service. The name must be unique to the subscription. - - - String - - - AffinityGroup - - - Specifies the affinity group associated with the subscription. An affinity group is required if the Location isn't specified. - - - String - - - Label - - - Specifies a label for the service. The label may be up to 100 characters in length. - - - String - - - Description - - - Specifies a description for the service. The description may be up to 1024 characters in length. - - - String - - - - New-AzureService - - ServiceName - - - Specifies the name of the new service. The name must be unique to the subscription. - - - String - - - Location - - Specifies the location for the service. A location is required if there isn't a specified Affinity Group. - - String - - - Label - - - Specifies a label for the service. The label may be up to 100 characters in length. - - - String - - - Description - - - Specifies a description for the service. The description may be up to 1024 characters in length. - - - String - - - - - - AffinityGroup - - - Specifies the affinity group associated with the subscription. An affinity group is required if the Location isn't specified. - - - String - - String - - - - - - - Description - - - Specifies a description for the service. The description may be up to 1024 characters in length. - - - String - - String - - - - - - - Label - - - Specifies a label for the service. The label may be up to 100 characters in length. - - - String - - String - - - Service name - - - Location - - Specifies the location for the service. A location is required if there isn't a specified Affinity Group. - - String - - String - - - - - - - ServiceName - - - Specifies the name of the new service. The name must be unique to the subscription. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureService -ServiceName "MySvc1" -Label "MyTestService" -Location "South Central US" - - - - - This command creates a new service named "MySvc1" in the South Central US location. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>New-AzureService -ServiceName "MySvc1" -AffinityGroup NorthRegion - - - - - This command creates a new service named "MySvc1" using the NorthRegion affinity group. - - - - - - - - - - - - Get-AzureService - - - - Remove-AzureService - - - - Set-AzureService - - - - - - - New-AzureSSHKey - - Creates a SSH Key object to insert an existing certificate into new Linux-based Microsoft Azure virtual machines. - - - - - New - AzureSSHKey - - - - The New-AzureSSHKey cmdlet creates an SSH Key object for a certificate that has already been added to Microsoft Azure. This SSH Key object can then be used by New-AzureProvisioningConfig when creating the configuration object for a new virtual machine using New-AzureVM, or when creating a new virtual machine with New-AzureQuickVM. When included as part of a virtual machine creation script, this adds the specified SSH Public Key or Key Pair to the new virtual machine. - - - - New-AzureSSHKey - - KeyPair - - When specified, creates an object for inserting an SSH Key Pair into the new virtual machine configuration. - - SwitchParameter - - - Fingerprint - - Specifies the fingerprint of the certificate. - - String - - - Path - - Specifies the path to store the SSH Public Key or Key Pair. - - String - - - - New-AzureSSHKey - - PublicKey - - When specified, creates an object for inserting an SSH Public Key into the new virtual machine configuration. - - SwitchParameter - - - Fingerprint - - Specifies the fingerprint of the certificate. - - String - - - Path - - Specifies the path to store the SSH Public Key or Key Pair. - - String - - - - - - Fingerprint - - Specifies the fingerprint of the certificate. - - String - - String - - - - - - - KeyPair - - When specified, creates an object for inserting an SSH Key Pair into the new virtual machine configuration. - - SwitchParameter - - SwitchParameter - - - - - - - Path - - Specifies the path to store the SSH Public Key or Key Pair. - - String - - String - - - - - - - PublicKey - - When specified, creates an object for inserting an SSH Public Key into the new virtual machine configuration. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>$myLxCert = New-AzureSSHKey –Fingerprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –Path "/home/username/.ssh/authorized_keys" - - - - This command creates a certificate setting object for an existing certificate and then stores the object in a variable for later use. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Add-AzureCertificate –ServiceName "MySvc" –CertToDeploy "C:\temp\MyLxCert.cer" - C:\PS>$myLxCert = New-AzureSSHKey –Fingerprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –Path "/home/username/.ssh/authorized_keys" - C:\PC>New-AzureVMConfig -Name "MyVM2" -InstanceSize Small -ImageName $LxImage ` - | Add-AzureProvisioningConfig -Linux -LinuxUser $lxUser -SSHPublicKeys $myLxCert -Password 'pass@word1' ` - | New-AzureVM -ServiceName "MySvc" - - - This command adds a certificate to the Microsoft Azure service, and then creates a new Linux virtual machine that uses the certificate. - - - - - - - - - - - Add-AzureProvisioningConfig - - - - New-AzureVMConfig - - - - New-AzureVM - - - - New-AzureQuickVM - - - - - - - - - - New-AzureStorageAccount - - - Creates a new storage account in a Microsoft Azure subscription. - - - - - New - AzureStorageAccount - - - - The New-AzureStorageAccount cmdlet creates an account that provides access to Microsoft Azure storage services. A storage account is a globally unique resource within the storage system. The account is the parent namespace for the Blob, Queue, and Table services. - - - - - New-AzureStorageAccount - - StorageAccountName - - Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. - - string - - - AffinityGroup - - Specifies the name of an existing affinity group in the current subscription. You can specify either a Location or an AffinityGroup parameter, but not both. - - string - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - string - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - string - - - PipelineVariable - - Not Specified - - string - - - Type - - - Specifies the type of the storage account. Valid values are - Standard_LRS - Standard_ZRS - Standard_GRS - Standard_RAGRS - - If this parameter is not specified, a default value of Standard_GRS is used - - Note: - Standard_ZRS accounts cannot be changed to other account types, and vice versa. - - - string - - - - New-AzureStorageAccount - - StorageAccountName - - Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. - - string - - - Location - - Specifies the Microsoft Azure data center location where the storage account is created. You can include either a Location or an AffinityGroup parameter, but not both. - - string - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - string - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - string - - - PipelineVariable - - Not Specified - - string - - - Type - - - Specifies the type of the storage account. Valid values are - Standard_LRS - Standard_ZRS - Standard_GRS - Standard_RAGRS - - If this parameter is not specified, a default value of Standard_GRS is used - - Note: - Standard_ZRS accounts cannot be changed to other account types, and vice versa. - - - string - - - - - - - AffinityGroup - - Specifies the name of an existing affinity group in the current subscription. You can specify either a Location or an AffinityGroup parameter, but not both. - - - string - - string - - - - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - - string - - string - - - - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - - string - - string - - - - - - Location - - Specifies the Microsoft Azure data center location where the storage account is created. You can include either a Location or an AffinityGroup parameter, but not both. - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - StorageAccountName - - Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. - - - string - - string - - - - - - Type - - - Specifies the type of the storage account. Valid values are - Standard_LRS - Standard_ZRS - Standard_GRS - Standard_RAGRS - - If this parameter is not specified, a default value of Standard_GRS is used - - Note: - Standard_ZRS accounts cannot be changed to other account types, and vice versa. - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - New-AzureStorageAccount -StorageAccountName "azure1" -Label "AzureOne" -AffinityGroup "prodapps" - - - Description - ----------- - Creates a new storage account named "azure1" and assigns it to the "prodapps" affinity group. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - New-AzureStorageAccount -StorageAccountName "azuretwo" -Label "AzureTwo" -Location "North Central US" - - - Description - ----------- - Creates a new storage account named "azuretwo" in the "North Central US" data center location. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureStorageKey - - Regenerates storage keys for a Microsoft Azure storage account. - - - - - New - AzureStorageKey - - - - The New-AzureStorageKey cmdlet regenerates the primary or secondary key for a Microsoft Azure storage account. It returns an object with the storage account name, primary key, and secondary key as properties. - - - - New-AzureStorageKey - - KeyType - - Specifies which key to regenerate. Supported values are "Primary" and "Secondary". - - String - - - StorageAccountName - - - Specifies the name of the Microsoft Azure storage account to regenerate a key for. - - - String - - - - - - KeyType - - Specifies which key to regenerate. Supported values are "Primary" and "Secondary". - - String - - String - - - - - - - StorageAccountName - - - Specifies the name of the Microsoft Azure storage account to regenerate a key for. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - StorageServiceKeys - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - PS C:\> New-AzureStorageKey –KeyType "Primary" –StorageAccountName "mystore1" - - - - - This command regenerate the primary storage key for the "mystore1" storage account. - - - - - - - - - - -------------- Example 2 -------------- - - - - - - PS C:\> $myStoreKey = New-AzureStorageKey –KeyType "Secondary" –StorageAccountName "mystore1" - - - - - This command regenerate the secondary storage key for the "mystore1" storage account and stores the updated storage account key information in $myStoreKey. - - - - - - - - - - - - - - - - - - New-AzureVM - - - Creates a new Microsoft Azure virtual machine. - - - - - New - AzureVM - - - - The New-AzureVM cmdlet adds a new virtual machine to an existing Microsoft Azure service, or creates a new virtual machine and service in the current subscription if either the -Location or -AffinityGroup is specified. - - - - - New-AzureVM - - ServiceName - - - Specifies the new or existing service name. - - If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. - If the service exists, the -Location or -AffinityGroup parameter is not needed. - - - string - - - VMs - - A list of virtual machine objects to create. - - PersistentVM[] - - - AffinityGroup - - Specifies the Microsoft Azure affinity group the cloud service will reside in. Only valid when creating a new cloud service. - - string - - - DeploymentLabel - - Specifies a label for the deployment - - string - - - DeploymentName - - Specifies a deployment name. If not specified, the service name will be used as the deployment name. - - string - - - DnsSettings - - Specifies a DNS Server object that defines the DNS settings for the new deployment. - - DnsServer[] - - - InternalLoadBalancerConfig - - Not Specified - - InternalLoadBalancerConfig - - - Location - - Specifies the location where the new service will be hosted. This parameter should not be used if you are using a service that already exists. - - string - - - ReservedIPName - - Reserved IP Name. - - string - - - ServiceDescription - - Specifies a description for the new service. - - string - - - ServiceLabel - - Specifies a label for the new service. - - string - - - VNetName - - Specifies the virtual network name where the new virtual machine will be deployed. - - string - - - WaitForBoot - - Waits for VM to reach "ReadyRole" state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - - - - - - - - AffinityGroup - - Specifies the Microsoft Azure affinity group the cloud service will reside in. Only valid when creating a new cloud service. - - - string - - string - - - - - - DeploymentLabel - - Specifies a label for the deployment - - - string - - string - - - - - - DeploymentName - - Specifies a deployment name. If not specified, the service name will be used as the deployment name. - - - string - - string - - - - - - DnsSettings - - Specifies a DNS Server object that defines the DNS settings for the new deployment. - - - DnsServer[] - - DnsServer[] - - - - - - InternalLoadBalancerConfig - - Not Specified - - - InternalLoadBalancerConfig - - InternalLoadBalancerConfig - - - - - - Location - - Specifies the location where the new service will be hosted. This parameter should not be used if you are using a service that already exists. - - - string - - string - - - - - - ReservedIPName - - Reserved IP Name. - - - string - - string - - - - - - ServiceDescription - - Specifies a description for the new service. - - - string - - string - - - - - - ServiceLabel - - Specifies a label for the new service. - - - string - - string - - - - - - ServiceName - - - Specifies the new or existing service name. - - If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. - If the service exists, the -Location or -AffinityGroup parameter is not needed. - - - - string - - string - - - - - - VMs - - A list of virtual machine objects to create. - - - PersistentVM[] - - PersistentVM[] - - - - - - VNetName - - Specifies the virtual network name where the new virtual machine will be deployed. - - - string - - string - - - - - - WaitForBoot - - Waits for VM to reach "ReadyRole" state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - New-AzureVMConfig -Name "MyNewVM" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[4].ImageName ` - | Add-AzureProvisioningConfig -Windows -Password $adminPassword -AdminUsername PsTestAdmin` - | New-AzureVM -ServiceName "MySvc2" -AffinityGroup "Contoso" -WaitForBoot - - - Description - ----------- - - This example creates a new Microsoft Azure virtual machine, "MyNewVM", and a new Microsoft Azure service, "MySvc2". Optional WaitForBoot flag blocks New-AzureVM till the VM boots. - Description - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - New-AzureVMConfig -Name "MySUSEVM2" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[7].ImageName ` - | Add-AzureProvisioningConfig -Linux -LinuxUser $lxUser -Password $adminPassword -AdminUsername PsTestAdmin` - | New-AzureVM - - - Description - ----------- - This example adds a new Linux virtual machine to an existing service. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - $Images = Get-AzureVMImage - $myImage = $Images[4] - $myVM = New-AzureVMConfig -Name "MyVM2" -InstanceSize ExtraSmall -ImageName $myImage.ImageName ` - | Add-AzureProvisioningConfig -Windows -Password $adminPassword ` - | Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -DiskLabel "DataDisk50" -LUN 0 - - - Description - ----------- - - This example builds a new virtual machine configuration and then creates the virtual machine with New-AzureVM. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - New-AzureVMConfig -Name "MyNewVM" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[4].ImageName ` - | Add-AzureProvisioningConfig -Windows -Password $adminPassword -AdminUsername PsTestAdmin` - | New-AzureVM -ServiceName "MySvc2" -AffinityGroup "Contoso" -ReservedIPName $ipName - - - Description - ----------- - - This example creates a new Microsoft Azure virtual machine, "MyNewVM", and a new Microsoft Azure service, "MySvc2", using a reserved IP on the VM deployment - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureWinRMUri - - - Retrieves the uri to WinRM https listener to a VM or a list of VMs in a hosted service. - - - - - - Get - AzureWinRMUri - - - - - Retrieves the uri to WinRM https listener to a VM or a list of VMs in a hosted service. - - - - - Get-AzureWinRMUri - - ServiceName - - Specifies the name of the Microsoft Azure service that hosts the virtual machine. - - string - - - Name - - Specifies the name of the virtual machine to which the WinRM Uri is generated. - - string - - - - - - - Name - - Specifies the name of the virtual machine to which the WinRM Uri is generated. - - string - - string - - - - - - - ServiceName - - Specifies the name of the Microsoft Azure service that hosts the virtual machine. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureWinRMUri -ServiceName MyService -Name MyVM - - - Description - ----------- - Returns a URI to WinRM https listener to the specified VM in the specified service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureWinRMUri -ServiceName MyService - - - Description - ----------- - Returns a list of URIs to WinRM https listeners to the VMs in the specified service. - - - - - - - - - - - - - - - - - - - - - New-AzureVM - - - - New-AzureQuickVM - - - - - - - - New-AzureVMConfig - - - Creates a new Microsoft Azure virtual machine configuration object. - - - - - - New - AzureVMConfig - - - - - The New-AzureVMConfig cmdlet creates a new virtual machine configuration object. This object can then be used to perform a new deployment, as well as to add a new virtual machine to an existing deployment. - - - - - New-AzureVMConfig - - Name - - Specifies the name of the virtual machine. - - string - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7" - - string - - - DiskName - - Specifies a name for the operating system disk. - - string - - - AvailabilitySetName - - Specifies the name of the availability set. - - string - - - HostCaching - - Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". - - string - - - Label - - Specifies a label to assign to the virtual machine. - - string - - - - New-AzureVMConfig - - Name - - Specifies the name of the virtual machine. - - string - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7" - - string - - - ImageName - - Specifies the name of the virtual machine image to use for the operating system disk. - - string - - - DiskLabel - - Specifies a label for the operating system disk. - - string - - - AvailabilitySetName - - Specifies the name of the availability set. - - string - - - HostCaching - - Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". - - string - - - Label - - Specifies a label to assign to the virtual machine. - - string - - - MediaLocation - - Specifies the Microsoft Azure storage location for the new virtual machine disk. - - string - - - - - - - AvailabilitySetName - - Specifies the name of the availability set. - - string - - string - - - - - - - DiskLabel - - Specifies a label for the operating system disk. - - string - - string - - - - - - - DiskName - - Specifies a name for the operating system disk. - - string - - string - - - - - - - HostCaching - - Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". - - string - - string - - - - - - - ImageName - - Specifies the name of the virtual machine image to use for the operating system disk. - - string - - string - - - - - - - InstanceSize - - Specifies the size of the instance. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7" - - string - - string - - - - - - - Label - - Specifies a label to assign to the virtual machine. - - string - - string - - - - - - - MediaLocation - - Specifies the Microsoft Azure storage location for the new virtual machine disk. - - string - - string - - - - - - - Name - - Specifies the name of the virtual machine. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $image = (Get-AzureImage)[4].ImageName - New-AzureVMConfig -Name "MyVM1" -InstanceSize ExtraSmall -ImageName $image ` - | Add-AzureProvisioningConfig -Windows -Password $adminPassword -AdminUsername PsTestAdmin` - | Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -DiskLabel 'datadisk1' -LUN 0 ` - | New-AzureVM -ServiceName "MySvc1" - - - Description - ----------- - Creates a new Windows virtual machine configuration with operating system disk, data disk and provisioning configuration. This configuration is then used to create a new virtual machine. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $image = (Get-AzureImage)[7].ImageName - New-AzureVMConfig -Name "MyVM1" -InstanceSize ExtraSmall -ImageName $image ` - | Add-AzureProvisioningConfig -Linux -LinuxUser $linuxUser -Password $adminPassword -AdminUsername PsTestAdmin` - | Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -DiskLabel 'datadisk1' -LUN 0 ` - | New-AzureVM -ServiceName "MySvc1" - - - Description - ----------- - Creates a new Linux virtual machine configuration with operating system disk, data disk and provisioning configuration. This configuration is then used to create a new virtual machine. - - - - - - - - - - - - - - - - - - - - - Add-AzureDataDisk - - - - Add-AzureProvisioningConfig - - - - Get-AzureVM - - - - Remove-AzureVM - - - - Update-AzureVM - - - - - - - New-AzureVNetGateway - - Creates a new Microsoft Azure Virtual Network Gateway to the specified Microsoft Azure virtual network. - - - - - New - AzureVNetGateway - - - - The New-AzureVNetGateway cmdlet creates a new virtual network gateway for the specified Microsoft Azure virtual network. A virtual network gateway is a VPN endpoint for connecting to a Microsoft Azure virtual network. - After the virtual network gateway has been created, you can get the shared key to allow you to configure the VPN device at the local network site to authenticate to the gateway with the Get-AzureVNetGatewayKey cmdlet. - - - - New-AzureVNetGateway - - VNetName - - Specifies the name of the virtual network for which the gateway is created. - - String - - - - - - VNetName - - Specifies the name of the virtual network for which the gateway is created. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureVNetGateway –VNetName "MyProdNet" - - - - - This command creates a new VPN endpoint for the "MyProdNet" network. - - - - - - - - - - - - - - - Remove-AzureAffinityGroup - - Deletes an affinity group in the specified subscription. - - - - - Remove - AzureAffinityGroup - - - - The Remove-AzureAffinityGroup cmdlet deletes an affinity group in the subscription. You can't delete an affinity group that has any members. You must first delete all the members of an affinity group and then use Remove-AzureAffinityGroup to delete the affinity group. - - - - Remove-AzureAffinityGroup - - Name - - - Specifies the name of the affinity group to delete. - - - String - - - - - - Name - - - Specifies the name of the affinity group to delete. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureAffinityGroup -name "South1" - - - - - This command deletes the 'South1' affinity group in the current subscription. - - - - - - - - - - - - Get-AzureAffinityGroup - - - - New-AzureAffinityGroup - - - - Set-AzureAffinityGroup - - - - - - - Remove-AzureCertificate - - Deletes the specified certificate from the Microsoft Azure service. - - - - - Remove - AzureCertificate - - - - - - - Remove-AzureCertificate - - ServiceName - - - Specifies the Microsoft Azure service with which the certificate is associated. - - - String - - - ThumbprintAlgorithm - - - Specifies the algorithm used to create the certificate thumbprint. - - - String - - - Thumbprint - - - Specifies the thumbprint that identifies the certificate. - - - String - - - - - - ServiceName - - - Specifies the Microsoft Azure service with which the certificate is associated. - - - String - - String - - - - - - - Thumbprint - - - Specifies the thumbprint that identifies the certificate. - - - String - - String - - - - - - - ThumbprintAlgorithm - - - Specifies the algorithm used to create the certificate thumbprint. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureCertificate -ServiceName "MyService" -Thumbprint '5383CE0343CB6563281CA97C1B5D712209CFFA97' - - - - - This command removes the certificate object identified by the specified thumbprint from the specified cloud service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-Certificate -ServiceName "MyService" | Remove-AzureCertificate - - - - This command removes all certificates from the specified cloud service. - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>Get-Certificate –ServiceName "MyService" -ThumbprintAlgorithm "sha1" ` - | Remove-AzureCertificate - - - - - This command removes all certificates that use the "sha1" thumbprint algorithm from the specified cloud service. - - - - - - - - - - - - Add-AzureCertificate - - - - Get-AzureCertificate - - - - - - - - Remove-AzureDataDisk - - - Removes a data disk from a virtual machine object. - - - - - - Remove - AzureDataDisk - - - - - The Remove-AzureDataDisk cmdlet detaches a data disk from a virtual machine. The data disk blob is not removed from the storage account. - - - - - Remove-AzureDataDisk - - VM - - Specifies the slot where the data disk to be detached is currently mounted. - - IPersistentVM - - - LUN - - Specifies the slot where the data disk to be detached is currently mounted. - - int - - - DeleteVHD - - Specify to remove the data disk and the underlying disk blob. - - - - - - - - DeleteVHD - - Specify to remove the data disk and the underlying disk blob. - - SwitchParameter - - SwitchParameter - - - - - - - LUN - - Specifies the slot where the data disk to be detached is currently mounted. - - int - - int - - - - - - - VM - - Specifies the slot where the data disk to be detached is currently mounted. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Get-AzureVM -ServiceName MyDemoService01 -Name MyDemoVM01 | Remove-AzureDataDisk -LUN 0 - - Description - ----------- - This command gets the virtual machine object with the name "MyDemoVM01" running on the "MyDemoService01" cloud service, and then detaches the data disk at LUN 0 from virtual machine object. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - -Get-AzureVM -ServiceName MyDemoService01 -Name MyDemoVM01 | Remove-AzureDataDisk -LUN 0 -DeleteVHD | Update-AzureVM - -This command gets the virtual machine object with the name "MyDemoVM01" running on the "MyDemoService01" cloud service, then detaches the data disk at LUN 0 from virtual machine object. It also updates the VM in the cloud and then delete the underlying VHD(s). - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - Add-AzureDataDisk - - - - Set-AzureDataDisk - - - - - - - Remove-AzureDeployment - - Deletes the specified deployment of a Microsoft Azure service. - - - - - Remove - AzureDeployment - - - - The Remove-AzureDeployment cmdlet deletes the specified deployment of a Microsoft Azure cloud service. The deployment should be in the suspended state. - - - - Remove-AzureDeployment - - ServiceName - - - Specifies the name of the service whose deployment will be deleted. - - - String - - - Slot - - - Specifies the deployment environment from which the deployment of the specified Microsoft Azure service will be deleted. Choices are Staging or Production. If no slot is specified, the production environment is assumed. - - - String - - - Force - - - - - SwitchParameter - - - - - - Force - - - - - SwitchParameter - - SwitchParameter - - - - - - - ServiceName - - - Specifies the name of the service whose deployment will be deleted. - - - String - - String - - - - - - - Slot - - - Specifies the deployment environment from which the deployment of the specified Microsoft Azure service will be deleted. Choices are Staging or Production. If no slot is specified, the production environment is assumed. - - - String - - String - - - - - - - DeleteVHD - - Specify to remove the deployment and the underlying disk blob(s). - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureDeployment -ServiceName "myservice" - - - - - This command removes the deployment of the Microsoft Azure service "myservice" from the production environment. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Remove-AzureDeployment -ServiceName "myservice" -DeleteVHD - - - - - This command removes the deployment of the Microsoft Azure service "myservice" from the production environment, and the underlying VHD(s). - - - - - - - - - - - - Get-AzureDeployment - - - - Move-AzureDeployment - - - - New-AzureDeployment - - - - Set-AzureDeployment - - - - - - - Remove-AzureDisk - - Removes a disk from the Microsoft Azure disk repository. - - - - - Remove - AzureDisk - - - - - The Remove-AzureDisk cmdlet removes a disk from the Microsoft Azure disk repository in the current subscription. - By default, this does not delete the associated physical VHD file from the blob storage location. To delete the associated physical VHD, specify the DeleteVHD parameter. - - - - - Remove-AzureDisk - - DiskName - - - Name of the data disk in the disk repository to remove. - - - String - - - DeleteVHD - - - Removes the underlying VHD from blob storage. - - - SwitchParameter - - - - - - DeleteVHD - - - Removes the underlying VHD from blob storage. - - - SwitchParameter - - SwitchParameter - - - - - - - DiskName - - - Name of the data disk in the disk repository to remove. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureDisk -DiskName "MyDataDisk" - - - - - This example removes the "MyDataDisk" disk from the disk repository but does not remove the VHD from Microsoft Azure storage. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Remove-AzureDisk -DiskName "MyDataDisk" –DeleteVHD - - - - - This example removes the "MyDataDisk" disk from the disk repository and also removes the VHD from Microsoft Azure storage. - - - - - - - - - - - - Add-AzureDisk - - - - Get-AzureDisk - - - - Update-AzureDisk - - - - - - - - Remove-AzureDns - - - Remove-AzureDns [-Name] <string> [-ServiceName] <string> [-Force] [<CommonParameters>] - - - - - Remove - AzureDns - - - - - - - - - Remove-AzureDns - - Name - - Specifies the name of the DNS server to be removed - - string - - - ServiceName - - Specifies the name of the cloud service - - string - - - Force - - - - - - PipelineVariable - - - - string - - - - - - - Force - - - - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the DNS server to be removed - - - string - - string - - - - - - PipelineVariable - - - - - string - - string - - - - - - ServiceName - - Specifies the name of the cloud service - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureDns -ServiceName "myservice" -Name "mydns" - - Description - ----------- - This command removes the DNS server "mydns" from the specified cloud service - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureEndpoint - - Deletes an endpoint from a Microsoft Azure virtual machine object. - - - - - Remove - AzureEndpoint - - - - The Remove-AzureEndpoint cmdlet deletes an endpoint from a specified virtual machine object. - - - - Remove-AzureEndpoint - - Name - - Specifies the name of the endpoint to be deleted from the virtual machine. - - String - - - VM - - Specifies the virtual machine object from which the endpoint will be deleted. - - IPersistentVM - - - - - - Name - - Specifies the name of the endpoint to be deleted from the virtual machine. - - String - - String - - - - - - - VM - - Specifies the virtual machine object from which the endpoint will be deleted. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> Get-AzureVM –ServiceName "MyService" –Name “MyVM” | Remove-AzureEndpoint –Name "HttpIn" | Update-AzureVM - - - This command deletes the endpoint "HttpIn" from the "MyVM" virtual machine. - - - - - - - - - - - Online Version: - - - - - - - - Remove-AzureStorageAccount - - Deletes the specified storage account from a subscription. - - - - - Remove - AzureStorageAccount - - - - - The Remove-AzureStorageAccount cmdlet removes an account from a Microsoft Azure subscription. - - - - - Remove-AzureStorageAccount - - StorageAccountName - - - The name of the storage account to be removed. - - - String - - - - - - StorageAccountName - - - The name of the storage account to be removed. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureStorageAccount -StorageAccountName "mystore1" - - - - - This command removes the "mystore1" storage account from the specified subscription. - - - - - - - - - - - - New-AzureStorageAccount - - - - Set-AzureStorageAccount - - - - Get-AzureStorageAccount - - - - - - - Remove-AzureVM - - Removes a Microsoft Azure virtual machine. - - - - - Remove - AzureVM - - - - - The Remove-AzureVM cmdlet deletes a Microsoft Azure virtual machine. This process doesn’t delete the underlying .vhd files of the disks mounted on that virtual machine. - - - - - Remove-AzureVM - - ServiceName - - - Specifies the Microsoft Azure service name from which the virtual machine is being removed. - - - String - - - Name - - Specifies the name of the virtual machine being removed. - - String - - - - - - Name - - Specifies the name of the virtual machine being removed. - - String - - String - - - - - - - ServiceName - - - Specifies the Microsoft Azure service name from which the virtual machine is being removed. - - - String - - String - - - - - - - DeleteVHD - - Specify to remove the VM and the underlying disk blob(s). - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureVM -ServiceName "MySvc1" -Name "MyVM" - - - - - This command removes the "MyVM" virtual machine running in the "MySvc1" service. - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - -Remove-AzureVM -ServiceName "MySvc1" -Name "MyVM" -DeleteVHD - - Description - ----------- - This command removes the "MyVM" virtual machine running in the "MySvc1" service, and the underlying VHD(s). - - - - - - - - - - - - - - - - - - - - New-AzureVMConfig - - - - Restart-AzureVM - - - - Start-AzureVM - - - - Stop-AzureVM - - - - Update-AzureVM - - - - New-AzureVM - - - - - - - - Remove-AzureVMImage - - - Removes an OS or VM image from the Image Repository. - - - - - - Remove - AzureVMImage - - - - - Removes an OS or VM image from the Image Repository. - - - - - Remove-AzureVMImage - - ImageName - - Specifies the OS or VM image to remove from the image repository. - - string - - - DeleteVHD - - When specified, the physical VHD image blob is deleted from the storage account. - - - - - - - - ImageName - - Specifies the OS or VM image to remove from the image repository. - - string - - string - - - - - - - DeleteVHD - - When specified, the physical VHD image blob is deleted from the storage account. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Remove-AzureVMImage -ImageName MyOSImage - - Description - ----------- - This command removes the "MyOSImage" image from the image repository. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - -Remove-AzureVMImage -ImageName MyOSImage -DeleteVHD - - Description - ----------- - This command removes the "MyOSImage" image from the image repository and also deletes the physical VHD image from the storage account. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - -$subsId = &amp;lt;MySubscriptionID&amp;gt; -$cert = Get-AzureCertificate cert:\LocalMachine\MY\&amp;lt;CertificateThumbprint&amp;gt; -Get-AzureVMImage ` - | Where-Object {$_.Label -match "Beta" }` - | Foreach-Object {Remove-AzureVMImage -ImageName $_.name } - - Description - ----------- - This command sets the subscription context and then removes all the images from the image repository whose Label includes "Beta". - - - - - - - - - - - - - - - - - - - - - Add-AzureVMImage - - - - Get-AzureVMImage - - - - Update-AzureVMImage - - - - - - - Remove-AzureVNetConfig - - Deletes the network configuration from the current Microsoft Azure subscription. - - - - - Remove - AzureVNetConfig - - - - - The Remove-AzureVNetConfig cmdlet removes all virtual network settings from the current Microsoft Azure subscription. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureVNetConfig - - - - - This command removes the virtual network configuration from the current subscription. - - - - - - - - - - - - Get-AzureVNetConfig - - - - Get-AzureVNetSite - - - - Set-AzureVNetConfig - - - - - - - Remove-AzureVNetGateway - - Removes the Microsoft Azure virtual network gateway to the specified virtual network. - - - - - Remove - AzureVNetGateway - - - - The Remove-AzureVNetGateway cmdlet removes the virtual network gateway to the specified Microsoft Azure virtual network. A virtual network gateway is a VPN endpoint for connecting to a virtual network. - If you remove the virtual network gateway, the underlying virtual network is unaffected and still in place, allowing you to create a new gateway with New-VNetGateway. However, the shared key for the gateway will be different, requiring reconfiguration of the VPN device at the local network site. - - - - Remove-AzureVNetGateway - - VNetName - - Specifies the name of the virtual network to remove the gateway from. - - String - - - - - - VNetName - - Specifies the name of the virtual network to remove the gateway from. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Remove-AzureVNetGateway –VNetName "MyProdNet" - - - - - This command removes the virtual network gateway (VPN endpoint) from the "MyProdNet" virtual network. - - - - - - - - - - - - - - - Reset-AzureRoleInstance - - Requests a reboot or reimage of a single role instance or all role instances of a specific role. - - - - - Reset - AzureRoleInstance - - - - The ReSet-AzureRoleInstance cmdlet requests a reboot or a reimage of a role instance that is running in a deployment. This operation executes synchronously. - When you reboot a role instance, Microsoft Azure takes the instance offline, restarts the underlying operating system for that instance, and brings the instance back online. Any data that is written to the local disk persists across reboots. Any data that is in-memory is lost. - Reimaging a role instance results in different behavior depending on the type of role. For a web or worker role, when the role is reimaged, Microsoft Azure takes the role offline and writes a fresh installation of the Microsoft Azure guest operating system to the virtual machine. The role is then brought back online. For a VM role, when the role is reimaged, Microsoft Azure takes the role offline, reapplies the custom image that you provided for it, and brings the role back online. - - Microsoft Azure attempts to maintain data in any local storage resources when the role is reimaged; however, in case of a transient hardware failure, the local storage resource may be lost. If your application requires that data persist, writing to a durable data source, such as a Microsoft Azure drive, is recommended. Any data that is written to a local directory other than that defined by the local storage resource will be lost when the role is reimaged. - - - - - Reset-AzureRoleInstance - - ServiceName - - - Specifies the name of the service. - - - String - - - Reboot - - - If this parameter is specified, reboots the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. - - - SwitchParameter - - - Reimage - - - If this parameter is specified, reimages the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. - - - SwitchParameter - - - InstanceName - - - Specifies the name of the role instance to reimage or reboot. - - - String - - - Slot - - - The deployment environment where the role instances are running. Supported values are "Production" and "Staging". You can include either a DeploymentName or Slot parameter, but not both. - - - String - - - - - - InstanceName - - - Specifies the name of the role instance to reimage or reboot. - - - String - - String - - - - - - - Reboot - - - If this parameter is specified, reboots the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. - - - SwitchParameter - - SwitchParameter - - - - - - - Reimage - - - If this parameter is specified, reimages the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. - - - SwitchParameter - - SwitchParameter - - - - - - - ServiceName - - - Specifies the name of the service. - - - String - - String - - - - - - - Slot - - - The deployment environment where the role instances are running. Supported values are "Production" and "Staging". You can include either a DeploymentName or Slot parameter, but not both. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot Staging -InstanceName "MyWebRole_IN_0" –reboot - - - - - This command reboots the "MyWebRole_IN_0" role instance in the staging deployment of the "MySvc1" service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot Staging –Reimage - - - - - This command reimages the role instances in the staging deployment of the MyTodo cloud service. - - - - - - - - - - - -------------- Example 3 -------------- - - - - - - - C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot "Production –Reimage - - - - - This command reimages all role instances in the production deployment of the "MySvc1" service. - - - - - - - - - - - - - - - Restart-AzureVM - - Restarts a Microsoft Azure virtual machine. - - - - - Restart - AzureVM - - - - - The Restart-AzureVM cmdlet requests a reboot of a virtual machine. - - - - - Restart-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. - - - String - - - Name - - Specifies the name of the virtual machine to restart. - - String - - - - Restart-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. - - - String - - - VM - - A virtual machine object that identifies the virtual machine to restart. - - PersistentVM - - - - - - Name - - Specifies the name of the virtual machine to restart. - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. - - - String - - String - - - - - - - VM - - A virtual machine object that identifies the virtual machine to restart. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Restart-AzureVM -ServiceName "myservice1" –Name "MyVM" - - - - - This command restarts the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "myservice1" -Name "MyVM" | Restart-AzureVM - - - - - This command retrieves the virtual machine object for the virtual machine whose name is "MyVM" and then restarts it. - - - - - - - - - - - - Get-AzureVM - - - - Remove-AzureVM - - - - Start-AzureVM - - - - Stop-AzureVM - - - - Update-AzureVM - - - - - - - - Save-AzureVMImage - - - Save OS or VM images from existing VMs. For capturing a VM Image, use the -OSState parameter. - - - - - - Save - AzureVMImage - - - - - Save OS or VM images from existing VMs - - - - - Save-AzureVMImage - - ServiceName - - The Service Name. - - string - - - Name - - The VM Name. - - string - - - ImageName - - Not Specified - - string - - - ImageLabel - - Not Specified - - string - - - OSState - - The OS State for VM Image only: 'Generalized' or 'Specialized'. The use of this parameter indicates your intent to capture VM Image to Azure. - - string - - - PipelineVariable - - Not Specified - - string - - - - - - - ImageLabel - - Not Specified - - string - - string - - - - - - - ImageName - - Not Specified - - string - - string - - - - - - - Name - - The VM Name. - - string - - string - - - - - - - OSState - - The OS State for VM Image only: 'Generalized' or 'Specialized'. The use of this parameter indicates your intent to capture VM Image to Azure. - - string - - string - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - ServiceName - - The Service Name. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureAffinityGroup - - Updates the properties of a Microsoft Azure affinity group. - - - - - Set - AzureAffinityGroup - - - - The Set-AzureAffinityGroup cmdlet updates properties of the specified affinity group. The properties that can be changed are the Label and the Description. - - - - Set-AzureAffinityGroup - - Name - - - Specifies the name of the affinity group to change the properties of. - - - String - - - Description - - - Specifies the description of the affinity group. The description can be up to 1024 characters in length. - - - String - - - Label - - - Specifies a label for the affinity group. The label can be up to 100 characters in length. - - - String - - - - - - Description - - - Specifies the description of the affinity group. The description can be up to 1024 characters in length. - - - String - - String - - - - - - - Label - - - Specifies a label for the affinity group. The label can be up to 100 characters in length. - - - String - - String - - - - - - - Name - - - Specifies the name of the affinity group to change the properties of. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Set-AzureAffinityGroup -Name "MyGroup1" -Label "SouthUSProduction" -Description "Production applications for Southern US locations" - - - - - This command sets the label of the affinity group MyGroup1 to "SouthUSProduction" and sets the description to "Production applications for Southern US locations" - - - - - - - - - - - - Get-AzureAffinityGroup - - - - New-AzureAffinityGroup - - - - Remove-AzureAffinityGroup - - - - - - - Set-AzureDataDisk - - Sets the host-cache mode on an existing data disk object. - - - - - Set - AzureDataDisk - - - - - The Set-AzureDataDisk cmdlet updates the cache attributes of an existing data disk object on a Microsoft Azure virtual machine. The possible host caching values are: None, ReadOnly, and ReadWrite. You can specify which data disk to update by specifying its logical unit number (LUN). - - - - - Set-AzureDataDisk - - HostCaching - - - Sets the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - - LUN - - - Numerical value that defines the slot where the data drive is mounted in the virtual machine. - - - Int32 - - - VM - - The virtual machine where the data disk is mounted. - - IPersistentVM - - - - - - HostCaching - - - Sets the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. - - - String - - String - - - - - - - LUN - - - Numerical value that defines the slot where the data drive is mounted in the virtual machine. - - - Int32 - - Int32 - - - - - - - VM - - The virtual machine where the data disk is mounted. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" ` - | Set-AzureDataDisk -VM "MyVM" -LUN 2 -HostCaching ReadOnly | Update-AzureVM - - - - This command gets the virtual machines running on the "myservice" cloud service, and then sets the data disk at LUN 2 of the "MyVM" virtual machine to use ReadOnly host caching. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` - | Get-AzureDataDisk ` - | Set-AzureDataDisk -HostCaching ReadWrite ' - | Update-AzureVM - - - - This command gets an object representing the "MyVM" virtual machine running on the "myservice" cloud service, gets an object or objects representing all the data disks on the virtual machine, and then sets the host caching mode of those data disks to ReadWrite. - - - - - - - - - - - - Add-AzureDataDisk - - - - Get-AzureVM - - - - Update-AzureVM - - - - - - - - Set-AzureDeployment - - - Sets status, upgrade mode, and configuration settings of a Microsoft Azure deployment. - - - - - - Set - AzureDeployment - - - - - - The Set-AzureDeployment cmdlet sets the status, configuration settings, or upgrade mode of a Microsoft Azure deployment. - With the -Status parameter, you can change the status of the deployment to either "Running" or "Suspended". With the -Config parameter, you can update the .cscfg file, and with the -Upgrade parameter, you set the upgrade mode and update configuration files. Use the Set-AzureWalkUpgradeDomain cmdlet to actually initiate the upgrade. - - - - - - Set-AzureDeployment - - Config - - When specified, modifies the .cscfg file for the deployment. - - - - Configuration - - Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. - - string - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ExtensionConfiguration - - Optional array of extension configuration objects. - - ExtensionConfigurationInput[] - - - - Set-AzureDeployment - - Status - - When specified, requests a status change for the Microsoft Azure deployment. - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - NewStatus - - Specifies the target status for the deployment. Supported values are "Running" or "Suspended". - - string - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - ExtensionConfiguration - - Optional array of extension configuration objects. - - ExtensionConfigurationInput[] - - - - Set-AzureDeployment - - Upgrade - - When specified, requests an upgrade to the Microsoft Azure deployment. - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Package - - Specifies the full path to the upgrade package (.cspkg) file. - - string - - - Mode - - Specifies the mode of upgrade. Supported values are: "Auto", "Manual", and "Simultaneous". - - string - - - Label - - Specifies a new label for the upgraded deployment. - - string - - - RoleName - - Specifies the name of the role to upgrade. - - string - - - Force - - When specified, sets the upgrade to a forced upgrade. - - - - Configuration - - Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ExtensionConfiguration - - Optional array of extension configuration objects. - - ExtensionConfigurationInput[] - - - - - - - Config - - When specified, modifies the .cscfg file for the deployment. - - SwitchParameter - - SwitchParameter - - - - - - - Configuration - - Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. - - string - - string - - - - - - - Force - - When specified, sets the upgrade to a forced upgrade. - - SwitchParameter - - SwitchParameter - - - - - - - Label - - Specifies a new label for the upgraded deployment. - - string - - string - - - - - - - Mode - - Specifies the mode of upgrade. Supported values are: "Auto", "Manual", and "Simultaneous". - - string - - string - - - - - - - NewStatus - - Specifies the target status for the deployment. Supported values are "Running" or "Suspended". - - string - - string - - - - - - - Package - - Specifies the full path to the upgrade package (.cspkg) file. - - string - - string - - - - - - - RoleName - - Specifies the name of the role to upgrade. - - string - - string - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - Status - - When specified, requests a status change for the Microsoft Azure deployment. - - SwitchParameter - - SwitchParameter - - - - - - - Upgrade - - When specified, requests an upgrade to the Microsoft Azure deployment. - - SwitchParameter - - SwitchParameter - - - - - - - ExtensionConfiguration - - When specified, requests an upgrade to the Microsoft Azure deployment. - - ExtensionConfigurationInput[] - - ExtensionConfigurationInput[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureDeployment -Status -ServiceName "MySvc1" -Slot "Production" -NewStatus "Running" - - - Description - ----------- - This command sets the status of the deployment in the production environment to Running. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureDeployment -Config -ServiceName "MySvc1" -Slot "Staging" -Configuration "C:\Temp\MyServiceConfig.Cloud.csfg" - - - Description - ----------- - This command updates the deployment in the staging environment with a new configuration file. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Set-AzureDeployment -Upgrade -ServiceName "MySvc1" -Mode Auto -Package "C:\Temp\MyApp.cspkg" -Configuration "C:\Temp\MyServiceConfig.Cloud.csfg" - - - Description - ----------- - This command sets the upgrade mode to Auto and specifies an upgrade package and a new configuration file. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - Set-AzureDeployment –ServiceName –Mode Automatic $svc -Package $pkg -Configuration $cnfg -Slot Production -ExtensionConfiguration $wadConfig - - - Description - ----------- - This example installs the extension configuration in the specified Cloud Service and applies them on roles. - - - - - - - - - - - - - - - - - - - - - Get-AzureDeployment - - - - Move-AzureDeployment - - - - New-AzureDeployment - - - - Remove-AzureDeployment - - - - - - - - Set-AzureDns - - - Set-AzureDns [-Name] <string> [-IPAddress] <string> [-ServiceName] <string> [<CommonParameters>] - - - - - Set - AzureDns - - - - - - - - - Set-AzureDns - - Name - - Specifies the name of the DNS server to be updated - - string - - - IPAddress - - - - string - - - ServiceName - - Specifies the name of the cloud service - - string - - - PipelineVariable - - - - string - - - - - - - IPAddress - - - - - string - - string - - - - - - Name - - Specifies the name of the DNS server to be updated - - - string - - string - - - - - - PipelineVariable - - - - - string - - string - - - - - - ServiceName - - Specifies the name of the cloud service - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureDns -ServiceName "myservice" -IPAddress 10.1.2.5 -Name "mydns" - - Description - ----------- - This command updates the IP Address of the DNS server "mydns" - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureEndpoint - - - The Set-AzureInputEndpoint cmdlet updates an existing endpoint assigned to a virtual machine. You can specify updates to an endpoint that is not load balanced, which only a single virtual machine uses. - - - - - - Set - AzureEndpoint - - - - - - - - - - - Set-AzureEndpoint - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are "tcp" or "udp". - - string - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - - DirectServerReturn - - Enable/Disable Direct Server Return - - bool - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - - - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - NetworkAclObject - - - - - - - DirectServerReturn - - Enable/Disable Direct Server Return - - bool - - bool - - - - - - - LocalPort - - Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - - int - - int - - - - - - - Name - - Specifies the name of the endpoint. - - string - - string - - - - - - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are "tcp" or "udp". - - string - - string - - - - - - - PublicPort - - Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port. - - int - - int - - - - - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - int - - - - - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -Name "Web" -PublicPort 443 -LocalPort 443 -Protocol "tcp" | Update-AzureVM - - - Description - ----------- - This command updates the input endpoint named "Web" assigned to the virtual machine "MyVM" to listen on Port 443. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureOSDisk - - Updates the host-cache mode of a Microsoft Azure virtual machine operating system disk. - - - - - Set - AzureOSDisk - - - - The Set-AzureOSDisk cmdlet updates the host-cache mode of a virtual machine's operating system disk. The supported host cache modes are "ReadOnly" and "ReadWrite". - Caution: Running Set-AzureOSDisk on a running virtual machine will cause the virtual machine to reboot. - - - - Set-AzureOSDisk - - HostCaching - - Specifies the host cache attribute for the operating system disk. Acceptable values are: "ReadOnly" and "ReadWrite". - - String - - - VM - - Specifies the virtual machine for which to update the operating system disk. - - IPersistentVM - - - - - - HostCaching - - Specifies the host cache attribute for the operating system disk. Acceptable values are: "ReadOnly" and "ReadWrite". - - String - - String - - - - - - - VM - - Specifies the virtual machine for which to update the operating system disk. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName $mySvc1 -name "MyTestVM2" | Set-AzureOSDisk –HostCaching "ReadOnly" - - - - This command sets the host cache mode of the operating system disk of the VM named "MyTestVM2" to ReadOnly. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>$myVM2 = Get-AzureVM -ServiceName $mySvc1 -name "MyTestVM2" - C:\PS>Set-AzureOSDisk "ReadWrite" –VM $myVM2 - - - - This command updates the host-cache mode of the operating system disk attached to the VM named "MyTestVM2" to ReadWrite. - - - - - - - - - - - - Get-AzureOSDisk - - - - Add-AzureVMImage - - - - Get-AzureVMImage - - - - Get-AzureVM - - - - Update-AzureVM - - - - - - - Set-AzureRole - - Sets the number of instances of a Microsoft Azure role to run. - - - - - Set - AzureRole - - - - The Set-AzureRole cmdlet sets the number of instances of a specified role to run in a Microsoft Azure deployment. - - - - Set-AzureRole - - ServiceName - - Specifies the name of the Microsoft Azure service. - - String - - - Slot - - Specifies the deployment environment of the deployment to be modified. Choices are "Production" or "Staging". - - String - - - RoleName - - Specifies the name of the role to set the number of instances for. - - String - - - Count - - Specifies the number of role instances to run. - - Int32 - - - - - - Count - - Specifies the number of role instances to run. - - Int32 - - Int32 - - - - - - - RoleName - - Specifies the name of the role to set the number of instances for. - - String - - String - - - - - - - ServiceName - - Specifies the name of the Microsoft Azure service. - - String - - String - - - - - - - Slot - - Specifies the deployment environment of the deployment to be modified. Choices are "Production" or "Staging". - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Set-AzureRole –ServiceName "MySvc1" –Slot "Production" –RoleName "MyTestRole3" –Count 3 - - - - This command sets the "MyTestRole3" role running in production on the "MySvc1" service to three instances. - - - - - - - - - - - - - - - Set-AzureService - - Sets or updates the label and description of the specified Microsoft Azure service. - - - - - Set - AzureService - - - - - The Set-AzureService cmdlet assigns a label and description to a service in the current subscription. - - - - - Set-AzureService - - ServiceName - - - Specifies the name of the Microsoft Azure service to be updated. - - - String - - - Label - - - Sets a label for the Microsoft Azure service. The label may be up to 100 characters in length. - - - String - - - Description - - - Sets a description for the Microsoft Azure service. The description may be up to 1024 characters in length. - - - String - - - - - - Description - - - Sets a description for the Microsoft Azure service. The description may be up to 1024 characters in length. - - - String - - String - - - - - - - Label - - - Sets a label for the Microsoft Azure service. The label may be up to 100 characters in length. - - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service to be updated. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Set-AzureService -ServiceName "MySvc1" -Label "MyTestSvc1" -Description "My service for testing out new configurations" - - - - This command sets the label to "MyTestSvc1" and the description to "My service for testing out new configurations" for the "MyTestSvc1" service. - - - - - - - - - - - - Get-AzureService - - - - New-AzureService - - - - Remove-AzureService - - - - - - - - - - Set-AzureStorageAccount - - - Updates the properties of a storage account in a Microsoft Azure subscription. - - - - - Set - AzureStorageAccount - - - - The Set-AzureStorageAccount cmdlet updates the properties of a Microsoft Azure storage account in the current subscription. Properties that can be set are: "Label", "Description", "Type" and "GeoReplicationEnabled". - - - - - Set-AzureStorageAccount - - StorageAccountName - - Specifies the name of the storage account to be updated. - - string - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - string - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - string - - - PipelineVariable - - Not Specified - - string - - - Type - - - Specifies the type of the storage account. Valid values are - - Standard_LRS - Standard_ZRS - Standard_GRS - Standard_RAGRS - - If this parameter is not specified, a default value of Standard_GRS is used - - Note: - The GeoReplicationEnabled parameter functionality is the same as specifying Standard_GRS in Type parameter - Standard_ZRS accounts cannot be changed to other account types, and vice versa. - - - string - - - - Set-AzureStorageAccount - - StorageAccountName - - Specifies the name of the storage account to be updated. - - string - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - string - - - GeoReplicationEnabled - - Specifies whether the storage account is created with the geo-replication enabled. - - bool - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - string - - - PipelineVariable - - Not Specified - - string - - - - - - - Description - - Specifies a description for the storage account. The description may be up to 1024 characters in length. - - - string - - string - - - - - - GeoReplicationEnabled - - Specifies whether the storage account is created with the geo-replication enabled. - - - bool - - bool - - - - - - Label - - Specifies a label for the storage account. The label may be up to 100 characters in length. - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - StorageAccountName - - Specifies the name of the storage account to be updated. - - - string - - string - - - - - - Type - - - Specifies the type of the storage account. Valid values are - - Standard_LRS - Standard_ZRS - Standard_GRS - Standard_RAGRS - - If this parameter is not specified, a default value of Standard_GRS is used - - Note: - The GeoReplicationEnabled parameter functionality is the same as specifying Standard_GRS in Type parameter - Standard_ZRS accounts cannot be changed to other account types, and vice versa. - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureStorageAccount, Get-AzureStorageAccount, Remove-AzureStorageAccount - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureStorageAccount -StorageAccountName qatest1 -Label "QATestAccnt" -Description "QA test storage account" - - - Description - ----------- - - This command updates the label and description of the 'qatest1' storage account in the specified subscription. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureStorageAccount -StorageAccountName qatest1 -GeoReplicationEnabled $false - - - Description - ----------- - - This command disables the geo-replication of the 'qatest1' storage account in the specified subscription. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Set-AzureStorageAccount -StorageAccountName qatest1 -GeoReplicationEnabled $true - - - Description - ----------- - - This command enables the geo-replication of the 'qatest1' storage account in the specified subscription. - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureSubnet - - Defines the subnet list for a Microsoft Azure virtual machine. - - - - - Set - AzureSubnet - - - - - The Set-AzureSubnet cmdlet sets the subnet list for a virtual machine configuration. Use with New-AzureVM to set the subnets for a virtual machine. - - - - - Set-AzureSubnet - - SubnetNames - - - Specifies the list of subnet names. - - - String[] - - - VM - - Specifies the virtual machine object. - - IPersistentVM - - - - - - SubnetNames - - - Specifies the list of subnet names. - - - String[] - - String[] - - - - - - - VM - - Specifies the virtual machine object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureVMConfig –Name "MyVM" –ImageName $image –InstanceSize "Small" ` - | Add-AzureProvisioningConfig –Windows –Password $passwd ` - | Set-AzureSubnet "PubSubnet","PrivSubnet" ` - | New-AzureVM –ServiceName "MySvc" - - - - - This example adds a subnet to the virtual machine configuration and then creates the virtual machine "MyVM". - - - - - - - - - - - - Get-AzureVM - - - - Update-AzureVM - - - - - - - - Set-AzureVMSize - - - Sets the size of a Microsoft Azure virtual machine. - - - - - - Set - AzureVMSize - - - - - - The Set-AzureVMSize cmdlet updates the size of a Virtual Machine. It has two parameters: "InstanceSize", which is the new size of the virtual machine, and "VM", which is a virtual machine object retrieved by using the Get-AzureVM cmdlet. The result of Set-AzureVMSize can be piped to the Update-AzureVM cmdlet or stored in a variable for later use. No actual change is made until Update-AzureVM is executed. - Note: This cmdlet will require the virtual machine to be re-provisioned and it might get a new IP address. - - - - - - Set-AzureVMSize - - InstanceSize - - Specifies the size of the machine. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". - - string - - - VM - - Specifies the virtual machine to set the size of. - - IPersistentVM - - - - - - - InstanceSize - - Specifies the size of the machine. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". - - string - - string - - - - - - - VM - - Specifies the virtual machine to set the size of. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" | Set-AzureVMSize "Small" | Update-AzureVM - - - Description - ----------- - This example updates a virtual machine to "Small". size. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $MyVM = Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" | Set-AzureVMSize "Small" - Update-AzureVM -ServiceName "MySvc1" -Name "MyVM3 -VM $MyVM - - - Description - ----------- - This example uses an intermediate variable to perform the same function as Example 1. - - - - - - - - - - - - - - - - - - - - - Get-AzureVM - - - - Update-AzureVM - - - - - - - Set-AzureVNetConfig - - Updates the virtual network settings for a Microsoft Azure cloud service. - - - - - Set - AzureVNetConfig - - - - - The Set-AzureVNetConfig cmdlet updates the network configuration for the current Microsoft Azure subscription by specifying a path to anetwork configuration file (.netcfg). The network configuration file defines DNS servers and subnets for cloud services within a subscription. - - - - - Set-AzureVNetConfig - - ConfigurationPath - - - Specifies the path and file name of a network configuration file (.netcfg). - - - String - - - - - - ConfigurationPath - - - Specifies the path and file name of a network configuration file (.netcfg). - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Set-AzureVNetConfig -ConfigurationPath "c:\temp\MyAzNets.netcfg" - - - - - This command updates the network configuration of the current Microsoft Azure subscription to that in the local file "c:\temp\MyAzNets.netcfg". - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>$subsId = "5bea2bc2-88a5-44b8-abe1-3e76733b6783" - C:\PS>$cert = Get-Item cert:\LocalMachine\MY\82F105B2DA81149204A6257A9A91EC452B8C52C3 - C:\PS>Set-AzureVNetConfig -ConfigurationPath "c:\temp\MyAzNets.netcfg" - - - - - This example sets the Microsoft Azure subscription, and then updates the network configuration of that subscription using the configuration defined in the local file "c:\temp\MyAzNets.netcfg". - - - - - - - - - - - - Get-AzureVNetConfig - - - - Get-AzureVNetSite - - - - Remove-AzureVNetConfig - - - - - - - Set-AzureVNetGateway - - Enables or disables a Microsoft Azure Virtual Network Gateway. - - - - - Set - AzureVNetGateway - - - - The Set-AzureVNetGateway cmdlet enables or disables a virtual network gateway for the specified Microsoft Azure virtual network. A virtual network gateway is a virtual private network (VPN) endpoint for connecting to a virtual network. - The Set-AzureVNetGateway cmdlet supports two functional parameters: Connect and Disconnect. These parameters allow you to enable or disable the VPN connection between the specified LocalNetworkSiteName and the specified virtual network. - - - - Set-AzureVNetGateway - - Connect - - Enables the VPN connection between the specified virtual network and the local network site. - - SwitchParameter - - - VNetName - - Specifies the name of the Microsoft Azure virtual network to connect or disconnect. - - String - - - LocalNetworkSiteName - - Specifies the name of the local network site for which the VPN connection will be enabled or disabled. - - String - - - - Set-AzureVNetGateway - - Disconnect - - Disables the VPN connection between the specified virtual network and the local network site. - - SwitchParameter - - - VNetName - - Specifies the name of the Microsoft Azure virtual network to connect or disconnect. - - String - - - LocalNetworkSiteName - - Specifies the name of the local network site for which the VPN connection will be enabled or disabled. - - String - - - - Set-AzureVNetGateway - - Test - - - SwitchParameter - - - VNetName - - Specifies the name of the Microsoft Azure virtual network to connect or disconnect. - - String - - - LocalNetworkSiteName - - Specifies the name of the local network site for which the VPN connection will be enabled or disabled. - - String - - - - - - Connect - - Enables the VPN connection between the specified virtual network and the local network site. - - SwitchParameter - - SwitchParameter - - - - - - - Disconnect - - Disables the VPN connection between the specified virtual network and the local network site. - - SwitchParameter - - SwitchParameter - - - - - - - LocalNetworkSiteName - - Specifies the name of the local network site for which the VPN connection will be enabled or disabled. - - String - - String - - - - - - - Test - - - SwitchParameter - - SwitchParameter - - - - - - - VNetName - - Specifies the name of the Microsoft Azure virtual network to connect or disconnect. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> Set-AzureVNetGateway -Connect –VnetName "MyProdNet" –LocalNetworkSiteName "MyBranchOffice" - - - This command enables the virtual network gateway between the Microsoft Azure virtual network, "MyProdNet" and the VPN device for the local network site, "MyBranchOffice". - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - PS C:\> Set-AzureVNetGateway -Disconnect –VnetName "MyProdNet" –LocalNetworkSiteName "MyBranchOffice" - - - This command disables the virtual network gateway between the Microsoft Azure virtual network, "MyProdNet" and the VPN device for the local network site "MyBranchOffice". - - - - - - - - - - - - - - Set-AzureWalkUpgradeDomain - - Walks the specified upgrade domain. - - - - - Set - AzureWalkUpgradeDomain - - - - The Set-AzureWalkUpgradeDomain cmdlet initiates the actual upgrade of a Microsoft Azure deployment. The upgrade package and configuration are set by using the Set-AzureDeployment cmdlet with the -Upgrade switch. - - - - Set-AzureWalkUpgradeDomain - - ServiceName - - - Specifies the Microsoft Azure service name to upgrade. - - - String - - - Slot - - - Specified the environment of the deployment to upgrade. Supported values are "Staging" and "Production". - - - String - - - DomainNumber - - - Specifies the upgrade domain to upgrade. - - - Int32 - - - - - - DomainNumber - - - Specifies the upgrade domain to upgrade. - - - Int32 - - Int32 - - - - - - - ServiceName - - - Specifies the Microsoft Azure service name to upgrade. - - - String - - String - - - - - - - Slot - - - Specified the environment of the deployment to upgrade. Supported values are "Staging" and "Production". - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - PS C:\> Set-AzureWalkUpgradeDomain –ServiceName "MySvc1" –slot "Production" –UpgradeDomain 2 - - - This example initiates the upgrade of Upgrade Domain 2 of the production deployment of the "MySvc1" service - - - - - - - - - - - - - - Start-AzureVM - - Starts a Microsoft Azure virtual machine. - - - - - Start - AzureVM - - - - - The Start-AzureVM cmdlet requests the start of a Microsoft Azure virtual machine. - - - - - Start-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to start. - - - String - - - Name - - Specifies the name of the virtual machine to start. - - String - - - - Start-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to start. - - - String - - - VM - - Specifies a virtual machine object that identifies the virtual machine to start. - - PersistentVM - - - - - - Name - - Specifies the name of the virtual machine to start. - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service that contains the virtual machine to start. - - - String - - String - - - - - - - VM - - Specifies a virtual machine object that identifies the virtual machine to start. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Start-AzureVM -ServiceName "myservice1" -Name "MyVM" - - - - - This command starts the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service. - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "myservice1" -Name "DatabaseServer" | Start-AzureVM - - - - - This command retrieves the virtual machine object for the VM whose name is "DatabaseServer" and then requests a start for it. - - - - - - - - - - - - Get-AzureVM - - - - Remove-AzureVM - - - - Restart-AzureVM - - - - Stop-AzureVM - - - - Update-AzureVM - - - - - - - - Stop-AzureVM - - - Shuts down a Microsoft Azure virtual machine. - - - - - Stop - AzureVM - - - - The Stop-AzureVM cmdlet requests a shutdown of a virtual machine. - - - - - Stop-AzureVM - - ServiceName - - Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. - - string - - - Name - - - Specifies the name of the virtual machine to shut down. - - Use a wildcard "*" to stop multiple VMs asynchronously. With a wild card, Stop-AzureVM cmdlet calls ShutdownRoles operation (http://msdn.microsoft.com/en-us/library/azure/dn469421.aspx), instead of ShutdownRole operation (http://msdn.microsoft.com/en-us/library/azure/jj157195.aspx ). - - - string - - - StayProvisioned - - Keeps the VM provisioned. - - - - Force - - Allows the deallocation of last VM in a deployment. - - - - PipelineVariable - - Not Specified - - string - - - - Stop-AzureVM - - ServiceName - - Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. - - string - - - StayProvisioned - - Keeps the VM provisioned. - - - - Force - - Allows the deallocation of last VM in a deployment. - - - - VM - - Specifies a virtual machine object that identifies the virtual machine to shut down. - - PersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Force - - Allows the deallocation of last VM in a deployment. - - - SwitchParameter - - SwitchParameter - - - - - - Name - - - Specifies the name of the virtual machine to shut down. - - Use a wildcard "*" to stop multiple VMs asynchronously. With a wild card, Stop-AzureVM cmdlet calls ShutdownRoles operation (http://msdn.microsoft.com/en-us/library/azure/dn469421.aspx), instead of ShutdownRole operation (http://msdn.microsoft.com/en-us/library/azure/jj157195.aspx ). - - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - ServiceName - - Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. - - - string - - string - - - - - - StayProvisioned - - Keeps the VM provisioned. - - - SwitchParameter - - SwitchParameter - - - - - - VM - - Specifies a virtual machine object that identifies the virtual machine to shut down. - - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" - - - Description - ----------- - This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service and deprovisions it. If it is the last VM in deployment, then confirmation pop-up window is displayed with a warning that deprovisioning will cause loss deployment VIP. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName "myservice1" -Name "MyVM" | Stop-AzureVM - - - Description - ----------- - - This command retrieves the virtual machine object for the VM whose name is "MyVM" and then shuts it down and deprovisions it. If it is the last VM in deployment, then confirmation pop-up window is displayed with a warning that deprovisioning will cause loss deployment VIP. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" -StayProvisioned - - - Description - ----------- - - This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service and keeps the VM provisioned. - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" -Force - - - Description - ----------- - This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service even if it is the last VM in the deployment. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 5 -------------------------- - - - C:\PS> - - - Stop-AzureVM -ServiceName "PSTestService" -Name "*" -Force - - - Description - ----------- - This command shuts down multiple VMs asynchronously in the "PSTestService" - - - - - - - - - - - - - - - - - - - - - - - - Update-AzureDisk - - Updates the label of a disk in the Microsoft Azure disk repository. - - - - - Update - AzureDisk - - - - The Update-AzureDisk cmdlet changes the label associated with a disk in the disk repository of the current Microsoft Azure subscription. - - - - Update-AzureDisk - - DiskName - - - Specifies the name of the disk in the disk repository. - - - String - - - Label - - - Specifies the new label of the disk. - - - String - - - - - - DiskName - - - Specifies the name of the disk in the disk repository. - - - String - - String - - - - - - - Label - - - Specifies the new label of the disk. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - DiskContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Update-AzureDisk –DiskName "MyOSDisk" -Label "DoNotUse" - - - - - This command updates the label of the disk named "MyOSDisk" to "DoNotUse". - - - - - - - - - - - - Add-AzureDisk - - - - Get-AzureDisk - - - - Remove-AzureDisk - - - - - - - Update-AzureVM - - Modifies the configuration of a Microsoft Azure virtual machine. - - - - - Update - AzureVM - - - - - The Update-AzureVM cmdlet accepts update information for the specified virtual machine and initiates the update. You can add or remove data disks, modify the cache mode of data or operating system disks, change the network endpoints, or change the size of the virtual machine. - - - - - Update-AzureVM - - ServiceName - - - Specifies the name of the Microsoft Azure service. - - - String - - - Name - - Specifies the name of the virtual machine to be updated. - - String - - - VM - - The virtual machine object that includes updated settings. - - PersistentVM - - - - - - Name - - Specifies the name of the virtual machine to be updated. - - String - - String - - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service. - - - String - - String - - - - - - - VM - - The virtual machine object that includes updated settings. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" ` - | Set-AzureVMSize –InstanceSize "Medium" ` - | Update-AzureVM - - - - - This example changes the size of the virtual machine "MyVM3", running in "MySvc1", to "Medium". - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" ` - | Add-AzureDataDisk -CreateNew -MediaLocation "https://MyaccountStore1.blob.core.azure.com/vhds/MyNewDisk.vhd" -DiskSizeInGB 128 -DiskLabel "Data-128" -LUN 0 ` - | Update-AzureVM - - - - - This example adds a new data disk to the virtual machine "MyVM3", running in "MySvc1". - - - - - - - - - - - - Get-AzureVM - - - - New-AzureVMConfig - - - - Remove-AzureVM - - - - Restart-AzureVM - - - - Start-AzureVM - - - - Stop-AzureVM - - - - New-AzureVM - - - - Set-AzureVMSize - - - - - - - - Update-AzureVMImage - - - The Update-AzureVMImage cmdlet updates the properties on an OS or VM image in the image repository. It returns an image object with information about the updated image. - - - - - - Update - AzureVMImage - - - - - - - - - - - Update-AzureVMImage - - ImageName - - Name of the image to update in the image repository. - - string - - - Label - - The new label of the image. - - string - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - string - - - Description - - Specifies the description of the OS image. - - string - - - ImageFamily - - Specifies a value that can be used to group OS or VM images. - - string - - - PublishedDate - - - - - System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS or VM image. - - Uri - - - RecommendedVMSize - - Specifies the size to use for the virtual machine that is created from the OS or VM image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - string - - - DiskConfig - - This is the OS Disk and the Data Disk configuration for the VM Image created using the New-AzureVMImageDiskConfigSet, Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets. - - VirtualMachineImageDiskConfigSet - - - Language - - Language for the OS in the VM or OS Image - - string - - - IconUri - - Uri to an icon for the OS or VM Image - - Uri - - - SmallIconUri - - Uri to a small icon for the OS or VM Image - - Uri - - - ShowInGui - - Not Specified - - - - - - - - ImageName - - Name of the image to update in the image repository. - - string - - string - - - - - - - Label - - The new label of the image. - - string - - string - - - - - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - string - - string - - - - - - - Description - - Specifies the description of the OS image. - - string - - string - - - - - - - ImageFamily - - Specifies a value that can be used to group OS or VM images. - - string - - string - - - - - - - PublishedDate - - - - - System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - - - - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS or VM image. - - Uri - - Uri - - - - - - - RecommendedVMSize - - Specifies the size to use for the virtual machine that is created from the OS or VM image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - string - - string - - - - - - - DiskConfig - - This is the OS Disk and the Data Disk configuration for the VM Image created using the New-AzureVMImageDiskConfigSet, Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets. - - VirtualMachineImageDiskConfigSet - - VirtualMachineImageDiskConfigSet - - - - - - - Language - - Language for the OS in the VM or OS Image - - string - - string - - - - - - - IconUri - - Uri to an icon for the OS or VM Image - - Uri - - Uri - - - - - - - SmallIconUri - - Uri to a small icon for the OS or VM Image - - Uri - - Uri - - - - - - - ShowInGui - - Not Specified - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - OSImageContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Update-AzureVMImage -ImageName "Windows-Server-2008-SP2" -Label "DoNotUse" - - - Description - ----------- - - This example updates the image named "Windows-Server-2008-SP2" by changing the image label to "DoNotUse" - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureVMImage | Where-Object {$_.Label -eq "DoNotUse" } | Update-AzureVMImage -Label "Updated" - - - Description - ----------- - - This example gets all the operating system images labeled "DoNotUse" and changes the label to "Updated". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add-AzureVhd - - - Uploads a VHD file from an on premise machine to a blob in a cloud storage account in Microsoft Azure - - - - - - Add - AzureVhd - - - - - - The Add-AzureVhd cmdlet allows to upload on premise VHD images to a blob storage account as fixed VHD images. It has parameters to configure the upload process such as specifying the number of uploader threads that will be used or overwriting a blob which already exists in the specified destination uri. For on premise VHD images, patching scenario is also supported so that diff disk images can be uploaded without having to upload the already uploaded base images. SAS Uri is supported as well. - - - - - - Add-AzureVhd - - Destination - - A Uri to a blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well, however in patching scenarios destination cannot be a SAS Uri. - - Uri - - - BaseImageUriToPatch - - A Uri to a base image blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well. - - Uri - - - OverWrite - - Determines to delete the existing blob in the specified destination uri if it exists. - - - - LocalFilePath - - File path of the local Vhd file. - - FileInfo - - - NumberOfThreads - - Determines the number of uploader threads that will be used during upload. - - int - - - - - - - BaseImageUriToPatch - - A Uri to a base image blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well. - - Uri - - Uri - - - - - - - Destination - - A Uri to a blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well, however in patching scenarios destination cannot be a SAS Uri. - - Uri - - Uri - - - - - - - LocalFilePath - - File path of the local Vhd file. - - FileInfo - - FileInfo - - - - - - - NumberOfThreads - - Determines the number of uploader threads that will be used during upload. - - int - - int - - - 8 - - - OverWrite - - Determines to delete the existing blob in the specified destination uri if it exists. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd - - - Description - ----------- - This command uploads the vhd file on premise as a fixed disk to the specified blob by destination uri. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -Overwrite - - - Description - ----------- - Overwrite option tells the cmdlet to delete if there is a blob already in the specified destination uri. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -NumberOfThreads 32 - - - Description - ----------- - NumberOfThreads allows to change the default number of uploader threads, which is 8. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - Add-AzureVhd -Destination "http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd?st=2013-01-09T22%3A15%3A49Z&amp;se=2013-01-09T23%3A10%3A49Z&amp;sr=b&amp;sp=w&amp;sig=13T9Ow%2FRJAMmhfO%2FaP3HhKKJ6AY093SmveOSIV4%2FR7w%3D" -LocalFilePath C:\vhd\win7baseimage.vhd - - - Description - ----------- - Destination is provided with a SAS signature in the querystring of the Uri. SAS signature should have Read,Write, and Delete permissions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Save-AzureVhd - - - - - - - - - - Save - AzureVhd - - - - - - The Save-AzureVhd cmdlet allows to download VHD images stored in a blob in to a file. It has parameters to configure the download process such as specifying the number of downloader threads that will be used or overwriting the file which already exists in the specified file path. Save-AzureVhd doesn't do any VHD format conversion and the blob is downloaded as it is. - - - - - - Save-AzureVhd - - Source - - Uri to the blob in Microsoft Azure. - - Uri - - - StorageKey - - Storage key of the blob storage account. If it is not provided, Save-AzureVhd tries to determine the storage key of the account in Source Uri from Microsoft Azure Cloud. - - string - - - OverWrite - - Determines to delete the file specified by LocalFilePath file if it exists. - - - - LocalFilePath - - - - - FileInfo - - - NumberOfThreads - - Determines the number of download threads that will be used during download. - - int - - - - - - - LocalFilePath - - - - - FileInfo - - FileInfo - - - 2 - - - NumberOfThreads - - Determines the number of download threads that will be used during download. - - int - - int - - - 8 - - - OverWrite - - Determines to delete the file specified by LocalFilePath file if it exists. - - SwitchParameter - - SwitchParameter - - - - - - - Source - - Uri to the blob in Microsoft Azure. - - Uri - - Uri - - - - - - - StorageKey - - Storage key of the blob storage account. If it is not provided, Save-AzureVhd tries to determine the storage key of the account in Source Uri from Microsoft Azure Cloud. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd - - - Description - ----------- - Downloads the specified blob to the specified local file path. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -Overwrite - - - Description - ----------- - Overwrite options tells to delete if local file exists. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -NumberOfThreads 32 - - - Description - ----------- - NumberOfThreads allows to override the default number of threads, which is 8, used to download. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 4 -------------------------- - - - C:\PS> - - - Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -StorageKey zNvcH0r5vAGmC5AbwEtpcyWCMyBd3eMDbdaa4ua6kwxq6vTZH3Y+sw== - - - Description - ----------- - If storage key is specified, Save-AzureVhd doesn't attempt to get the storage key from Microsoft Azure Cloud and uses the provided the key in download. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureAvailabilitySet - - - Sets the availability set name of an Azure VM after deployment. - - - - - Set - AzureAvailabilitySet - - - - The Set-AzureAvailabilitySet cmdlet sets the availability set name of an Azure VM after deployment. - - - - - Set-AzureAvailabilitySet - - AvailabilitySetName - - Name of the availability set on the virtual machine - - string - - - VM - - An Azure VM configuration to modify. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - AvailabilitySetName - - Name of the availability set on the virtual machine - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - VM - - An Azure VM configuration to modify. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Get-AzureVM -ServiceName "MyAzureCS" -Name "MyVM" | Set-AzureAvailabilitySetName "MyASet" | Update-AzureVM - - Description - ----------- - Adds the VM to an availability set "MyAset" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureServiceRemoteDesktopExtension - - - This cmdlet gets the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. - - - - - - Get - AzureServiceRemoteDesktopExtension - - - - - This cmdlet gets the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. - - - - - Get-AzureServiceRemoteDesktopExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceRemoteDesktopExtension -ServiceName $svc - - - Description - ----------- - This command returns the information of the cloud service remote desktop extensions enabled on the roles of a certain deployment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureServiceDiagnosticsExtension - - - This cmdlet gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. - - - - - - Get - AzureServiceDiagnosticsExtension - - - - - This cmdlet gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. - - - - - Get-AzureServiceDiagnosticsExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceDiagnosticsExtension -ServiceName $svc - - - Description - ----------- - This command returns the information of the cloud service diagnostics extensions enabled on the roles of the Production deployment in the service $svc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureServiceRemoteDesktopExtensionConfig - - - This cmdlets generates configuration of remote desktop extension for any deployment. - - - - - - New - AzureServiceRemoteDesktopExtensionConfig - - - - - This cmdlets generates configuration of remote desktop extension for any deployment. - - - - - New-AzureServiceRemoteDesktopExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - New-AzureServiceRemoteDesktopExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - PSCredential - - - - - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - DateTime - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $rdpConfig = New-AzureServiceRemoteDesktopExtensionConfig -Credential $cred - - - Description - ----------- - Creates an object that has the service extension object default for all roles that will be installed with the deployment and the role configuration. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $rdpConfig = New-AzureServiceRemoteDesktopExtensionConfig -Credential $cred -Role "WebRole1" - - - Description - ----------- - Creates an object that has the service extension object for a specific role that will be installed with the deployment and the role configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureServiceDiagnosticsExtensionConfig - - - This cmdlet generates configuration of diagnostics extension for specified role(s) or all roles. - - - - - - New - AzureServiceDiagnosticsExtensionConfig - - - - - This cmdlet generates configuration of diagnostics extension for specified role(s) or all roles. - - - - - New-AzureServiceDiagnosticsExtensionConfig - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - New-AzureServiceDiagnosticsExtensionConfig - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - XmlDocument - - - - - - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $wadConfig = New-AzureServiceDiagnosticExtensionConfig -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML - - - Description - ----------- - Creates an object that has the service extension object default for all roles that will be installed with the deployment and the role configuration. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $wadConfig = New-AzureServiceDiagnosticExtensionConfig -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML -Role "WebRole1" - - - Description - ----------- - Creates an object that has the service extension object for a specific role that will be installed with the deployment and the role configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureServiceRemoteDesktopExtension - - - This cmdlet removes the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. - - - - - - Remove - AzureServiceRemoteDesktopExtension - - - - - This cmdlet removes the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. - - - - - Remove-AzureServiceRemoteDesktopExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - UninstallConfiguration - - If specified uninstall all RDP configurations from the cloud service. - - - - - Remove-AzureServiceRemoteDesktopExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - UninstallConfiguration - - If specified uninstall all RDP configurations from the cloud service. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureServiceRemoteDesktopExtension -ServiceName $svc - - - Description - ----------- - Removing the configured remote desktop extension from all roles of a cloud service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Remove-AzureServiceRemoteDesktopExtension -ServiceName $svc -Role "WebRole1" - - - Description - ----------- - Removing the configured remote desktop extension from the role 'WebRole1' of a cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureServiceDiagnosticsExtension - - - This cmdlet removes the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. - - - - - - Remove - AzureServiceDiagnosticsExtension - - - - - This cmdlet removes the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. - - - - - Remove-AzureServiceDiagnosticsExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - UninstallConfiguration - - If specified uninstall all RDP configurations from the cloud service. - - - - - Remove-AzureServiceDiagnosticsExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - UninstallConfiguration - - If specified uninstall all RDP configurations from the cloud service. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureServiceDiagnosticsExtension -ServiceName $svc - - - Description - ----------- - Removing the configured diagnostics extension from all roles of a cloud service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Remove-AzureServiceDiagnosticsExtension -ServiceName $svc -Role "WebRole1" - - - Description - ----------- - Removing the configured diagnostics extension from the role 'WebRole1' of a cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureServiceRemoteDesktopExtension - - - This cmdlet enables remote desktop extension on specified role(s) or all roles on a deployed service or at deployment. - - - - - - Set - AzureServiceRemoteDesktopExtension - - - - - This cmdlet enables remote desktop extension on specified role(s) or all roles on a deployed service or at deployment. - - - - - Set-AzureServiceRemoteDesktopExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - Set-AzureServiceRemoteDesktopExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - Credential - - The credentials (user name/password) to enable for remote desktop. - - PSCredential - - PSCredential - - - - - - - Expiration - - A date time object that allows the user to specify when the user account will expire. - - DateTime - - DateTime - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureServiceRemoteDesktopExtension -ServiceName $svc -Credentials $creds - - - Description - ----------- - Setting default remote desktop configuration for all roles. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureServiceRemoteDesktopExtension -ServiceName $svc -Credentials $creds -Role "WebRole1" - - - Description - ----------- - Setting remote desktop configuration for WebRole1. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureServiceDiagnosticsExtension - - - This cmdlet enables diagnostics extension on specified role(s) or all roles on a deployed service or at deployment. - - - - - - Set - AzureServiceDiagnosticsExtension - - - - - This cmdlet enables diagnostics extension on specified role(s) or all roles on a deployed service or at deployment. - - - - - Set-AzureServiceDiagnosticsExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - Set-AzureServiceDiagnosticsExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - DiagnosticsConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. - - - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - - - - The interval between scheduled transfers for this data, rounded up to the nearest minute. - - - - - - - The minimum log severity to transfer. - - - - - - - The provider guid or class name for event source - - - - - - - The keyword to filter by - - - - - - - - - - The minimum log severity to transfer. - - - - - - - - - - The name of the container where the content of the directory is to be transferred. - - - - - - - - - - The percentage of directory quota used by crashdumps - - - - - - - The type of crashdump - - - - - - - The blob container to store the crashdumps - - - - - - - - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - - - - - The id of the ETW event that is to be collected - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. - - - - - - - - - - - The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. - - - - - - - - - - - - - - - - ETW collection by event source - - - - - - - ETW collection by manifest - - - - - - - - - - - The name of the process to to monitor for crashes. - - - - - - - - - - - - - The crashdump to collect - - - - - - - - - - - - - - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - If true, then environment variables in the path will be expanded. - - - - - - - - - - - - - - The path relative to the local resource to monitor. - - - - - - - The local resource that contains the directory to monitor. - - - - - - - - - - - - - The absolute path to the directory to monitor. - - - - - - - The path relative to a local resource to monitor. - - - - - - - - - - - - - - - - - The directory of log files to monitor. - - - - - - - - - - - - - - The IIS log directory. - - - - - - - The failed request log directory. - - - - - - - Additional log directories. - - - - - - - - - - - - - The display name for the performance counter. - - - - - - - The locale for the performance counter diplay name. - - - - - - - - - - - The display name and locale for the performance counter - - - - - - - - The path to the performance counter to collect. - - - - - - - The rate at which the performance counter should be sampled. - - - - - - - The unit for the performance counter for display purposes. - - - - - - - - - - - - - The performance counter to collect. - - - - - - - - - - - - - - - An XPath expression specifying the logs to collect. - - - - - - - - - - - - - The event log to monitor. - - - - - - - - - - - - - - Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. - - - - - - - Describes the configuration of a directory to which file-based logs are written. - - - - - - - Configures performance counter collection. - - - - - - - Configures Windows event log collection. - - - - - - - Configures ETW event collection. - - - - - - - Configures crashdump collection. - - - - - - - - - The total amount of file system storage allocated for all logging buffers. - - - - - - - Force the Monitoring Agent to use the specified IE proxy server if specified. - - - - - - - - - - - - - - - - - - - - - - ]]> - - XmlDocument - - XmlDocument - - - - - - - Role - - An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - StorageAccountName - - The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureServiceDiagnosticExtension -ServiceName $svc -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML - - - Description - ----------- - Setting default diagnostic configuration for all roles. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureServiceDiagnosticExtension -ServiceName $svc -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML -Role "WebRole1" - - - Description - ----------- - Setting diagnostic configuration for WebRole1. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureAclConfig - - Gets the ACL configuration object from an existing Azure VM. - - - - - Get - AzureAclConfig - - - - - The Get-AzureAclConfig cmdlet gets the ACL configuration object from an existing Azure VM. - - - - - - - Get-AzureAclConfig - - EndpointName - - Specifies the name of the endpoint. - - String - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - - - - - EndpointName - - Specifies the name of the endpoint. - - String - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - - - - - -------------- Example 1 -------------- - - - C:\PS> $acl = Get-AzureVM -ServiceName "myservice" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" - - - This command will get the ACL configuration from the VM with name "MyVM". - - - - - - New-AzureAclConfig - - - - Remove-AzureAclConfig - - - - Set-AzureAclConfig - - - - - - - New-AzureAclConfig - - Creates a new empty ACL configuration object. - - - - - New - AzureAclConfig - - - - - The New-AzureAclConfig cmdlet creates a new empty ACL configuration object. - - - - - - - New-AzureAclConfig - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> $acl = New-AzureAclConfig - - - This command will create a new empty ACL configuration object. - - - - - - Get-AzureAclConfig - - - - Remove-AzureAclConfig - - - - Set-AzureAclConfig - - - - - - - Remove-AzureAclConfig - - Remove the ACL configuration object from an existing Azure VM configuration. - - - - - Remove - AzureAclConfig - - - - - The Remove-AzureAclConfig cmdlet removes the ACL configuration object from an existing Azure VM configuration. - - - - - - - Remove-AzureAclConfig - - EndpointName - - Specifies the name of the endpoint. - - String - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - - - - - EndpointName - - Specifies the name of the endpoint. - - String - - - VM - - Specifies the virtual machine object for which the endpoint will be created. - - IPersistentVM - - - - - - -------------- Example 1 -------------- - - - C:\PS> $acl = Get-AzureVM -ServiceName "myservice" -Name "MyVM" | Remove-AzureAclConfig -EndpointName "Web" | Update-AzureVM - - - This command will remove the ACL configuration from "MyVM". - - - - - - New-AzureAclConfig - - - - Get-AzureAclConfig - - - - Set-AzureAclConfig - - - - - - - Set-AzureAclConfig - - Sets the ACL configuration object on an existing Azure VM configuration. - - - - - Get - AzureAclConfig - - - - - The Set-AzureAclConfig cmdlet sets the ACL configuration object from an existing Azure VM configuration. - - - - - - - Set-AzureAclConfig - - AddRule - - Indicates that a rule should be added. - - Switch Parameter - - - Action - - Specifies this rules action. Must be either Permit or Deny. - - String - - - RemoteSubnet - - Specifies the remote subnet for this rule. Must be a valid CIDR Address. - - String - - - Order - - Specifies the processing order for this rule. - - Int32 - - - Description - - A description for this rule. - - String - - - ACL - - The ACL configuration object to add this rule to. - - NetworkAclObject - - - - Set-AzureAclConfig - - RemoveRule - - Indicates that a rule should be removed. - - Switch Parameter - - - RuleId - - Specifies the rule ID to remove from the given ACL configuration. - - Int32 - - - ACL - - The ACL configuration object to remove this rule from. - - NetworkAclObject - - - - Set-AzureAclConfig - - SetRule - - Indicates that a rule should be changed. - - Switch Parameter - - - RuleId - - Specifies the rule ID to change in the given ACL configuration. - - Int32 - - - Action - - Specifies this rules action. Must be either Permit or Deny. - - String - - - RemoteSubnet - - Specifies the remote subnet for this rule. Must be a valid CIDR Address. - - String - - - Order - - Specifies the processing order for this rule. - - Int32 - - - Description - - A description for this rule. - - String - - - ACL - - The ACL configuration object to add this rule to. - - NetworkAclObject - - - - - - AddRule - - Indicates that a rule should be added. - - Switch Parameter - - - RemoveRule - - Indicates that a rule should be removed. - - Switch Parameter - - - SetRule - - Indicates that a rule should be changed. - - Switch Parameter - - - RuleId - - Specifies the rule ID to remove from the given ACL configuration. - - Int32 - - - Action - - Specifies this rules action. Must be either Permit or Deny. - - String - - - RemoteSubnet - - Specifies the remote subnet for this rule. Must be a valid CIDR Address. - - String - - - Order - - Specifies the processing order for this rule. - - Int32 - - - Description - - A description for this rule. - - String - - - ACL - - The ACL configuration object to add this rule to. - - NetworkAclObject - - - - - - -------------- Example 1 -------------- - - - C:\PS> $acl = New-AzureAclConfig -C:\PS> Set-AzureAclConfig -AddRule -ACL $acl Permit 172.0.0.0/8 100 "Rule Description" - - - This command will create a new ACL configuration and add a new rule to the configuration. - - - - - -------------- Example 2 -------------- - - - C:\PS> $acl = Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" -C:\PS> Set-AzureAclConfig –SetRule -ID 0 -ACL $acl -Order 102 -Description "New Description" -C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -ACL $acl -Name "Web" | Update-AzureVM - - - This command will get the ACL Configuration of the endpoint "Web" on "MyVM" and set the Order of the first ACL rule to 102, and change it's description, then update the VM. - - - - - -------------- Example 3 -------------- - - - - C:\PS> $acl = Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" -C:\PS> Set-AzureAclConfig –RemoveRule -ID 0 -ACL $acl -C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -ACL $acl -Name "Web" | Update-AzureVM - - - - This command will get the ACL Configuration of the endpoint "Web" on "MyVM" and remove the first ACL rule, then update the VM. - - - - - - New-AzureAclConfig - - - - Remove-AzureAclConfig - - - - Get-AzureAclConfig - - - - - - - Set-AzureLoadBalancedEndpoint - - Updates all of the endpoints in a given load balancer set within a Microsoft Azure Service. - - - - - Set - AzureLoadBalancedEndpoint - - - - - The Set-AzureLoadBalancedEndpoint cmdlet updates all of the endpoints in a given load balancer set within a Microsoft Azure Service. - - - - - Set-AzureLoadBalancedEndpoint - - ServiceName - - - Specifies the name of the Microsoft Azure service containing the endpoint that will be modified. - - - String - - - LBSetName - - Specifies the name of the load balancer set to update. - - String - - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are “TCP” or “UDP”. - - String - - - LocalPort - - Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - - Int32 - - - PublicPort - - Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port. - - Int32 - - - DirectServerReturn - - Enable/Disable Direct Server Return. - - bool - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - InternalLoadBalancerName - - The Internal Load Balancer Name. - - String - - - - Set-AzureLoadBalancedEndpoint - - ServiceName - - - Specifies the name of the Microsoft Azure service containing the endpoint that will be modified. - - - String - - - LBSetName - - Specifies the name of the load balancer set to update. - - String - - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are “TCP” or “UDP”. - - String - - - LocalPort - - Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - - Int32 - - - PublicPort - - Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port. - - Int32 - - - DirectServerReturn - - Enable/Disable Direct Server Return. - - bool - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - ProbeProtocolTCP - - Specifies that a TCP Probe should be used. - - SwitchParameter - - - ProbePort - - Specifies the port that the load balancer probe will use. If not specified, Microsoft Azure will assign the endpoints local port. - - Int32 - - - ProbeIntervalInSeconds - - Specifies the probe polling interval in seconds. - - Int32 - - - ProbeTimeoutInSeconds - - Specifies the probe polling timeout in seconds. - - Int32 - - - InternalLoadBalancerName - - The Internal Load Balancer Name. - - String - - - - Set-AzureLoadBalancedEndpoint - - ServiceName - - - Specifies the name of the Microsoft Azure service containing the endpoint that will be modified. - - - String - - - LBSetName - - Specifies the name of the load balancer set to update. - - String - - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are “TCP” or “UDP”. - - String - - - LocalPort - - Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - - Int32 - - - PublicPort - - Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port. - - Int32 - - - DirectServerReturn - - Enable/Disable Direct Server Return. - - bool - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - ProbeProtocolHTTP - - Specifies that a HTTP Probe should be used. - - SwitchParameter - - - ProbePath - - Specifies relative path to the HTTP Probe. - - String - - - ProbePort - - Specifies the port that the load balancer probe will use. If not specified, Microsoft Azure will assign the endpoints local port. - - Int32 - - - ProbeIntervalInSeconds - - Specifies the probe polling interval in seconds. - - Int32 - - - ProbeTimeoutInSeconds - - Specifies the probe polling timeout in seconds. - - Int32 - - - InternalLoadBalancerName - - The Internal Load Balancer Name. - - String - - - - - - ServiceName - - - Specifies the name of the Microsoft Azure service containing the endpoint that will be modified. - - - String - - - LBSetName - - Specifies the name of the load balancer set to update. - - String - - - InternalLoadBalancerName - - The Internal Load Balancer Name. - - String - - - Protocol - - Specifies the protocol of the endpoint. Acceptable values are “TCP” or “UDP”. - - String - - - LocalPort - - Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - - Int32 - - - PublicPort - - Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port. - - Int32 - - - DirectServerReturn - - Enable/Disable Direct Server Return. - - bool - - - ACL - - An ACL to apply to the endpoint on update. - - NetworkAclObject - - - IdleTimeoutInMinutes - - TCP Idle timeout in minutes - - int - - - ProbeProtocolTCP - - Specifies that a TCP Probe should be used. - - SwitchParameter - - - ProbeProtocolHTTP - - Specifies that a HTTP Probe should be used. - - SwitchParameter - - - ProbePath - - Specifies relative path to the HTTP Probe. - - String - - - ProbePort - - Specifies the port that the load balancer probe will use. If not specified, Microsoft Azure will assign the endpoints local port. - - Int32 - - - ProbeIntervalInSeconds - - Specifies the probe polling interval in seconds. - - Int32 - - - ProbeTimeoutInSeconds - - Specifies the probe polling timeout in seconds. - - Int32 - - - - - - -------------- Example 1 -------------- - - - PS C:\> Set-AzureLoadBalancedEndpoint -ServiceName "MyService" -LBSetName "LBSet1" -Protocol tcp -LocalPort 80 -ProbeProtocolTCP -ProbePort 8080 - - - This command will update all endpoints in the load balancer set "LBSet1" to use the TCP protocol and private port 80, and will set the load balancer probe to use the TCP protocol on port 8080. - - - - - - Set-AzureEndpoint - - - - - - - - Get-AzureServiceExtensionImage - - - Get information for the latest available hosted service extension images. - - - - - - Get - AzureServiceExtensionImage - - - - - Get information for the latest available hosted service extension images. - - - - - Get-AzureServiceExtensionImage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceExtensionImage - - ProviderNameSpace : Microsoft.Windows.Azure.Extensions - Type : RDP - Version : 1.0 - Label : Microsoft Azure Remote Desktop Extension - Description : Microsoft Azure Remote Desktop Extension - HostingResources : WebOrWorkerRole - ThumbprintAlgorithm : sha1 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element - name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" - /></xs:sequence></xs:complexType></xs:element></xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element - name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> - OperationDescription : Get-AzureServiceExtensionImage - OperationId : ee7f7237-78a6-3819-8529-ede859c51411 - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureServiceADDomainExtension - - - This cmdlet removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. - - - - - - Remove - AzureServiceADDomainExtension - - - - - This cmdlet removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. - - - - - Remove-AzureServiceADDomainExtension - - ServiceName - - - - - string - - - UninstallConfiguration - - If specified uninstall all AD Domain configurations from the cloud service. - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - - Remove-AzureServiceADDomainExtension - - ServiceName - - - - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - - - - - ServiceName - - - - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - UninstallConfiguration - - If specified uninstall all AD Domain configurations from the cloud service. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureServiceADDomainExtension -ServiceName $svc - - - Description - ----------- - Removing the configured AD domain extension from all roles of a cloud service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Remove-AzureServiceADDomainExtension -ServiceName $svc -Role "WebRole1" - - - Description - ----------- - Removing the configured AD domain extension from the role 'WebRole1' of a cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureServiceADDomainExtension - - - This cmdlet gets the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. - - - - - - Get - AzureServiceADDomainExtension - - - - - This cmdlet gets the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. - - - - - Get-AzureServiceADDomainExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - - - - string - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceADDomainExtension -ServiceName $svc - - - Description - ----------- - This command returns the information of the cloud service AD domain extensions enabled on the roles of a certain deployment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureServiceADDomainExtension - - - Set AD Domain Extension for Cloud Service - - - - - - Set - AzureServiceADDomainExtension - - - - - Set AD Domain Extension for Cloud Service - - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - Options - - The unsigned integer join option. - - enum - - - OUPath - - The OU path for AD domain join operation. - - string - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - Options - - The unsigned integer join option. - - enum - - - OUPath - - The OU path for AD domain join operation. - - string - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - JoinOption - - The join option enumeration. - - uint - - - OUPath - - The OU path for AD domain join operation. - - string - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - JoinOption - - The join option enumeration. - - uint - - - OUPath - - The OU path for AD domain join operation. - - string - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - - Set-AzureServiceADDomainExtension - - ServiceName - - The cloud service name. - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - PSCredential - - - - - - - DomainName - - The AD domain name. - - string - - string - - - - - - - JoinOption - - The join option enumeration. - - uint - - uint - - - - - - - Options - - The unsigned integer join option. - - enum - - enum - - - - - - - OUPath - - The OU path for AD domain join operation. - - string - - string - - - - - - - Restart - - Whether to restart the computer if the join operation succeeded. - - SwitchParameter - - SwitchParameter - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - The cloud service name. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - PSCredential - - - - - - - WorkgroupName - - The workgroup name. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureServiceADDomainExtensionConfig - - - This cmdlet generates the configuration for AD Domain extension for cloud services. - - - - - - New - AzureServiceADDomainExtensionConfig - - - - - This cmdlet generates the configuration for AD Domain extension for cloud services. - - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - Options - - The unsigned integer join option. - - enum - - - OUPath - - The OU path for AD domain join operation. - - string - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - Options - - The unsigned integer join option. - - enum - - - OUPath - - The OU path for AD domain join operation. - - string - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - JoinOption - - The join option enumeration. - - uint - - - OUPath - - The OU path for AD domain join operation. - - string - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - DomainName - - The AD domain name. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - - JoinOption - - The join option enumeration. - - uint - - - OUPath - - The OU path for AD domain join operation. - - string - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - - New-AzureServiceADDomainExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - - Restart - - Whether to restart the computer if the join operation succeeded. - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - Credential - - The credentials (user name/password) to join the AD domain. - - PSCredential - - PSCredential - - - - - - - DomainName - - The AD domain name. - - string - - string - - - - - - - JoinOption - - The join option enumeration. - - uint - - uint - - - - - - - Options - - The unsigned integer join option. - - enum - - enum - - - - - - - OUPath - - The OU path for AD domain join operation. - - string - - string - - - - - - - Restart - - Whether to restart the computer if the join operation succeeded. - - SwitchParameter - - SwitchParameter - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - UnjoinDomainCredential - - The credentials (user name/password) to unjoin the AD domain. - - PSCredential - - PSCredential - - - - - - - WorkgroupName - - The workgroup name. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -$extensionCfg = New-AzureServiceADDomainExtensionConfig -Role WorkerRole1 -DomainName $domain -Credential $cred -JoinOption 35; - -New-AzureDeployment -ServiceName $cloudSvc -Slot Production -Package $pkg -Configuration $config -ExtensionConfiguration $extensionCfg; - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureRoleSize - - - Get the role size information for the current subscription. - - - - - - Get - AzureRoleSize - - - - - Get the role size information for the current subscription. - - - - - Get-AzureRoleSize - - InstanceSize - - The role size name, e.g. ExtraSmall, Small, Large, ExtraLarge, A5, A6, A7, etc. - - string - - - - - - - InstanceSize - - The role size name, e.g. ExtraSmall, Small, Large, ExtraLarge, A5, A6, A7, etc. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureRoleSize - - InstanceSize : A6 - RoleSizeLabel : - Cores : 4 - MemoryInMb : 28672 - SupportedByWebWorkerRoles : True - SupportedByVirtualMachines : True - OperationDescription : Get-AzureRoleSize - OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce - OperationStatus : Succeeded - - InstanceSize : A7 - RoleSizeLabel : - Cores : 8 - MemoryInMb : 57344 - SupportedByWebWorkerRoles : True - SupportedByVirtualMachines : True - OperationDescription : Get-AzureRoleSize - OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureRoleSize -InstanceSize A7 - - InstanceSize : A7 - RoleSizeLabel : - Cores : 8 - MemoryInMb : 57344 - SupportedByWebWorkerRoles : True - SupportedByVirtualMachines : True - OperationDescription : Get-AzureRoleSize - OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Get-AzureService | Get-AzureVM | Get-AzureRoleSize - - # Output of the role size information for all VMs in all the cloud services - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Test-AzureStaticVNetIP - - - Test the availability of a static virtual network IP address, and get a list of suggestion if the queried one not available. - - - - - - Test - AzureStaticVNetIP - - - - - Test the availability of a static virtual network IP address, and get a list of suggestion if the queried one not available. - - - - - Test-AzureStaticVNetIP - - VNetName - - The Name of a Virtual Network. - - string - - - IPAddress - - The query of static VNet IPAddress. - - string - - - - - - - IPAddress - - The query of static VNet IPAddress. - - string - - string - - - - - - - VNetName - - The Name of a Virtual Network. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureStaticVNetIP - - - Get the static VNet IP address information from a VM object, if any. - - - - - - Get - AzureStaticVNetIP - - - - - Get the static VNet IP address information from a VM object, if any. - - - - - Get-AzureStaticVNetIP - - VM - - Persistent VM object. - - PersistentVM - - - - - - - VM - - Persistent VM object. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureStaticVNetIP - - - Remove the static VNet IP address information from a VM object, if any. - - - - - - Remove - AzureStaticVNetIP - - - - - Remove the static VNet IP address information from a VM object, if any. - - - - - Remove-AzureStaticVNetIP - - VM - - Persistent VM object. - - PersistentVM - - - - - - - VM - - Persistent VM object. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureStaticVNetIP - - - Set the static VNet IP address information to a VM object. - - - - - - Set - AzureStaticVNetIP - - - - - Set the static VNet IP address information to a VM object. - - - - - Set-AzureStaticVNetIP - - VM - - Persistent VM object. - - PersistentVM - - - IPAddress - - Static VNet IP Address - - string - - - - - - - IPAddress - - Static VNet IP Address - - string - - string - - - - - - - VM - - Persistent VM object. - - PersistentVM - - PersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - # Prerequisite: VNet has been set up with SubNet - # Set-AzureVNetConfig -ConfigurationPath $vnetConfigPath; - - $vm = New-AzureVMConfig -Name $vmname -ImageName $img -InstanceSize $sz | Add-AzureProvisioningConfig -Windows -Password $pwd -AdminUsername $usr; - $vm = Set-AzureSubNet -VM $vm -SubNetNames $sn; - Set-AzureStaticVNETIP -IPAddress $ip -VM $vm; - New-AzureVM -ServiceName $svc -VMs $vm -VNETName $vnetName -Location $loc; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureServiceAvailableExtension - - - Get information for the latest available extensions for hosted services. - - - - - - Get - AzureServiceAvailableExtension - - - - - Get information for the latest available extensions for hosted services. - - - - - Get-AzureServiceAvailableExtension - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - - Get-AzureServiceAvailableExtension - - AllVersions - - Specify to list all versions of an extension. - - - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - - Get-AzureServiceAvailableExtension - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - Version - - The Extension Version. - - string - - - - - - - AllVersions - - Specify to list all versions of an extension. - - SwitchParameter - - SwitchParameter - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - string - - - - - - - Version - - The Extension Version. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceAvailableExtension - - ProviderNameSpace : Microsoft.Windows.Azure.Extensions - ExtensionName : RDP - Version : 1.0 - Label : Microsoft Azure Remote Desktop Extension - Description : Microsoft Azure Remote Desktop Extension - HostingResources : WebOrWorkerRole - ThumbprintAlgorithm : sha1 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element - name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" - /></xs:sequence></xs:complexType></xs:element></xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element - name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> - OperationDescription : Get-AzureServiceAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureServiceAvailableExtension -ProviderNamespace Microsoft.Windows.Azure.Extensions -ExtensionName RDP -AllVersions - - ProviderNameSpace : Microsoft.Windows.Azure.Extensions - ExtensionName : RDP - Version : 1.0.0.1 - Label : Microsoft Azure Remote Desktop Extension - Description : Microsoft Azure Remote Desktop Extension - HostingResources : WebOrWorkerRole - ThumbprintAlgorithm : sha1 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element - name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" - /></xs:sequence></xs:complexType></xs:element></xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element - name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> - OperationDescription : Get-AzureServiceAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Get-AzureServiceAvailableExtension -ProviderNamespace Microsoft.Windows.Azure.Extensions -ExtensionName RDP -Version 1.0.0.1 - - ProviderNameSpace : Microsoft.Windows.Azure.Extensions - ExtensionName : RDP - Version : 1.0.0.1 - Label : Microsoft Azure Remote Desktop Extension - Description : Microsoft Azure Remote Desktop Extension - HostingResources : WebOrWorkerRole - ThumbprintAlgorithm : sha1 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element - name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" - /></xs:sequence></xs:complexType></xs:element></xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element - name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> - OperationDescription : Get-AzureServiceAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMAvailableExtension - - - Get information for the latest available extensions for VMs. - - - - - - Get - AzureVMAvailableExtension - - - - - Get information for the latest available extensions for VMs. - - - - - Get-AzureVMAvailableExtension - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension Publisher. - - string - - - - Get-AzureVMAvailableExtension - - AllVersions - - Specify to list all versions of an extension. - - - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension Publisher. - - string - - - - Get-AzureVMAvailableExtension - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension Publisher. - - string - - - Version - - The Extension Version. - - string - - - - - - - AllVersions - - Specify to list all versions of an extension. - - SwitchParameter - - SwitchParameter - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - Publisher - - The Extension Publisher. - - string - - string - - - - - - - Version - - The Extension Version. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMAvailableExtension - - Publisher : Microsoft.Compute - ExtensionName : VMAccessAgent - Version : 1.0 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PublicConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="UserName" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PrivateConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="Password" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - SampleConfig : - OperationDescription : Get-AzureVMAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureVMAvailableExtension -Publisher Microsoft.Compute -ExtensionName VMAccessAgent -AllVersions - - Publisher : Microsoft.Compute - ExtensionName : VMAccessAgent - Version : 1.0.2 - PublicConfigurationSchema : - <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PublicConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="UserName" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - - PrivateConfigurationSchema : - <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PrivateConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="Password" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - - SampleConfig : - OperationDescription : Get-AzureVMAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - Publisher : Microsoft.Compute - ExtensionName : VMAccessAgent - Version : 1.0.3 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PublicConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="UserName" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PrivateConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="Password" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - SampleConfig : - OperationDescription : Get-AzureVMAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Get-AzureVMAvailableExtension -Publisher Microsoft.Compute -ExtensionName VMAccessAgent -Version 1.0.3 - - Publisher : Microsoft.Compute - ExtensionName : VMAccessAgent - Version : 1.0.3 - PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PublicConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="UserName" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="PrivateConfig"> - <xs:complexType> - <xs:sequence> - <xs:element name="Password" type="xs:string" minOccurs="0" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - SampleConfig : - OperationDescription : Get-AzureVMAvailableExtension - OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - OperationStatus : Succeeded - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureServiceExtension - - - This cmdlet adds a cloud service extension to a deployment. - - - - - - Set - AzureServiceExtension - - - - - This cmdlet adds a cloud service extension to a deployment. - - - - - Set-AzureServiceExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ExtensionName - - - - - string - - - PrivateConfiguration - - The private configuration text. - - string - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - - PublicConfiguration - - The public configuration text. - - string - - - Version - - The Extension Version. - - string - - - - Set-AzureServiceExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ExtensionName - - - - - string - - - PrivateConfiguration - - The private configuration text. - - string - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - - PublicConfiguration - - The public configuration text. - - string - - - Version - - The Extension Version. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - ExtensionName - - - - - string - - string - - - - - - - PrivateConfiguration - - The private configuration text. - - string - - string - - - - - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - string - - - - - - - PublicConfiguration - - The public configuration text. - - string - - string - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - Version - - The Extension Version. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureServiceExtension -Service $svc -Slot Production -ExtensionName 'RDP' -Version '1.0' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; - - - Description - ----------- - Set the Remote Desktop Extension in version 1.0 for all roles in the cloud service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureServiceExtension -Service $svc -Slot Production -Role WebRole1 -ExtensionName 'RDP' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; - - - Description - ----------- - Set the Remote Desktop Extension for the 'WebRole1' role in the cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureServiceExtension - - - This cmdlet gets existing cloud service extensions that are applied on a deployment. - - - - - - Get - AzureServiceExtension - - - - - This cmdlet gets existing cloud service extensions that are applied on a deployment. - - - - - Get-AzureServiceExtension - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - - Slot - - - - - string - - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - string - - - - - - - ServiceName - - Specifies the Microsoft Azure service name of the deployment. - - string - - string - - - - - - - Slot - - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions - - - Description - ----------- - Get existing RDP extensions applied on all roles in the production deployment slot. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureServiceExtension -ServiceName $svc -Slot Production -Role WebRole1 -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions - - - Description - ----------- - Get existing RDP extensions applied on the 'WebRole1' role in the production deployment slot. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureServiceExtension - - - This cmdlet removes given cloud service extensions that are applied on a deployment. - - - - - - Remove - AzureServiceExtension - - - - - This cmdlet removes given cloud service extensions that are applied on a deployment. - - - - - Remove-AzureServiceExtension - - ServiceName - - The cloud service name. - - string - - - UninstallConfiguration - - If specified uninstall all configurations from the cloud service. - - - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - - Remove-AzureServiceExtension - - ServiceName - - The cloud service name. - - string - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - - Role - - An optional array of roles to specify the extension for. If not specified the extension is applied as the default configuration for all roles. - - string[] - - - ExtensionName - - The Extension Name. - - string - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - ProviderNamespace - - The Extension Provider Namespace. - - string - - string - - - - - - - Role - - An optional array of roles to specify the extension for. If not specified the extension is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ServiceName - - The cloud service name. - - string - - string - - - - - - - Slot - - Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". - - string - - string - - - - - - - UninstallConfiguration - - If specified uninstall all configurations from the cloud service. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions - - - Description - ----------- - Remove the existing RDP extension applied on all roles. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Remove-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions -UninstallConfiguration - - - Description - ----------- - Remove the existing RDP extension applied on all roles, and uninstall it from the cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureServiceExtensionConfig - - - This cmdlet creates a cloud service extension configuration for a deployment. - - - - - - New - AzureServiceExtensionConfig - - - - - This cmdlet creates a cloud service extension configuration for a deployment. - - - - - New-AzureServiceExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - - ExtensionName - - - - - string - - - PrivateConfiguration - - The private configuration text. - - string - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - - PublicConfiguration - - The public configuration text. - - string - - - Version - - The Extension Version. - - string - - - - New-AzureServiceExtensionConfig - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - - ExtensionName - - - - - string - - - PrivateConfiguration - - The private configuration text. - - string - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - - PublicConfiguration - - The public configuration text. - - string - - - Version - - The Extension Version. - - string - - - - - - - CertificateThumbprint - - A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. - - string - - string - - - - - - - ExtensionName - - - - - string - - string - - - - - - - PrivateConfiguration - - The private configuration text. - - string - - string - - - - - - - ProviderNamespace - - The Extension's Provider Namespace. - - string - - string - - - - - - - PublicConfiguration - - The public configuration text. - - string - - string - - - - - - - Role - - An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. - - string[] - - string[] - - - - - - - ThumbprintAlgorithm - - Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. - - string - - string - - - - - - - Version - - The Extension Version. - - string - - string - - - - - - - X509Certificate - - An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. - - X509Certificate2 - - X509Certificate2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - New-AzureServiceExtensionConfig -ExtensionName 'RDP' -Version '1.0' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; - - - Description - ----------- - Create the Remote Desktop Extension configuration in version 1.0 for all roles in the cloud service. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - New-AzureServiceExtensionConfig -Role WebRole1 -ExtensionName 'RDP' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; - - - Description - ----------- - Create the Remote Desktop Extension configuration for the 'WebRole1' role in the cloud service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMExtension - - - This cmdlet sets resource extensions for VMs. - - - - - Set - AzureVMExtension - - - - This cmdlet sets resource extensions for VMs. - - - - - Set-AzureVMExtension - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension's Publisher. - - string - - - PublicConfiguration - - The public configuration text. - - string - - - VM - - - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMExtension - - Version - - The Extension Version. - - string - - - Disable - - To Set the Extension State to 'Disable'. - - - - Uninstall - - Not Specified - - - - VM - - - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMExtension - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - PrivateConfiguration - - The private configuration text. - - string - - - VM - - - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMExtension - - PublicConfigPath - - Not Specified - - string - - - PrivateConfigPath - - Not Specified - - string - - - VM - - - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Disable - - To Set the Extension State to 'Disable'. - - - SwitchParameter - - SwitchParameter - - - - - - ExtensionName - - The Extension Name. - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - PrivateConfigPath - - Not Specified - - - string - - string - - - - - - PrivateConfiguration - - The private configuration text. - - - string - - string - - - - - - PublicConfigPath - - Not Specified - - - string - - string - - - - - - PublicConfiguration - - The public configuration text. - - - string - - string - - - - - - Publisher - - The Extension's Publisher. - - - string - - string - - - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - string - - string - - - - - - Uninstall - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - Version - - The Extension Version. - - - string - - string - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMExtension - - - This cmdlet gets resource extensions applied on VMs. - - - - - - Get - AzureVMExtension - - - - - This cmdlet gets resource extensions applied on VMs. - - - - - Get-AzureVMExtension - - VM - - - - - IPersistentVM - - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension Publisher. - - string - - - ReferenceName - - The extension's reference name. - - string - - - Version - - The Extension Version. - - string - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - Publisher - - The Extension Publisher. - - string - - string - - - - - - - ReferenceName - - The extension's reference name. - - string - - string - - - - - - - Version - - The Extension Version. - - string - - string - - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName $svc -Name $vm | Get-AzureVMExtension; - - - Description - ----------- - Get the resource extensions applied on the VM '$vm'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMExtension - - - This cmdlet removes resource extensions from VMs. - - - - - - Remove - AzureVMExtension - - - - - This cmdlet removes resource extensions from VMs. - - - - - Remove-AzureVMExtension - - ExtensionName - - The Extension Name. - - string - - - Publisher - - The Extension Publisher. - - string - - - VM - - - - - IPersistentVM - - - ReferenceName - - The extension's reference name. - - string - - - RemoveAll - - Specify to remove all extensions. - - - - - - - - ExtensionName - - The Extension Name. - - string - - string - - - - - - - Publisher - - The Extension Publisher. - - string - - string - - - - - - - ReferenceName - - The extension's reference name. - - string - - string - - - - - - - RemoveAll - - Specify to remove all extensions. - - SwitchParameter - - SwitchParameter - - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $vm = Remove-AzureVMExtension -VM $vm -ExtensionName $ext -Publisher $pub; - - - Description - ----------- - Remove a given extension with the name and publisher - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $vm = Remove-AzureVMExtension -VM $vm -RemoveAll; - - - Description - ----------- - Remove all extensions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMBGInfoExtension - - - This cmdlet gets the BGInfo extension (if any) applied on the VM. - - - - - - Get - AzureVMBGInfoExtension - - - - - This cmdlet gets the BGInfo extension (if any) applied on the VM. - - - - - Get-AzureVMBGInfoExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMBGInfoExtension -VM $vm; - - - Description - ----------- - This cmdlet gets the BGInfo extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMBGInfoExtension - - - This cmdlet removes the BGInfo extension (if any) applied on the VM. - - - - - - Remove - AzureVMBGInfoExtension - - - - - This cmdlet removes the BGInfo extension (if any) applied on the VM. - - - - - Remove-AzureVMBGInfoExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureVMBGInfoExtension -VM $vm; - - - Description - ----------- - This cmdlet removes the BGInfo extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMBGInfoExtension - - - - This cmdlet sets the BGInfo extension for the VM. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - - - Set - AzureVMBGInfoExtension - - - - This cmdlet sets the BGInfo extension for the VM. - - - - - Set-AzureVMBGInfoExtension - - Disable - - To Set the Extension State to 'Disable'. - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMBGInfoExtension - - Uninstall - - Not Specified - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Disable - - To Set the Extension State to 'Disable'. - - - SwitchParameter - - SwitchParameter - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - string - - string - - - - - - Uninstall - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - Version - - The Extension Version. - - - string - - string - - - - - - VM - - The persistent VM object. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMAccessExtension - - - This cmdlet gets the VMAccess extension (if any) applied on the VM. - - - - - - Get - AzureVMAccessExtension - - - - - This cmdlet gets the VMAccess extension (if any) applied on the VM. - - - - - Get-AzureVMAccessExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMAccessExtension -VM $vm; - - - Description - ----------- - This cmdlet gets the VMAccess extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMAccessExtension - - - This cmdlet removes the VMAcess extension (if any) applied on the VM. - - - - - - Remove - AzureVMAccessExtension - - - - - This cmdlet removes the VMAcess extension (if any) applied on the VM. - - - - - Remove-AzureVMAccessExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureVMAccessExtension -VM $vm; - - - Description - ----------- - This cmdlet removes the VMAcess extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMAccessExtension - - - This cmdlet sets the VMAccess extension for the VM. - - - - - Set - AzureVMAccessExtension - - - - This cmdlet sets the VMAccess extension for the VM. - - - - - Set-AzureVMAccessExtension - - Disable - - To Set the Extension State to 'Disable'. - - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMAccessExtension - - UserName - - The user name for resetting the VM's credential. - - string - - - Password - - The password for resetting the VM's credential. - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMAccessExtension - - Uninstall - - Not Specified - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Disable - - To Set the Extension State to 'Disable'. - - - SwitchParameter - - SwitchParameter - - - - - - Password - - The password for resetting the VM's credential. - - - string - - string - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - string - - string - - - - - - Uninstall - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - UserName - - The user name for resetting the VM's credential. - - - string - - string - - - - - - Version - - The Extension Version. - - - string - - string - - - - - - VM - - The persistent VM object. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMPuppetExtension - - - This cmdlet gets the Puppet extension (if any) applied on the VM. - - - - - - Get - AzureVMPuppetExtension - - - - - This cmdlet gets the Puppet extension (if any) applied on the VM. - - - - - Get-AzureVMPuppetExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMPuppetExtension -VM $vm; - - - Description - ----------- - This cmdlet gets the Puppet extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMPuppetExtension - - - This cmdlet removes the Puppet extension (if any) applied on the VM. - - - - - - Remove - AzureVMPuppetExtension - - - - - This cmdlet removes the Puppet extension (if any) applied on the VM. - - - - - Remove-AzureVMPuppetExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureVMPuppetExtension -VM $vm; - - - Description - ----------- - This cmdlet removes the Puppet extension (if any) applied on the VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMPuppetExtension - - - This cmdlet sets the Puppet extension for the VM. - - - - - Set - AzureVMPuppetExtension - - - - This cmdlet sets the Puppet extension for the VM. - - - - - Set-AzureVMPuppetExtension - - PuppetMasterServer - - The FQDN of puppet master server.. - - string - - - Version - - The Extension Version. - - string - - - Disable - - To Set the Extension State to 'Disable'. - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Disable - - To Set the Extension State to 'Disable'. - - - SwitchParameter - - SwitchParameter - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - PuppetMasterServer - - The FQDN of puppet master server.. - - - string - - string - - - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - string - - string - - - - - - Version - - The Extension Version. - - - string - - string - - - - - - VM - - The persistent VM object. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - - - Description - ----------- - - Description - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMCustomScriptExtension - - - Get Azure VM Custom Script Extension Information. - - - - - - Get - AzureVMCustomScriptExtension - - - - - Get Azure VM Custom Script Extension Information. - - - - - Get-AzureVMCustomScriptExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMCustomScriptExtension -VM $vm; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMCustomScriptExtension - - - Remove Azure VM Custom Script Extension from a VM. - - - - - - Remove - AzureVMCustomScriptExtension - - - - - Remove Azure VM Custom Script Extension from a VM. - - - - - Remove-AzureVMCustomScriptExtension - - VM - - The persistent VM object. - - IPersistentVM - - - - - - - VM - - The persistent VM object. - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Remove-AzureVMCustomScriptExtension -VM $vm; - - Description - ----------- - Remove Azure VM Custom Script Extension from a VM. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMCustomScriptExtension - - - Set Azure VM Custom Script Extension Information. - - - - - Set - AzureVMCustomScriptExtension - - - - Set Azure VM Custom Script Extension Information. - - - - - Set-AzureVMCustomScriptExtension - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - Disable - - To Set the Extension State to 'Disable'. - - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMCustomScriptExtension - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - ContainerName - - The container name within the storage account. - - string - - - FileName - - The names of the blob files in the specified container. - - string[] - - - Run - - The command to run by the extension on the VM, currently only "powershell.exe" is supported. - - string - - - StorageAccountName - - The storage account name in the current subscription. - - string - - - StorageEndpointSuffix - - The storage service endpoint. - - string - - - StorageAccountKey - - The storage account key - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMCustomScriptExtension - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - FileUri - - The URLs of the blob files. - - string[] - - - Argument - - Argument for the command to run on the VM. - - string - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - Set-AzureVMCustomScriptExtension - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - string - - - Version - - The Extension Version. - - string - - - Uninstall - - Not Specified - - - - VM - - The persistent VM object. - - IPersistentVM - - - PipelineVariable - - Not Specified - - string - - - - - - - Argument - - Argument for the command to run on the VM. - - - string - - string - - - - - - ContainerName - - The container name within the storage account. - - - string - - string - - - - - - Disable - - To Set the Extension State to 'Disable'. - - - SwitchParameter - - SwitchParameter - - - - - - FileName - - The names of the blob files in the specified container. - - - string[] - - string[] - - - - - - FileUri - - The URLs of the blob files. - - - string[] - - string[] - - - - - - PipelineVariable - - Not Specified - - - string - - string - - - - - - ReferenceName - - - The extension's reference name. - - This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. - - - - string - - string - - - - - - Run - - The command to run by the extension on the VM, currently only "powershell.exe" is supported. - - - string - - string - - - - - - StorageAccountKey - - The storage account key - - - string - - string - - - - - - StorageAccountName - - The storage account name in the current subscription. - - - string - - string - - - - - - StorageEndpointSuffix - - The storage service endpoint. - - - string - - string - - - - - - Uninstall - - Not Specified - - - SwitchParameter - - SwitchParameter - - - - - - Version - - The Extension Version. - - - string - - string - - - - - - VM - - The persistent VM object. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $x = Set-AzureVMCustomScriptExtension -VM $x -ContainerName 'test' -FileName 'script1.ps1','script2.ps1' -Run 'script1.ps1' -Argument 'arg1 arg2'; - - New-AzureVM -Location 'West US' -ServiceName $svc -VM $x; - - - Description - ----------- - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureVMCustomScriptExtension -VM $vm -FileUri 'http://foo1.blob.core.windows.net/bar/script1.ps1','http://foo2.blob.core.windows.net/baz/script2.ps1' -Run 'script1.ps1' -Argument 'arg1 arg2'; - - Update-AzureVM -ServiceName $svc -Name $name -VM vm; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVNetGatewayKey - - - Sets the IPsec/IKE pre-shared key for the cross premises site-to-site VPN tunnel between the Azure virtual network and your on-premises local site. - - - - - - Set - AzureVNetGatewayKey - - - - - Th Set-AzureVNetGatewayKey cmdlet sets the IPsec/IKE pre-shared key for the cross premises site-to-site VPN tunnel between the Azure virtual network and your on-premises local site. - - - - - Set-AzureVNetGatewayKey - - VNetName - - Specifies the name of the Azure virtual network. - - string - - - LocalNetworkSiteName - - Specifies the name of the local network site to which the VPN tunnel connects. - - string - - - SharedKey - - Specifies the value of the new IPsec/IKE pre-shared key. The SharedKey is an alphanumeric string of 1-128 letters. - - string - - - - - - - LocalNetworkSiteName - - Specifies the name of the local network site to which the VPN tunnel connects. - - string - - string - - - - - - - SharedKey - - Specifies the value of the new IPsec/IKE pre-shared key. The SharedKey is an alphanumeric string of 1-128 letters. - - string - - string - - - - - - - VNetName - - Specifies the name of the Azure virtual network. - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName "MyOnPremSite" -SharedKey "a1b2c3d4" - - Description - ----------- - This command sets the IPsec/IKE pre-shared key between your virtual network "MyAzureVirtualNetwork" and the on-premise site "MyOnPremSite" to "a1b2c3d4". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureReservedIP - - - Get the Reserved IP by its name or lists all the Reserved IPs in the subscription. - - - - - - Get - AzureReservedIP - - - - - Get the reserved IP by its name or list all of them in the subscription. - - - - - Get-AzureReservedIP - - ReservedIPName - - Reserved IP Name - - string - - - - - - - ReservedIPName - - Reserved IP Name - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureReservedIP - - - Description - ----------- - - List all the reserved IP(s) in this subscription. - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Get-AzureReservedIP -ReservedIPName $ipName - - - Description - ----------- - Get the reserved IP by the name in this subscription. - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + Add-AzureCertificate + + Uploads a service certificate for the specified cloud service. + + + + + Add + AzureCertificate + + + + + + + + + Add-AzureCertificate + + ServiceName + + Specifies the name of the Microsoft Azure service to which you are adding a certificate. + + String + + + CertToDeploy + + Specifies the certificate to deploy. You can specify the path file name of a certificate file (*.cer, *. pfx, etc) or an X.509 Certificate object. + + Object + + + Password + + Specifies the certificate password. + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service to which you are adding a certificate. + + String + + String + + + + + + CertToDeploy + + Specifies the certificate to deploy. You can specify the path file name of a certificate file (*.cer, *. pfx, etc) or an X.509 Certificate object. + + Object + + Object + + + + + + Password + + Specifies the certificate password. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy myCertificate.pfx –password 123 + + This command uploads myCertificate.pfx certificate to the specified cloud service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy myCertificate.cer + + This command uploads myCertificate.cer certificate to the specified cloud service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Add-AzureCertificate -serviceName "MyService" -certToDeploy (Get-Item cert:\CurrentUser\MY\1D6E34B526723E06C235BE8E5547784BF12C9F39) + + This command uploads the specified certificate to the specified cloud service, using the Get-Item Windows PowerShell cmdlet to get the certificate object. + + + + + + + + + + + Get-AzureCertificate + + + + Remove-AzureCertificate + + + + + + + + Add-AzureDataDisk + + Adds a new data disk to a virtual machine object. + + + + + Add + AzureDataDisk + + + + + The Add-AzureDataDisk cmdlet adds a new data disk to a virtual machine object. Use the –CreateNew parameter to create a new data disk with a specified size and label, and then attach it. Use the –Import parameter to attach an existing disk from the image repository. Use the –ImportFrom parameter to attach an existing disk from a blob in a storage account.The cmdlet allows you to specify the host-cache mode of attached data disks. + + + + Add-AzureDataDisk + + CreateNew + + Specify to create a new data disk. + + SwitchParameter + + + DiskSizeInGB + + Specifies the logical disk size in gigabytes. + + Int32 + + + DiskLabel + + Specifies the disk label when creating a new data disk. + + String + + + LUN + + Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. + + Int32 + + + MediaLocation + + Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created + + String + + + HostCaching + + Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + + VM + + Specifies the virtual machine object where the data disk will attach. + + IPersistentVM + + + + Add-AzureDataDisk + + Import + + Imports an existing data disk from the disk library. + + SwitchParameter + + + DiskName + + Specifies the name of the data disk in the disk repository. + + String + + + LUN + + Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. + + Int32 + + + HostCaching + + Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + + VM + + Specifies the virtual machine object where the data disk will attach. + + IPersistentVM + + + + Add-AzureDataDisk + + ImportFrom + + Imports an existing data disk from a blob in a storage acount. + + SwitchParameter + + + DiskLabel + + Specifies the disk label when creating a new data disk. + + String + + + LUN + + Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. + + Int32 + + + MediaLocation + + Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created + + String + + + HostCaching + + Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + + VM + + Specifies the virtual machine object where the data disk will attach. + + IPersistentVM + + + + + + CreateNew + + Specify to create a new data disk. + + SwitchParameter + + SwitchParameter + + + + + + DiskSizeInGB + + Specifies the logical disk size in gigabytes. + + Int32 + + Int32 + + + + + + DiskLabel + + Specifies the disk label when creating a new data disk. + + String + + String + + + + + + LUN + + Specifies the Logical Unit Number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN. + + Int32 + + Int32 + + + + + + MediaLocation + + Optional. Specifies the Location of the blob in a Microsoft Azure storage account where the data disk will be stored. If no location is specified, the data disk will be stored in the vhds container within the default storage account for the current subscription. If a vhds container doesn’t exist, the container is created + + String + + String + + + + + + HostCaching + + Specifies the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + String + + + + + + VM + + Specifies the virtual machine object where the data disk will attach. + + IPersistentVM + + IPersistentVM + + + + + + Import + + Imports an existing data disk from the disk library. + + SwitchParameter + + SwitchParameter + + + + + + DiskName + + Specifies the name of the data disk in the disk repository. + + String + + String + + + + + + ImportFrom + + Imports an existing data disk from a blob in a storage acount. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` + | Add-AzureDataDisk -Import -DiskName "MyExistingDisk" -LUN 0 ` + | Update-AzureVM + + This example gets a virtual machine object for the virtual machine named “MyVM” in the “myservice” cloud service, updates the virtual machine object by attaching an existing data disk from the repository using the disk name, and then updates the Microsoft Azure virtual machine. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` + | Add-AzureDataDisk -CreateNew -DiskSizeInGB 128 -DiskLabel "main" -LUN 0 ` + | Update-AzureVM + + This example updates the virtual machine by creating the new blank data disk “MyNewDisk.vhd” in the vhds container within the default storage account of the currently active subscription. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" -Name "Database" ` + | Add-AzureDataDisk -ImportFrom -MediaLocation ` + "https://mystorage.blob.core.windows.net/mycontainer/MyExistingDisk.vhd" ` + -DiskLabel "main" -LUN 0 ` + | Update-AzureVM + + This example updates a virtual machine by attaching an existing data disk from a storage location. + + + + + + + + + + + New-AzureVMConfig + + + + Set-AzureDataDisk + + + + Update-AzureVM + + + + + + + + Add-AzureDisk + + Adds a new disk to the Microsoft Azure disk repository. + + + + + Add + AzureDisk + + + + + The Add-AzureDisk cmdlet adds a new disk to the Microsoft Azure disk repository in the current subscription. This disk is bootable if the optional –OS parameter is specified. If not specified, the disk is a data disk. + The required parameters are DiskName and MediaLocation. + + + + Add-AzureDisk + + DiskName + + Specifies the name of the disk. + + String + + + MediaLocation + + Specifies the physical location of the disk in Microsoft Azure storage. This link refers to a blob page in the current subscription and storage account. + + String + + + Label + + Specifies a disk label. + + String + + + OS + + If specified, the disk is bootable. The OS parameter accepts either "Windows" or "Linux" values. + + String + + + + + + DiskName + + Specifies the name of the disk. + + String + + String + + + + + + MediaLocation + + Specifies the physical location of the disk in Microsoft Azure storage. This link refers to a blob page in the current subscription and storage account. + + String + + String + + + + + + Label + + Specifies a disk label. + + String + + String + + + Disk name + + + OS + + If specified, the disk is bootable. The OS parameter accepts either "Windows" or "Linux" values. + + String + + String + + + + + + + + + + + + + + + + + + + + + DiskContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Add-AzureDisk -DiskName "MyWinDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/winserver-system.vhd" -Label "BootDisk" -OS "Windows" + + This example adds a new, bootable Windows disk. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Add-AzureDisk -DiskName "MyDataDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/winserver-data.vhd" -Label "DataDisk" + + This example adds a new data disk. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Add-AzureDisk -DiskName "MyLinuxDisk" -MediaLocation "http://yourstorageaccount.blob.core.azure.com/vhds/linuxsys.vhd" -OS "Linux" + + This example adds a new Linux boot disk. The disk name and label are the same. + + + + + + + + + + + Get-AzureDisk + + + + Remove-AzureDisk + + + + Update-AzureDisk + + + + + + + + Add-AzureDns + + Adds a DNS server to an existing cloud service. + + + + + Add + AzureDns + + + + + The Add-AzureDns cmdlet adds a DNS server to an existing cloud service. It accepts three parameters: Name, IPAddress and ServiceName. The Name parameter is a friendly name, not necessarily a DNS resolvable name, the IPAddress is the IP address of the DNS server, and the ServiceName is the name of the cloud service + + + + Add-AzureDns + + Name + + Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name + + String + + + IPAddress + + Specifies the IP address of the DNS server + + String + + + ServiceName + + Specifies the name of the cloud service + + String + + + + + + Name + + Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name + + String + + String + + + + + + IPAddress + + Specifies the IP address of the DNS server + + String + + String + + + + + + ServiceName + + Specifies the name of the cloud service + + String + + String + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Add-AzureDns -ServiceName "myservice" -IPAddress 10.1.2.4 -Name "mydns" + + Description + + + + -----------This command adds a DNS server "mydns" to the specified cloud service + + + + + + + Unknown + + + + + + - New-AzureReservedIP + Add-AzureEndpoint - Create a Reserved IP. + Add endpoint to the persistent VM object. - - + - New - AzureReservedIP - - + Add + AzureEndpoint + - Create a reserved IP. + - New-AzureReservedIP + Add-AzureEndpoint - ReservedIPName + Name - Reserved IP Name + string - - Label + + Protocol - Reserved IP Label + string - Location + LocalPort + + + + int + + + DefaultProbe + + Not Specified + + + + LBSetName + + + + string + + + ProbePort + + + + int + + + ProbeProtocol + + + + string + + + VM + + + + IPersistentVM + + + ACL + + Not Specified + + NetworkAclObject + + + DirectServerReturn + + + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + IdleTimeoutInMinutes + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + InternalLoadBalancerName + + The Internal LoadBalancer Name. + + string + + + LoadBalancerDistribution + + + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value + + + string + + + PipelineVariable + + Not Specified + + string + + + ProbeIntervalInSeconds + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + ProbePath + + + + string + + + ProbeTimeoutInSeconds + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + PublicPort + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + Add-AzureEndpoint + + Name + + + + string + + + Protocol + + + + string + + + LocalPort + + + + int + + + NoProbe + + Not Specified + + + + VM + + + + IPersistentVM + + + ACL + + Not Specified + + NetworkAclObject + + + DirectServerReturn + + + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + IdleTimeoutInMinutes + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + InternalLoadBalancerName + + The Internal LoadBalancer Name. + + string + + + LoadBalancerDistribution + + + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value + + + string + + + PipelineVariable + + Not Specified + + string + + + PublicPort - Location where the Reserved IP should be created + - string + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - Location + + ACL + + Not Specified + + + NetworkAclObject + + NetworkAclObject + + + + + + DefaultProbe + + Not Specified + + + SwitchParameter + + SwitchParameter + + + + + + DirectServerReturn - Location where the Reserved IP should be created + + + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + + IdleTimeoutInMinutes + + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + + InternalLoadBalancerName + + The Internal LoadBalancer Name. + string string - + - - + - - ReservedIPName + + LBSetName - Reserved IP Name + + string string - + - - + - - Label + + LoadBalancerDistribution - Reserved IP Label + + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value + + string string - + - - + - - - - + + LocalPort + + + + + int - - - - + int + + + + + Name - - - + + - - - - + string - - - - + string + + + + + NoProbe - - - + Not Specified + - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - New-AzureReservedIP -ReservedIPName $name -Label $label -Location $location - - - Description - ----------- - - Create a new Reserved IP in the Subscription which can be used for Creating Cloud Services (Web/Worker/Virtual Machines) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureReservedIP - - - Remove the Reserved IP by its name. - - - - - - Remove - AzureReservedIP - - - - - Remove the reserved IP by its name. - - - - - Remove-AzureReservedIP - - ReservedIPName - - Reserved IP Name - - string - - - Force - - Not Specified - - - - - - - - ReservedIPName + SwitchParameter + + SwitchParameter + + + + + + PipelineVariable + + Not Specified + + + string + + string + + + + + + ProbeIntervalInSeconds + + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + + ProbePath - Reserved IP Name + + string - string - + string + + + + + + ProbePort + + + + + int + + int + - - + - - Force + + ProbeProtocol - Not Specified + + - SwitchParameter + string - SwitchParameter - + string + - - + - - - - - - - - - - + + ProbeTimeoutInSeconds - - - + + - - - - + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - - - + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + Protocol - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureReservedIP -ReservedIPName $name - - - Description - ----------- - Deletes the Reserved IP from the Subscription by name - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureDeployment - - - - - - - - - - Get - AzureDeployment - - - - - - - - - - - Get-AzureDeployment - - ServiceName - - - - - string - - - Slot - - - - - string - - - - - - - ServiceName - - - + + string string - + - - + - - Slot + + PublicPort - - + + - string + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - string - + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + - - + - - - - - - - - - - + + VM - - - + + - - - - + IPersistentVM - - - - + IPersistentVM + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - New-AzureVMImageDiskConfigSet - - - - This cmdlet returns a new object for disk configuration set, which would be passed to the image update cmdlet. It encapsulates the OSDiskConfig and the DataDiskConfig object. Use the Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets to set the OS Disk and Data Disk properties for the VM Image. - - - - - - - New - AzureVMImageDiskConfigSet - - - - - - This cmdlet returns a new object for disk configuration set, which would be passed to the image update cmdlet. It encapsulates the OSDiskConfig and the DataDiskConfig object. Use the Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets to set the OS Disk and Data Disk properties for the VM Image. - - - - - - New-AzureVMImageDiskConfigSet - - - - + + - - - + + + @@ -34059,15 +1423,14 @@ Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - + System.Object + @@ -34077,894 +1440,9975 @@ Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName - - + + - - + - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $s = New-AzureDiskConfigSet - # returns DiskConfigSet object; + + + + + + + + + + + + + + + + Add-AzureInternalLoadBalancer + + Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [<CommonParameters>] + + Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [-SubnetName] <string> [<CommonParameters>] + + Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [-SubnetName] <string> [-StaticVNetIPAddress] <ipaddress> [<CommonParameters>] + + + + + Add + AzureInternalLoadBalancer + + + + + The Add-InternalLoadbalancer cmdlet provides users the ability to add an Internal Loadbalancer configuration to a cloud service. For the users using Virtual network, they are allowed to specify a subnet or even the IP address directly of the internal load balancer. + + + + Add-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + + Add-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + SubnetName + + + + String + + + StaticVNetIPAddress + + + + IPAddress + + + + Add-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + SubnetName + + + + String + + + + + + InternalLoadBalancerName + + + + String + + String + + + + + + ServiceName + + + + String + + String + + + + + + SubnetName + + + + String + + String + + + + + + StaticVNetIPAddress + + + + IPAddress + + IPAddress + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB + + Description + + + + -----------Adds an internal load balancer object to a deployment + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB -SubnetName FrontEndSubnet + + Description + + + + -----------Adds an internal load balancer object to a deployment in a Virtual Network. Specifies the Subnet in the VNet from which the load balancer IP should be allocated. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB -ServiceName svc1 -SubnetName FrontEndSubnet -StaticVNetIPAddress 192.168.4.7 + + Description + + + + -----------Adds an internal load balancer object to a deployment in a Virtual Network. Specifies the Subnet in the VNet and the exact IP address from that subnet that should be allocated to the internal load balancer. + + + + + + + Unknown + + + + + + + + Add-AzureProvisioningConfig + + Adds the provisioning configuration to a Microsoft Azure virtual machine. + + + + + Add + AzureProvisioningConfig + + + + + The Add-AzureProvisioningConfig cmdlet adds configuration information to a virtual machine configuration used to create a new Virtual Machine. +Different provisioning configurations are supported including standalone Windows servers, Windows servers joined to an Active Directory domain, and Linux-based servers. +When creating an Active Directory domain joined server, the provisioning configuration must specify the fully qualified domain name of the Active Directory domain, as well as the domain credentials of a user with permission to join the machine to the domain. + + + + Add-AzureProvisioningConfig + + VM + + Specifies the virtual machine object. + + IPersistentVM + + + DisableGuestAgent + + To disable IaaS provision guest agent. + + SwitchParameter + + + CustomDataFile + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + +On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. +On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + String + + + Windows + + Specify to create a standalone Windows provisioning configuration. + + SwitchParameter + + + AdminUsername + + Specifies the Administrator account to create. + + String + + + Password + + Specifies the password of the administrator account for the role. + + String + + + ResetPasswordOnFirstLogon + + If specified, forces the user to change their password on first logon. + + SwitchParameter + + + DisableAutomaticUpdates + + If specified, the configuration will have automatic updates disabled. + + SwitchParameter + + + NoRDPEndpoint + + If specified, create the virtual machine without a remote desktop endpoint. + + SwitchParameter + + + TimeZone + + Specifies the Microsoft Time Zone value to use to set the time zone for the virtual machine. Examples are: "Pacific Standard Time" and "Canada Central Standard Time". + + String + + + Certificates + + Specifies a set of certificates to install in the virtual machine. + + CertificateSettingList + + + EnableWinRMHttp + + Enables WinRM over http. + + SwitchParameter + + + DisableWinRMHttps + + Disables WinRM on https which is added by default. + + SwitchParameter + + + WinRMCertificate + + Certificate that will be associated with WinRM endpoint. + + X509Certificate2 + + + X509Certificates + + X509 certificates that will be deployed to hosted service. + + X509Certificate2[] + + + NoExportPrivateKey + + Prevents the private key from being uploaded + + SwitchParameter + + + NoWinRMEndpoint + + Prevents the WinRM endpoint from being added + + SwitchParameter + + + + Add-AzureProvisioningConfig + + VM + + Specifies the virtual machine object. + + IPersistentVM + + + DisableGuestAgent + + To disable IaaS provision guest agent. + + SwitchParameter + + + Linux + + Specify to create a Linux provisioning configuration. + + SwitchParameter + + + LinuxUser + + Specifies the Linux administrative account name to create. + + String + + + DisableSSH + + If specified, the virtual machine is created with SSH disabled. + + SwitchParameter + + + NoSSHEndpoint + + If specified, create the virtual machine without an SSH endpoint. + + SwitchParameter + + + NoSSHPassword + + Not Specified + + SwitchParameter + + + SSHPublicKeys + + + + LinuxProvisioningConfigurationSet+SSHPublicKeyList + + + SSHKeyPairs + + + + LinuxProvisioningConfigurationSet+SSHKeyPairList + + + CustomDataFile + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + +On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. +On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + String + + + Password + + Specifies the password of the administrator account for the role. + + String + + + + Add-AzureProvisioningConfig + + VM + + Specifies the virtual machine object. + + IPersistentVM + + + DisableGuestAgent + + To disable IaaS provision guest agent. + + SwitchParameter + + + CustomDataFile + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + +On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. +On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + String + + + AdminUsername + + Specifies the Administrator account to create. + + String + + + WindowsDomain + + Specify to create a provisioning configuration for a Windows server joined to an Active Directory domain. + + SwitchParameter + + + Password + + Specifies the password of the administrator account for the role. + + String + + + ResetPasswordOnFirstLogon + + If specified, forces the user to change their password on first logon. + + SwitchParameter + + + DisableAutomaticUpdates + + If specified, the configuration will have automatic updates disabled. + + SwitchParameter + + + NoRDPEndpoint + + If specified, create the virtual machine without a remote desktop endpoint. + + SwitchParameter + + + TimeZone + + Specifies the Microsoft Time Zone value to use to set the time zone for the virtual machine. Examples are: "Pacific Standard Time" and "Canada Central Standard Time". + + String + + + Certificates + + Specifies a set of certificates to install in the virtual machine. + + CertificateSettingList + + + JoinDomain + + Specifies the fully qualified domain name (FQDN) of the Windows domain to join. + + String + + + Domain + + Specifies the name of the domain of the account with permission to add the computer to a domain. + + String + + + DomainUserName + + Specifies the name of the user account with permission to add the computer to a domain. + + String + + + DomainPassword + + Specifies the password of the user account with permission to add the computer to a domain. + + String + + + MachineObjectOU + + Specifies the fully qualified name of the organizational unit (OU) in which the computer account is created. + + String + + + EnableWinRMHttp + + Enables WinRM over http. + + SwitchParameter + + + DisableWinRMHttps + + Disables WinRM on https which is added by default. + + SwitchParameter + + + WinRMCertificate + + Certificate that will be associated with WinRM endpoint. + + X509Certificate2 + + + X509Certificates + + X509 certificates that will be deployed to hosted service. + + X509Certificate2[] + + + NoExportPrivateKey + + Prevents the private key from being uploaded + + SwitchParameter + + + NoWinRMEndpoint + + Prevents the WinRM endpoint from being added + + SwitchParameter + + + + + + VM + + Specifies the virtual machine object. + + IPersistentVM + + IPersistentVM + + + + + + DisableGuestAgent + + To disable IaaS provision guest agent. + + SwitchParameter + + SwitchParameter + + + + + + CustomDataFile + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + +On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. +On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + String + + String + + + + + + Windows + + Specify to create a standalone Windows provisioning configuration. + + SwitchParameter + + SwitchParameter + + + + + + AdminUsername + + Specifies the Administrator account to create. + + String + + String + + + + + + Password + + Specifies the password of the administrator account for the role. + + String + + String + + + + + + ResetPasswordOnFirstLogon + + If specified, forces the user to change their password on first logon. + + SwitchParameter + + SwitchParameter + + + + + + DisableAutomaticUpdates + + If specified, the configuration will have automatic updates disabled. + + SwitchParameter + + SwitchParameter + + + + + + NoRDPEndpoint + + If specified, create the virtual machine without a remote desktop endpoint. + + SwitchParameter + + SwitchParameter + + + + + + TimeZone + + Specifies the Microsoft Time Zone value to use to set the time zone for the virtual machine. Examples are: "Pacific Standard Time" and "Canada Central Standard Time". + + String + + String + + + + + + Certificates + + Specifies a set of certificates to install in the virtual machine. + + CertificateSettingList + + CertificateSettingList + + + + + + EnableWinRMHttp + + Enables WinRM over http. + + SwitchParameter + + SwitchParameter + + + + + + DisableWinRMHttps + + Disables WinRM on https which is added by default. + + SwitchParameter + + SwitchParameter + + + + + + WinRMCertificate + + Certificate that will be associated with WinRM endpoint. + + X509Certificate2 + + X509Certificate2 + + + + + + X509Certificates + + X509 certificates that will be deployed to hosted service. + + X509Certificate2[] + + X509Certificate2[] + + + + + + NoExportPrivateKey + + Prevents the private key from being uploaded + + SwitchParameter + + SwitchParameter + + + + + + NoWinRMEndpoint + + Prevents the WinRM endpoint from being added + + SwitchParameter + + SwitchParameter + + + + + + Linux + + Specify to create a Linux provisioning configuration. + + SwitchParameter + + SwitchParameter + + + + + + LinuxUser + + Specifies the Linux administrative account name to create. + + String + + String + + + + + + DisableSSH + + If specified, the virtual machine is created with SSH disabled. + + SwitchParameter + + SwitchParameter + + + + + + NoSSHEndpoint + + If specified, create the virtual machine without an SSH endpoint. + + SwitchParameter + + SwitchParameter + + + + + + NoSSHPassword + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + SSHPublicKeys + + + + LinuxProvisioningConfigurationSet+SSHPublicKeyList + + LinuxProvisioningConfigurationSet+SSHPublicKeyList + + + + + + SSHKeyPairs + + + + LinuxProvisioningConfigurationSet+SSHKeyPairList + + LinuxProvisioningConfigurationSet+SSHKeyPairList + + + + + + WindowsDomain + + Specify to create a provisioning configuration for a Windows server joined to an Active Directory domain. + + SwitchParameter + + SwitchParameter + + + + + + JoinDomain + + Specifies the fully qualified domain name (FQDN) of the Windows domain to join. + + String + + String + + + + + + Domain + + Specifies the name of the domain of the account with permission to add the computer to a domain. + + String + + String + + + + + + DomainUserName + + Specifies the name of the user account with permission to add the computer to a domain. + + String + + String + + + + + + DomainPassword + + Specifies the password of the user account with permission to add the computer to a domain. + + String + + String + + + + + + MachineObjectOU + + Specifies the fully qualified name of the organizational unit (OU) in which the computer account is created. + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Pass word $Password -AdminUsername PsTestAdmin ` +| New-AzureVM -ServiceName $svcName + + Description + + + + -----------This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -WindowsDomain -Password $Password -AdminUsername PsTestAdmin -ResetPasswordOnFirstLogon -JoinDomain "contoso.com" -Domain "contoso" -DomainUserName "domainadminuser" -DomainPassword "domainPassword" -MachineObjectOU 'OU=AzureVMs,DC=contoso,DC=com' +| New-AzureVM -ServiceName $svcName + + Description + + + + -----------This example creates a new, domain-joined Windows virtual machine and adds it to the specified service. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyLinuxVM" -InstanceSize Small -ImageName $LnxImg ` +| Add-AzureProvisioningConfig -Linux -LinuxUser $linuxUser -Password $Password ` +| New-AzureVM -ServiceName $svcName + + Description + + + + -----------This example creates a new Linux virtual machine and adds it to the specified service. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> $certs = Get-ChildItem Cert:\CurrentUser\My +New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -WinRMCertificate $certs[0] -X509Certificates $certs[1], $certs[2] ` +| New-AzureVM -ServiceName $svcName -WaitForBoot + + Description + + + + -----------This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureVM. + + + + + -------------------------- EXAMPLE 5 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -EnableWinRMHttp ` +| New-AzureVM -ServiceName $svcName -WaitForBoot + + Description + + + + -----------This example creates a new Windows standalone virtual machine and adds it to the specified service. Both WinRM Https and Http listener is enabled on the VM. WaitForBoot option enables to wait for VM to boot. + + + + + -------------------------- EXAMPLE 6 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -DisableWinRMHttps ` +| New-AzureVM -ServiceName $svcName -WaitForBoot + + Description + + + + -----------This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is not enabled on the VM. WaitForBoot option enables to wait for VM to boot. + + + + + -------------------------- EXAMPLE 7 -------------------------- + + + + PS C:\> $certs = Get-ChildItem Cert:\CurrentUser\My +New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Password $Password -AdminUsername PsTestAdmin -X509Certificates $certs[0], $certs[1] -NoExportPrivateKey ` +| New-AzureVM -ServiceName $svcName -WaitForBoot + + Description + + + + -----------This example creates a new Windows standalone virtual machine and adds it to the specified service. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureVM. PrivateKeys are removed from X509Certificates before uploading them. + + + + + -------------------------- EXAMPLE 8 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName $img ` +| Add-AzureProvisioningConfig -Windows -Pass word $Password -AdminUsername PsTestAdmin ` +| New-AzureVM -ServiceName $svcName -DisableGuestAgent + + Description + + + + -----------This example creates a new Windows standalone virtual machine without enabling the provision guest agent and adds it to the specified service. WinRM Https listener is enabled by default on the VM. + + + + + + + Unknown + + + + + + + + Add-AzureVhd + + Uploads a VHD file from an on premise machine to a blob in a cloud storage account in Microsoft Azure + + + + + Add + AzureVhd + + + + + The Add-AzureVhd cmdlet allows to upload on premise VHD images to a blob storage account as fixed VHD images. It has parameters to configure the upload process such as specifying the number of uploader threads that will be used or overwriting a blob which already exists in the specified destination uri. For on premise VHD images, patching scenario is also supported so that diff disk images can be uploaded without having to upload the already uploaded base images. SAS Uri is supported as well. + + + + Add-AzureVhd + + Destination + + A Uri to a blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well, however in patching scenarios destination cannot be a SAS Uri. + + Uri + + + LocalFilePath + + File path of the local Vhd file. + + FileInfo + + + NumberOfUploaderThreads + + + + Int32 + + + BaseImageUriToPatch + + A Uri to a base image blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well. + + Uri + + + OverWrite + + Determines to delete the existing blob in the specified destination uri if it exists. + + SwitchParameter + + + + + + Destination + + A Uri to a blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well, however in patching scenarios destination cannot be a SAS Uri. + + Uri + + Uri + + + + + + LocalFilePath + + File path of the local Vhd file. + + FileInfo + + FileInfo + + + + + + NumberOfUploaderThreads + + + + Int32 + + Int32 + + + + + + BaseImageUriToPatch + + A Uri to a base image blob in Microsoft Azure Blob Storage. Shared Access Signature (SAS) in Uri input is supported as well. + + Uri + + Uri + + + + + + OverWrite + + Determines to delete the existing blob in the specified destination uri if it exists. + + SwitchParameter + + SwitchParameter + + + + + + NumberOfThreads + + Determines the number of uploader threads that will be used during upload. + + int + + int + + + 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd + + Description + + + + -----------This command uploads the vhd file on premise as a fixed disk to the specified blob by destination uri. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -Overwrite + + Description + + + + -----------Overwrite option tells the cmdlet to delete if there is a blob already in the specified destination uri. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -NumberOfThreads 32 + + Description + + + + -----------NumberOfThreads allows to change the default number of uploader threads, which is 8. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> Add-AzureVhd -Destination "http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd?st=2013-01-09T22%3A15%3A49Z&amp;se=2013-01-09T23%3A10%3A49Z&amp;sr=b&amp;sp=w&amp;sig=13T9Ow%2FRJAMmhfO%2FaP3HhKKJ6AY093SmveOSIV4%2FR7w%3D" -LocalFilePath C:\vhd\win7baseimage.vhd + + Description + + + + -----------Destination is provided with a SAS signature in the querystring of the Uri. SAS signature should have Read,Write, and Delete permissions. + + + + + + + Unknown + + + + + + + + Add-AzureVMImage + + The Add-AzureVMImage cmdlet adds a new operating system (OS) image to the image repository. The image should be a sysprep'd or generalized OS image. + + + + + Add + AzureVMImage + + + + + + + + + Add-AzureVMImage + + ImageName + + Specifies the name of the image being added to the image repository. + + String + + + MediaLocation + + Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. + + String + + + OS + + Specifies the operating system version of the image. + + String + + + Label + + Specifies a label to give the image. + + String + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + String + + + Description + + Specifies the description of the OS image. + + String + + + ImageFamily + + Specifies a value that can be used to group OS images. + + String + + + PublishedDate + + Specifies the date when the OS image was added to the image repository. + + Nullable`1[DateTime] + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS image. + + Uri + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + String + + + + + + ImageName + + Specifies the name of the image being added to the image repository. + + String + + String + + + + + + MediaLocation + + Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. + + String + + String + + + + + + OS + + Specifies the operating system version of the image. + + String + + String + + + + + + Label + + Specifies a label to give the image. + + String + + String + + + + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + String + + String + + + + + + Description + + Specifies the description of the OS image. + + String + + String + + + + + + ImageFamily + + Specifies a value that can be used to group OS images. + + String + + String + + + + + + PublishedDate + + Specifies the date when the OS image was added to the image repository. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS image. + + Uri + + Uri + + + + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + String + + String + + + + + + + + + + + + + + + + + + + + + OSImageContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Add-AzureVMImage -ImageName imageName -MediaLocation http://yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd -Label imageLabel + + Description + + + + -----------This example adds a new operating system image in the repository + + + + + + + Get-AzureVMImage + + + + Remove-AzureVMImage + + + + Update-AzureVMImage + + + + + + + + Export-AzureVM + + Exports a Microsoft Azure virtual machine state to a file. + + + + + Export + AzureVM + + + + + The Export-AzureVM cmdlet exports the state of a virtual machine to an xml file. + + Note: Using Export-AzureVM, followed by Remove-AzureVM and then Import-AzureVM to recreate a virtual machine can cause the resultant virtual machine to have a different IP address than the original. + + + + Export-AzureVM + + ServiceName + + Specifies the name of the Microsoft Azure service that hosts the virtual machine. + + String + + + Name + + Specifies the name of the virtual machine whose state you are exporting. + + String + + + Path + + Specifies the path and file name to which the virtual machine state will be saved. + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that hosts the virtual machine. + + String + + String + + + + + + Name + + Specifies the name of the virtual machine whose state you are exporting. + + String + + String + + + + + + Path + + Specifies the path and file name to which the virtual machine state will be saved. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Export-AzureVM -ServiceName $MyService -Name $MyRole -Path "C:\vms\VMstate.xml" + + This command exports the state of the $MyRole virtual machine to the “VMstate.xml” file. + + + + + + + + + + + Import-AzureVM + + + + New-AzureVM + + + + + + + + Get-AzureAclConfig + + Gets the ACL configuration object from an existing Azure VM. + + + + + Get + AzureAclConfig + + + + + The Get-AzureAclConfig cmdlet gets the ACL configuration object from an existing Azure VM. + + + + Get-AzureAclConfig + + EndpointName + + Specifies the name of the endpoint. + + String + + + VM + + Specifies the virtual machine object for which the endpoint will be created. + + IPersistentVM + + + + + + EndpointName + + Specifies the name of the endpoint. + + String + + String + + + + + + VM + + Specifies the virtual machine object for which the endpoint will be created. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS> $acl = Get-AzureVM -ServiceName "myservice" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" + + This command will get the ACL configuration from the VM with name "MyVM". + + + + + + + + + + + New-AzureAclConfig + + + + Remove-AzureAclConfig + + + + Set-AzureAclConfig + + + + + + + + Get-AzureAffinityGroup + + Returns an object that represents a Microsoft Azure affinity group. + + + + + Get + AzureAffinityGroup + + + + + The Get-AzureAffinityGroup cmdlet returns an affinity group object that includes the affinity group name, location, label, description and the storage and hosted services that are part of the affinity group. + + + + Get-AzureAffinityGroup + + Name + + Affinity Group name. A name is assigned to the affinity group at the time of creation. Note that names for affinity groups created through the Management Portal are typically GUIDs and that the UI shows its label. + + String + + + + + + Name + + Affinity Group name. A name is assigned to the affinity group at the time of creation. Note that names for affinity groups created through the Management Portal are typically GUIDs and that the UI shows its label. + + String + + String + + + + + + + + + + + + + + + + + + + + + AffinityGroup + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureAffinityGroup -Name "MyGroup1" + + This example list the properties of the "MyGroup1" affinity group. + + + + + + + + + + + + + + + Get-AzureCertificate + + Gets a certificate object from the specified Microsoft Azure service. + + + + + Get + AzureCertificate + + + + + + + + + Get-AzureCertificate + + ServiceName + + Specifies the name of the Microsoft Azure service that has the certificate. + + String + + + ThumbprintAlgorithm + + Specifies the algorithm used to create the certificate thumbprint. + + String + + + Thumbprint + + Specifies the thumbprint that identifies the certificate. + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that has the certificate. + + String + + String + + + + + + ThumbprintAlgorithm + + Specifies the algorithm used to create the certificate thumbprint. + + String + + String + + + + + + Thumbprint + + Specifies the thumbprint that identifies the certificate. + + String + + String + + + + + + + + + + + + + + + + + + + + + CertificateContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>$MyAzureCert = Get-AzureCertificate -ServiceName "MyService" + + This command gets the certificate object from the specified cloud service, and stores it in the $MyAzureCert variable. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>$MyAzureCert = Get-AzureCertificate -ServiceName "MyService" `-Thumbprint <CertThumbprint> + + This command gets the certificate object identified by the specified thumbprint from the specified hosted service, and stores it in the $MyAzureCert variable. + + + + + + + + + + + Add-AzureCertificate + + + + Remove-AzureCertificate + + + + + + + + Get-AzureDataDisk + + Gets a Microsoft Azure data disk object. + + + + + Get + AzureDataDisk + + + + + The Get-AzureDataDisk cmdlet gets an object that represents the Microsoft Azure data disks on the specified virtual machine. To get a specific data disk object, specify the disk's LUN. + + + + Get-AzureDataDisk + + Lun + + Specifies the LUN where the data disk resides. + + Nullable`1[Int32] + + + VM + + Specifies the virtual machine object from which to get data disk objects. + + IPersistentVM + + + + + + Lun + + Specifies the LUN where the data disk resides. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + VM + + Specifies the virtual machine object from which to get data disk objects. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" –Name "MyVM" | Get-AzureDataDisk + + This command gets the "MyVM" virtual machine running on the "myservice" cloud service, and then gets a list of the data disks mounted on the virtual machine. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>$dDisk = ( Get-AzureVM "myservice" -Name "MyVM" ` + | Get-AzureDataDisk -LUN 2 ) + + This command gets a data disk object, $dDisk, that represents the data disk mounted at LUN 2 on the Database virtual machine running on the Microsoft Azure service "myservice". + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "MyService" –Name "MyVM" | Get-AzureDataDisk –LUN 1 + + This command removes the data disk at LUN 1 on the "MyVM" virtual machine running on the Microsoft Azure service "MyService". + + + + + + + + + + + Get-AzureVM + + + + Add-AzureDataDisk + + + + Set-AzureDataDisk + + + + Remove-AzureDataDisk + + + + + + + + Get-AzureDeployment + + + + + + + Get + AzureDeployment + + + + + + + + + Get-AzureDeployment + + ServiceName + + + + String + + + Slot + + + + String + + + + + + ServiceName + + + + String + + String + + + + + + Slot + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDeployment -ServiceName "MyService" + + This command will return the details of the production deployment of "MyService". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDeployment -ServiceName "MyService" -Slot Staging + + This command returns the details of the staging deployment of "MyService". + + + + + + + + + + + Move-AzureDeployment + + + + New-AzureDeployment + + + + Remove-AzureDeployment + + + + Set-AzureDeployment + + + + Unknown + + + + + + + + Get-AzureDisk + + Gets an object with information on disks in the Microsoft Azure disk repository. + + + + + Get + AzureDisk + + + + + The Get-AzureDisk cmdlet retrieves an object with information about the disks stored in the Microsoft Azure disk repository for the current subscription. It returns a list object with information for all disks in the repository, or with information on a specific disk if its disk name is specified. + + + + Get-AzureDisk + + DiskName + + Specifies the name of the disk in the disk repository to return information about. + + String + + + + + + DiskName + + Specifies the name of the disk in the disk repository to return information about. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDisk -DiskName MyDataDisk + + This command retrieves data about the "MyDataDisk" disk from the disk repository. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDisk + + This command retrieves data for all the disks in the disk repository. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDisk | Where-Object {$_.AttachedTo –eq $null } ` + | Format-Table –auto "DiskName","DiskSizeInGB","MediaLink" + + This command gets data for all of the disks in the disk repository that are not currently attached to a virtual machine and then formats the list as a table. + + + + + + + + + + + Add-AzureDisk + + + + Remove-AzureDisk + + + + Update-AzureDisk + + + + + + + + Get-AzureDns + + Gets an object with the DNS settings for the Microsoft Azure deployment. + + + + + Get + AzureDns + + + + + The Get-AzureDNS cmdlet gets the DNS settings for a Microsoft Azure deployment. The returned settings are "name" (a friendly name) and "Address" which is the IP address of the DNS server. + + + + Get-AzureDns + + DnsSettings + + Specifies a DnsSettings object. + + DnsSettings + + + + + + DnsSettings + + Specifies a DnsSettings object. + + DnsSettings + + DnsSettings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDeployment -ServiceName "MySvc1" -Slot "Production" | Get-AzureDNS + + This command gets the production DNS settings for the specified deployment. + + + + + + + + + + + + + + + Get-AzureEndpoint + + Gets an object with information about the endpoints assigned to a Microsoft Azure virtual machine. + + + + + Get + AzureEndpoint + + + + + The Get-AzureEndpoint cmdlet returns an object with information about the endpoints that are assigned to a Microsoft Azure virtual machine. + + + + Get-AzureEndpoint + + Name + + Specifies the name of the input endpoint from which information will be retrieved. If the Name parameter is omitted, information about all endpoints assigned to the specified virtual machine is retrieved. + + String + + + VM + + Specifies the virtual machine object from which endpoint information will be retrieved. + + IPersistentVM + + + + + + Name + + Specifies the name of the input endpoint from which information will be retrieved. If the Name parameter is omitted, information about all endpoints assigned to the specified virtual machine is retrieved. + + String + + String + + + + + + VM + + Specifies the virtual machine object from which endpoint information will be retrieved. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureVM –ServiceName “MyService” –Name “MyVM” | Get-AzureEndpoint + + This command gets endpoint information for the virtual machine “MyVM”. + + + + + + + + + + + Add-AzureEndpoint + + + + Remove-AzureEndpoint + + + + Set-AzureEndpoint + + + + Get-AzureVM + + + + + + + + Get-AzureInternalLoadBalancer + + Get-AzureInternalLoadBalancer [-ServiceName] <string> [<CommonParameters>] + + + + + Get + AzureInternalLoadBalancer + + + + + Returns the details of the Internal Load balancer configuration on the deployment. + + + + Get-AzureInternalLoadBalancer + + ServiceName + + + + String + + + + + + ServiceName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.InternalLoadBalancerContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureService -ServiceName ILBINVNet | Get-AzureInternalLoadBalancer + + Description + + + + -----------Returns information on the internal load balancer configuration on the deployment + + + + + + + Unknown + + + + + + + + Get-AzureLocation + + Gets the available data center locations for the current Microsoft Azure subscription. + + + + + Get + AzureLocation + + + + + The Get-AzureLocation cmdlet returns a list object with the available Microsoft Azure data centers and their properties for the current Microsoft Azure subscription. Before running this cmdlet, you need to set your current subscription with Select-AzureSubscription and Set-AzureSubscription. + + + + Get-AzureLocation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureLocation + + This command gets a list of available data centers, and their properties, for the current subscription. + + + + + + + + + + + Select-AzureSubscription + + + + Set-AzureSubscription + + + + Import-AzurePublishSettingsFile + + + + + + + + Get-AzureOSDisk + + Gets the operating system disk object for the specified Microsoft Azure virtual machine. + + + + + Get + AzureOSDisk + + + + + The Get-AzureOSDisk cmdlet gets an object representing the operating system disk of the specified virtual machine object. + + + + Get-AzureOSDisk + + VM + + Specifies the virtual machine object whose operating system disk object you want to get. + + IPersistentVM + + + + + + VM + + Specifies the virtual machine object whose operating system disk object you want to get. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureVM –ServiceName “MyService” –Name “MyVM” | Get-AzureOSDisk + + This command gets the operating system disk object for the "MyVM" virtual machine. + + + + + + + + + + + + + + + Get-AzureOSVersion + + Returns an object with all the available Microsoft Azure guest operating systems. + + + + + Get + AzureOSVersion + + + + + The Get-AzureOSVersion cmdlet returns a list object with all the available Microsoft Azure guest operating systems. + + + + Get-AzureOSVersion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureOSVersion + + This command retrieves an object containing a list of all versions of the guest operating system that are available in the current subscription. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureOSVersion | Format-Table –auto "Family", "FamilyLabel", "Version" + + This command retrieves an object containing a list of all versions of the guest operating system that are available in the current subscription, and formats them in a table showing the OS Family, OS Family Label, and Version. + + + + + + + + + + + + + + + Get-AzurePublicIP + + Get-AzurePublicIP [[-PublicIPName] <string>] -VM <IPersistentVM> [<CommonParameters>] + + + + + Get + AzurePublicIP + + + + + Returns the Instance Level Public IP information on the virtual machine. To obtain the IP Address of the Public IP use Get-AzureVM cmd let. + + + + Get-AzurePublicIP + + PublicIPName + + + + String + + + VM + + + + IPersistentVM + + + + + + PublicIPName + + + + String + + String + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.AssignPublicIPCollection + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Get-AzurePublicIP + + Description + + + + -----------Returns the Public IP information on the virtual machine. To get the IP address of the public ip, use Get-AzureVM + + + + + + + Unknown + + + + + + + + Get-AzureRemoteDesktopFile + + Gets a remote desktop connection file (.RDP) for the specified Microsoft Azure virtual machine. + + + + + Get + AzureRemoteDesktopFile + + + + + The Get-AzureRemoteDesktopFile cmdlet downloads and saves a remote desktop connection (RDP) file to a local disk file. The cmdlet can optionally launch a remote desktop connection to the specified virtual machine. + + + + Get-AzureRemoteDesktopFile + + Name + + Specifies the virtual machine to download an RDP file for. + + String + + + LocalPath + + Specifies the path and name of the downloaded RDP file on the local disk. + + String + + + ServiceName + + Specifies the Microsoft Azure service name. + + String + + + + Get-AzureRemoteDesktopFile + + Name + + Specifies the virtual machine to download an RDP file for. + + String + + + LocalPath + + Specifies the path and name of the downloaded RDP file on the local disk. + + String + + + Launch + + When specified, launches a remote desktop session to the specified virtual machine. + + SwitchParameter + + + ServiceName + + Specifies the Microsoft Azure service name. + + String + + + + + + Name + + Specifies the virtual machine to download an RDP file for. + + String + + String + + + + + + LocalPath + + Specifies the path and name of the downloaded RDP file on the local disk. + + String + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name. + + String + + String + + + + + + Launch + + When specified, launches a remote desktop session to the specified virtual machine. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRemoteDesktopFile -ServiceName "myservice" -Name "MyVM-01_IN_0" -LocalPath "c:\temp\MyVM01.rdp" + + This command gets an RDP file for the "MyVM-01_IN_0" virtual machine running on the "myservice" service and stores it as "c:\temp\MyVM01.rdp". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRemoteDesktopFile -ServiceName "myservice" -Name "MyVM-01_IN_0" –Launch + + This command gets an RDP connection file for the "MyVM-01_IN_0" virtual machine running on the "myservice" service and launches a remote desktop connection to the specified virtual machine. The RDP file is deleted when the connection is closed. + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureReservedIP + + Get the Reserved IP by its name or lists all the Reserved IPs in the subscription. + + + + + Get + AzureReservedIP + + + + + Get the reserved IP by its name or list all of them in the subscription. + + + + Get-AzureReservedIP + + ReservedIPName + + Reserved IP Name + + String + + + + + + ReservedIPName + + Reserved IP Name + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureReservedIP + + Description + + + + -----------List all the reserved IP(s) in this subscription. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureReservedIP -ReservedIPName $ipName + + Description + + + + -----------Get the reserved IP by the name in this subscription. + + + + + + + Unknown + + + + + + + + Get-AzureRole + + Returns a list of roles in your Microsoft Azure service. + + + + + Get + AzureRole + + + + + The Get-AzureRole cmdlet returns a list object with details on the roles in your Microsoft Azure service. If the RoleName parameter is specified, Get-AzureRole returns details on that role only. If the InstanceDetails parameter is specified, additional, instance specific details are returned. + + + + Get-AzureRole + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + + Slot + + Specifies the Microsoft Azure deployment environment. Choices are "Production" or "Staging". + + String + + + RoleName + + When specified, returns details only on the specified role. + + String + + + InstanceDetails + + When specified, returns details about the instances on each role. + + SwitchParameter + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + String + + + + + + Slot + + Specifies the Microsoft Azure deployment environment. Choices are "Production" or "Staging". + + String + + String + + + + + + RoleName + + When specified, returns details only on the specified role. + + String + + String + + + + + + InstanceDetails + + When specified, returns details about the instances on each role. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production + + This command returns an object with details on all the production roles running on the "MySvc1" service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Staging –RoleName "MyTestVM3" + + This command returns an object with details on the "MyTestVM3" role, running on the staging environment of the "MySvc1" service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production –RoleName "MyTestVM2" -InstanceDetails + + This command returns an object with details on the instances of the "MyTestVM2" role running in the production environment on the "MySvc1" service. + + + + + + + + + -------------------------- Example 4 -------------------------- + + + + PS C:\> C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Production -InstanceDetails ` + | Format-Table –Auto "InstanceName", "InstanceSize", "InstanceStatus" + + This command returns a table of the instance name, size, and status of all role instances running in the production environment on the "MySvc1" service. + + + + + + + + + + + Set-AzureRole + + + + + + + + Get-AzureRoleSize + + Get the role size information for the current subscription. + + + + + Get + AzureRoleSize + + + + + Get the role size information for the current subscription. + + + + Get-AzureRoleSize + + InstanceSize + + The role size name, e.g. ExtraSmall, Small, Large, ExtraLarge, A5, A6, A7, etc. + + String + + + + + + InstanceSize + + The role size name, e.g. ExtraSmall, Small, Large, ExtraLarge, A5, A6, A7, etc. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureRoleSize + + InstanceSize : A6 + RoleSizeLabel : + Cores : 4 + MemoryInMb : 28672 + SupportedByWebWorkerRoles : True + SupportedByVirtualMachines : True + OperationDescription : Get-AzureRoleSize + OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce + OperationStatus : Succeeded + + InstanceSize : A7 + RoleSizeLabel : + Cores : 8 + MemoryInMb : 57344 + SupportedByWebWorkerRoles : True + SupportedByVirtualMachines : True + OperationDescription : Get-AzureRoleSize + OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureRoleSize -InstanceSize A7 + + InstanceSize : A7 + RoleSizeLabel : + Cores : 8 + MemoryInMb : 57344 + SupportedByWebWorkerRoles : True + SupportedByVirtualMachines : True + OperationDescription : Get-AzureRoleSize + OperationId : c5ed7b3a-03b3-548d-876b-6688c5b29cce + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Get-AzureService | Get-AzureVM | Get-AzureRoleSize + + # Output of the role size information for all VMs in all the cloud services + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Get-AzureService + + Returns an object with information about the cloud services for the current subscription. + + + + + Get + AzureService + + + + + The Get-AzureService cmdlet returns a list object with all of the Microsoft Azure cloud services associated with the current subscription. If the ServiceName parameter is specified, Get-AzureService will return information on only the matching service. + + + + Get-AzureService + + ServiceName + + If specified, returns information on the specified service. + + String + + + + + + ServiceName + + If specified, returns information on the specified service. + + String + + String + + + + + + + + + + + + + + + + + + + + + HostedServiceContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureService + + This command returns a list object that contains information about all of the Microsoft Azure services associated with the current subscription. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureService –ServiceName $MySvc + + This command returns information about the $MySvc service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureService | Get-Member + + This command displays the properties and methods that are available from the Get-AzureService cmdlet. + + + + + + + + + + + Set-AzureService + + + + New-AzureService + + + + + + + + Get-AzureServiceADDomainExtension + + This cmdlet gets the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. + + + + + Get + AzureServiceADDomainExtension + + + + + This cmdlet gets the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. + + + + Get-AzureServiceADDomainExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceADDomainExtension -ServiceName $svc + + Description + + + + -----------This command returns the information of the cloud service AD domain extensions enabled on the roles of a certain deployment. + + + + + + + Unknown + + + + + + + + Get-AzureServiceAntimalwareConfig + + Gets configuration details for the Microsoft Antimalware extension for a service. + + + + + Get + AzureServiceAntimalwareConfig + + + + + The Get-AzureServiceAntimalwareConfig cmdlet gets the antimalware configuration and monitoring configuration details associated with the Microsoft Antimalware extension for a cloud service. + + + + Get-AzureServiceAntimalwareConfig + + ServiceName + + Specifies the name of the cloud service. + + String + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + + + + + ServiceName + + Specifies the name of the cloud service. + + String + + String + + + none + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get configuration for a service -------------------------- + + + + PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03" + + This command returns the antimalware configuration object for the specified service name. Because this command does not specify the Slot parameter, the command gets the configuration for the default slot, Production. For services that have monitoring enabled, the command also returns a monitoring configuration object. + + + + + + + + + -------------------------- Example 2: Get configuration for a service for the Staging slot -------------------------- + + + + PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03" -Slot Staging + + This command returns the antimalware configuration object for the specified service name. Because this command specifies a value of Staging for the Slot parameter, the command gets the configuration for the Staging slot. For services that have monitoring enabled, the command also returns a monitoring configuration object. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402839 + + + Remove-AzureServiceAntimalwareExtension + + + + Set-AzureServiceAntimalwareExtension + + + + + + + + Get-AzureServiceAvailableExtension + + Get information for the latest available extensions for hosted services. + + + + + Get + AzureServiceAvailableExtension + + + + + Get information for the latest available extensions for hosted services. + + + + Get-AzureServiceAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + + Get-AzureServiceAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + AllVersions + + Specify to list all versions of an extension. + + SwitchParameter + + + + Get-AzureServiceAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + Version + + The Extension Version. + + String + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + String + + + + + + AllVersions + + Specify to list all versions of an extension. + + SwitchParameter + + SwitchParameter + + + + + + Version + + The Extension Version. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceAvailableExtension + + ProviderNameSpace : Microsoft.Windows.Azure.Extensions + ExtensionName : RDP + Version : 1.0 + Label : Microsoft Azure Remote Desktop Extension + Description : Microsoft Azure Remote Desktop Extension + HostingResources : WebOrWorkerRole + ThumbprintAlgorithm : sha1 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element + name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" + /></xs:sequence></xs:complexType></xs:element></xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element + name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> + OperationDescription : Get-AzureServiceAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureServiceAvailableExtension -ProviderNamespace Microsoft.Windows.Azure.Extensions -ExtensionName RDP -AllVersions + + ProviderNameSpace : Microsoft.Windows.Azure.Extensions + ExtensionName : RDP + Version : 1.0.0.1 + Label : Microsoft Azure Remote Desktop Extension + Description : Microsoft Azure Remote Desktop Extension + HostingResources : WebOrWorkerRole + ThumbprintAlgorithm : sha1 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element + name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" + /></xs:sequence></xs:complexType></xs:element></xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element + name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> + OperationDescription : Get-AzureServiceAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Get-AzureServiceAvailableExtension -ProviderNamespace Microsoft.Windows.Azure.Extensions -ExtensionName RDP -Version 1.0.0.1 + + ProviderNameSpace : Microsoft.Windows.Azure.Extensions + ExtensionName : RDP + Version : 1.0.0.1 + Label : Microsoft Azure Remote Desktop Extension + Description : Microsoft Azure Remote Desktop Extension + HostingResources : WebOrWorkerRole + ThumbprintAlgorithm : sha1 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element + name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" + /></xs:sequence></xs:complexType></xs:element></xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element + name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> + OperationDescription : Get-AzureServiceAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Get-AzureServiceDiagnosticsExtension + + This cmdlet gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. + + + + + Get + AzureServiceDiagnosticsExtension + + + + + This cmdlet gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. + + + + Get-AzureServiceDiagnosticsExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceDiagnosticsExtension -ServiceName $svc + + Description + + + + -----------This command returns the information of the cloud service diagnostics extensions enabled on the roles of the Production deployment in the service $svc. + + + + + + + Unknown + + + + + + + + Get-AzureServiceExtension + + This cmdlet gets existing cloud service extensions that are applied on a deployment. + + + + + Get + AzureServiceExtension + + + + + This cmdlet gets existing cloud service extensions that are applied on a deployment. + + + + Get-AzureServiceExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + + + String + + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + + + String + + String + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions + + Description + + + + -----------Get existing RDP extensions applied on all roles in the production deployment slot. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureServiceExtension -ServiceName $svc -Slot Production -Role WebRole1 -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions + + Description + + + + -----------Get existing RDP extensions applied on the 'WebRole1' role in the production deployment slot. + + + + + + + Unknown + + + + + + + + Get-AzureServiceRemoteDesktopExtension + + This cmdlet gets the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. + + + + + Get + AzureServiceRemoteDesktopExtension + + + + + This cmdlet gets the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. + + + + Get-AzureServiceRemoteDesktopExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceRemoteDesktopExtension -ServiceName $svc + + Description + + + + -----------This command returns the information of the cloud service remote desktop extensions enabled on the roles of a certain deployment. + + + + + + + Unknown + + + + + + + + Get-AzureStaticVNetIP + + Get the static VNet IP address information from a VM object, if any. + + + + + Get + AzureStaticVNetIP + + + + + Get the static VNet IP address information from a VM object, if any. + + + + Get-AzureStaticVNetIP + + VM + + Persistent VM object. + + IPersistentVM + + + + + + VM + + Persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Get-AzureStorageAccount + + Gets the storage accounts for the current Microsoft Azure subscription. + + + + + Get + AzureStorageAccount + + + + + The Get-AzureStorageAccount cmdlet returns an object with the details about the storage accounts for the current subscription. If the StorageAccountName parameter is specified, then only that storage account is returned. + + + + Get-AzureStorageAccount + + StorageAccountName + + If specified, the cmdlet returns only the specified storage account object. + + String + + + + + + StorageAccountName + + If specified, the cmdlet returns only the specified storage account object. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + node-dev, php-dev + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureStorageAccount + + This command returns an object with all the storage accounts associated with the current subscription. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureStorageAccount –StorageAccountName "mystore1" + + This command returns an object with only the "mystore1" account information. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureStorageAccount | Format-Table -auto @{Label="Name";Expression={$_.StorageAccountName}},"Label","Location" + + This command returns an object with all the storage accounts associated with the current subscription, and outputs them as a table showing the account name, the account label, and the storage location. + + + + + + + + + + + New-AzureStorageAccount + + + + Set-AzureStorageAccount + + + + Get-AzureStorageAccount + + + + + + + + Get-AzureStorageKey + + Returns the primary and secondary storage account keys for a Microsoft Azure storage account. + + + + + Get + AzureStorageKey + + + + + The Get-AzureStorageKey cmdlet returns an object with the storage account name, the primary account key, and the secondary account key of the specified Microsoft Azure storage account as properties. + + + + Get-AzureStorageKey + + StorageAccountName + + Specifies the storage account name. + + String + + + + + + StorageAccountName + + Specifies the storage account name. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + node-dev, php-dev + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureStorageKey –StorageAccountName "mystore1" + + This command gets an object with the primary and secondary storage keys for the "mystore1" storage account. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> $myStoreKey = (Get-AzureStorageKey –StorageAccountName "mystore1").Primary + + This command puts the primary storage account key for the "mystore1" storage account in the $myStoreKey variable. + + + + + + + + + + + Get-AzureStorageAccount + + + + New-AzureStorageAccount + + + + New-AzureStorageKey + + + + Remove-AzureStorageAccount + + + + Set-AzureStorageAccount + + + + + + + + Get-AzureSubnet + + Gets a list of subnets associated with the specified Microsoft Azure virtual machine. + + + + + Get + AzureSubnet + + + + + The Get-AzureSubnet cmdlet returns a list the subnets associated with the specified virtual machine. Use Get-AzureVM to specify the virtual machine. + + + + Get-AzureSubnet + + VM + + Specifies the virtual machine object from which to get the subnet list. + + IPersistentVM + + + + + + VM + + Specifies the virtual machine object from which to get the subnet list. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>$myVM = Get-AzureVM –ServiceName "MySvc" –Name "MyVM" + C:\PS>Get-AzureSubnet –VM $myVM + + This example gets the Microsoft Azure subnets for the virtual machine "MyVM" running in "MySvc" + + + + + + + + + + + Get-AzureVM + + + + + + + + Get-AzureVM + + Retrieves information from one or more Microsoft Azure virtual machines. + + + + + Get + AzureVM + + + + + The Get-AzureVM cmdlet retrieves information about virtual machines running in Microsoft Azure. It returns an object with information on a specific virtual machine, or if no virtual machine is specified, for all the virtual machines in the specified service of the current subscription. + + + + Get-AzureVM + + + Get-AzureVM + + ServiceName + + The name of the cloud service for which to return virtual machine information. + + String + + + Name + + Specifies the name of the virtual machine for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the virtual machines in the specified service. + + String + + + + + + ServiceName + + The name of the cloud service for which to return virtual machine information. + + String + + String + + + + + + Name + + Specifies the name of the virtual machine for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the virtual machines in the specified service. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM1" + + This command returns an object with information on the "MyVM1" virtual machine running in the "MySvc1" cloud service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "MySvc1" + + This command retrieves a list object with information on all of the virtual machines running in the "MySvc1" cloud service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "MySvc1" ` + | Format-Table –auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" + + This command displays a table showing the virtual machines running on the "MySvc1" service, their Upgrade Domain, and the current status of each machine. + + + + + + + + + + + New-AzureVMConfig + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + New-AzureVM + + + + + + + + Get-AzureVMAccessExtension + + This cmdlet gets the VMAccess extension (if any) applied on the VM. + + + + + Get + AzureVMAccessExtension + + + + + This cmdlet gets the VMAccess extension (if any) applied on the VM. + + + + Get-AzureVMAccessExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMAccessExtension -VM $vm; + + Description + + + + -----------This cmdlet gets the VMAccess extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Get-AzureVMAvailableExtension + + Get information for the latest available extensions for VMs. + + + + + Get + AzureVMAvailableExtension + + + + + Get information for the latest available extensions for VMs. + + + + Get-AzureVMAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension Publisher. + + String + + + + Get-AzureVMAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension Publisher. + + String + + + AllVersions + + Specify to list all versions of an extension. + + SwitchParameter + + + + Get-AzureVMAvailableExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension Publisher. + + String + + + Version + + The Extension Version. + + String + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + Publisher + + The Extension Publisher. + + String + + String + + + + + + AllVersions + + Specify to list all versions of an extension. + + SwitchParameter + + SwitchParameter + + + + + + Version + + The Extension Version. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMAvailableExtension - $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite - # returns DiskConfigSet object; + Publisher : Microsoft.Compute + ExtensionName : VMAccessAgent + Version : 1.0 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="UserName" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PrivateConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="Password" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + SampleConfig : + OperationDescription : Get-AzureVMAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureVMAvailableExtension -Publisher Microsoft.Compute -ExtensionName VMAccessAgent -AllVersions + + Publisher : Microsoft.Compute + ExtensionName : VMAccessAgent + Version : 1.0.2 + PublicConfigurationSchema : + <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="UserName" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + PrivateConfigurationSchema : + <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PrivateConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="Password" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + SampleConfig : + OperationDescription : Get-AzureVMAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Publisher : Microsoft.Compute + ExtensionName : VMAccessAgent + Version : 1.0.3 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="UserName" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PrivateConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="Password" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + SampleConfig : + OperationDescription : Get-AzureVMAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Get-AzureVMAvailableExtension -Publisher Microsoft.Compute -ExtensionName VMAccessAgent -Version 1.0.3 + + Publisher : Microsoft.Compute + ExtensionName : VMAccessAgent + Version : 1.0.3 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="UserName" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?> + <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="PrivateConfig"> + <xs:complexType> + <xs:sequence> + <xs:element name="Password" type="xs:string" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + SampleConfig : + OperationDescription : Get-AzureVMAvailableExtension + OperationId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Get-AzureVMBGInfoExtension + + This cmdlet gets the BGInfo extension (if any) applied on the VM. + + + + + Get + AzureVMBGInfoExtension + + + + + This cmdlet gets the BGInfo extension (if any) applied on the VM. + + + + Get-AzureVMBGInfoExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMBGInfoExtension -VM $vm; + + Description + + + + -----------This cmdlet gets the BGInfo extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Get-AzureVMCustomScriptExtension + + Get Azure VM Custom Script Extension Information. + + + + + Get + AzureVMCustomScriptExtension + + + + + Get Azure VM Custom Script Extension Information. + + + + Get-AzureVMCustomScriptExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMCustomScriptExtension -VM $vm; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Get-AzureVMDiagnosticsExtension + + + + + + + Get + AzureVMDiagnosticsExtension + + + + + + + + + Get-AzureVMDiagnosticsExtension + + VM + + + + IPersistentVM + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureVMDscExtension + + Gets the settings of the DSC extension on a particular VM. + + + + + Get + AzureVMDscExtension + + + + + Gets the settings of the DSC extension on a particular VM. + + + + Get-AzureVMDscExtension + + Version + + The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + + String + + + VM + + The Virtual Machine to get the settings from. + + IPersistentVM + + + + + + Version + + The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + + String + + String + + + + + + VM + + The Virtual Machine to get the settings from. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMDscExtension -VM $vm - $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 - # returns DiskConfigSet object + ModulesUrl : https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip + ConfigurationFunction : MyConfiguration.ps1\MyConfiguration + Properties : {ServerName} + ExtensionName : DSC + Publisher : Microsoft.Powershell + Version : 1.* + PrivateConfiguration : + PublicConfiguration : { + "ModulesUrl": "https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip", + "ConfigurationFunction": "MyConfiguration.ps1\\MyConfiguration", + "Properties": { + "ServerName": "C:\\MyDirectory" + } + } + ReferenceName : DSC + State : Enable + RoleName : my-vm + + Description + + + + -----------This command gets the settings of the DSC Extension on a VM. + + + + + + + Unknown + + + + + + + + Get-AzureVMExtension + + This cmdlet gets resource extensions applied on VMs. + + + + + Get + AzureVMExtension + + + + + This cmdlet gets resource extensions applied on VMs. + + + + Get-AzureVMExtension + + ReferenceName + + The extension's reference name. + + String + + + VM + + + + IPersistentVM + + + + Get-AzureVMExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension Publisher. + + String + + + Version + + The Extension Version. + + String + + + VM + + + + IPersistentVM + + + + + + ReferenceName + + The extension's reference name. + + String + + String + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + Publisher + + The Extension Publisher. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName $svc -Name $vm | Get-AzureVMExtension; + + Description + + + + -----------Get the resource extensions applied on the VM '$vm'. + + + + + + + Unknown + + + + + + + + Get-AzureVMImage + + The Get-AzureVMImage cmdlet gets the properties on one or a list of OS or VM image in the image repository. + + + + + Get + AzureVMImage + + + + + The Get-AzureVMImage cmdlet returns one or a list of OS or VM object(s) with information on one or more operating system images stored in the image repository. The cmdlet returns information for all images in the repository, or about a specific image if its image name is provided. + + + + Get-AzureVMImage + + ImageName + + Specifies the name of the OS or VM image in the image repository. If not specified, all the images will be returned. + + String + + + + + + ImageName + + Specifies the name of the OS or VM image in the image repository. If not specified, all the images will be returned. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMImage -ImageName MyImage + + Description + + + + -----------This command retrieves the "MyImage" OS or VM image object from the current image repository. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureVMImage + + Description + + + + -----------This command retrieves all the OS and VM images from the current image repository. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> $subsId = <MySubscriptionID> + C:\PS>$cert = Get-AzureCertificate cert:\LocalMachine\MY\<CertificateThumbprint> + C:\PS>$MyOSImages = Get-AzureVMImage + + Description + + + + -----------This command sets the subscription context and then retrieves all the images from the image repository. + + + + + + + Unknown + + + + + + + + Get-AzureVMImageDiskConfigSet + + This cmdlet returns an object for disk configuration set, which is from the input image context. + + + + + Get + AzureVMImageDiskConfigSet + + + + + This cmdlet returns an object for disk configuration set, which is from the input image context. + + + + Get-AzureVMImageDiskConfigSet + + ImageContext + + The VM image context. + + OSImageContext + + + + + + ImageContext + + The VM image context. + + OSImageContext + + OSImageContext + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMImage -ImageName $img | Get-AzureVMImageDiskConfigSet + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Get-AzureVMMicrosoftAntimalwareExtension + + Gets the Microsoft Antimalware extension details for a virtual machine. + + + + + Get + AzureVMMicrosoftAntimalwareExtension + + + + + The Get-AzureVMMicrosoftAntimalwareExtension cmdlet gets the Microsoft Antimalware extension details for a virtual machine. This cmdlet gets details for virtual machines that have the extension turned on programmatically by using the Set-AzureVMMicrosoftAntimalwareExtension cmdlet. The cmdlet gets the JavaScript Object Notation (JSON) equivalent for the configuration. If monitoring is turned on, the cmdlet also gets an XML representation of the antimalware monitoring configuration. + + + + Get-AzureVMMicrosoftAntimalwareExtension + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + IPersistentVM + + + none + + + + + + IPersistentVM + + + + + + + + + + + + VirtualMachineMicrosoftAntimalwareExtensionContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get information for the extension for a virtual machine -------------------------- + + + + PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Get-AzureVMMicrosoftAntimalwareExtension + + This command gets details for the Microsoft Antimalware extension for a virtual machine. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. Get-AzureVMMicrosoftAntimalwareExtension gets configuration information for the extension. + + + + The configuration information for monitoring appears in the output field labeled AntimalwareMonitoringConfiguration. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402840 + + + Get-AzureVM + + + + Remove-AzureVMMicrosoftAntimalwareExtension + + + + Set-AzureVMMicrosoftAntimalwareExtension + + + + + + + + Get-AzureVMPuppetExtension + + This cmdlet gets the Puppet extension (if any) applied on the VM. + + + + + Get + AzureVMPuppetExtension + + + + + This cmdlet gets the Puppet extension (if any) applied on the VM. + + + + Get-AzureVMPuppetExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVMPuppetExtension -VM $vm; + + Description + + + + -----------This cmdlet gets the Puppet extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Get-AzureVNetConfig + + Gets the Microsoft Azure virtual network configuration from the current subscription. + + + + + Get + AzureVNetConfig + + + + + The Get-AzureVNetConfig retrieves the virtual network configuration of the current Microsoft Azure subscription. If the ExportToFile parameter is specified, a network configuration file is created. + + + + Get-AzureVNetConfig + + ExportToFile + + Specifies the path and file name of a network configuration file to be created from the settings. + + String + + + + + + ExportToFile + + Specifies the path and file name of a network configuration file to be created from the settings. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVNetConfig + + This command gets the virtual network configuration of the current Microsoft Azure subscription and displays it. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVNetConfig -ExportToFile "c:\temp\MyAzNets.netcfg" + + This command retrieves the virtual network configuration of the current Microsoft Azure subscription and then saves it to a local file. + + + + + + + + + + + Get-AzureVNetSite + + + + Remove-AzureVNetConfig + + + + Set-AzureVNetConfig + + + + + + + + Get-AzureVNetConnection + + Returns an object with all of the virtual network connections to the specified Microsoft Azure virtual network. + + + + + Get + AzureVNetConnection + + + + + The Get-AzureVNetConnections cmdlet returns an object with all of the current active connections to the specified Microsoft Azure virtual network. + + + + Get-AzureVNetConnection + + VNetName + + Specifies the name of the virtual network from which to return connections. + + String + + + + + + VNetName + + Specifies the name of the virtual network from which to return connections. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVNetConnection –VNetName "VNet1" + + Gets a list of all of the current connections to the "VNet1" virtual network. + + + + + + + + + + + Start-VirtualNetworkGateway + + + + End-VirtualNetworkGateway + + + + + + + + Get-AzureVNetGateway + + Retrieves an object with information about a Microsoft Azure virtual network gateway. + + + + + Get + AzureVNetGateway + + + + + The Get-AzureVNetGateway cmdlet retrieves an object with information about a Microsoft Azure virtual network gateway from the current Microsoft Azure subscription. A virtual network gateway is a connection between a local network site with a VPN device and a Microsoft Azure virtual network. + + + + Get-AzureVNetGateway + + VNetName + + Specifies the virtual network name whose virtual network gateway object will be retrieved. + + String + + + + + + VNetName + + Specifies the virtual network name whose virtual network gateway object will be retrieved. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-VNetGateway –VnetName "MyVNet01" + + This command gets a Microsoft Azure virtual network gateway object from the "MyVNet01" virtual network. + + + + + + + + + + + + + + + Get-AzureVNetGatewayKey + + Returns a shared key that can be used to configure a VPN device. + + + + + Get + AzureVNetGatewayKey + + + + + The Get-AzureVNetGatewayKey cmdlet returns the shared key used by the VPN device on the specified LocalNetworkSiteName to authenticate to the Microsoft Azure Virtual Network Gateway for the specified Microsoft Azure virtual network. + + + + Get-AzureVNetGatewayKey + + VNetName + + Specifies the name of the Microsoft Azure virtual network that the VPN device connects to. + + String + + + LocalNetworkSiteName + + Specifies the local network site name for which to retrieve a shared key. + + String + + + + + + VNetName + + Specifies the name of the Microsoft Azure virtual network that the VPN device connects to. + + String + + String + + + + + + LocalNetworkSiteName + + Specifies the local network site name for which to retrieve a shared key. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureVNetGatewayKey –VNetName "MyVirtualNetwork" –LocalNetworkSiteName "MyBranchOffice" + + This command retrieves a shared-key to allow the VPN device at the specified local network site to authenticate to the specified virtual network. + + + + + + + + + + + + + + + Get-AzureVNetSite + + Returns an object describing Microsoft Azure virtual networks. + + + + + Get + AzureVNetSite + + + + + The Get-AzureVNetSite cmdlet returns a list object with information about Microsoft Azure virtual networks for the current subscription.. If you specify a virtual network name, only information for that virtual network is returned. + + + + Get-AzureVNetSite + + VNetName + + Specifies a virtual network name to return information about. + + String + + + + + + VNetName + + Specifies a virtual network name to return information about. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVNetSite + + This example retrieves information about all the virtual networks in the current subscription. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVNetSite –VNetName "MyProductionNetwork" + + This example retrieves information on the "MyProductionNetwork" virtual network only. + + + + + + + + + + + Get-AzureVNetConfig + + + + Remove-AzureVNetConfig + + + + Set-AzureVNetConfig + + + + + + + + Get-AzureWinRMUri + + Retrieves the uri to WinRM https listener to a VM or a list of VMs in a hosted service. + + + + + Get + AzureWinRMUri + + + + + Retrieves the uri to WinRM https listener to a VM or a list of VMs in a hosted service. + + + + Get-AzureWinRMUri + + ServiceName + + Specifies the name of the Microsoft Azure service that hosts the virtual machine. + + String + + + Name + + Specifies the name of the virtual machine to which the WinRM Uri is generated. + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that hosts the virtual machine. + + String + + String + + + + + + Name + + Specifies the name of the virtual machine to which the WinRM Uri is generated. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureWinRMUri -ServiceName MyService -Name MyVM + + Description + + + + -----------Returns a URI to WinRM https listener to the specified VM in the specified service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureWinRMUri -ServiceName MyService + + Description + + + + -----------Returns a list of URIs to WinRM https listeners to the VMs in the specified service. + + + + + + + New-AzureVM + + + + New-AzureQuickVM + + + + + + + + Import-AzureVM + + Imports a Microsoft Azure virtual machine state from a file. + + + + + Import + AzureVM + + + + + The Import-AzureVM cmdlet imports the previously saved state of a virtual machine from an xml file. This cmdlet is useful when you want to subsequently create a new virtual machine from the imported data. + + Note: Using Export-AzureVM, followed by Remove-AzureVM and then Import-AzureVM to recreate a virtual machine can cause the resultant virtual machine to have a different IP address than the original. + + + + Import-AzureVM + + Path + + Specifies the path to the file with the previously saved virtual machine state. + + String + + + + + + Path + + Specifies the path to the file with the previously saved virtual machine state. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Import-AzureVM -Path "C:\VMstate.xml" | New-AzureVM –ServiceName "mynewsvc" + + This command imports the state of a virtual machine from the "myvm.xml" file, and then creates a new virtual machine in the specified cloud service. + + + + + + + + + + + Export-AzureVM + + + + New-AzureVM + + + + + + + + Move-AzureDeployment + + Swaps the deployments in production and staging. + + + + + Move + AzureDeployment + + + + + The Move-AzureDeployment swaps the virtual IP addresses (VIPs) of deployments in production and staging environments. A deployment currently running in the staging environment will be swapped to the production environment, and a deployment running in the production environment will be swapped to the staging environment. If there is a deployment in the staging environment and no deployment in the production environment, the deployment will move to production. If there is no deployment in the staging environment, the cmdlet will fail. + + + + Move-AzureDeployment + + ServiceName + + Specifies the name of the service whose production and staging deployments will be swapped. + + String + + + + + + ServiceName + + Specifies the name of the service whose production and staging deployments will be swapped. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Move-AzureDeployment -ServiceName "myservice" + + This command swaps the deployments of the "myservice" service between the production and stanging environments. + + + + + + + + + + + Get-AzureDeployment + + + + New-AzureDeployment + + + + Remove-AzureDeployment + + + + Set-AzureDeployment + + + + + + + + New-AzureAclConfig + + Creates a new empty ACL configuration object. + + + + + New + AzureAclConfig + + + + + The New-AzureAclConfig cmdlet creates a new empty ACL configuration object. + + + + New-AzureAclConfig + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS> $acl = New-AzureAclConfig + + This command will create a new empty ACL configuration object. + + + + + + + + + + + Get-AzureAclConfig + + + + Remove-AzureAclConfig + + + + Set-AzureAclConfig + + + + + + + + New-AzureAffinityGroup + + Creates a new affinity group for the current Microsoft Azure subscription. + + + + + New + AzureAffinityGroup + + + + + The New-AzureAffinityGroup cmdlet creates a new affinity group in the current subscription. An affinity group places your services and their resources together in a Microsoft Azure data center. The affinity group members are grouped together for optimal performance. Affinity groups are defined at the subscription level and are available to any subsequent cloud services or storage accounts that you create. Services can be added to an affinity group only at the time of creation. + + + + New-AzureAffinityGroup + + Name + + Specifies a name for the new affinity group that is unique to the subscription. + + String + + + Label + + Specifies a label for the affinity group. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the affinity group. The description may be up to 1024 characters in length. + + String + + + Location + + Required if AffinityGroup is not specified. The Location parameter specifies the geographical location of the data center where the affinity group will be created. + + String + + + + + + Name + + Specifies a name for the new affinity group that is unique to the subscription. + + String + + String + + + + + + Label + + Specifies a label for the affinity group. The label may be up to 100 characters in length. + + String + + String + + + The same one as the Name + + + Description + + Specifies a description for the affinity group. The description may be up to 1024 characters in length. + + String + + String + + + + + + Location + + Required if AffinityGroup is not specified. The Location parameter specifies the geographical location of the data center where the affinity group will be created. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureAffinityGroup -Name South1 -Location "South Central US" -Label "South Region" -Description "Affinity group for production applications in southern region." + + This command creates a new affinity group named "South1" in the "South Central US" region and specifies both a label and a description. + + + + + + + + + + + Get-AzureAffinityGroup + + + + Remove-AzureAffinityGroup + + + + Set-AzureAffinityGroup + + + + + + + + New-AzureCertificateSetting + + Creates a setting object to insert an existing certificate into new Microsoft Azure virtual machines. + + + + + New + AzureCertificateSetting + + + + + The New-AzureCertificateSetting cmdlet creates a certificate setting object for a certificate that has already been added to Microsoft Azure. This certificate setting object can be used by New-AzureProvisioningConfig when creating the configuration object for a new virtual machine using New-AzureVM, or when creating a new virtual machine with New-AzureQuickVM. When included as part of a virtual machine creation script, this adds the specified certificate to the new virtual machine. + + + + New-AzureCertificateSetting + + StoreName + + Specifies the Certificate Store to place the certificate in. + + String + + + Thumbprint + + Specifies the thumbprint of the certificate. + + String + + + + + + StoreName + + Specifies the Certificate Store to place the certificate in. + + String + + String + + + + + + Thumbprint + + Specifies the thumbprint of the certificate. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>$myWinCert = New-AzureCertificateSetting –Thumbprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –StoreName "My" + + This command creates a certificate setting object for an existing certificate and then stores the object in a variable for later use. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Add-AzureCertificate –ServiceName "MySvc" –CertToDeploy "C:\temp\MyWinCert.cer" + C:\PS>$myWinCert = New-AzureCertificateSetting –Thumbprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –StoreName "My" + C:\PC>New-AzureVMConfig -Name "MyVM2" -InstanceSize Small -ImageName $winImage ` + | Add-AzureProvisioningConfig -Windows -Certificates $myWinCert -Password 'pass@word1' ` + | New-AzureVM -ServiceName "MySvc" + + This command adds a certificate to the Microsoft Azure service, and then creates a new Windows virtual machine that uses the certificate. + + + + + + + + + + + + + + + New-AzureDeployment + + Creates a new deployment from a service comprising web roles and worker roles. + + + + + New + AzureDeployment + + + + + The New-AzureDeployment cmdlet creates a new deployment based on package files (.cspkg) and a service configuration files (.cscfg). Use the New-AzureVM cmdlet to create a new deployment based on Microsoft Azure virtual machines. - # Final step - Update the VM Image + There should not be an existing deployment with the same name nor in the same deployment environment when executing this command. If there is, the command will fail. + + + + New-AzureDeployment + + ServiceName + + Specifies Microsoft Azure service name for the deployment. + + String + + + Package + + Specifies the path or URI to a .cspkg blob in a storage within the same subscription/project. + + String + + + Configuration + + Specifies the path and file name of a service configuration file (.cscfg). + + String + + + Slot + + Specifies the environment where the deployment is created. Acceptable values are Staging or Production. If not specified, Production is used. + + String + + + Label + + Specifies the label name for the new deployment. If not specified, a Globally Unique Identifier (GUID) is used. + + String + + + Name + + Specifies the deployment name. If not specified, a Global Unique Identifier is used. + + String + + + DoNotStart + + Specifies that the new deployment will not be started when it is created. + + SwitchParameter + + + TreatWarningsAsError + + Causes warning messages to be treated as errors, resulting in the deployment failing on warnings. + + SwitchParameter + + + ExtensionConfiguration + + Optional array of extension configuration objects. + + ExtensionConfigurationInput[] + + + + + + ServiceName + + Specifies Microsoft Azure service name for the deployment. + + String + + String + + + + + + Package + + Specifies the path or URI to a .cspkg blob in a storage within the same subscription/project. + + String + + String + + + + + + Configuration + + Specifies the path and file name of a service configuration file (.cscfg). + + String + + String + + + + + + Slot + + Specifies the environment where the deployment is created. Acceptable values are Staging or Production. If not specified, Production is used. + + String + + String + + + Production + + + Label + + Specifies the label name for the new deployment. If not specified, a Globally Unique Identifier (GUID) is used. + + String + + String + + + The same as Name + + + Name + + Specifies the deployment name. If not specified, a Global Unique Identifier is used. + + String + + String + + + Guid + + + DoNotStart + + Specifies that the new deployment will not be started when it is created. + + SwitchParameter + + SwitchParameter + + + + + + TreatWarningsAsError + + Causes warning messages to be treated as errors, resulting in the deployment failing on warnings. + + SwitchParameter + + SwitchParameter + + + + + + ExtensionConfiguration + + Optional array of extension configuration objects. + + ExtensionConfigurationInput[] + + ExtensionConfigurationInput[] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureDeployment -ServiceName "myservice" -Slot "Production" -Package "https://mystorage.blob.core.windows.net/mycontainer/MyPackage.cspkg" -Configuration "c:\packages\mypackage.cscfg" -Label "MyDeployment" + + This example creates a new deployment based on a package location and a configuration path. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> New-AzureDeployment -ServiceName $svc -Package $pkg -Configuration $cnfg -Slot Production -ExtensionConfiguration $rdpConfig + + + + + + This example installs the extension configuration in the specified Cloud Service and applies them on roles. + + + + + + + Get-AzureDeployment + + + + Remove-AzureDeployment + + + + New-AzureVMConfig + + + + Set-AzureDeployment + + + + + + + + New-AzureDns + + Creates a DNS settings object to be used when creating a Microsoft Azure deployment. + + + + + New + AzureDns + + + + + The New-AzureDNS cmdlet creates a DNS settings object for use by the New-AzureVM cmdlet. It accepts two parameters: Name and Address. The Name parameter is a friendly name, not necessarily a DNS resolvable name, and the Address parameter is the IP address of the DNS server. + + + + New-AzureDns + + Name + + Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name. + + String + + + IPAddress + + Specifies the IP address of the DNS server. + + String + + + + + + Name + + Specifies a friendly name to identify the DNS server. This name is not necessarily a fully qualified domain name. + + String + + String + + + + + + IPAddress + + Specifies the IP address of the DNS server. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>$dns1 = New-AzureDns –Name "dns1" –address "10.1.2.4" + + This command creates a new Microsoft Azure DNS settings object. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>$dns1 = New-AzureDns –Name "dns1" –address "10.1.2.4" + C:\PS>New-AzureVM –ServiceName $MyService –AffinityGroup $MyAG –VnetName $VNet1 –DnsSettings $dns1 –VMs $MyVMconfig + + This command creates a new Microsoft Azure DNS settings object that is then used during the creation of a virtual machine with the New-AzureVM cmdlet. + + + + + + + + + + + + + + + New-AzureInternalLoadBalancerConfig + + New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [<CommonParameters>] - Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; + New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [-SubnetName] <string> [-StaticVNetIPAddress] <ipaddress> [<CommonParameters>] - # OR + New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [-SubnetName] <string> [<CommonParameters>] + + + + + New + AzureInternalLoadBalancerConfig + + + + + The New-InternalLoadbalancerConfig creates a local object that can be used later during creation of a new azure virtual machine deployment. + + + + New-AzureInternalLoadBalancerConfig + + InternalLoadBalancerName + + + + String + + + + New-AzureInternalLoadBalancerConfig + + InternalLoadBalancerName + + + + String + + + SubnetName + + + + String + + + + New-AzureInternalLoadBalancerConfig + + InternalLoadBalancerName + + + + String + + + SubnetName + + + + String + + + StaticVNetIPAddress + + + + IPAddress + + + + + + InternalLoadBalancerName + + + + String + + String + + + + + + SubnetName + + + + String + + String + + + + + + StaticVNetIPAddress + + + + IPAddress + + IPAddress + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.InternalLoadBalancerConfig + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $myilbconfig = New-AzureInternalLoadBalancerConfig -InternalLoadBalancerName "MyILB" -SubnetName "FrontEndSubnet" + + Description + + + + -----------Creates a local Internal load balancer object that can be referenced later in the New-AzureVM operation + + + + + + + Unknown + + + + - $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - Set-AzureVMImageOSDiskConfig + New-AzureQuickVM - Allows you to update the OS Disk properties on the VM Image + - - + - Set - AzureVMImageOSDiskConfig - - + New + AzureQuickVM + - - + The New-AzureQuickVM sets the configuration for a new virtual machine and creates the virtual machine. It can create a new Microsoft Azure service, or deploy the new virtual machine into an existing service if neither -Location or -AffinityGroup is specified. - Set-AzureVMImageOSDiskConfig - - DiskConfig + New-AzureQuickVM + + ImageName - - + Specifies the name of the operating system image to use to create the operating system disk. - VirtualMachineImageDiskConfigSet + string - - HostCaching + + Linux + + Specify to create a Linux virtual machine. + + + + ServiceName + Specifies the new or existing service name. + + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. string - - - - - - DiskConfig - - - - - VirtualMachineImageDiskConfigSet - - VirtualMachineImageDiskConfigSet - - - - - - - HostCaching - - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $s = New-AzureDiskConfigSet - # returns DiskConfigSet object; - - $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite - # returns DiskConfigSet object; - - $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 - # returns DiskConfigSet object - - # Final step - Update the VM Image - Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; - - # OR - - $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzureVMImageDataDiskConfig - - - Allows you to update the Data Disk properties on the VM Image - - - - - - Set - AzureVMImageDataDiskConfig - - - - - - - - - - - Set-AzureVMImageDataDiskConfig - - DiskConfig + + AffinityGroup - The disk config object that encapsulates the OS Disk and Data Disk objects. + Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. - VirtualMachineImageDiskConfigSet + string - - DataDiskName + + AvailabilitySetName - - + Specify the availability set to use. string - - Lun + + CustomDataFile + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + + On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. + On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. - int + string - + + DisableGuestAgent + + Not Specified + + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. + + DnsServer[] + + HostCaching - - + Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". string - - - - - - DiskConfig - - The disk config object that encapsulates the OS Disk and Data Disk objects. - - VirtualMachineImageDiskConfigSet - - VirtualMachineImageDiskConfigSet - - - - - - - DataDiskName - - - - - string - - string - - - - - - - Lun - - - - - int - - int - - - - - - - HostCaching - - - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $s = New-AzureDiskConfigSet - # returns DiskConfigSet object; - - $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite - # returns DiskConfigSet object; - - $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 - # returns DiskConfigSet object - - # Final step - Update the VM Image - Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; - - # OR - - $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMImageOSDiskConfig - - - This cmdlet removes the OS Disk Config from the DiskConfigSet object - - - - - - Remove - AzureVMImageOSDiskConfig - - - - - - - - - - - Remove-AzureVMImageOSDiskConfig - - DiskConfig + + InstanceSize + + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. + + string + + + LinuxUser + + Specifies the Linux administrative account name to create. + + string + + + Location + + Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. + + string + + + MediaLocation + + Specifies the Microsoft Azure storage location to use for the virtual machines disks. + + string + + + Name + + Specifies the name of the virtual machine. + + string + + + Password + + Specifies the password for the administrative account. + + string + + + ReservedIPName + + Not Specified + + string + + + SSHKeyPairs + + + + LinuxProvisioningConfigurationSet+SSHKeyPairList + + + SSHPublicKeys + + + + LinuxProvisioningConfigurationSet+SSHPublicKeyList + + + SubnetNames + + Specifies a list of subnet names the virtual machine will use. + + string[] + + + VNetName + + Specifies the name of a virtual network the virtual machine will use. + + string + + + WaitForBoot - The disk config object that encapsulates the OS Disk and Data Disk objects. + Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - VirtualMachineImageDiskConfigSet - - - - - DiskConfig - - The disk config object that encapsulates the OS Disk and Data Disk objects. - - VirtualMachineImageDiskConfigSet - - VirtualMachineImageDiskConfigSet - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $s = New-AzureDiskConfigSet - # returns DiskConfigSet object; + + New-AzureQuickVM + + ImageName + + Specifies the name of the operating system image to use to create the operating system disk. + + string + + + ServiceName + + + Specifies the new or existing service name. - $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite - # returns DiskConfigSet object; + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. + + + string + + + Windows + + Include to create a Windows virtual machine. + + + + AdminUsername + + Specifies the Administrator account to create. + + string + + + AffinityGroup + + Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. + + string + + + AvailabilitySetName + + Specify the availability set to use. + + string + + + Certificates + + Specifies a certificate list to use for creating the service. + + CertificateSettingList + + + CustomDataFile + + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. - Remove-AzureVMImageOSDiskConfig -DiskConfig $s - # removes the OS DiskConfig object from the DiskConfigSet object - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureVMImageDataDiskConfig - - - This cmdlet removes the Data Disk Config from the DiskConfigSet object - - - - - - Remove - AzureVMImageDataDiskConfig - - - - - - - - - - - Remove-AzureVMImageDataDiskConfig - - DiskConfig + On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. + On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + + string + + + DisableGuestAgent + + Not Specified + + + + DisableWinRMHttps + + Disables WinRM on https which is added by default. + + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. + + DnsServer[] + + + EnableWinRMHttp + + Enables WinRM over http. + + + + HostCaching + + Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". + + string + + + InstanceSize + + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. + + string + + + Location + + Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. + + string + + + MediaLocation + + Specifies the Microsoft Azure storage location to use for the virtual machines disks. + + string + + + Name + + Specifies the name of the virtual machine. + + string + + + NoExportPrivateKey + + Prevents the private key from being uploaded + + + + NoWinRMEndpoint + + Prevents the WinRM endpoint from being added + + + + Password - - + Specifies the password for the administrative account. - VirtualMachineImageDiskConfigSet + string - - Lun + + ReservedIPName - - + Not Specified - int + string - - - Remove-AzureVMImageDataDiskConfig - - DiskConfig + + SubnetNames - - + Specifies a list of subnet names the virtual machine will use. - VirtualMachineImageDiskConfigSet + string[] - - DataDiskName + + VNetName - - + Specifies the name of a virtual network the virtual machine will use. string + + WaitForBoot + + Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". + + + + WinRMCertificate + + Certificate that will be associated with WinRM endpoint. + + X509Certificate2 + + + X509Certificates + + X509 certificates that will be deployed to hosted service. + + X509Certificate2[] + - - DiskConfig + + AdminUsername + + Specifies the Administrator account to create. + + + string + + string + + + + + + AffinityGroup + + Specifies the Microsoft Azure affinity group the virtual machine will reside in. Only valid for a new cloud service. + + + string + + string + + + + + + AvailabilitySetName + + Specify the availability set to use. + + + string + + string + + + + + + Certificates + + Specifies a certificate list to use for creating the service. + + + CertificateSettingList + + CertificateSettingList + + + + + + CustomDataFile + + + This parameter takes a file name as an argument. PowerShell will then base64 encode the contents of the file and send it along with the provisioning configuration information. The file must be less than 64KB or the Azure API will not accept the request. + + On Windows this data ends up in %SYSTEMDRIVE%\AzureData\CustomData.bin as a binary file. + On Linux, this data is passed to the VM via the ovf-env.xml file, which is copied to the /var/lib/waagent directory during provisioning. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. + + + + string + + string + + + + + + DisableGuestAgent + + Not Specified + + + SwitchParameter + + SwitchParameter + + + + + + DisableWinRMHttps + + Disables WinRM on https which is added by default. + + + SwitchParameter + + SwitchParameter + + + + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. Use New-AzureDNS to create the DNS server object. + + + DnsServer[] + + DnsServer[] + + + + + + EnableWinRMHttp + + Enables WinRM over http. + + + SwitchParameter + + SwitchParameter + + + + + + HostCaching + + Specifies the host caching mode to use. Supported options are: "ReadOnly" and "ReadWrite". + + + string + + string + + + + + + ImageName + + Specifies the name of the operating system image to use to create the operating system disk. + + + string + + string + + + + + + InstanceSize + + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. + + + string + + string + + + + + + Linux + + Specify to create a Linux virtual machine. + + + SwitchParameter + + SwitchParameter + + + + + + LinuxUser + + Specifies the Linux administrative account name to create. + + + string + + string + + + + + + Location + + Specifies the Microsoft Azure data center location that will host the virtual machine. When specified, New-AzureQuickVM will create a new Microsoft Azure service in the specified location. Only valid for a new cloud service. + + + string + + string + + + + + + MediaLocation + + Specifies the Microsoft Azure storage location to use for the virtual machines disks. + + + string + + string + + + + + + Name - - + Specifies the name of the virtual machine. + - VirtualMachineImageDiskConfigSet + string - VirtualMachineImageDiskConfigSet - + string + - - + - - DataDiskName + + NoExportPrivateKey - - + Prevents the private key from being uploaded + + + SwitchParameter + + SwitchParameter + + + + + + NoWinRMEndpoint + + Prevents the WinRM endpoint from being added + + + SwitchParameter + + SwitchParameter + + + + + + Password + + Specifies the password for the administrative account. + string string - + - - + - - Lun + + ReservedIPName + + Not Specified + + + string + + string + + + + + + ServiceName + Specifies the new or existing service name. + + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. + - int + string - int - + string + - - + - - - - + + SSHKeyPairs + + + + + LinuxProvisioningConfigurationSet+SSHKeyPairList - - - - + LinuxProvisioningConfigurationSet+SSHKeyPairList + + + + + SSHPublicKeys - - - + + - - - - + LinuxProvisioningConfigurationSet+SSHPublicKeyList - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - - - + LinuxProvisioningConfigurationSet+SSHPublicKeyList + + + + + SubnetNames - - - + Specifies a list of subnet names the virtual machine will use. + - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - + string[] + + string[] + + + + + + VNetName + + Specifies the name of a virtual network the virtual machine will use. - $s = New-AzureDiskConfigSet - # returns DiskConfigSet object; + + string + + string + + + + + + WaitForBoot + + Waits for VM to reach ReadyRole state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". - $s = Set-AzureDataDiskConfig -DiskConfig $s -HostCaching ReadWrite - # returns DiskConfigSet object; + + SwitchParameter + + SwitchParameter + + + + + + Windows + + Include to create a Windows virtual machine. - Remove-AzureVMImageDataDiskConfig -DiskConfig $s - # removes the Data DiskConfig object from the DiskConfigSet object - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureVMImageDiskConfigSet - - - - This cmdlet returns an object for disk configuration set, which is from the input image context. - - - - - - - Get - AzureVMImageDiskConfigSet - - - - - - This cmdlet returns an object for disk configuration set, which is from the input image context. - - - - - - Get-AzureVMImageDiskConfigSet - - ImageContext - - The VM image context. - - OSImageContext - - - - - - - ImageContext + + SwitchParameter + + SwitchParameter + + + + + + WinRMCertificate - The VM image context. + Certificate that will be associated with WinRM endpoint. + - OSImageContext + X509Certificate2 - OSImageContext - + X509Certificate2 + + + + + + X509Certificates + + X509 certificates that will be deployed to hosted service. + + + X509Certificate2[] + + X509Certificate2[] + - - + - - - + + + @@ -34972,15 +11416,14 @@ Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet - + + @@ -34990,19 +11433,19 @@ Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName - - + + - - + + -------------------------- EXAMPLE 1 -------------------------- @@ -35011,988 +11454,4055 @@ Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName C:\PS> - Get-AzureVMImage -ImageName $img | Get-AzureVMImageDiskConfigSet + New-AzureQuickVM -Windows -ServiceName "MySvc1" -name "MyWinVM1" -ImageName $image -Password $adminPasswd -AdminUsername PsTestAdmin -WaitForBoot + + + Description + ----------- + This example creates a new Windows virtual machine in an existing service from an image. (Use Get-AzureVMImage to get a list of images.) Optional WaitForBoot flag blocks New-AzureVM till the VM boots. + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + + $certs = Get-ChildItem Cert:\CurrentUser\My + New-AzureQuickVM -Windows -ServiceName "MySvc1" -name "MyWinVM1" -ImageName $image -Password $adminPasswd -AdminUserName PsTestAdmin -WinRMCertificate $certs[0] -X509Certificates $certs[1], $certs[2] -WaitForBoot Description ----------- + This example creates a new Windows virtual machine in an existing service from an image. WinRM Https listener is enabled by default on the VM. WaitForBoot option enables to wait for VM to boot. WinRMCertificate and X509Certificates are uploaded to hosted service by New-AzureQuickVM. - - - - - - - - + + + + - - + - - - - - - - - - - - - - Get-AzureVMMicrosoftAntimalwareExtension - - Gets the Microsoft Antimalware extension details for a virtual machine. - - - - - Get - AzureVMMicrosoftAntimalwareExtension - - - - The Get-AzureVMMicrosoftAntimalwareExtension cmdlet gets the Microsoft Antimalware extension details for a virtual machine. This cmdlet gets details for virtual machines that have the extension turned on programmatically by using the Set-AzureVMMicrosoftAntimalwareExtension cmdlet. The cmdlet gets the JavaScript Object Notation (JSON) equivalent for the configuration. If monitoring is turned on, the cmdlet also gets an XML representation of the antimalware monitoring configuration. - - - - Get-AzureVMMicrosoftAntimalwareExtension - - VM - - Specifies the virtual machine as an IPersistentVM object. - - IPersistentVM - - - - - - VM - - Specifies the virtual machine as an IPersistentVM object. - - IPersistentVM - - IPersistentVM - - - none - - - - - - IPersistentVM - - - - - - - - A virtual machine object. - - - - - - - VirtualMachineMicrosoftAntimalwareExtensionContext - - - - - - - - A context object that includes the JSON antimalware configuration. If monitoring is turned on, the object includes an XML representation of the antimalware monitoring configuration. - - - - - - + + + + -------------------------- EXAMPLE 3 -------------------------- + + + C:\PS> + + + New-AzureQuickVM -Linux -ServiceName "MySvc2" -name "MyLxVM1" -ImageName $image -LinuxUser $user -Password $adminPasswd -Location $dclocation + + + Description + ----------- + This example creates a new Linux virtual machine from an image, and creates a new service to host it. + + + + + + + + + + + + - Example 1: Get information for the extension for a virtual machine + + -------------------------- EXAMPLE 4 -------------------------- + + C:\PS> + + + $dclocations = Get-AzureLocation + $images = Get-AzureVMImage + New-AzureQuickVM -Windows -InstanceSize "Large" -ServiceName "MySvc3" -name "MyWinVM1" -ImageName $images[4].imagename -Password $adminPasswd -AdminUsername PSTestAdmin -location $dclocations[0].name + + + Description + ----------- + This example gets a list of data center locations, and a list of virtual machine images, and then creates a new large Windows virtual machine and a new service. + + + + + + + + + + + + + + + -------------------------- EXAMPLE 5 -------------------------- + + + C:\PS> - PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Get-AzureVMMicrosoftAntimalwareExtension - + + $dclocations = Get-AzureLocation + $images = Get-AzureVMImage + New-AzureQuickVM -Windows -InstanceSize "Large" -ServiceName "MySvc3" -name "MyWinVM1" -ImageName $images[4].imagename -Password $adminPasswd -AdminUsername PSTestAdmin -location $dclocations[0].name -ReservedIPName $ipName + - This command gets details for the Microsoft Antimalware extension for a virtual machine. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. Get-AzureVMMicrosoftAntimalwareExtension gets configuration information for the extension. - The configuration information for monitoring appears in the output field labeled AntimalwareMonitoringConfiguration. + Description + ----------- + + This example creates a new Windows virtual machine with a Reserved IP + + + + + - + + - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402840 - - - Get-AzureVM - - - - - Remove-AzureVMMicrosoftAntimalwareExtension - - - - Set-AzureVMMicrosoftAntimalwareExtension - + + - - - Get-AzureServiceAntimalwareConfig - - Gets configuration details for the Microsoft Antimalware extension for a service. - - - - - Get - AzureServiceAntimalwareConfig - - - - The Get-AzureServiceAntimalwareConfig cmdlet gets the antimalware configuration and monitoring configuration details associated with the Microsoft Antimalware extension for a cloud service. - - - - Get-AzureServiceAntimalwareConfig - - ServiceName - - Specifies the name of the cloud service. - - String - - - Slot - - Specifies a deployment slot. Valid values are: --- Production --- Staging -The default value is Production. - - - Production - Staging - - - - - - - ServiceName - - Specifies the name of the cloud service. - - String - - String - - - none - - - Slot - - Specifies a deployment slot. Valid values are: --- Production --- Staging + + + + New-AzureReservedIP + + Create a Reserved IP. + + + + + New + AzureReservedIP + + + + + Create a reserved IP. + + + + New-AzureReservedIP + + ReservedIPName + + Reserved IP Name + + String + + + Label + + Reserved IP Label + + String + + + Location + + Location where the Reserved IP should be created + + String + + + + New-AzureReservedIP + + ReservedIPName + + Reserved IP Name + + String + + + Label + + Reserved IP Label + + String + + + Location + + Location where the Reserved IP should be created + + String + + + + New-AzureReservedIP + + ReservedIPName + + Reserved IP Name + + String + + + Label + + Reserved IP Label + + String + + + Location + + Location where the Reserved IP should be created + + String + + + + + + ReservedIPName + + Reserved IP Name + + String + + String + + + + + + Label + + Reserved IP Label + + String + + String + + + + + + Location + + Location where the Reserved IP should be created + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> New-AzureReservedIP -ReservedIPName $name -Label $label -Location $location + + Description + + + + -----------Create a new Reserved IP in the Subscription which can be used for Creating Cloud Services (Web/Worker/Virtual Machines) + + + + + + + Unknown + + + + + + + + New-AzureService + + Creates a new Microsoft Azure service. + + + + + New + AzureService + + + + + The New-AzureService cmdlet creates a new Microsoft Azure service in the current subscription. + + + + New-AzureService + + ServiceName + + Specifies the name of the new service. The name must be unique to the subscription. + + String + + + AffinityGroup + + Specifies the affinity group associated with the subscription. An affinity group is required if the Location isn't specified. + + String + + + Label + + Specifies a label for the service. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the service. The description may be up to 1024 characters in length. + + String + + + ReverseDnsFqdn + + + + String + + + + New-AzureService + + ServiceName + + Specifies the name of the new service. The name must be unique to the subscription. + + String + + + Location + + Specifies the location for the service. A location is required if there isn't a specified Affinity Group. + + String + + + Label + + Specifies a label for the service. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the service. The description may be up to 1024 characters in length. + + String + + + ReverseDnsFqdn + + + + String + + + + + + ServiceName + + Specifies the name of the new service. The name must be unique to the subscription. + + String + + String + + + + + + AffinityGroup + + Specifies the affinity group associated with the subscription. An affinity group is required if the Location isn't specified. + + String + + String + + + + + + Label + + Specifies a label for the service. The label may be up to 100 characters in length. + + String + + String + + + Service name + + + Description + + Specifies a description for the service. The description may be up to 1024 characters in length. + + String + + String + + + + + + ReverseDnsFqdn + + + + String + + String + + + + + + Location + + Specifies the location for the service. A location is required if there isn't a specified Affinity Group. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureService -ServiceName "MySvc1" -Label "MyTestService" -Location "South Central US" + + This command creates a new service named "MySvc1" in the South Central US location. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>New-AzureService -ServiceName "MySvc1" -AffinityGroup NorthRegion + + This command creates a new service named "MySvc1" using the NorthRegion affinity group. + + + + + + + + + + + Get-AzureService + + + + Remove-AzureService + + + + Set-AzureService + + + + + + + + New-AzureServiceADDomainExtensionConfig + + This cmdlet generates the configuration for AD Domain extension for cloud services. + + + + + New + AzureServiceADDomainExtensionConfig + + + + + This cmdlet generates the configuration for AD Domain extension for cloud services. + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + Options + + The unsigned integer join option. + + JoinOptions + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + JoinOption + + The join option enumeration. + + UInt32 + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + WorkgroupName + + The workgroup name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + WorkgroupName + + The workgroup name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + JoinOption + + The join option enumeration. + + UInt32 + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + New-AzureServiceADDomainExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + Options + + The unsigned integer join option. + + JoinOptions + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + DomainName + + The AD domain name. + + String + + String + + + + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + SwitchParameter + + + + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + PSCredential + + + + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + PSCredential + + + + + + Options + + The unsigned integer join option. + + JoinOptions + + JoinOptions + + + + + + OUPath + + The OU path for AD domain join operation. + + String + + String + + + + + + Version + + + + String + + String + + + + + + JoinOption + + The join option enumeration. + + UInt32 + + UInt32 + + + + + + WorkgroupName + + The workgroup name. + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $extensionCfg = New-AzureServiceADDomainExtensionConfig -Role WorkerRole1 -DomainName $domain -Credential $cred -JoinOption 35; + +New-AzureDeployment -ServiceName $cloudSvc -Slot Production -Package $pkg -Configuration $config -ExtensionConfiguration $extensionCfg; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + New-AzureServiceDiagnosticsExtensionConfig + + This cmdlet generates configuration of diagnostics extension for specified role(s) or all roles. + + + + + New + AzureServiceDiagnosticsExtensionConfig + + + + + This cmdlet generates configuration of diagnostics extension for specified role(s) or all roles. + + + + New-AzureServiceDiagnosticsExtensionConfig + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + StorageContext + + + + AzureStorageContext + + + DiagnosticsConfigurationPath + + + + String + + + + New-AzureServiceDiagnosticsExtensionConfig + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + StorageContext + + + + AzureStorageContext + + + DiagnosticsConfigurationPath + + + + String + + + + + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + StorageContext + + + + AzureStorageContext + + AzureStorageContext + + + + + + DiagnosticsConfigurationPath + + + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + DiagnosticsConfiguration + + Configuration for Microsoft Azure diagnostics. The schema is: +<?xml version="1.0" encoding="utf-8"?> +<xs:schema id="DiagnosticsConfigSchema" + targetNamespace="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + elementFormDefault="qualified" + xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + xmlns:wad="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + xmlns:mstns="http://tempuri.org/XMLSchema.xsd" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:simpleType name="PositiveDuration"> + <xs:restriction base="xs:duration"> + <xs:minInclusive value="PT0S" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="LogLevel"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Undefined" /> + <xs:enumeration value="Verbose" /> + <xs:enumeration value="Information" /> + <xs:enumeration value="Warning" /> + <xs:enumeration value="Error" /> + <xs:enumeration value="Critical" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="ContainerName"> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z0-9][a-z0-9\-]{1,61}[a-z0-9]" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="locale"> + <xs:restriction base="xs:string"> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="displayName"> + <xs:restriction base="xs:string"> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="AbsolutePathWithEnvironmentExpansion"> + <xs:restriction base="xs:string"> + <xs:pattern value="([a-zA-Z]:\)?([^&lt;&gt;:&quot;/|?*]+)*(\)?" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="RelativePathWithEnvironmentExpansion"> + <xs:restriction base="xs:string"> + <xs:pattern value="([^&lt;&gt;:&quot;/\|?*]+)(\([^&lt;&gt;:&quot;/\|?*]+))*(\)?" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="PerformanceCounterPath"> + <xs:restriction base="xs:string"> + <xs:pattern value="\.*" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="EventNameType"> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-zA-Z][_a-zA-Z0-9]{0,59}" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="CrashDumpType" > + <xs:restriction base="xs:string"> + <xs:enumeration value="Mini"/> + <xs:enumeration value="Full"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="NamedElementNameString"> + <xs:restriction base="xs:string"> + <xs:pattern value="^[a-zA-Z_][^\\/\:\*\?\&quot;\&lt;\&gt;\|]*(?&lt;![\.\s])$" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="format"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Manifest" /> + <xs:enumeration value="EventSource" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="directoryQuotaPercentage"> + <xs:restriction base="xs:integer"> + <xs:minInclusive value="0"/> + <xs:maxInclusive value="100"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="guidType"> + <xs:annotation> + <xs:documentation> + A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. + </xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:pattern value="^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$"/> + </xs:restriction> + </xs:simpleType> + + <xs:attributeGroup name="BasicConfiguration"> + <xs:attribute name="scheduledTransferPeriod" type="PositiveDuration" use="optional" default="PT0S"> + <xs:annotation> + <xs:documentation> + The interval between scheduled transfers for this data, rounded up to the nearest minute. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="ETWConfiguration"> + <xs:attribute name="scheduledTransferPeriod" type="PositiveDuration" use="optional" default="PT0S"> + <xs:annotation> + <xs:documentation> + The interval between scheduled transfers for this data, rounded up to the nearest minute. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="scheduledTransferLogLevelFilter" type="LogLevel" use="optional" default="Undefined"> + <xs:annotation> + <xs:documentation> + The minimum log severity to transfer. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="provider" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + The provider guid or class name for event source + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="scheduledTransferKeywordFilter" type="xs:unsignedLong" use="optional" default="0" > + <xs:annotation> + <xs:documentation> + The keyword to filter by + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="LogLevel"> + <xs:attribute name="scheduledTransferLogLevelFilter" type="LogLevel" use="optional" default="Undefined"> + <xs:annotation> + <xs:documentation> + The minimum log severity to transfer. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="DirectoryAttributes"> + <xs:attribute name="containerName" type="wad:ContainerName" use="required"> + <xs:annotation> + <xs:documentation> + The name of the container where the content of the directory is to be transferred. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="CrashDumpConfiguration"> + <xs:attribute name="directoryQuotaPercentage" type="directoryQuotaPercentage" use="optional" default="10"> + <xs:annotation> + <xs:documentation> + The percentage of directory quota used by crashdumps + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="dumpType" type="CrashDumpType" use="optional" default="Mini"> + <xs:annotation> + <xs:documentation> + The type of crashdump + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="containerName" type="wad:ContainerName" use="optional" default="wad-crashdumps"> + <xs:annotation> + <xs:documentation> + The blob container to store the crashdumps + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:complexType name="LogsBase"> + <xs:attributeGroup ref="BasicConfiguration" /> + </xs:complexType> + + <xs:complexType name="EtwEventsBase"> + <xs:attributeGroup ref="ETWConfiguration" /> + </xs:complexType> + + <xs:complexType name ="CrashDumpsBase"> + <xs:attributeGroup ref="CrashDumpConfiguration"/> + </xs:complexType> + + <xs:complexType name="EtwManifestProviderConfiguration"> + <xs:complexContent> + <xs:extension base="EtwEventsBase"> + <xs:sequence> + <xs:element maxOccurs="unbounded" name="Event" minOccurs="0"> + <xs:complexType> + <xs:attribute name="id" type="xs:int" use="required"> + <xs:annotation> + <xs:documentation> + The id of the ETW event that is to be collected + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="DefaultEvents" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="EtwEventSourceProviderConfiguration"> + <xs:complexContent> + <xs:extension base="EtwEventsBase"> + <xs:sequence> + <xs:element maxOccurs="unbounded" name="Event" minOccurs="0"> + <xs:complexType> + <xs:attribute name="id" type="xs:int" use="required"> + <xs:annotation> + <xs:documentation> + The id of the ETW event that is to be collected + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="DefaultEvents" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="EtwProviders"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="EtwEventSourceProviderConfiguration" type="EtwEventSourceProviderConfiguration" minOccurs="0" > + <xs:annotation> + <xs:documentation> + ETW collection by event source + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="EtwManifestProviderConfiguration" type="EtwManifestProviderConfiguration" minOccurs="0"> + <xs:annotation> + <xs:documentation> + ETW collection by manifest + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="CrashDumpConfiguration"> + <xs:attribute name="processName" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + The name of the process to to monitor for crashes. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="CrashDumps"> + <xs:complexContent> + <xs:extension base="CrashDumpsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="CrashDumpConfiguration" type="CrashDumpConfiguration"> + <xs:annotation> + <xs:documentation> + The crashdump to collect + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DiagnosticInfrastructureLogs"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:attributeGroup ref="LogLevel" /> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + + <xs:complexType name="DirectoryBase" /> + + <xs:complexType name="DirectoryAbsolute"> + <xs:complexContent> + <xs:extension base="DirectoryBase"> + <xs:attribute name="path" type="AbsolutePathWithEnvironmentExpansion" use="required"> + <xs:annotation> + <xs:documentation> + The absolute path to the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="expandEnvironment" type="xs:boolean" use="required"> + <xs:annotation> + <xs:documentation> + If true, then environment variables in the path will be expanded. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DirectoryLocalResource"> + <xs:complexContent> + <xs:extension base="DirectoryBase"> + <xs:attribute name="relativePath" type="RelativePathWithEnvironmentExpansion" use="required"> + <xs:annotation> + <xs:documentation> + The path relative to the local resource to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="name" type="NamedElementNameString" use="required"> + <xs:annotation> + <xs:documentation> + The local resource that contains the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DirectoryConfiguration"> + <xs:choice> + <xs:element name="Absolute" type="DirectoryAbsolute"> + <xs:annotation> + <xs:documentation> + The absolute path to the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="LocalResource" type="DirectoryLocalResource"> + <xs:annotation> + <xs:documentation> + The path relative to a local resource to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:attributeGroup ref="DirectoryAttributes" /> + </xs:complexType> + + <xs:complexType name="SpecialLogDirectory"> + <xs:attributeGroup ref="DirectoryAttributes" /> + </xs:complexType> + + <xs:complexType name="DataSources"> + <xs:sequence> + <xs:element name="DirectoryConfiguration" type="DirectoryConfiguration" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation> + The directory of log files to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="Directories"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:all> + <xs:element name="IISLogs" type="SpecialLogDirectory" minOccurs="0"> + <xs:annotation> + <xs:documentation> + The IIS log directory. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FailedRequestLogs" type="SpecialLogDirectory" minOccurs="0"> + <xs:annotation> + <xs:documentation> + The failed request log directory. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DataSources" type="DataSources" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Additional log directories. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:all> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="annotation"> + <xs:attribute name="displayName" type="displayName" use="required"> + <xs:annotation> + <xs:documentation> + The display name for the performance counter. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="locale" type="locale" use="optional" default="en-US"> + <xs:annotation> + <xs:documentation> + The locale for the performance counter diplay name. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="PerformanceCounterConfiguration"> + <xs:sequence minOccurs="0"> + <xs:element maxOccurs="unbounded" name="annotation" type="annotation"> + <xs:annotation> + <xs:documentation> + The display name and locale for the performance counter + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + <xs:attribute name="counterSpecifier" type="PerformanceCounterPath" use="required"> + <xs:annotation> + <xs:documentation> + The path to the performance counter to collect. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="sampleRate" type="PositiveDuration" use="required"> + <xs:annotation> + <xs:documentation> + The rate at which the performance counter should be sampled. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="unit" type="xs:string" use="optional"> + <xs:annotation> + <xs:documentation> + The unit for the performance counter for display purposes. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="PerformanceCounters"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="PerformanceCounterConfiguration" type="PerformanceCounterConfiguration"> + <xs:annotation> + <xs:documentation> + The performance counter to collect. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + + + <xs:complexType name="DataSource"> + <xs:attribute name="name" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + An XPath expression specifying the logs to collect. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="WindowsEventLog"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="DataSource" type="DataSource"> + <xs:annotation> + <xs:documentation> + The event log to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DiagnosticMonitorConfiguration"> + <xs:all> + <xs:element name="DiagnosticInfrastructureLogs" type="DiagnosticInfrastructureLogs" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Directories" type="Directories" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Describes the configuration of a directory to which file-based logs are written. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PerformanceCounters" type="PerformanceCounters" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures performance counter collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="WindowsEventLog" type="WindowsEventLog" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures Windows event log collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="EtwProviders" type="EtwProviders" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures ETW event collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CrashDumps" type="CrashDumps" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures crashdump collection. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:all> + + <xs:attribute name="overallQuotaInMB" type="xs:unsignedInt" use="optional" default="5120"> + <xs:annotation> + <xs:documentation> + The total amount of file system storage allocated for all logging buffers. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="useProxyServer" type="xs:boolean" use="optional" default="true"> + <xs:annotation> + <xs:documentation> + Force the Monitoring Agent to use the specified IE proxy server if specified. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:all> + <xs:element name="WadCfg"> + <xs:complexType> + <xs:sequence> + <xs:element name="DiagnosticMonitorConfiguration" type="DiagnosticMonitorConfiguration" minOccurs="1" maxOccurs="1" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="LocalResourceDirectory" minOccurs="0" maxOccurs="1" type="DirectoryAbsolute" /> + <xs:element name="StorageAccount" minOccurs="0" maxOccurs="1" type="xs:string" /> + </xs:all> + </xs:complexType> + </xs:element> +</xs:schema> + + xmldocument + + xmldocument + + + + + + StorageAccountName + + The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $wadConfig = New-AzureServiceDiagnosticExtensionConfig -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML + + Description + + + + -----------Creates an object that has the service extension object default for all roles that will be installed with the deployment and the role configuration. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> $wadConfig = New-AzureServiceDiagnosticExtensionConfig -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML -Role "WebRole1" + + Description + + + + -----------Creates an object that has the service extension object for a specific role that will be installed with the deployment and the role configuration. + + + + + + + Unknown + + + + + + + + New-AzureServiceExtensionConfig + + This cmdlet creates a cloud service extension configuration for a deployment. + + + + + New + AzureServiceExtensionConfig + + + + + This cmdlet creates a cloud service extension configuration for a deployment. + + + + New-AzureServiceExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + ExtensionName + + + + String + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Version + + The Extension Version. + + String + + + + New-AzureServiceExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + ExtensionName + + + + String + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Version + + The Extension Version. + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + ExtensionName + + + + String + + String + + + + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + String + + + + + + PublicConfiguration + + The public configuration text. + + String + + String + + + + + + PrivateConfiguration + + The private configuration text. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> New-AzureServiceExtensionConfig -ExtensionName 'RDP' -Version '1.0' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; + + Description + + + + -----------Create the Remote Desktop Extension configuration in version 1.0 for all roles in the cloud service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> New-AzureServiceExtensionConfig -Role WebRole1 -ExtensionName 'RDP' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; + + Description + + + + -----------Create the Remote Desktop Extension configuration for the 'WebRole1' role in the cloud service. + + + + + + + Unknown + + + + + + + + New-AzureServiceRemoteDesktopExtensionConfig + + This cmdlets generates configuration of remote desktop extension for any deployment. + + + + + New + AzureServiceRemoteDesktopExtensionConfig + + + + + This cmdlets generates configuration of remote desktop extension for any deployment. + + + + New-AzureServiceRemoteDesktopExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + + Version + + + + String + + + + New-AzureServiceRemoteDesktopExtensionConfig + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + + Version + + + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + PSCredential + + + + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + DateTime + + + + + + Version + + + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $rdpConfig = New-AzureServiceRemoteDesktopExtensionConfig -Credential $cred + + Description + + + + -----------Creates an object that has the service extension object default for all roles that will be installed with the deployment and the role configuration. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> $rdpConfig = New-AzureServiceRemoteDesktopExtensionConfig -Credential $cred -Role "WebRole1" + + Description + + + + -----------Creates an object that has the service extension object for a specific role that will be installed with the deployment and the role configuration. + + + + + + + Unknown + + + + + + + + New-AzureSSHKey + + Creates a SSH Key object to insert an existing certificate into new Linux-based Microsoft Azure virtual machines. + + + + + New + AzureSSHKey + + + + + The New-AzureSSHKey cmdlet creates an SSH Key object for a certificate that has already been added to Microsoft Azure. This SSH Key object can then be used by New-AzureProvisioningConfig when creating the configuration object for a new virtual machine using New-AzureVM, or when creating a new virtual machine with New-AzureQuickVM. When included as part of a virtual machine creation script, this adds the specified SSH Public Key or Key Pair to the new virtual machine. + + + + New-AzureSSHKey + + KeyPair + + When specified, creates an object for inserting an SSH Key Pair into the new virtual machine configuration. + + SwitchParameter + + + Fingerprint + + Specifies the fingerprint of the certificate. + + String + + + Path + + Specifies the path to store the SSH Public Key or Key Pair. + + String + + + + New-AzureSSHKey + + PublicKey + + When specified, creates an object for inserting an SSH Public Key into the new virtual machine configuration. + + SwitchParameter + + + Fingerprint + + Specifies the fingerprint of the certificate. + + String + + + Path + + Specifies the path to store the SSH Public Key or Key Pair. + + String + + + + + + KeyPair + + When specified, creates an object for inserting an SSH Key Pair into the new virtual machine configuration. + + SwitchParameter + + SwitchParameter + + + + + + Fingerprint + + Specifies the fingerprint of the certificate. + + String + + String + + + + + + Path + + Specifies the path to store the SSH Public Key or Key Pair. + + String + + String + + + + + + PublicKey + + When specified, creates an object for inserting an SSH Public Key into the new virtual machine configuration. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>$myLxCert = New-AzureSSHKey –Fingerprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –Path "/home/username/.ssh/authorized_keys" + + This command creates a certificate setting object for an existing certificate and then stores the object in a variable for later use. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Add-AzureCertificate –ServiceName "MySvc" –CertToDeploy "C:\temp\MyLxCert.cer" + C:\PS>$myLxCert = New-AzureSSHKey –Fingerprint "D7BECD4D63EBAF86023BB4F1A5FBF5C2C924902A" –Path "/home/username/.ssh/authorized_keys" + C:\PC>New-AzureVMConfig -Name "MyVM2" -InstanceSize Small -ImageName $LxImage ` + | Add-AzureProvisioningConfig -Linux -LinuxUser $lxUser -SSHPublicKeys $myLxCert -Password 'pass@word1' ` + | New-AzureVM -ServiceName "MySvc" + + This command adds a certificate to the Microsoft Azure service, and then creates a new Linux virtual machine that uses the certificate. + + + + + + + + + + + Add-AzureProvisioningConfig + + + + New-AzureVMConfig + + + + New-AzureVM + + + + New-AzureQuickVM + + + + + + + + New-AzureStorageAccount + + Creates a new storage account in a Microsoft Azure subscription. + + + + + New + AzureStorageAccount + + + + + The New-AzureStorageAccount cmdlet creates an account that provides access to Microsoft Azure storage services. A storage account is a globally unique resource within the storage system. The account is the parent namespace for the Blob, Queue, and Table services. + + + + New-AzureStorageAccount + + StorageAccountName + + Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. + + String + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + + AffinityGroup + + Specifies the name of an existing affinity group in the current subscription. You can specify either a Location or an AffinityGroup parameter, but not both. + + String + + + Type + + Specifies the type of the storage account. Valid values are + Standard_LRS + Standard_ZRS + Standard_GRS + Standard_RAGRS + + If this parameter is not specified, a default value of Standard_GRS is used + + Note: + Standard_ZRS accounts cannot be changed to other account types, and vice versa. + + String + + + + New-AzureStorageAccount + + StorageAccountName + + Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. + + String + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + + Location + + Specifies the Microsoft Azure data center location where the storage account is created. You can include either a Location or an AffinityGroup parameter, but not both. + + String + + + Type + + Specifies the type of the storage account. Valid values are + Standard_LRS + Standard_ZRS + Standard_GRS + Standard_RAGRS -The default value is Production. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get configuration for a service - - - - - PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03" - - - This command returns the antimalware configuration object for the specified service name. Because this command does not specify the Slot parameter, the command gets the configuration for the default slot, Production. For services that have monitoring enabled, the command also returns a monitoring configuration object. - - - - - - - - - Example 2: Get configuration for a service for the Staging slot - - - - - PS C:\>Get-AzureServiceAntimalwareConfig -ServiceName "ContosoService03" -Slot Staging - - - This command returns the antimalware configuration object for the specified service name. Because this command specifies a value of Staging for the Slot parameter, the command gets the configuration for the Staging slot. For services that have monitoring enabled, the command also returns a monitoring configuration object. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402839 - - - Remove-AzureServiceAntimalwareExtension - - - - Set-AzureServiceAntimalwareExtension - - - - - - - Remove-AzureVMMicrosoftAntimalwareExtension - - Removes the Microsoft Antimalware extension from a virtual machine. - - - - - Remove - AzureVMMicrosoftAntimalwareExtension - - - - The Remove-AzureVMMicrosoftAntimalwareExtension cmdlet removes the Microsoft Antimalware extension from a virtual machine. If monitoring was turned on, this cmdlet also removes the collection of Microsoft Antimalware events. - - - - Remove-AzureVMMicrosoftAntimalwareExtension - - VM - - Specifies the virtual machine as an IPersistentVM object. - - IPersistentVM - - - - - - VM - - Specifies the virtual machine as an IPersistentVM object. - - IPersistentVM - - IPersistentVM - - - none - - - - - - IPersistentVM - - - - - - - - A virtual machine object. - - - - - - - - - - - - - - - - - - - - - - - - To avoid interfering with monitoring for other applications or services, this cmdlet removes only the collection of Microsoft Antimalware events. It does not change other application configurations or the default monitoring configuration. - - - - - Example 1: Remove the extension - - - - - PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Remove-AzureVMMicrosoftAntimalwareExtension | Update-AzureVM - - - This command removes the Microsoft Antimalware extension. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. Remove-AzureVMMicrosoftAntimalwareExtension removes the extension. The command passes the result to the Update-AzureVM cmdlet to update the virtual machine. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402842 - - - Get-AzureVM - - - - - Update-AzureVM - - - - - Get-AzureVMMicrosoftAntimalwareExtension - - - - Set-AzureVMMicrosoftAntimalwareExtension - - - - - - - Remove-AzureServiceAntimalwareExtension - - Removes the antimalware configuration from a cloud service. - - - - - Remove - AzureServiceAntimalwareExtension - - - - The Remove-AzureServiceAntimalwareExtension cmdlet removes the antimalware configuration and any associated antimalware monitoring from the Microsoft Antimalware extension associated with a cloud service. - - - - Remove-AzureServiceAntimalwareExtension - - ServiceName - - Specifies the name of the cloud service. - - String - - - Slot - - Specifies a deployment slot. Valid values are: + If this parameter is not specified, a default value of Standard_GRS is used --- Production --- Staging + Note: + Standard_ZRS accounts cannot be changed to other account types, and vice versa. + + String + + + + + + StorageAccountName + + Specifies a name for the storage account. The storage account name must be unique to Microsoft Azure and must be between 3 and 24 characters in length and use lowercase letters and numbers only. + + String + + String + + + + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + String + + + + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + String + + + + + + AffinityGroup + + Specifies the name of an existing affinity group in the current subscription. You can specify either a Location or an AffinityGroup parameter, but not both. + + String + + String + + + + + + Type + + Specifies the type of the storage account. Valid values are + Standard_LRS + Standard_ZRS + Standard_GRS + Standard_RAGRS -The default value is Production. - - - Production - Staging - - - - Role - - Specifies an array of roles. The default value is all roles. - - String[] - - - EndpointSuffix - - Specifies the storage endpoint suffix. - - String - - - - Remove-AzureServiceAntimalwareExtension - - ServiceName - - Specifies the name of the cloud service. - - String - - - Slot - - Specifies a deployment slot. Valid values are: + If this parameter is not specified, a default value of Standard_GRS is used --- Production --- Staging + Note: + Standard_ZRS accounts cannot be changed to other account types, and vice versa. + + String + + String + + + + + + Location + + Specifies the Microsoft Azure data center location where the storage account is created. You can include either a Location or an AffinityGroup parameter, but not both. + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> New-AzureStorageAccount -StorageAccountName "azure1" -Label "AzureOne" -AffinityGroup "prodapps" + + Description + + + + -----------Creates a new storage account named "azure1" and assigns it to the "prodapps" affinity group. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> New-AzureStorageAccount -StorageAccountName "azuretwo" -Label "AzureTwo" -Location "North Central US" + + Description + + + + -----------Creates a new storage account named "azuretwo" in the "North Central US" data center location. + + + + + + + Unknown + + + + + + + + New-AzureStorageKey + + Regenerates storage keys for a Microsoft Azure storage account. + + + + + New + AzureStorageKey + + + + + The New-AzureStorageKey cmdlet regenerates the primary or secondary key for a Microsoft Azure storage account. It returns an object with the storage account name, primary key, and secondary key as properties. + + + + New-AzureStorageKey + + KeyType + + Specifies which key to regenerate. Supported values are "Primary" and "Secondary". + + String + + + StorageAccountName + + Specifies the name of the Microsoft Azure storage account to regenerate a key for. + + String + + + + + + KeyType + + Specifies which key to regenerate. Supported values are "Primary" and "Secondary". + + String + + String + + + + + + StorageAccountName + + Specifies the name of the Microsoft Azure storage account to regenerate a key for. + + String + + String + + + + + + + + + + + + + + + + + + + + + StorageServiceKeys + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureStorageKey –KeyType "Primary" –StorageAccountName "mystore1" + + This command regenerate the primary storage key for the "mystore1" storage account. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> $myStoreKey = New-AzureStorageKey –KeyType "Secondary" –StorageAccountName "mystore1" + + This command regenerate the secondary storage key for the "mystore1" storage account and stores the updated storage account key information in $myStoreKey. + + + + + + + + + + + + + + + New-AzureVM + + Creates a new Microsoft Azure virtual machine. + + + + + New + AzureVM + + + + + The New-AzureVM cmdlet adds a new virtual machine to an existing Microsoft Azure service, or creates a new virtual machine and service in the current subscription if either the -Location or -AffinityGroup is specified. + + + + New-AzureVM + + ServiceName + + Specifies the new or existing service name. -The default value is Production. - - - Production - Staging - - - - EndpointSuffix - - Specifies the storage endpoint suffix. - - String - - - - - - EndpointSuffix - - Specifies the storage endpoint suffix. - - String - - String - - - none - - - Role - - Specifies an array of roles. The default value is all roles. - - String[] - - String[] - - - none - - - ServiceName - - Specifies the name of the cloud service. - - String - - String - - - none - - - Slot - - Specifies a deployment slot. Valid values are: + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. + + String + + + DeploymentLabel + + Specifies a label for the deployment + + String + + + DeploymentName + + Specifies a deployment name. If not specified, the service name will be used as the deployment name. + + String + + + VNetName + + Specifies the virtual network name where the new virtual machine will be deployed. + + String + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. + + DnsServer[] + + + InternalLoadBalancerConfig + + Not Specified + + InternalLoadBalancerConfig + + + VMs + + A list of virtual machine objects to create. + + PersistentVM[] + + + WaitForBoot + + Waits for VM to reach "ReadyRole" state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". + + SwitchParameter + + + ReservedIPName + + Reserved IP Name. + + String + + + + New-AzureVM + + ServiceName + + Specifies the new or existing service name. --- Production --- Staging + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. + + String + + + Location + + Specifies the location where the new service will be hosted. This parameter should not be used if you are using a service that already exists. + + String + + + AffinityGroup + + Specifies the Microsoft Azure affinity group the cloud service will reside in. Only valid when creating a new cloud service. + + String + + + ServiceLabel + + Specifies a label for the new service. + + String + + + ReverseDnsFqdn + + + + String + + + ServiceDescription + + Specifies a description for the new service. + + String + + + DeploymentLabel + + Specifies a label for the deployment + + String + + + DeploymentName + + Specifies a deployment name. If not specified, the service name will be used as the deployment name. + + String + + + VNetName + + Specifies the virtual network name where the new virtual machine will be deployed. + + String + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. + + DnsServer[] + + + InternalLoadBalancerConfig + + Not Specified + + InternalLoadBalancerConfig + + + VMs + + A list of virtual machine objects to create. + + PersistentVM[] + + + WaitForBoot + + Waits for VM to reach "ReadyRole" state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". + + SwitchParameter + + + ReservedIPName + + Reserved IP Name. + + String + + + + + + ServiceName + + Specifies the new or existing service name. + + If the service does not exist, this parameter will create it for you. Use the -Location or -AffinityGroup parameter to specify where to create the service. + If the service exists, the -Location or -AffinityGroup parameter is not needed. + + String + + String + + + + + + DeploymentLabel + + Specifies a label for the deployment + + String + + String + + + + + + DeploymentName + + Specifies a deployment name. If not specified, the service name will be used as the deployment name. + + String + + String + + + + + + VNetName + + Specifies the virtual network name where the new virtual machine will be deployed. + + String + + String + + + + + + DnsSettings + + Specifies a DNS Server object that defines the DNS settings for the new deployment. + + DnsServer[] + + DnsServer[] + + + + + + InternalLoadBalancerConfig + + Not Specified + + InternalLoadBalancerConfig + + InternalLoadBalancerConfig + + + + + + VMs + + A list of virtual machine objects to create. + + PersistentVM[] + + PersistentVM[] + + + + + + WaitForBoot + + Waits for VM to reach "ReadyRole" state. Cmdlet fails if VM falls in one of the following states while waiting: "FailedStartingVM", "ProvisioningFailed", "ProvisioningTimeout". + + SwitchParameter + + SwitchParameter + + + + + + ReservedIPName + + Reserved IP Name. + + String + + String + + + + + + Location + + Specifies the location where the new service will be hosted. This parameter should not be used if you are using a service that already exists. + + String + + String + + + + + + AffinityGroup + + Specifies the Microsoft Azure affinity group the cloud service will reside in. Only valid when creating a new cloud service. + + String + + String + + + + + + ServiceLabel + + Specifies a label for the new service. + + String + + String + + + + + + ReverseDnsFqdn + + + + String + + String + + + + + + ServiceDescription + + Specifies a description for the new service. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNewVM" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[4].ImageName ` + | Add-AzureProvisioningConfig -Windows -Password $adminPassword -AdminUsername PsTestAdmin` + | New-AzureVM -ServiceName "MySvc2" -AffinityGroup "Contoso" -WaitForBoot + + Description + + + + -----------This example creates a new Microsoft Azure virtual machine, "MyNewVM", and a new Microsoft Azure service, "MySvc2". Optional WaitForBoot flag blocks New-AzureVM till the VM boots. + Description + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MySUSEVM2" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[7].ImageName ` + | Add-AzureProvisioningConfig -Linux -LinuxUser $lxUser -Password $adminPassword -AdminUsername PsTestAdmin` + | New-AzureVM + + Description + + + + -----------This example adds a new Linux virtual machine to an existing service. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> $Images = Get-AzureVMImage + $myImage = $Images[4] + $myVM = New-AzureVMConfig -Name "MyVM2" -InstanceSize ExtraSmall -ImageName $myImage.ImageName ` + | Add-AzureProvisioningConfig -Windows -Password $adminPassword ` + | Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -DiskLabel "DataDisk50" -LUN 0 + + Description + + + + -----------This example builds a new virtual machine configuration and then creates the virtual machine with New-AzureVM. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "MyNewVM" -InstanceSize ExtraSmall -ImageName (Get-AzureVMImage)[4].ImageName ` + | Add-AzureProvisioningConfig -Windows -Password $adminPassword -AdminUsername PsTestAdmin` + | New-AzureVM -ServiceName "MySvc2" -AffinityGroup "Contoso" -ReservedIPName $ipName + + Description + + + + -----------This example creates a new Microsoft Azure virtual machine, "MyNewVM", and a new Microsoft Azure service, "MySvc2", using a reserved IP on the VM deployment + + + + + + + Unknown + + + + -The default value is Production. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This cmdlet removes only the configuration associated with the specified role. It does not uninstall or remove any already running instances of the Microsoft Antimalware extension from roles. To return these roles to a start state that does not have Microsoft Antimalware running, first remove the configuration by using this cmdlet, and then reimage or redeploy the service. - - - To avoid interfering with monitoring for other applications or services, this cmdlet removes only the collection of Microsoft Antimalware events. It does not change other application configurations or the default monitoring configuration. - - - - - Example 1: Remove the extension - - - - - PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - - This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03. - - - - - - - - - Example 2: Remove the extension for the Staging slot - - - - - PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging" - - - This command removes the antimalware extension and monitoring of associated antimalware events from all roles in the staging slot of the service named ContosoService03. - - - - - - - - - Example 3: Remove the extension for a specified slot and role - - - - - PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Production" -Role "web role" - - - This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03 in the specified slot and role. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402841 - - - Set-AzureServiceAntimalwareExtension - - - - - + + - Set-AzureVMMicrosoftAntimalwareExtension + + New-AzureVMConfig + - Configures the Microsoft Antimalware extension for a virtual machine. + Creates a new Windows Azure virtual machine configuration object. - + - Set - AzureVMMicrosoftAntimalwareExtension - + New + AzureVMConfig + - The Set-AzureVMMicrosoftAntimalwareExtension cmdlet configures the Microsoft Antimalware extension for a virtual machine. You can enable, disable, or uninstall the extension. + The New-AzureVMConfig cmdlet creates a new virtual machine configuration object. This object can then be used to perform a new deployment, as well as to add a new virtual machine to an existing deployment. + - Set-AzureVMMicrosoftAntimalwareExtension - - AntimalwareConfigFile + New-AzureVMConfig + + Name - Specifies the absolute path to the Microsoft Antimalware configuration file. Do not specify this parameter if you specify the AntimalwareConfiguration parameter. The configuration file must include, at a minimum, the following content to enable the Microsoft Antimalware extension: - -{ "AntimalwareEnabled": true } + Specifies the name of the virtual machine. - String + string - - Version + + InstanceSize - Specifies the extension version as a string. + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. - String + string - - Monitoring + + HostCaching - Specifies whether to collect Microsoft Antimalware events. Valid values are: - --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. + Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". - - ON - OFF - + string - - StorageContext + + AvailabilitySetName - Specifies an Azure storage context for Microsoft Antimalware monitoring. + Specifies the name of the availability set. - AzureStorageContext + string - - VM + + Label - Specifies the virtual machine as an IPersistentVM object. + Specifies a label to assign to the virtual machine. - IPersistentVM + string - - - Set-AzureVMMicrosoftAntimalwareExtension - - AntimalwareConfiguration + + DiskName - Specifies a string object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. Do not specify this parameter if you specify the AntimalwareConfigFile parameter. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: - -{ "AntimalwareEnabled": true } + Specifies a name for the operating system disk. string - - Version + + MediaLocation - Specifies the extension version as a string. + Specifies the Windows Azure storage location for the new virtual machine disk. - String + string - - Monitoring + + PipelineVariable - Specifies whether to collect Microsoft Antimalware events. Valid values are: - --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. + Not Specified - - ON - OFF - + string - - StorageContext + + + New-AzureVMConfig + + Name - Specifies an Azure storage context for Microsoft Antimalware monitoring. + Specifies the name of the virtual machine. - AzureStorageContext + string - - VM + + InstanceSize - Specifies the virtual machine as an IPersistentVM object. + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. - IPersistentVM + string - - - Set-AzureVMMicrosoftAntimalwareExtension - - Disable + + HostCaching - Indicates that the cmdlet disables the Microsoft Antimalware extension. To re-enable the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension without the Disable parameter. + Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". + string - - Version + + AvailabilitySetName - Specifies the extension version as a string. + Specifies the name of the availability set. - String + string - - VM + + Label - Specifies the virtual machine as an IPersistentVM object. + Specifies a label to assign to the virtual machine. - IPersistentVM + string - - - Set-AzureVMMicrosoftAntimalwareExtension - - Uninstall + + ImageName - Indicates that this cmdlet uninstalls the Microsoft Antimalware extension from the virtual machine. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. + Specifies the name of the virtual machine image to use for the operating system disk. + string - - VM + + DiskLabel - Specifies the virtual machine as an IPersistentVM object. + Specifies a label for the operating system disk. - IPersistentVM + string + + + MediaLocation + + Specifies the Windows Azure storage location for the new virtual machine disk. + + string + + + PipelineVariable + + Not Specified + + string + - - AntimalwareConfigFile + + AvailabilitySetName - Specifies the absolute path to the Microsoft Antimalware configuration file. Do not specify this parameter if you specify the AntimalwareConfiguration parameter. The configuration file must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + Specifies the name of the availability set. -{ "AntimalwareEnabled": true } - String + string - String - + string + - none + - - AntimalwareConfiguration + + DiskLabel - Specifies a string object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. Do not specify this parameter if you specify the AntimalwareConfigFile parameter. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: - - { "AntimalwareEnabled": true } - Microsoft Antimalware JSON configuration sample: - - { - "AntimalwareEnabled": true, - "RealtimeProtectionEnabled": true, - "ScheduledScanSettings": { - "isEnabled": true, - "day": 1, - "time": 120, - "scanType": "Full" - }, - "Exclusions": { - "Extensions": ".ext1;.ext2", - "Paths": "c:\\excluded-path-1;c:\\excluded-path-2", - "Processes": "excludedproc1.exe;excludedproc2.exe" - } - } - - Notes: - AntimalwareEnabled is a required parameter. Values: true= Enable. false= Error out as false is not a supported value - - RealtimeProtectionEnabled: true/false. true = Enable. false = Disable. Default is true + Specifies a label for the operating system disk. - ScheduledScanSettings: - isEnabled=true/false - day=0-8 (0-daily, 1-Sunday, 2-Monday, ...., 7-Saturday, 8-Disabled) - time=0-1440 (measured in minutes after midnight - 60->1AM, 120 -> 2AM, ... ) - scanType="Quick" or "Full" (Default is Quick) - Note: If isEnabled=true is the only setting provided, the following defaults are set: day=7 (Saturday), time=120 (2 AM), scanType="Quick" + + string + + string + + + + + + DiskName + + Specifies a name for the operating system disk. - Exclusions: - Multiple exclusions in the same list are specified by using semicolon delimiters. - If no exclusions are specified, then the existing exclusions, if any, are overwritten by blank on the system. + + string + + string + + + + + + HostCaching + + Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite". string string - + - none + - - Disable + + ImageName - Indicates that the cmdlet disables the Microsoft Antimalware extension. To re-enable the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension without the Disable parameter. + Specifies the name of the virtual machine image to use for the operating system disk. + - SwitchParameter + string - SwitchParameter - + string + - none + - - Monitoring + + InstanceSize - Specifies whether to collect Microsoft Antimalware events. Valid values are: + Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14. --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. - String + string - String - + string + - none + - - StorageContext + + Label - Specifies an Azure storage context for Microsoft Antimalware monitoring. + Specifies a label to assign to the virtual machine. + - AzureStorageContext + string - AzureStorageContext - + string + - none + - - Uninstall + + MediaLocation - Indicates that this cmdlet uninstalls the Microsoft Antimalware extension from the virtual machine. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. + Specifies the Windows Azure storage location for the new virtual machine disk. + - SwitchParameter + string - SwitchParameter - + string + - none + - - Version + + Name - Specifies the extension version as a string. + Specifies the name of the virtual machine. + - String + string - String - + string + - none + - - VM + + PipelineVariable - Specifies the virtual machine as an IPersistentVM object. + Not Specified + - IPersistentVM + string - IPersistentVM - + string + - none + + - - - - - - - + + + + + @@ -36000,1383 +15510,7571 @@ The default value is Production. - - - - - - - + + + + + + + + + + + + + + + + + + + + - Example 1: Enable the extension by using a configuration file - - - - - PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfigFile 'C:\configuration\contosoVM.json' | Update-AzureVM - - - This command enables the Microsoft Antimalware extension by using a configuration file. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. - The AntimalwareConfigFile parameter specifies a configuration file for the Microsoft Antimalware extension. Set-AzureVMMicrosoftAntimalwareExtension applies the configuration that the file specifies to the virtual machine, and then passes the result to the Update-AzureVM cmdlet to update the virtual machine. - - - - - - - - - Example 2: Enable the extension and enable monitoring + + -------------------------- EXAMPLE 1 -------------------------- + - - + C:\PS> - PS C:\>$StorageContext = New-AzureStorageContext -StorageAccountName "contosostoragemain" -StorageAccountKey (Get-AzureStorageKey -StorageAccountName "Contosostoragemain").Primary -PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name"ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfigFile 'C:\configuration\contosoVM.json" -Monitoring ON -StorageContext $StorageContext | Update-AzureVM - + + - The first command creates an AzureStorageContext object by using the New-AzureStorageContext cmdlet, and then stores it in the $StorageContext variable. - The second command enables the Microsoft Antimalware extension, and enables monitoring. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet. - The command specifies a value of ON for the Monitoring parameter and specifies the Azure storage context stored in $StorageContext, and then passes the result to the Update-AzureVM cmdlet. - - - - - - - - - Example 3: Enable the extension by specifying a configuration object - + Description + ----------- + Description - - PS C:\>$config_string = [IO.File]::ReadAllText('C:\configuration\contosoVM.json') -PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfiguration $config_string | Update-AzureVM - - - The first command creates a string object by reading a JSON configuration for the Microsoft Antimalware extension, and then storing it in the $config_string variable. - The AntimalwareConfiguration parameter specifies the configuration information stored in $config_string. Set-AzureVMMicrosoftAntimalwareExtension applies that configuration to the virtual machine, and then passes the result to the Update-AzureVM cmdlet. + + + + - + + - Example 4: Disable the extension + + -------------------------- EXAMPLE 2 -------------------------- + - - + C:\PS> - PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -Disable | Update-AzureVM - + + - This command disables the extension without removing it. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet. - Set-AzureVMMicrosoftAntimalwareExtension disables the Microsoft Antimalware extension for the virtual machine, and then passes the result to Update-AzureVM. - To re-enabled the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension cmdlet without specifying the Disable parameter. - - - - - - - - - Example 5: Remove the extension - + Description + ----------- + Description - - PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name"ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -Uninstall | Update-AzureVM - - - This command removes the Microsoft Antimalware extension from the virtual machine. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet. - Set-AzureVMMicrosoftAntimalwareExtension uninstalls the extension. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. The command passes the result to Update-AzureVM. + + + + - + + - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402844 - - - Get-AzureVM - - - - - Update-AzureVM - - - - - New-AzureStorageContext - - - - - Get-AzureVMMicrosoftAntimalwareExtension - - - - Remove-AzureVMMicrosoftAntimalwareExtension - + + - - - Set-AzureServiceAntimalwareExtension - - Configures the Microsoft Antimalware extension for cloud services. - - - - - Set - AzureServiceAntimalwareExtension - - - - The Set-AzureServiceAntimalwareExtension cmdlet configures the Microsoft Antimalware extension for a cloud service. You can specify values that override and supplement values in the XML configuration, such as storage account context. - - - - Set-AzureServiceAntimalwareExtension - - ServiceName - - Specifies the name of the cloud service. - - String - - - Slot - - Specifies a deployment slot. Valid values are: --- Production --- Staging -The default value is Production. - - - Production - Staging - - - - Role - - Specifies an array of roles. The default value is all roles. - - String[] - - - AntimalwareConfiguration - - Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: -<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> - - XmlDocument - - - Monitoring - - Specifies whether to collect Microsoft Antimalware events. Valid values are: + + + + New-AzureVMImageDiskConfigSet + + This cmdlet returns a new object for disk configuration set, which would be passed to the image update cmdlet. It encapsulates the OSDiskConfig and the DataDiskConfig object. Use the Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets to set the OS Disk and Data Disk properties for the VM Image. + + + + + New + AzureVMImageDiskConfigSet + + + + + This cmdlet returns a new object for disk configuration set, which would be passed to the image update cmdlet. It encapsulates the OSDiskConfig and the DataDiskConfig object. Use the Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets to set the OS Disk and Data Disk properties for the VM Image. + + + + New-AzureVMImageDiskConfigSet + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $s = New-AzureDiskConfigSet + # returns DiskConfigSet object; + + $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite + # returns DiskConfigSet object; + + $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 + # returns DiskConfigSet object + + # Final step - Update the VM Image + + Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; + + # OR + + $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + New-AzureVNetGateway + + Creates a new Microsoft Azure Virtual Network Gateway to the specified Microsoft Azure virtual network. + + + + + New + AzureVNetGateway + + + + + The New-AzureVNetGateway cmdlet creates a new virtual network gateway for the specified Microsoft Azure virtual network. A virtual network gateway is a VPN endpoint for connecting to a Microsoft Azure virtual network.After the virtual network gateway has been created, you can get the shared key to allow you to configure the VPN device at the local network site to authenticate to the gateway with the Get-AzureVNetGatewayKey cmdlet. + + + + New-AzureVNetGateway + + VNetName + + Specifies the name of the virtual network for which the gateway is created. + + String + + + GatewayType + + + + GatewayType + + + + + + VNetName + + Specifies the name of the virtual network for which the gateway is created. + + String + + String + + + + + + GatewayType + + + + GatewayType + + GatewayType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureVNetGateway –VNetName "MyProdNet" + + This command creates a new VPN endpoint for the "MyProdNet" network. + + + + + + + + + + + + + + + Publish-AzureVMDscConfiguration + + Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. + + + + + Publish + AzureVMDscConfiguration + + + + + Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. + + + + Publish-AzureVMDscConfiguration + + ConfigurationPath + + Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. + + String + + + ContainerName + + Name of the Azure Storage Container the configuration is uploaded to. + + String + + + Force + + By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. + + SwitchParameter + + + StorageContext + + The Azure Storage Context that provides the security settings used to upload the configuration script to the container specified by ContainerName. This context should provide write access to the container. + + AzureStorageContext + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before executing the command. + + SwitchParameter + + + + Publish-AzureVMDscConfiguration + + ConfigurationPath + + Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. + + String + + + Force + + By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. + + SwitchParameter + + + ConfigurationArchivePath + + Path to a local ZIP file to write the configuration archive to. +When this parameter is used, the configuration script is not uploaded to Azure blob storage. + + String + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before executing the command. + + SwitchParameter + + + + + + ConfigurationPath + + Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. + + String + + String + + + + + + ContainerName + + Name of the Azure Storage Container the configuration is uploaded to. + + String + + String + + + windows-powershell-dsc + + + Force + + By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. + + SwitchParameter + + SwitchParameter + + + + + + StorageContext + + The Azure Storage Context that provides the security settings used to upload the configuration script to the container specified by ContainerName. This context should provide write access to the container. + + AzureStorageContext + + AzureStorageContext + + + + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + Prompts you for confirmation before executing the command. + + SwitchParameter + + SwitchParameter + + + + + + ConfigurationArchivePath + + Path to a local ZIP file to write the configuration archive to. +When this parameter is used, the configuration script is not uploaded to Azure blob storage. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 + + Description + + + + -----------This command creates a ZIP package for the given script and any dependent resource modules and uploads it to Azure Storage. +By default the command does no produce any output; use the -Verbose option to display an indication of the operations performed by the command + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -ConfigurationArchivePath .\MyConfiguration.ps1.zip + + Description + + + + -----------This command creates a ZIP package for the given script and any dependent resource modules and stores it in the local file .\MyConfiguration.ps1.zip. + + + + + + + Unknown + + + + + + + + Remove-AzureAclConfig + + Remove the ACL configuration object from an existing Azure VM configuration. + + + + + Remove + AzureAclConfig + + + + + The Remove-AzureAclConfig cmdlet removes the ACL configuration object from an existing Azure VM configuration. + + + + Remove-AzureAclConfig + + EndpointName + + Specifies the name of the endpoint. + + String + + + VM + + Specifies the virtual machine object for which the endpoint will be created. + + IPersistentVM + + + + + + EndpointName + + Specifies the name of the endpoint. + + String + + String + + + + + + VM + + Specifies the virtual machine object for which the endpoint will be created. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS> $acl = Get-AzureVM -ServiceName "myservice" -Name "MyVM" | Remove-AzureAclConfig -EndpointName "Web" | Update-AzureVM + + This command will remove the ACL configuration from "MyVM". + + + + + + + + + + + New-AzureAclConfig + + + + Get-AzureAclConfig + + + + Set-AzureAclConfig + + + + + + + + Remove-AzureAffinityGroup + + Deletes an affinity group in the specified subscription. + + + + + Remove + AzureAffinityGroup + + + + + The Remove-AzureAffinityGroup cmdlet deletes an affinity group in the subscription. You can't delete an affinity group that has any members. You must first delete all the members of an affinity group and then use Remove-AzureAffinityGroup to delete the affinity group. + + + + Remove-AzureAffinityGroup + + Name + + Specifies the name of the affinity group to delete. + + String + + + + + + Name + + Specifies the name of the affinity group to delete. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureAffinityGroup -name "South1" + + This command deletes the 'South1' affinity group in the current subscription. + + + + + + + + + + + Get-AzureAffinityGroup + + + + New-AzureAffinityGroup + + + + Set-AzureAffinityGroup + + + + + + + + Remove-AzureAvailabilitySet + + + + + + + Remove + AzureAvailabilitySet + + + + + + + + + Remove-AzureAvailabilitySet + + VM + + + + IPersistentVM + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureCertificate + + Deletes the specified certificate from the Microsoft Azure service. + + + + + Remove + AzureCertificate + + + + + + + + + Remove-AzureCertificate + + ServiceName + + Specifies the Microsoft Azure service with which the certificate is associated. + + String + + + ThumbprintAlgorithm + + Specifies the algorithm used to create the certificate thumbprint. + + String + + + Thumbprint + + Specifies the thumbprint that identifies the certificate. + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service with which the certificate is associated. + + String + + String + + + + + + ThumbprintAlgorithm + + Specifies the algorithm used to create the certificate thumbprint. + + String + + String + + + + + + Thumbprint + + Specifies the thumbprint that identifies the certificate. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureCertificate -ServiceName "MyService" -Thumbprint '5383CE0343CB6563281CA97C1B5D712209CFFA97' + + This command removes the certificate object identified by the specified thumbprint from the specified cloud service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-Certificate -ServiceName "MyService" | Remove-AzureCertificate + + This command removes all certificates from the specified cloud service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>Get-Certificate –ServiceName "MyService" -ThumbprintAlgorithm "sha1" ` + | Remove-AzureCertificate + + This command removes all certificates that use the "sha1" thumbprint algorithm from the specified cloud service. + + + + + + + + + + + Add-AzureCertificate + + + + Get-AzureCertificate + + + + + + + + Remove-AzureDataDisk + + Removes a data disk from a virtual machine object. + + + + + Remove + AzureDataDisk + + + + + The Remove-AzureDataDisk cmdlet detaches a data disk from a virtual machine. The data disk blob is not removed from the storage account. + + + + Remove-AzureDataDisk + + LUN + + Specifies the slot where the data disk to be detached is currently mounted. + + Int32 + + + DeleteVHD + + Specify to remove the data disk and the underlying disk blob. + + SwitchParameter + + + VM + + Specifies the slot where the data disk to be detached is currently mounted. + + IPersistentVM + + + + + + LUN + + Specifies the slot where the data disk to be detached is currently mounted. + + Int32 + + Int32 + + + + + + DeleteVHD + + Specify to remove the data disk and the underlying disk blob. + + SwitchParameter + + SwitchParameter + + + + + + VM + + Specifies the slot where the data disk to be detached is currently mounted. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName MyDemoService01 -Name MyDemoVM01 | Remove-AzureDataDisk -LUN 0 + + Description + + + + -----------This command gets the virtual machine object with the name "MyDemoVM01" running on the "MyDemoService01" cloud service, and then detaches the data disk at LUN 0 from virtual machine object. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName MyDemoService01 -Name MyDemoVM01 | Remove-AzureDataDisk -LUN 0 -DeleteVHD | Update-AzureVM --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. - - - ON - OFF - - +This command gets the virtual machine object with the name "MyDemoVM01" running on the "MyDemoService01" cloud service, then detaches the data disk at LUN 0 from virtual machine object. It also updates the VM in the cloud and then delete the underlying VHD(s). + + Description + + + + ----------- + + + + + + + Add-AzureDataDisk + + + + Set-AzureDataDisk + + + + + + + + Remove-AzureDeployment + + Deletes the specified deployment of a Microsoft Azure service. + + + + + Remove + AzureDeployment + + + + + The Remove-AzureDeployment cmdlet deletes the specified deployment of a Microsoft Azure cloud service. The deployment should be in the suspended state. + + + + Remove-AzureDeployment + + ServiceName + + Specifies the name of the service whose deployment will be deleted. + + String + + + Slot + + Specifies the deployment environment from which the deployment of the specified Microsoft Azure service will be deleted. Choices are Staging or Production. If no slot is specified, the production environment is assumed. + + String + + + DeleteVHD + + Specify to remove the deployment and the underlying disk blob(s). + + SwitchParameter + + + Force + + + + SwitchParameter + + + + + + ServiceName + + Specifies the name of the service whose deployment will be deleted. + + String + + String + + + + + + Slot + + Specifies the deployment environment from which the deployment of the specified Microsoft Azure service will be deleted. Choices are Staging or Production. If no slot is specified, the production environment is assumed. + + String + + String + + + + + + DeleteVHD + + Specify to remove the deployment and the underlying disk blob(s). + + SwitchParameter + + SwitchParameter + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDeployment -ServiceName "myservice" + + This command removes the deployment of the Microsoft Azure service "myservice" from the production environment. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDeployment -ServiceName "myservice" -DeleteVHD + + This command removes the deployment of the Microsoft Azure service "myservice" from the production environment, and the underlying VHD(s). + + + + + + + + + + + Get-AzureDeployment + + + + Move-AzureDeployment + + + + New-AzureDeployment + + + + Set-AzureDeployment + + + + + + + + Remove-AzureDisk + + Removes a disk from the Microsoft Azure disk repository. + + + + + Remove + AzureDisk + + + + + The Remove-AzureDisk cmdlet removes a disk from the Microsoft Azure disk repository in the current subscription. + By default, this does not delete the associated physical VHD file from the blob storage location. To delete the associated physical VHD, specify the DeleteVHD parameter. + + + + Remove-AzureDisk + + DiskName + + Name of the data disk in the disk repository to remove. + + String + + + DeleteVHD + + Removes the underlying VHD from blob storage. + + SwitchParameter + + + + + + DiskName + + Name of the data disk in the disk repository to remove. + + String + + String + + + + + + DeleteVHD + + Removes the underlying VHD from blob storage. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDisk -DiskName "MyDataDisk" + + This example removes the "MyDataDisk" disk from the disk repository but does not remove the VHD from Microsoft Azure storage. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDisk -DiskName "MyDataDisk" –DeleteVHD + + This example removes the "MyDataDisk" disk from the disk repository and also removes the VHD from Microsoft Azure storage. + + + + + + + + + + + Add-AzureDisk + + + + Get-AzureDisk + + + + Update-AzureDisk + + + + + + + + Remove-AzureDns + + Removes a DNS server to an existing cloud service. + + + + + Remove + AzureDns + + + + + The Remove-AzureDns cmdlet removes the specified DNS server from a cloud service. + + + + Remove-AzureDns + + Name + + Specifies the name of the DNS server to be removed + + String + + + ServiceName + + Specifies the name of the cloud service + + String + + + Force + + + + SwitchParameter + + + + + + Name + + Specifies the name of the DNS server to be removed + + String + + String + + + + + + ServiceName + + Specifies the name of the cloud service + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + - NoConfig + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureDns -ServiceName "myservice" -Name "mydns" + + Description + + + + -----------This command removes the DNS server "mydns" from the specified cloud service + + + + + + + Unknown + + + + + + + + Remove-AzureEndpoint + + Deletes an endpoint from a Microsoft Azure virtual machine object. + + + + + Remove + AzureEndpoint + + + + + The Remove-AzureEndpoint cmdlet deletes an endpoint from a specified virtual machine object. + + + + Remove-AzureEndpoint + + Name + + Specifies the name of the endpoint to be deleted from the virtual machine. + + String + + + VM + + Specifies the virtual machine object from which the endpoint will be deleted. + + IPersistentVM + + + + + + Name + + Specifies the name of the endpoint to be deleted from the virtual machine. + + String + + String + + + + + + VM + + Specifies the virtual machine object from which the endpoint will be deleted. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureVM –ServiceName "MyService" –Name “MyVM” | Remove-AzureEndpoint –Name "HttpIn" | Update-AzureVM + + This command deletes the endpoint "HttpIn" from the "MyVM" virtual machine. + + + + + + + + + + + Online Version: + + + + + + + + Remove-AzureInternalLoadBalancer + + Remove-AzureInternalLoadBalancer [-ServiceName] <string> [<CommonParameters>] + + + + + Remove + AzureInternalLoadBalancer + + + + + The Remove-AzureInternalLoadbalancer cmdlet removes the internal load balancer configuration from a deployment, if there are endpoints still referring to the internal load balancer the remove operation will fail + + + + Remove-AzureInternalLoadBalancer + + ServiceName + + + + String + + + + + + ServiceName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureInternalLoadBalancer -ServiceName "ILBInVNet" + + Description + + + + -----------Removes the Internal load balancer configuration from the deployment. + + + + + + + Unknown + + + + + + + + Remove-AzurePublicIP + + Remove-AzurePublicIP [[-PublicIPName] <string>] -VM <IPersistentVM> [<CommonParameters>] + + + + + Remove + AzurePublicIP + + + + + Removed Public IP configuration from the virtual machine. + + + + Remove-AzurePublicIP + + PublicIPName + + + + String + + + VM + + + + IPersistentVM + + + + + + PublicIPName + + + + String + + String + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Remove-AzurePublicIP | Update-AzureVM + + Description + + + + -----------Removes the public ip configuration from the virtual machine. + + + + + + + Unknown + + + + + + + + Remove-AzureReservedIP + + Remove the Reserved IP by its name. + + + + + Remove + AzureReservedIP + + + + + Remove the reserved IP by its name. + + + + Remove-AzureReservedIP + + ReservedIPName + + Reserved IP Name + + String + + + Force + + Not Specified + + SwitchParameter + + + + + + ReservedIPName + + Reserved IP Name + + String + + String + + + + + + Force + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureReservedIP -ReservedIPName $name + + Description + + + + -----------Deletes the Reserved IP from the Subscription by name + + + + + + + Unknown + + + + + + + + Remove-AzureServiceADDomainExtension - To set monitoring on or off when no update to the configuration is needed, the NoConfig parameter may be specified. + This cmdlet removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. + + + + Remove + AzureServiceADDomainExtension + + + + + This cmdlet removes the cloud service AD domain extension applied on all roles or named roles at a certain deployment slot. + + + + Remove-AzureServiceADDomainExtension + + ServiceName + + + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + + Remove-AzureServiceADDomainExtension + + ServiceName + + + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + UninstallConfiguration + + If specified uninstall all AD Domain configurations from the cloud service. + + SwitchParameter + + + + + + ServiceName + + + + String + + String + + + - - StorageContext - - Specifies an Azure storage context for Microsoft Antimalware monitoring. - - AzureStorageContext - - - - Set-AzureServiceAntimalwareExtension - - ServiceName - - Specifies the name of the cloud service. - - String - - - Slot - - Specifies a deployment slot. Valid values are: + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + UninstallConfiguration + + If specified uninstall all AD Domain configurations from the cloud service. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureServiceADDomainExtension -ServiceName $svc + + Description + + + + -----------Removing the configured AD domain extension from all roles of a cloud service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureServiceADDomainExtension -ServiceName $svc -Role "WebRole1" + + Description + + + + -----------Removing the configured AD domain extension from the role 'WebRole1' of a cloud service. + + + + + + + Unknown + + + + + + + + Remove-AzureServiceAntimalwareExtension + + Removes the antimalware configuration from a cloud service. + + + + + Remove + AzureServiceAntimalwareExtension + + + + + The Remove-AzureServiceAntimalwareExtension cmdlet removes the antimalware configuration and any associated antimalware monitoring from the Microsoft Antimalware extension associated with a cloud service. + + + + Remove-AzureServiceAntimalwareExtension + + ServiceName + + Specifies the name of the cloud service. + + String + + + Slot + + Specifies a deployment slot. Valid values are: -- Production -- Staging -The default value is Production. - - - Production - Staging - - - - Role - - Specifies an array of roles. The default value is all roles. - - String[] - - - AntimalwareConfiguration - - Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: - -<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> - - XmlDocument - - - Monitoring - - Specifies whether to collect Microsoft Antimalware events. Valid values are: - --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. - - - ON - OFF - - - - StorageContext - - Specifies an Azure storage context for Microsoft Antimalware monitoring. - - AzureStorageContext - - - - - - AntimalwareConfiguration - - Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: - -<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> - - XmlDocument - - XmlDocument - - - none - - - Monitoring - - Specifies whether to collect Microsoft Antimalware events. Valid values are: - --- ON. Collect Microsoft Antimalware events to storage context. --- OFF. Do not collect Microsoft Antimalware events. - - String - - String - - - none - - - Role - - Specifies an array of roles. The default value is all roles. - - String[] - - String[] - - - none - - - ServiceName - - Specifies the name of the cloud service. - - String - - String - - - none - - - Slot - - Specifies a deployment slot. Valid values are: +The default value is Production. + + String + + + Role + + Specifies an array of roles. The default value is all roles. + + String[] + + + EndpointSuffix + + Specifies the storage endpoint suffix. + + String + + + + Remove-AzureServiceAntimalwareExtension + + ServiceName + + Specifies the name of the cloud service. + + String + + + Slot + + Specifies a deployment slot. Valid values are: -- Production -- Staging The default value is Production. - - String - - String - - - none - - - StorageContext - - Specifies an Azure storage context for Microsoft Antimalware monitoring. - - AzureStorageContext - - AzureStorageContext - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Enable the extension - - - - - PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument -PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') -PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -AntimalwareConfiguration $XmlConfig -Operation succeeded - - - The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. - The third command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. Because the command does not specify the Slot parameter, the cmdlet uses the default value, Production. - - - - - - - - - Example 2: Enable the extension for the Staging slot - - - - - PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument -PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') -PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging" -AntimalwareConfiguration $XmlConfig -Operation succeeded - - - The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. - The third command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. This command specifies a value of Staging for the Slot parameter. - - - - - - - - - Example 3: Enable the extension with monitoring - - - - - PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument -PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') -PS C:\> $StorageContext = New-AzureStorageContext -StorageAccountName "contosostoragemain" -StorageAccountKey (Get-AzureStorageKey -StorageAccountName "Contosostoragemain").Primary -PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -AntimalwareConfiguration $XmlConfig -Monitoring ON -StorageContext $StorageContext - - - The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. - The third command creates an AzureStorageContext object by using the New-AzureStorageContext cmdlet, and then stores it in the $StorageContext variable. - The final command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. This command also specifies a value of ON for the Monitoring parameter and specifies the Azure storage context stored in $StorageContext. The values specified by these parameters override any corresponding values for these parameters that were specified within the XML configuration. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=402843 - - - New-AzureStorageContext - - - - - Get-AzureServiceAntimalwareConfig - - - - Remove-AzureServiceAntimalwareExtension - - - - - - - - Get-AzurePublicIP - - - - Get-AzurePublicIP [[-PublicIPName] <string>] -VM <IPersistentVM> [<CommonParameters>] - - - - - - - Get - AzurePublicIP - - - - - Returns the Instance Level Public IP information on the virtual machine. To obtain the IP Address of the Public IP use Get-AzureVM cmd let. - - - - - Get-AzurePublicIP - - PublicIPName - - - - - string - - - VM - - - - - IPersistentVM - - - - - - - PublicIPName - - - - - string - - string - - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.AssignPublicIPCollection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Get-AzurePublicIP - - - Description - ----------- - Returns the Public IP information on the virtual machine. To get the IP address of the public ip, use Get-AzureVM - - - - - - - - - - - - - - - - - - - - - - - - - - + + String + + + EndpointSuffix + + Specifies the storage endpoint suffix. + + String + + + + + + ServiceName + + Specifies the name of the cloud service. + + String + + String + + + none + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + String + + + none + + + Role + + Specifies an array of roles. The default value is all roles. + + String[] + + String[] + + + none + + + EndpointSuffix + + Specifies the storage endpoint suffix. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This cmdlet removes only the configuration associated with the specified role. It does not uninstall or remove any already running instances of the Microsoft Antimalware extension from roles. To return these roles to a start state that does not have Microsoft Antimalware running, first remove the configuration by using this cmdlet, and then reimage or redeploy the service. + + + + + -------------------------- Example 1: Remove the extension -------------------------- + + + + PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" + + This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03. + + + + + + + + + -------------------------- Example 2: Remove the extension for the Staging slot -------------------------- + + + + PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging" + + This command removes the antimalware extension and monitoring of associated antimalware events from all roles in the staging slot of the service named ContosoService03. + + + + + + + + + -------------------------- Example 3: Remove the extension for a specified slot and role -------------------------- + + + + PS C:\>Remove-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Production" -Role "web role" + + This command removes the antimalware extension and monitoring of associated antimalware events from the service named ContosoService03 in the specified slot and role. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402841 + + + Set-AzureServiceAntimalwareExtension + + + + + + + + Remove-AzureServiceDiagnosticsExtension + + This cmdlet removes the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. + + + + + Remove + AzureServiceDiagnosticsExtension + + + + + This cmdlet removes the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot. + + + + Remove-AzureServiceDiagnosticsExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + + Remove-AzureServiceDiagnosticsExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + UninstallConfiguration + + If specified uninstall all RDP configurations from the cloud service. + + SwitchParameter + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + UninstallConfiguration + + If specified uninstall all RDP configurations from the cloud service. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureServiceDiagnosticsExtension -ServiceName $svc + + Description + + + + -----------Removing the configured diagnostics extension from all roles of a cloud service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureServiceDiagnosticsExtension -ServiceName $svc -Role "WebRole1" + + Description + + + + -----------Removing the configured diagnostics extension from the role 'WebRole1' of a cloud service. + + + + + + + Unknown + + + + + + + + Remove-AzureServiceExtension + + This cmdlet removes given cloud service extensions that are applied on a deployment. + + + + + Remove + AzureServiceExtension + + + + + This cmdlet removes given cloud service extensions that are applied on a deployment. + + + + Remove-AzureServiceExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the extension for. If not specified the extension is applied as the default configuration for all roles. + + String[] + + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + + Remove-AzureServiceExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + ExtensionName + + The Extension Name. + + String + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + + UninstallConfiguration + + If specified uninstall all configurations from the cloud service. + + SwitchParameter + + + + + + ServiceName + + The cloud service name. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the extension for. If not specified the extension is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + ProviderNamespace + + The Extension Provider Namespace. + + String + + String + + + + + + UninstallConfiguration + + If specified uninstall all configurations from the cloud service. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions + + Description + + + + -----------Remove the existing RDP extension applied on all roles. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureServiceExtension -ServiceName $svc -Slot Production -ExtensionName RDP -ProviderNamespace Microsoft.Windows.Azure.Extensions -UninstallConfiguration + + Description + + + + -----------Remove the existing RDP extension applied on all roles, and uninstall it from the cloud service. + + + + + + + Unknown + + + + + + + + Remove-AzureServiceRemoteDesktopExtension + + This cmdlet removes the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. + + + + + Remove + AzureServiceRemoteDesktopExtension + + + + + This cmdlet removes the cloud service remote desktop extension applied on all roles or named roles at a certain deployment slot. + + + + Remove-AzureServiceRemoteDesktopExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + + Remove-AzureServiceRemoteDesktopExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + UninstallConfiguration + + If specified uninstall all RDP configurations from the cloud service. + + SwitchParameter + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + UninstallConfiguration + + If specified uninstall all RDP configurations from the cloud service. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureServiceRemoteDesktopExtension -ServiceName $svc + + Description + + + + -----------Removing the configured remote desktop extension from all roles of a cloud service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureServiceRemoteDesktopExtension -ServiceName $svc -Role "WebRole1" + + Description + + + + -----------Removing the configured remote desktop extension from the role 'WebRole1' of a cloud service. + + + + + + + Unknown + + + + + + + + Remove-AzureStaticVNetIP + + Remove the static VNet IP address information from a VM object, if any. + + + + + Remove + AzureStaticVNetIP + + + + + Remove the static VNet IP address information from a VM object, if any. + + + + Remove-AzureStaticVNetIP + + VM + + Persistent VM object. + + IPersistentVM + + + + + + VM + + Persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Remove-AzureStorageAccount + + Deletes the specified storage account from a subscription. + + + + + Remove + AzureStorageAccount + + + + + The Remove-AzureStorageAccount cmdlet removes an account from a Microsoft Azure subscription. + + + + Remove-AzureStorageAccount + + StorageAccountName + + The name of the storage account to be removed. + + String + + + + + + StorageAccountName + + The name of the storage account to be removed. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureStorageAccount -StorageAccountName "mystore1" + + This command removes the "mystore1" storage account from the specified subscription. + + + + + + + + + + + New-AzureStorageAccount + + + + Set-AzureStorageAccount + + + + Get-AzureStorageAccount + + + + + + + + Remove-AzureVM + + Removes a Microsoft Azure virtual machine. + + + + + Remove + AzureVM + + + + + The Remove-AzureVM cmdlet deletes a Microsoft Azure virtual machine. This process doesn’t delete the underlying .vhd files of the disks mounted on that virtual machine. + + + + Remove-AzureVM + + Name + + Specifies the name of the virtual machine being removed. + + String + + + DeleteVHD + + Specify to remove the VM and the underlying disk blob(s). + + SwitchParameter + + + ServiceName + + Specifies the Microsoft Azure service name from which the virtual machine is being removed. + + String + + + + + + Name + + Specifies the name of the virtual machine being removed. + + String + + String + + + + + + DeleteVHD + + Specify to remove the VM and the underlying disk blob(s). + + SwitchParameter + + SwitchParameter + + + + + + ServiceName + + Specifies the Microsoft Azure service name from which the virtual machine is being removed. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureVM -ServiceName "MySvc1" -Name "MyVM" + + This command removes the "MyVM" virtual machine running in the "MySvc1" service. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureVM -ServiceName "MySvc1" -Name "MyVM" -DeleteVHD + + Description + + + + -----------This command removes the "MyVM" virtual machine running in the "MySvc1" service, and the underlying VHD(s). + + + + + + + New-AzureVMConfig + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + New-AzureVM + + + + + + + + Remove-AzureVMAccessExtension + + This cmdlet removes the VMAcess extension (if any) applied on the VM. + + + + + Remove + AzureVMAccessExtension + + + + + This cmdlet removes the VMAcess extension (if any) applied on the VM. + + + + Remove-AzureVMAccessExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMAccessExtension -VM $vm; + + Description + + + + -----------This cmdlet removes the VMAcess extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Remove-AzureVMBGInfoExtension + + This cmdlet removes the BGInfo extension (if any) applied on the VM. + + + + + Remove + AzureVMBGInfoExtension + + + + + This cmdlet removes the BGInfo extension (if any) applied on the VM. + + + + Remove-AzureVMBGInfoExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMBGInfoExtension -VM $vm; + + Description + + + + -----------This cmdlet removes the BGInfo extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Remove-AzureVMCustomScriptExtension + + Remove Azure VM Custom Script Extension from a VM. + + + + + Remove + AzureVMCustomScriptExtension + + + + + Remove Azure VM Custom Script Extension from a VM. + + + + Remove-AzureVMCustomScriptExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMCustomScriptExtension -VM $vm; + + Description + + + + -----------Remove Azure VM Custom Script Extension from a VM. + + + + + + + Unknown + + + + + + + + Remove-AzureVMDiagnosticsExtension + + + + + + + Remove + AzureVMDiagnosticsExtension + + + + + + + + + Remove-AzureVMDiagnosticsExtension + + VM + + + + IPersistentVM + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMDscExtension + + Remove Azure VM DSC Extension from a VM. + + + + + Remove + AzureVMDscExtension + + + + + Remove Azure VM DSC Extension from a VM. + + + + Remove-AzureVMDscExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + Confirm + + Prompts you for confirmation before executing the command. + + switchparameter + + switchparameter + + + + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + switchparameter + + switchparameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMDscExtension -VM $vm + + Description + + + + -----------Remove Azure VM DSC Extension from a VM. + + + + + + + Unknown + + + + + + + + Remove-AzureVMExtension + + This cmdlet removes resource extensions from VMs. + + + + + Remove + AzureVMExtension + + + + + This cmdlet removes resource extensions from VMs. + + + + Remove-AzureVMExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension Publisher. + + String + + + VM + + + + IPersistentVM + + + + Remove-AzureVMExtension + + ReferenceName + + The extension's reference name. + + String + + + VM + + + + IPersistentVM + + + + Remove-AzureVMExtension + + RemoveAll + + Specify to remove all extensions. + + SwitchParameter + + + VM + + + + IPersistentVM + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + Publisher + + The Extension Publisher. + + String + + String + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + ReferenceName + + The extension's reference name. + + String + + String + + + + + + RemoveAll + + Specify to remove all extensions. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $vm = Remove-AzureVMExtension -VM $vm -ExtensionName $ext -Publisher $pub; + + Description + + + + -----------Remove a given extension with the name and publisher + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> $vm = Remove-AzureVMExtension -VM $vm -RemoveAll; + + Description + + + + -----------Remove all extensions. + + + + + + + Unknown + + + + + + + + Remove-AzureVMImage + + Removes an OS or VM image from the Image Repository. + + + + + Remove + AzureVMImage + + + + + Removes an OS or VM image from the Image Repository. + + + + Remove-AzureVMImage + + ImageName + + Specifies the OS or VM image to remove from the image repository. + + String + + + DeleteVHD + + When specified, the physical VHD image blob is deleted from the storage account. + + SwitchParameter + + + + + + ImageName + + Specifies the OS or VM image to remove from the image repository. + + String + + String + + + + + + DeleteVHD + + When specified, the physical VHD image blob is deleted from the storage account. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMImage -ImageName MyOSImage + + Description + + + + -----------This command removes the "MyOSImage" image from the image repository. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Remove-AzureVMImage -ImageName MyOSImage -DeleteVHD + + Description + + + + -----------This command removes the "MyOSImage" image from the image repository and also deletes the physical VHD image from the storage account. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> $subsId = &amp;lt;MySubscriptionID&amp;gt; +$cert = Get-AzureCertificate cert:\LocalMachine\MY\&amp;lt;CertificateThumbprint&amp;gt; +Get-AzureVMImage ` + | Where-Object {$_.Label -match "Beta" }` + | Foreach-Object {Remove-AzureVMImage -ImageName $_.name } + + Description + + + + -----------This command sets the subscription context and then removes all the images from the image repository whose Label includes "Beta". + + + + + + + Add-AzureVMImage + + + + Get-AzureVMImage + + + + Update-AzureVMImage + + + + + + + + Remove-AzureVMImageDataDiskConfig + + This cmdlet removes the Data Disk Config from the DiskConfigSet object + + + + + Remove + AzureVMImageDataDiskConfig + + + + + + + + + Remove-AzureVMImageDataDiskConfig + + DiskConfig + + + + VirtualMachineImageDiskConfigSet + + + DataDiskName + + + + String + + + + Remove-AzureVMImageDataDiskConfig + + DiskConfig + + + + VirtualMachineImageDiskConfigSet + + + Lun + + + + Int32 + + + + + + DiskConfig + + + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + DataDiskName + + + + String + + String + + + + + + Lun + + + + Int32 + + Int32 + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $s = New-AzureDiskConfigSet + # returns DiskConfigSet object; + + $s = Set-AzureDataDiskConfig -DiskConfig $s -HostCaching ReadWrite + # returns DiskConfigSet object; + + Remove-AzureVMImageDataDiskConfig -DiskConfig $s + # removes the Data DiskConfig object from the DiskConfigSet object + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Remove-AzureVMImageOSDiskConfig + + This cmdlet removes the OS Disk Config from the DiskConfigSet object + + + + + Remove + AzureVMImageOSDiskConfig + + + + + + + + + Remove-AzureVMImageOSDiskConfig + + DiskConfig + + The disk config object that encapsulates the OS Disk and Data Disk objects. + + VirtualMachineImageDiskConfigSet + + + + + + DiskConfig + + The disk config object that encapsulates the OS Disk and Data Disk objects. + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $s = New-AzureDiskConfigSet + # returns DiskConfigSet object; + + $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite + # returns DiskConfigSet object; + + Remove-AzureVMImageOSDiskConfig -DiskConfig $s + # removes the OS DiskConfig object from the DiskConfigSet object + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Remove-AzureVMMicrosoftAntimalwareExtension + + Removes the Microsoft Antimalware extension from a virtual machine. + + + + + Remove + AzureVMMicrosoftAntimalwareExtension + + + + + The Remove-AzureVMMicrosoftAntimalwareExtension cmdlet removes the Microsoft Antimalware extension from a virtual machine. If monitoring was turned on, this cmdlet also removes the collection of Microsoft Antimalware events. + + + + Remove-AzureVMMicrosoftAntimalwareExtension + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + IPersistentVM + + + none + + + + + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + To avoid interfering with monitoring for other applications or services, this cmdlet removes only the collection of Microsoft Antimalware events. It does not change other application configurations or the default monitoring configuration. + + + + + -------------------------- Example 1: Remove the extension -------------------------- + + + + PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Remove-AzureVMMicrosoftAntimalwareExtension | Update-AzureVM + + This command removes the Microsoft Antimalware extension. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. Remove-AzureVMMicrosoftAntimalwareExtension removes the extension. The command passes the result to the Update-AzureVM cmdlet to update the virtual machine. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402842 + + + Get-AzureVM + + + + Update-AzureVM + + + + Get-AzureVMMicrosoftAntimalwareExtension + + + + Set-AzureVMMicrosoftAntimalwareExtension + + + + + + + + Remove-AzureVMPuppetExtension + + This cmdlet removes the Puppet extension (if any) applied on the VM. + + + + + Remove + AzureVMPuppetExtension + + + + + This cmdlet removes the Puppet extension (if any) applied on the VM. + + + + Remove-AzureVMPuppetExtension + + VM + + The persistent VM object. + + IPersistentVM + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Remove-AzureVMPuppetExtension -VM $vm; + + Description + + + + -----------This cmdlet removes the Puppet extension (if any) applied on the VM. + + + + + + + Unknown + + + + + + + + Remove-AzureVNetConfig + + Deletes the network configuration from the current Microsoft Azure subscription. + + + + + Remove + AzureVNetConfig + + + + + The Remove-AzureVNetConfig cmdlet removes all virtual network settings from the current Microsoft Azure subscription. + + + + Remove-AzureVNetConfig + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureVNetConfig + + This command removes the virtual network configuration from the current subscription. + + + + + + + + + + + Get-AzureVNetConfig + + + + Get-AzureVNetSite + + + + Set-AzureVNetConfig + + + + + + + + Remove-AzureVNetGateway + + Removes the Microsoft Azure virtual network gateway to the specified virtual network. + + + + + Remove + AzureVNetGateway + + + + + The Remove-AzureVNetGateway cmdlet removes the virtual network gateway to the specified Microsoft Azure virtual network. A virtual network gateway is a VPN endpoint for connecting to a virtual network. If you remove the virtual network gateway, the underlying virtual network is unaffected and still in place, allowing you to create a new gateway with New-VNetGateway. However, the shared key for the gateway will be different, requiring reconfiguration of the VPN device at the local network site. + + + + Remove-AzureVNetGateway + + VNetName + + Specifies the name of the virtual network to remove the gateway from. + + String + + + + + + VNetName + + Specifies the name of the virtual network to remove the gateway from. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureVNetGateway –VNetName "MyProdNet" + + This command removes the virtual network gateway (VPN endpoint) from the "MyProdNet" virtual network. + + + + + + + + + + + + + + + Reset-AzureRoleInstance + + Requests a reboot or reimage of a single role instance or all role instances of a specific role. + + + + + Reset + AzureRoleInstance + + + + + The ReSet-AzureRoleInstance cmdlet requests a reboot or a reimage of a role instance that is running in a deployment. This operation executes synchronously. When you reboot a role instance, Microsoft Azure takes the instance offline, restarts the underlying operating system for that instance, and brings the instance back online. Any data that is written to the local disk persists across reboots. Any data that is in-memory is lost. Reimaging a role instance results in different behavior depending on the type of role. For a web or worker role, when the role is reimaged, Microsoft Azure takes the role offline and writes a fresh installation of the Microsoft Azure guest operating system to the virtual machine. The role is then brought back online. For a VM role, when the role is reimaged, Microsoft Azure takes the role offline, reapplies the custom image that you provided for it, and brings the role back online. + Microsoft Azure attempts to maintain data in any local storage resources when the role is reimaged; however, in case of a transient hardware failure, the local storage resource may be lost. If your application requires that data persist, writing to a durable data source, such as a Microsoft Azure drive, is recommended. Any data that is written to a local directory other than that defined by the local storage resource will be lost when the role is reimaged. + + + + Reset-AzureRoleInstance + + ServiceName + + Specifies the name of the service. + + String + + + Slot + + The deployment environment where the role instances are running. Supported values are "Production" and "Staging". You can include either a DeploymentName or Slot parameter, but not both. + + String + + + InstanceName + + Specifies the name of the role instance to reimage or reboot. + + String + + + Reboot + + If this parameter is specified, reboots the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. + + SwitchParameter + + + Reimage + + If this parameter is specified, reimages the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. + + SwitchParameter + + + + + + ServiceName + + Specifies the name of the service. + + String + + String + + + + + + Slot + + The deployment environment where the role instances are running. Supported values are "Production" and "Staging". You can include either a DeploymentName or Slot parameter, but not both. + + String + + String + + + + + + InstanceName + + Specifies the name of the role instance to reimage or reboot. + + String + + String + + + + + + Reboot + + If this parameter is specified, reboots the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. + + SwitchParameter + + SwitchParameter + + + + + + Reimage + + If this parameter is specified, reimages the specified role instance or, if none is specified, all role instances. You must include either a Reboot or Reimage parameter, but not both. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot Staging -InstanceName "MyWebRole_IN_0" –reboot + + This command reboots the "MyWebRole_IN_0" role instance in the staging deployment of the "MySvc1" service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot Staging –Reimage + + This command reimages the role instances in the staging deployment of the MyTodo cloud service. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS>ReSet-AzureRoleInstance -ServiceName "MySvc1" -Slot "Production –Reimage + + This command reimages all role instances in the production deployment of the "MySvc1" service. + + + + + + + + + + + + + + + Restart-AzureVM + + Restarts a Microsoft Azure virtual machine. + + + + + Restart + AzureVM + + + + + The Restart-AzureVM cmdlet requests a reboot of a virtual machine. + + + + Restart-AzureVM + + Name + + Specifies the name of the virtual machine to restart. + + String + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. + + String + + + + Restart-AzureVM + + VM + + A virtual machine object that identifies the virtual machine to restart. + + PersistentVM + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. + + String + + + + + + Name + + Specifies the name of the virtual machine to restart. + + String + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to restart. + + String + + String + + + + + + VM + + A virtual machine object that identifies the virtual machine to restart. + + PersistentVM + + PersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Restart-AzureVM -ServiceName "myservice1" –Name "MyVM" + + This command restarts the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "myservice1" -Name "MyVM" | Restart-AzureVM + + This command retrieves the virtual machine object for the virtual machine whose name is "MyVM" and then restarts it. + + + + + + + + + + + Get-AzureVM + + + + Remove-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + + Save-AzureVhd + + + + + + + Save + AzureVhd + + + + + The Save-AzureVhd cmdlet allows to download VHD images stored in a blob in to a file. It has parameters to configure the download process such as specifying the number of downloader threads that will be used or overwriting the file which already exists in the specified file path. Save-AzureVhd doesn't do any VHD format conversion and the blob is downloaded as it is. + + + + Save-AzureVhd + + Source + + Uri to the blob in Microsoft Azure. + + Uri + + + LocalFilePath + + + + FileInfo + + + NumberOfThreads + + Determines the number of download threads that will be used during download. + + Int32 + + + StorageKey + + Storage key of the blob storage account. If it is not provided, Save-AzureVhd tries to determine the storage key of the account in Source Uri from Microsoft Azure Cloud. + + String + + + OverWrite + + Determines to delete the file specified by LocalFilePath file if it exists. + + SwitchParameter + + + + + + Source + + Uri to the blob in Microsoft Azure. + + Uri + + Uri + + + + + + LocalFilePath + + + + FileInfo + + FileInfo + + + 2 + + + NumberOfThreads + + Determines the number of download threads that will be used during download. + + Int32 + + Int32 + + + 8 + + + StorageKey + + Storage key of the blob storage account. If it is not provided, Save-AzureVhd tries to determine the storage key of the account in Source Uri from Microsoft Azure Cloud. + + String + + String + + + + + + OverWrite + + Determines to delete the file specified by LocalFilePath file if it exists. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd + + Description + + + + -----------Downloads the specified blob to the specified local file path. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -Overwrite + + Description + + + + -----------Overwrite options tells to delete if local file exists. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -NumberOfThreads 32 + + Description + + + + -----------NumberOfThreads allows to override the default number of threads, which is 8, used to download. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -StorageKey zNvcH0r5vAGmC5AbwEtpcyWCMyBd3eMDbdaa4ua6kwxq6vTZH3Y+sw== + + Description + + + + -----------If storage key is specified, Save-AzureVhd doesn't attempt to get the storage key from Microsoft Azure Cloud and uses the provided the key in download. + + + + + + + Unknown + + + + + + + + Save-AzureVMImage + + Save OS or VM images from existing VMs. For capturing a VM Image, use the -OSState parameter. + + + + + Save + AzureVMImage + + + + + Save OS or VM images from existing VMs + + + + Save-AzureVMImage + + ServiceName + + The Service Name. + + String + + + Name + + The VM Name. + + String + + + ImageName + + Not Specified + + String + + + ImageLabel + + Not Specified + + String + + + OSState + + The OS State for VM Image only: 'Generalized' or 'Specialized'. The use of this parameter indicates your intent to capture VM Image to Azure. + + String + + + + + + ServiceName + + The Service Name. + + String + + String + + + + + + Name + + The VM Name. + + String + + String + + + + + + ImageName + + Not Specified + + String + + String + + + + + + ImageLabel + + Not Specified + + String + + String + + + + + + OSState + + The OS State for VM Image only: 'Generalized' or 'Specialized'. The use of this parameter indicates your intent to capture VM Image to Azure. + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + + + Unknown + + + + + + + + Set-AzureAclConfig + + Sets the ACL configuration object on an existing Azure VM configuration. + + + + + Set + AzureAclConfig + + + + + The Set-AzureAclConfig cmdlet sets the ACL configuration object from an existing Azure VM configuration. + + + + Set-AzureAclConfig + + AddRule + + Indicates that a rule should be added. + + SwitchParameter + + + Action + + Specifies this rules action. Must be either Permit or Deny. + + String + + + RemoteSubnet + + Specifies the remote subnet for this rule. Must be a valid CIDR Address. + + String + + + Order + + Specifies the processing order for this rule. + + Int32 + + + Description + + A description for this rule. + + String + + + ACL + + The ACL configuration object to add this rule to. + + NetworkAclObject + + + + Set-AzureAclConfig + + RemoveRule + + Indicates that a rule should be removed. + + SwitchParameter + + + RuleId + + Specifies the rule ID to remove from the given ACL configuration. + + Int32 + + + ACL + + The ACL configuration object to add this rule to. + + NetworkAclObject + + + + Set-AzureAclConfig + + SetRule + + Indicates that a rule should be changed. + + SwitchParameter + + + RuleId + + Specifies the rule ID to remove from the given ACL configuration. + + Int32 + + + Action + + Specifies this rules action. Must be either Permit or Deny. + + String + + + RemoteSubnet + + Specifies the remote subnet for this rule. Must be a valid CIDR Address. + + String + + + Order + + Specifies the processing order for this rule. + + Int32 + + + Description + + A description for this rule. + + String + + + ACL + + The ACL configuration object to add this rule to. + + NetworkAclObject + + + + + + AddRule + + Indicates that a rule should be added. + + SwitchParameter + + SwitchParameter + + + + + + Action + + Specifies this rules action. Must be either Permit or Deny. + + String + + String + + + + + + RemoteSubnet + + Specifies the remote subnet for this rule. Must be a valid CIDR Address. + + String + + String + + + + + + Order + + Specifies the processing order for this rule. + + Int32 + + Int32 + + + + + + Description + + A description for this rule. + + String + + String + + + + + + ACL + + The ACL configuration object to add this rule to. + + NetworkAclObject + + NetworkAclObject + + + + + + RemoveRule + + Indicates that a rule should be removed. + + SwitchParameter + + SwitchParameter + + + + + + RuleId + + Specifies the rule ID to remove from the given ACL configuration. + + Int32 + + Int32 + + + + + + SetRule + + Indicates that a rule should be changed. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS> $acl = New-AzureAclConfig +C:\PS> Set-AzureAclConfig -AddRule -ACL $acl Permit 172.0.0.0/8 100 "Rule Description" + + This command will create a new ACL configuration and add a new rule to the configuration. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS> $acl = Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" +C:\PS> Set-AzureAclConfig –SetRule -ID 0 -ACL $acl -Order 102 -Description "New Description" +C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -ACL $acl -Name "Web" | Update-AzureVM + + This command will get the ACL Configuration of the endpoint "Web" on "MyVM" and set the Order of the first ACL rule to 102, and change it's description, then update the VM. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> C:\PS> $acl = Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Get-AzureAclConfig -EndpointName "Web" +C:\PS> Set-AzureAclConfig –RemoveRule -ID 0 -ACL $acl +C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -ACL $acl -Name "Web" | Update-AzureVM + + This command will get the ACL Configuration of the endpoint "Web" on "MyVM" and remove the first ACL rule, then update the VM. + + + + + + + + + + + New-AzureAclConfig + + + + Remove-AzureAclConfig + + + + Get-AzureAclConfig + + + + + + + + Set-AzureAffinityGroup + + Updates the properties of a Microsoft Azure affinity group. + + + + + Set + AzureAffinityGroup + + + + + The Set-AzureAffinityGroup cmdlet updates properties of the specified affinity group. The properties that can be changed are the Label and the Description. + + + + Set-AzureAffinityGroup + + Name + + Specifies the name of the affinity group to change the properties of. + + String + + + Label + + Specifies a label for the affinity group. The label can be up to 100 characters in length. + + String + + + Description + + Specifies the description of the affinity group. The description can be up to 1024 characters in length. + + String + + + + + + Name + + Specifies the name of the affinity group to change the properties of. + + String + + String + + + + + + Label + + Specifies a label for the affinity group. The label can be up to 100 characters in length. + + String + + String + + + + + + Description + + Specifies the description of the affinity group. The description can be up to 1024 characters in length. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Set-AzureAffinityGroup -Name "MyGroup1" -Label "SouthUSProduction" -Description "Production applications for Southern US locations" + + This command sets the label of the affinity group MyGroup1 to "SouthUSProduction" and sets the description to "Production applications for Southern US locations" + + + + + + + + + + + Get-AzureAffinityGroup + + + + New-AzureAffinityGroup + + + + Remove-AzureAffinityGroup + + + + + + + + Set-AzureAvailabilitySet + + Sets the availability set name of an Azure VM after deployment. + + + + + Set + AzureAvailabilitySet + + + + + The Set-AzureAvailabilitySet cmdlet sets the availability set name of an Azure VM after deployment. + + + + Set-AzureAvailabilitySet + + AvailabilitySetName + + Name of the availability set on the virtual machine + + String + + + VM + + An Azure VM configuration to modify. + + IPersistentVM + + + + + + AvailabilitySetName + + Name of the availability set on the virtual machine + + String + + String + + + + + + VM + + An Azure VM configuration to modify. + + IPersistentVM + + IPersistentVM + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName "MyAzureCS" -Name "MyVM" | Set-AzureAvailabilitySetName "MyASet" | Update-AzureVM + + Description + + + + -----------Adds the VM to an availability set "MyAset" + + + + + + + Unknown + + + + + + + + Set-AzureDataDisk + + Sets the host-cache mode on an existing data disk object. + + + + + Set + AzureDataDisk + + + + + The Set-AzureDataDisk cmdlet updates the cache attributes of an existing data disk object on a Microsoft Azure virtual machine. The possible host caching values are: None, ReadOnly, and ReadWrite. You can specify which data disk to update by specifying its logical unit number (LUN). + + + + Set-AzureDataDisk + + HostCaching + + Sets the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + + LUN + + Numerical value that defines the slot where the data drive is mounted in the virtual machine. + + Int32 + + + VM + + The virtual machine where the data disk is mounted. + + IPersistentVM + + + + + + HostCaching + + Sets the host level caching settings of the disk. Possible values are: None, ReadOnly and ReadWrite. + + String + + String + + + + + + LUN + + Numerical value that defines the slot where the data drive is mounted in the virtual machine. + + Int32 + + Int32 + + + + + + VM + + The virtual machine where the data disk is mounted. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" ` + | Set-AzureDataDisk -VM "MyVM" -LUN 2 -HostCaching ReadOnly | Update-AzureVM + + This command gets the virtual machines running on the "myservice" cloud service, and then sets the data disk at LUN 2 of the "MyVM" virtual machine to use ReadOnly host caching. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM "myservice" -Name "MyVM" ` + | Get-AzureDataDisk ` + | Set-AzureDataDisk -HostCaching ReadWrite ' + | Update-AzureVM + + This command gets an object representing the "MyVM" virtual machine running on the "myservice" cloud service, gets an object or objects representing all the data disks on the virtual machine, and then sets the host caching mode of those data disks to ReadWrite. + + + + + + + + + + + Add-AzureDataDisk + + + + Get-AzureVM + + + + Update-AzureVM + + + + + + + + Set-AzureDeployment + + Sets status, upgrade mode, and configuration settings of a Microsoft Azure deployment. + + + + + Set + AzureDeployment + + + + + The Set-AzureDeployment cmdlet sets the status, configuration settings, or upgrade mode of a Microsoft Azure deployment. + With the -Status parameter, you can change the status of the deployment to either "Running" or "Suspended". With the -Config parameter, you can update the .cscfg file, and with the -Upgrade parameter, you set the upgrade mode and update configuration files. Use the Set-AzureWalkUpgradeDomain cmdlet to actually initiate the upgrade. + + + + Set-AzureDeployment + + Upgrade + + When specified, requests an upgrade to the Microsoft Azure deployment. + + SwitchParameter + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Package + + Specifies the full path to the upgrade package (.cspkg) file. + + String + + + Configuration + + Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Mode + + Specifies the mode of upgrade. Supported values are: "Auto", "Manual", and "Simultaneous". + + String + + + Label + + Specifies a new label for the upgraded deployment. + + String + + + RoleName + + Specifies the name of the role to upgrade. + + String + + + Force + + When specified, sets the upgrade to a forced upgrade. + + SwitchParameter + + + ExtensionConfiguration + + When specified, requests an upgrade to the Microsoft Azure deployment. + + ExtensionConfigurationInput[] + + + + Set-AzureDeployment + + Config + + When specified, modifies the .cscfg file for the deployment. + + SwitchParameter + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Configuration + + Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + ExtensionConfiguration + + When specified, requests an upgrade to the Microsoft Azure deployment. + + ExtensionConfigurationInput[] + + + + Set-AzureDeployment + + Status + + When specified, requests a status change for the Microsoft Azure deployment. + + SwitchParameter + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + NewStatus + + Specifies the target status for the deployment. Supported values are "Running" or "Suspended". + + String + + + + + + Upgrade + + When specified, requests an upgrade to the Microsoft Azure deployment. + + SwitchParameter + + SwitchParameter + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Package + + Specifies the full path to the upgrade package (.cspkg) file. + + String + + String + + + + + + Configuration + + Specifies the path to the new configuration (.cscfg) file when performing an upgrade or configuration change. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Mode + + Specifies the mode of upgrade. Supported values are: "Auto", "Manual", and "Simultaneous". + + String + + String + + + + + + Label + + Specifies a new label for the upgraded deployment. + + String + + String + + + + + + RoleName + + Specifies the name of the role to upgrade. + + String + + String + + + + + + Force + + When specified, sets the upgrade to a forced upgrade. + + SwitchParameter + + SwitchParameter + + + + + + ExtensionConfiguration + + When specified, requests an upgrade to the Microsoft Azure deployment. + + ExtensionConfigurationInput[] + + ExtensionConfigurationInput[] + + + + + + Config + + When specified, modifies the .cscfg file for the deployment. + + SwitchParameter + + SwitchParameter + + + + + + Status + + When specified, requests a status change for the Microsoft Azure deployment. + + SwitchParameter + + SwitchParameter + + + + + + NewStatus + + Specifies the target status for the deployment. Supported values are "Running" or "Suspended". + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureDeployment -Status -ServiceName "MySvc1" -Slot "Production" -NewStatus "Running" + + Description + + + + -----------This command sets the status of the deployment in the production environment to Running. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureDeployment -Config -ServiceName "MySvc1" -Slot "Staging" -Configuration "C:\Temp\MyServiceConfig.Cloud.csfg" + + Description + + + + -----------This command updates the deployment in the staging environment with a new configuration file. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Set-AzureDeployment -Upgrade -ServiceName "MySvc1" -Mode Auto -Package "C:\Temp\MyApp.cspkg" -Configuration "C:\Temp\MyServiceConfig.Cloud.csfg" + + Description + + + + -----------This command sets the upgrade mode to Auto and specifies an upgrade package and a new configuration file. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> Set-AzureDeployment –ServiceName –Mode Automatic $svc -Package $pkg -Configuration $cnfg -Slot Production -ExtensionConfiguration $wadConfig + + Description + + + + -----------This example installs the extension configuration in the specified Cloud Service and applies them on roles. + + + + + + + Get-AzureDeployment + + + + Move-AzureDeployment + + + + New-AzureDeployment + + + + Remove-AzureDeployment + + + + + + + + Set-AzureDns + + Updates the IP Address of the specified DNS server. + + + + + Set + AzureDns + + + + + The Set-AzureDns cmdlets updates the IP Address of the specified DNS server. + + + + Set-AzureDns + + Name + + Specifies the name of the DNS server to be updated + + String + + + IPAddress + + Specifies the IP address of the DNS server + + String + + + ServiceName + + Specifies the name of the cloud service + + String + + + + + + Name + + Specifies the name of the DNS server to be updated + + String + + String + + + + + + IPAddress + + Specifies the IP address of the DNS server + + String + + String + + + + + + ServiceName + + Specifies the name of the cloud service + + String + + String + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureDns -ServiceName "myservice" -IPAddress 10.1.2.5 -Name "mydns" + + Description + + + + -----------This command updates the IP Address of the DNS server "mydns" + + + + + + + Unknown + + + + + + - Remove-AzurePublicIP + Set-AzureEndpoint - - Remove-AzurePublicIP [[-PublicIPName] <string>] -VM <IPersistentVM> [<CommonParameters>] - + The Set-AzureInputEndpoint cmdlet updates an existing endpoint assigned to a virtual machine. You can specify updates to an endpoint that is not load balanced, which only a single virtual machine uses. - - + - Remove - AzurePublicIP - - + Set + AzureEndpoint + - Removed Public IP configuration from the virtual machine. + - Remove-AzurePublicIP + Set-AzureEndpoint + + Name + + Specifies the name of the endpoint. + + string + - PublicIPName + Protocol - - + Specifies the protocol of the endpoint. Acceptable values are "tcp" or "udp". string + + LocalPort + + Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. + + int + VM - - + Specifies the virtual machine object for which the endpoint will be created. IPersistentVM - - - - - - PublicIPName - - - - - string - - string - - - - - - - VM - - - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Remove-AzurePublicIP | Update-AzureVM - - - Description - ----------- - Removes the public ip configuration from the virtual machine. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Set-AzurePublicIP - - - - Set-AzurePublicIP [-PublicIPName] <string> [[-IdleTimeoutInMinutes] <int>] -VM <IPersistentVM> [<CommonParameters>] - - - - - - - Set - AzurePublicIP - - - - - Adds a new Public IP to the virtual machine. The public ip is really assigned when the virtual machine is updated. - - - - - Set-AzurePublicIP - - PublicIPName + + ACL - - + An ACL to apply to the endpoint on update. - string + NetworkAclObject + + + DirectServerReturn + + + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - + IdleTimeoutInMinutes TCP Idle timeout in minutes int - - VM + + InternalLoadBalancerName + + Not Specified + + string + + + LoadBalancerDistribution + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value - IPersistentVM + string + + + PipelineVariable + + Not Specified + + string + + + PublicPort + + + + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - PublicIPName + + ACL - - + An ACL to apply to the endpoint on update. + - string + NetworkAclObject - string - + NetworkAclObject + - - + - + + DirectServerReturn + + + + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + IdleTimeoutInMinutes TCP Idle timeout in minutes + int int - + - - + - - VM + + InternalLoadBalancerName - - + Not Specified + - IPersistentVM + string - IPersistentVM - + string + - - + - - - - - - - - - - + + LoadBalancerDistribution - + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value + - - - - + string - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM - - - + string + + + + + LocalPort - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Set-AzurePublicIP -PublicIPName ftpip | Update-AzureVM - - - Description - ----------- - Requests for a public IP to be assigned to the virtual machine. The public ip allocation happens during update VM. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - New-AzureVMConfig -Name "FTPInstance" -InstanceSize Small -ImageName $images[50].ImageName | Add-AzureProvisioningConfig -Windows -AdminUsername xyz -Password abcd123! | Set-AzurePublicIP -PublicIPName "ftpip" | New-AzureVM -ServiceName "FTPinAzure" -Location "North Central US" - - - Description - ----------- - Requests for a public IP to be assigned during VM creation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add-AzureInternalLoadBalancer - - - - Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [<CommonParameters>] - - Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [-SubnetName] <string> [<CommonParameters>] + Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. - Add-AzureInternalLoadBalancer [-InternalLoadBalancerName] <string> [-ServiceName] <string> [-SubnetName] <string> [-StaticVNetIPAddress] <ipaddress> [<CommonParameters>] - - - - - - - Add - AzureInternalLoadBalancer - - - - - The Add-InternalLoadbalancer cmdlet provides users the ability to add an Internal Loadbalancer configuration to a cloud service. For the users using Virtual network, they are allowed to specify a subnet or even the IP address directly of the internal load balancer. - - - - - Add-AzureInternalLoadBalancer - - InternalLoadBalancerName - - - - - string - - - ServiceName - - - - - string - - - SubnetName - - - - - string - - - StaticVNetIPAddress - - - - - IPAddress - - - - - - - InternalLoadBalancerName - - - - string + int - string - + int + - - + - - ServiceName + + Name - - + Specifies the name of the endpoint. + string string - + - - + - - SubnetName + + PipelineVariable - - + Not Specified + string string - + - - + - - StaticVNetIPAddress + + Protocol - - + Specifies the protocol of the endpoint. Acceptable values are "tcp" or "udp". + - IPAddress + string - IPAddress - + string + - - + - - - - - - - - - - + + PublicPort - - - + + - - - - + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - - - + System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + VM - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB - - - Description - ----------- - Adds an internal load balancer object to a deployment - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB -SubnetName FrontEndSubnet - - - Description - ----------- - Adds an internal load balancer object to a deployment in a Virtual Network. Specifies the Subnet in the VNet from which the load balancer IP should be allocated. - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Add-AzureInternalLoadBalancer -ServiceName MyWebsite1 -InternalLoadBalancerName MyILB -ServiceName svc1 -SubnetName FrontEndSubnet -StaticVNetIPAddress 192.168.4.7 - - - Description - ----------- - Adds an internal load balancer object to a deployment in a Virtual Network. Specifies the Subnet in the VNet and the exact IP address from that subnet that should be allocated to the internal load balancer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get-AzureInternalLoadBalancer - - - - Get-AzureInternalLoadBalancer [-ServiceName] <string> [<CommonParameters>] - - - - - - - Get - AzureInternalLoadBalancer - - - - - Returns the details of the Internal Load balancer configuration on the deployment. - - - - - Get-AzureInternalLoadBalancer - - ServiceName - - - - - string - - - - - - - ServiceName - - - + Specifies the virtual machine object for which the endpoint will be created. + - string + IPersistentVM - string - + IPersistentVM + - - + - - - + + + @@ -37384,15 +23082,14 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.InternalLoadBalancerContext - + System.Object + @@ -37402,19 +23099,19 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - + + - - + + -------------------------- EXAMPLE 1 -------------------------- @@ -37423,25 +23120,21 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" C:\PS> - Get-AzureService -ServiceName ILBINVNet | Get-AzureInternalLoadBalancer Description ----------- - Returns information on the internal load balancer configuration on the deployment - - - - - - + Description + + + + - - + @@ -37449,279 +23142,586 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - - + + + + + + + + + Set-AzureInternalLoadBalancer + + + + + + + Set + AzureInternalLoadBalancer + + + + + + + + + Set-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + + Set-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + SubnetName + + + + String + + + StaticVNetIPAddress + + + + IPAddress + + + + Set-AzureInternalLoadBalancer + + InternalLoadBalancerName + + + + String + + + ServiceName + + + + String + + + SubnetName + + + + String + + + + + + InternalLoadBalancerName + + + + String + + String + + + + + + ServiceName + + + + String + + String + + + + + + SubnetName + + + + String + + String + + + + + + StaticVNetIPAddress + + + + IPAddress + + IPAddress + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - New-AzureInternalLoadBalancerConfig + Set-AzureLoadBalancedEndpoint - - New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [<CommonParameters>] - - New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [-SubnetName] <string> [-StaticVNetIPAddress] <ipaddress> [<CommonParameters>] - - New-AzureInternalLoadBalancerConfig [-InternalLoadBalancerName] <string> [-SubnetName] <string> [<CommonParameters>] - + Updates all of the endpoints in a given load balancer set within a Windows Azure Service. - - + - New - AzureInternalLoadBalancerConfig - - + Set + AzureLoadBalancedEndpoint + - The New-InternalLoadbalancerConfig creates a local object that can be used later during creation of a new azure virtual machine deployment. + The Set-AzureLoadBalancedEndpoint cmdlet updates all of the endpoints in a given load balancer set within a Windows Azure Service. - New-AzureInternalLoadBalancerConfig + Set-AzureLoadBalancedEndpoint - InternalLoadBalancerName + ServiceName - - + Specifies the name of the Windows Azure service containing the endpoint that will be modified. string - - StaticVNetIPAddress + + LBSetName - - + Specifies the name of the load balancer set to update. - IPAddress + string - - - New-AzureInternalLoadBalancerConfig - + + ProbePath + + Specifies relative path to the HTTP Probe. + + string + + + ProbeProtocolHTTP + + Specifies that a HTTP Probe should be used. + + + + ProbeProtocolTCP + + Specifies that a TCP Probe should be used. + + + + ACL + + An ACL to apply to the endpoint on update. + + NetworkAclObject + + + DirectServerReturn + + Enable/Disable Direct Server Return. + + Boolean + + + IdleTimeoutInMinutes + + TCP Idle timeout in minutes + + int + + InternalLoadBalancerName - - + The Internal Load Balancer Name. string - - SubnetName + + LoadBalancerDistribution + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value string + + LocalPort + + Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. + + int + + + PipelineVariable + + Not Specified + + string + + + ProbeIntervalInSeconds + + Specifies the probe polling interval in seconds. + + int + + + ProbePort + + Specifies the port that the load balancer probe will use. If not specified, Windows Azure will assign the endpoints local port. + + int + + + ProbeTimeoutInSeconds + + Specifies the probe polling timeout in seconds. + + int + + + Protocol + + Specifies the protocol of the endpoint. Acceptable values are "TCP" or "UDP". + + string + + + PublicPort + + Specifies the public port that the endpoint will use. If not specified, Windows Azure will assign an available free port. + + int + - + + ACL + + An ACL to apply to the endpoint on update. + + + NetworkAclObject + + NetworkAclObject + + + + + + DirectServerReturn + + Enable/Disable Direct Server Return. + + + Boolean + + Boolean + + + + + + IdleTimeoutInMinutes + + TCP Idle timeout in minutes + + + int + + int + + + + + InternalLoadBalancerName - - + The Internal Load Balancer Name. + string string - + - - + - - SubnetName + + LBSetName - - + Specifies the name of the load balancer set to update. + string string - + - - + - - StaticVNetIPAddress + + LoadBalancerDistribution + Load Balancer distribution algorithm + + The value can be + sourceIP: 2 tuple affinity (Source IP, Destination IP) + sourceIPProtocol: 3 tuple affinity (Source IP, Destination IP, Protocol) + none: 5 tuple affinity (Source IP, Source Port, Destination IP, Destination Port, Protocol). This is the default value + - IPAddress + string - IPAddress - + string + - - + - - - - + + LocalPort + + Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint. + + + int - - - - + int + + + + + PipelineVariable - - - + Not Specified + - - - - + string - - Microsoft.WindowsAzure.Commands.ServiceManagement.Model.InternalLoadBalancerConfig - - - + string + + + + + ProbeIntervalInSeconds - - - + Specifies the probe polling interval in seconds. + - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $myilbconfig = New-AzureInternalLoadBalancerConfig -InternalLoadBalancerName "MyILB" -SubnetName "FrontEndSubnet" - - - Description - ----------- - Creates a local Internal load balancer object that can be referenced later in the New-AzureVM operation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove-AzureInternalLoadBalancer - - - - Remove-AzureInternalLoadBalancer [-ServiceName] <string> [<CommonParameters>] - - - - - - - Remove - AzureInternalLoadBalancer - - - - - The Remove-AzureInternalLoadbalancer cmdlet removes the internal load balancer configuration from a deployment, if there are endpoints still referring to the internal load balancer the remove operation will fail - - - - - Remove-AzureInternalLoadBalancer - - ServiceName - - - - - string - - - - - + int + + int + + + + + + ProbePath + + Specifies relative path to the HTTP Probe. + + + string + + string + + + + + + ProbePort + + Specifies the port that the load balancer probe will use. If not specified, Windows Azure will assign the endpoints local port. + + + int + + int + + + + + + ProbeProtocolHTTP + + Specifies that a HTTP Probe should be used. + + + SwitchParameter + + SwitchParameter + + + + + + ProbeProtocolTCP + + Specifies that a TCP Probe should be used. + + + SwitchParameter + + SwitchParameter + + + + + + ProbeTimeoutInSeconds + + Specifies the probe polling timeout in seconds. + + + int + + int + + + + + + Protocol + + Specifies the protocol of the endpoint. Acceptable values are "TCP" or "UDP". + + + string + + string + + + + + + PublicPort + + Specifies the public port that the endpoint will use. If not specified, Windows Azure will assign an available free port. + + + int + + int + + + + ServiceName - - + Specifies the name of the Windows Azure service containing the endpoint that will be modified. + string string - + - - + - - - + + + @@ -37729,15 +23729,14 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext - + + @@ -37747,19 +23746,19 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - + + - - + + -------------------------- EXAMPLE 1 -------------------------- @@ -37768,25 +23767,19 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" C:\PS> - Remove-AzureInternalLoadBalancer -ServiceName "ILBInVNet" Description ----------- - Removes the Internal load balancer configuration from the deployment. - - - - - - - - + This command will update all endpoints in the load balancer set "LBSet1" to use the TCP protocol and private port 80, and will set the load balancer probe to use the TCP protocol on port 8080. + + + + - - + @@ -37794,414 +23787,9174 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" - - - + + + + + - - - Remove-AzureVMDscExtension - - - Remove Azure VM DSC Extension from a VM. - - - - - Remove - AzureVMDscExtension - - + + + Set-AzureOSDisk + + Updates the host-cache mode of a Microsoft Azure virtual machine operating system disk. + + + + + Set + AzureOSDisk + + + + + The Set-AzureOSDisk cmdlet updates the host-cache mode of a virtual machine's operating system disk. The supported host cache modes are "ReadOnly" and "ReadWrite".Caution: Running Set-AzureOSDisk on a running virtual machine will cause the virtual machine to reboot. + + + + Set-AzureOSDisk + + HostCaching + + Specifies the host cache attribute for the operating system disk. Acceptable values are: "ReadOnly" and "ReadWrite". + + String + + + VM + + Specifies the virtual machine for which to update the operating system disk. + + IPersistentVM + + + + + + HostCaching + + Specifies the host cache attribute for the operating system disk. Acceptable values are: "ReadOnly" and "ReadWrite". + + String + + String + + + + + + VM + + Specifies the virtual machine for which to update the operating system disk. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName $mySvc1 -name "MyTestVM2" | Set-AzureOSDisk –HostCaching "ReadOnly" + + This command sets the host cache mode of the operating system disk of the VM named "MyTestVM2" to ReadOnly. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>$myVM2 = Get-AzureVM -ServiceName $mySvc1 -name "MyTestVM2" + C:\PS>Set-AzureOSDisk "ReadWrite" –VM $myVM2 + + This command updates the host-cache mode of the operating system disk attached to the VM named "MyTestVM2" to ReadWrite. + + + + + + + + + + + Get-AzureOSDisk + + + + Add-AzureVMImage + + + + Get-AzureVMImage + + + + Get-AzureVM + + + + Update-AzureVM + + + + + + + + Set-AzurePublicIP + + Set-AzurePublicIP [-PublicIPName] <string> [[-IdleTimeoutInMinutes] <int>] -VM <IPersistentVM> [<CommonParameters>] + + + + + Set + AzurePublicIP + + + + + Adds a new Public IP to the virtual machine. The public ip is really assigned when the virtual machine is updated. + + + + Set-AzurePublicIP + + PublicIPName + + + + String + + + IdleTimeoutInMinutes + + TCP Idle timeout in minutes + + Nullable`1[Int32] + + + VM + + + + IPersistentVM + + + + + + PublicIPName + + + + String + + String + + + + + + IdleTimeoutInMinutes + + TCP Idle timeout in minutes + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Set-AzurePublicIP -PublicIPName ftpip | Update-AzureVM + + Description + + + + -----------Requests for a public IP to be assigned to the virtual machine. The public ip allocation happens during update VM. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> New-AzureVMConfig -Name "FTPInstance" -InstanceSize Small -ImageName $images[50].ImageName | Add-AzureProvisioningConfig -Windows -AdminUsername xyz -Password abcd123! | Set-AzurePublicIP -PublicIPName "ftpip" | New-AzureVM -ServiceName "FTPinAzure" -Location "North Central US" + + Description + + + + -----------Requests for a public IP to be assigned during VM creation. + + + + + + + Unknown + + + + + + + + Set-AzureRole + + Sets the number of instances of a Microsoft Azure role to run. + + + + + Set + AzureRole + + + + + The Set-AzureRole cmdlet sets the number of instances of a specified role to run in a Microsoft Azure deployment. + + + + Set-AzureRole + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + + Slot + + Specifies the deployment environment of the deployment to be modified. Choices are "Production" or "Staging". + + String + + + RoleName + + Specifies the name of the role to set the number of instances for. + + String + + + Count + + Specifies the number of role instances to run. + + Int32 + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + String + + + + + + Slot + + Specifies the deployment environment of the deployment to be modified. Choices are "Production" or "Staging". + + String + + String + + + + + + RoleName + + Specifies the name of the role to set the number of instances for. + + String + + String + + + + + + Count + + Specifies the number of role instances to run. + + Int32 + + Int32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Set-AzureRole –ServiceName "MySvc1" –Slot "Production" –RoleName "MyTestRole3" –Count 3 + + This command sets the "MyTestRole3" role running in production on the "MySvc1" service to three instances. + + + + + + + + + + + + + + + Set-AzureService + + Sets or updates the label and description of the specified Microsoft Azure service. + + + + + Set + AzureService + + + + + The Set-AzureService cmdlet assigns a label and description to a service in the current subscription. + + + + Set-AzureService + + ServiceName + + Specifies the name of the Microsoft Azure service to be updated. + + String + + + Label + + Sets a label for the Microsoft Azure service. The label may be up to 100 characters in length. + + String + + + Description + + Sets a description for the Microsoft Azure service. The description may be up to 1024 characters in length. + + String + + + ReverseDnsFqdn + + + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service to be updated. + + String + + String + + + + + + Label + + Sets a label for the Microsoft Azure service. The label may be up to 100 characters in length. + + String + + String + + + + + + Description + + Sets a description for the Microsoft Azure service. The description may be up to 1024 characters in length. + + String + + String + + + + + + ReverseDnsFqdn + + + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Set-AzureService -ServiceName "MySvc1" -Label "MyTestSvc1" -Description "My service for testing out new configurations" + + This command sets the label to "MyTestSvc1" and the description to "My service for testing out new configurations" for the "MyTestSvc1" service. + + + + + + + + + + + Get-AzureService + + + + New-AzureService + + + + Remove-AzureService + + + + + + + + Set-AzureServiceADDomainExtension + + Set AD Domain Extension for Cloud Service + + + + + Set + AzureServiceADDomainExtension + + + + + Set AD Domain Extension for Cloud Service + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + Options + + The unsigned integer join option. + + JoinOptions + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + JoinOption + + The join option enumeration. + + UInt32 + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + WorkgroupName + + The workgroup name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + WorkgroupName + + The workgroup name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + JoinOption + + The join option enumeration. + + UInt32 + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + Set-AzureServiceADDomainExtension + + ServiceName + + The cloud service name. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + DomainName + + The AD domain name. + + String + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + + Options + + The unsigned integer join option. + + JoinOptions + + + OUPath + + The OU path for AD domain join operation. + + String + + + Version + + + + String + + + + + + ServiceName + + The cloud service name. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the AD domain configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + DomainName + + The AD domain name. + + String + + String + + + + + + Restart + + Whether to restart the computer if the join operation succeeded. + + SwitchParameter + + SwitchParameter + + + + + + Credential + + The credentials (user name/password) to join the AD domain. + + PSCredential + + PSCredential + + + + + + UnjoinDomainCredential + + The credentials (user name/password) to unjoin the AD domain. + + PSCredential + + PSCredential + + + + + + Options + + The unsigned integer join option. + + JoinOptions + + JoinOptions + + + + + + OUPath + + The OU path for AD domain join operation. + + String + + String + + + + + + Version + + + + String + + String + + + + + + JoinOption + + The join option enumeration. + + UInt32 + + UInt32 + + + + + + WorkgroupName + + The workgroup name. + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Set-AzureServiceAntimalwareExtension + + Configures the Microsoft Antimalware extension for cloud services. + + + + + Set + AzureServiceAntimalwareExtension + + + + + The Set-AzureServiceAntimalwareExtension cmdlet configures the Microsoft Antimalware extension for a cloud service. You can specify values that override and supplement values in the XML configuration, such as storage account context. + + + + Set-AzureServiceAntimalwareExtension + + ServiceName + + Specifies the name of the cloud service. + + String + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + + Role + + Specifies an array of roles. The default value is all roles. + + String[] + + + AntimalwareConfiguration + + Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + +<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> + + XmlDocument + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + + + Set-AzureServiceAntimalwareExtension + + ServiceName + + Specifies the name of the cloud service. + + String + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + + Role + + Specifies an array of roles. The default value is all roles. + + String[] + + + AntimalwareConfiguration + + Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + +<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> + + XmlDocument + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + + + + + ServiceName + + Specifies the name of the cloud service. + + String + + String + + + none + + + Slot + + Specifies a deployment slot. Valid values are: + +-- Production +-- Staging + +The default value is Production. + + String + + String + + + none + + + Role + + Specifies an array of roles. The default value is all roles. + + String[] + + String[] + + + none + + + AntimalwareConfiguration + + Specifies an XmlDocument object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + +<AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig> + + XmlDocument + + XmlDocument + + + none + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + String + + + none + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + AzureStorageContext + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Enable the extension -------------------------- + + + + PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument +PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') +PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -AntimalwareConfiguration $XmlConfig +Operation succeeded + + The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. + + + + The third command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. Because the command does not specify the Slot parameter, the cmdlet uses the default value, Production. + + + + + -------------------------- Example 2: Enable the extension for the Staging slot -------------------------- + + + + PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument +PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') +PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -Slot "Staging" -AntimalwareConfiguration $XmlConfig +Operation succeeded + + The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. + + + + The third command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. This command specifies a value of Staging for the Slot parameter. + + + + + -------------------------- Example 3: Enable the extension with monitoring -------------------------- + + + + PS C:\>[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument +PS C:\> $XmlConfig.load('C:\configuration\contosoVM.xml') +PS C:\> $StorageContext = New-AzureStorageContext -StorageAccountName "contosostoragemain" -StorageAccountKey (Get-AzureStorageKey -StorageAccountName "Contosostoragemain").Primary +PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -AntimalwareConfiguration $XmlConfig -Monitoring ON -StorageContext $StorageContext + + The first two commands create an XmlDocument object that contains a configuration for the Microsoft Antimalware extension, and then stores it in the $XmlConfig variable. + + + + The third command creates an AzureStorageContext object by using the New-AzureStorageContext cmdlet, and then stores it in the $StorageContext variable.The final command enables the Microsoft Antimalware extension for the service named ContosoService03, by using the configuration stored in $XmlConfig. This command also specifies a value of ON for the Monitoring parameter and specifies the Azure storage context stored in $StorageContext. The values specified by these parameters override any corresponding values for these parameters that were specified within the XML configuration. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402843 + + + New-AzureStorageContext + + + + Get-AzureServiceAntimalwareConfig + + + + Remove-AzureServiceAntimalwareExtension + + + + + + + + Set-AzureServiceDiagnosticsExtension + + This cmdlet enables diagnostics extension on specified role(s) or all roles on a deployed service or at deployment. + + + + + Set + AzureServiceDiagnosticsExtension + + + + + This cmdlet enables diagnostics extension on specified role(s) or all roles on a deployed service or at deployment. + + + + Set-AzureServiceDiagnosticsExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + StorageContext + + + + AzureStorageContext + + + DiagnosticsConfigurationPath + + + + String + + + + Set-AzureServiceDiagnosticsExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + StorageContext + + + + AzureStorageContext + + + DiagnosticsConfigurationPath + + + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the diagnostics configuration for. If not specified the diagnostics configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + StorageContext + + + + AzureStorageContext + + AzureStorageContext + + + + + + DiagnosticsConfigurationPath + + + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + DiagnosticsConfiguration + + Configuration for Microsoft Azure diagnostics. The schema is: +<?xml version="1.0" encoding="utf-8"?> +<xs:schema id="DiagnosticsConfigSchema" + targetNamespace="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + elementFormDefault="qualified" + xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + xmlns:wad="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" + xmlns:mstns="http://tempuri.org/XMLSchema.xsd" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:simpleType name="PositiveDuration"> + <xs:restriction base="xs:duration"> + <xs:minInclusive value="PT0S" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="LogLevel"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Undefined" /> + <xs:enumeration value="Verbose" /> + <xs:enumeration value="Information" /> + <xs:enumeration value="Warning" /> + <xs:enumeration value="Error" /> + <xs:enumeration value="Critical" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="ContainerName"> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z0-9][a-z0-9\-]{1,61}[a-z0-9]" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="locale"> + <xs:restriction base="xs:string"> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="displayName"> + <xs:restriction base="xs:string"> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="AbsolutePathWithEnvironmentExpansion"> + <xs:restriction base="xs:string"> + <xs:pattern value="([a-zA-Z]:\)?([^&lt;&gt;:&quot;/|?*]+)*(\)?" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="RelativePathWithEnvironmentExpansion"> + <xs:restriction base="xs:string"> + <xs:pattern value="([^&lt;&gt;:&quot;/\|?*]+)(\([^&lt;&gt;:&quot;/\|?*]+))*(\)?" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="PerformanceCounterPath"> + <xs:restriction base="xs:string"> + <xs:pattern value="\.*" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="EventNameType"> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-zA-Z][_a-zA-Z0-9]{0,59}" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="CrashDumpType" > + <xs:restriction base="xs:string"> + <xs:enumeration value="Mini"/> + <xs:enumeration value="Full"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="NamedElementNameString"> + <xs:restriction base="xs:string"> + <xs:pattern value="^[a-zA-Z_][^\\/\:\*\?\&quot;\&lt;\&gt;\|]*(?&lt;![\.\s])$" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="format"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Manifest" /> + <xs:enumeration value="EventSource" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="directoryQuotaPercentage"> + <xs:restriction base="xs:integer"> + <xs:minInclusive value="0"/> + <xs:maxInclusive value="100"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="guidType"> + <xs:annotation> + <xs:documentation> + A GUID. Brackets (and only brakets) before and/or after are ignored. e.g. {12345678-1234-1234-1234-123456789abc}, {12345678-1234-1234-1234-123456789abc, 12345678-1234-1234-1234-123456789abc} and 12345678-1234-1234-1234-123456789abc are valid. + </xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:pattern value="^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$"/> + </xs:restriction> + </xs:simpleType> + + <xs:attributeGroup name="BasicConfiguration"> + <xs:attribute name="scheduledTransferPeriod" type="PositiveDuration" use="optional" default="PT0S"> + <xs:annotation> + <xs:documentation> + The interval between scheduled transfers for this data, rounded up to the nearest minute. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="ETWConfiguration"> + <xs:attribute name="scheduledTransferPeriod" type="PositiveDuration" use="optional" default="PT0S"> + <xs:annotation> + <xs:documentation> + The interval between scheduled transfers for this data, rounded up to the nearest minute. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="scheduledTransferLogLevelFilter" type="LogLevel" use="optional" default="Undefined"> + <xs:annotation> + <xs:documentation> + The minimum log severity to transfer. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="provider" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + The provider guid or class name for event source + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="scheduledTransferKeywordFilter" type="xs:unsignedLong" use="optional" default="0" > + <xs:annotation> + <xs:documentation> + The keyword to filter by + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="LogLevel"> + <xs:attribute name="scheduledTransferLogLevelFilter" type="LogLevel" use="optional" default="Undefined"> + <xs:annotation> + <xs:documentation> + The minimum log severity to transfer. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="DirectoryAttributes"> + <xs:attribute name="containerName" type="wad:ContainerName" use="required"> + <xs:annotation> + <xs:documentation> + The name of the container where the content of the directory is to be transferred. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:attributeGroup name="CrashDumpConfiguration"> + <xs:attribute name="directoryQuotaPercentage" type="directoryQuotaPercentage" use="optional" default="10"> + <xs:annotation> + <xs:documentation> + The percentage of directory quota used by crashdumps + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="dumpType" type="CrashDumpType" use="optional" default="Mini"> + <xs:annotation> + <xs:documentation> + The type of crashdump + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="containerName" type="wad:ContainerName" use="optional" default="wad-crashdumps"> + <xs:annotation> + <xs:documentation> + The blob container to store the crashdumps + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:attributeGroup> + + <xs:complexType name="LogsBase"> + <xs:attributeGroup ref="BasicConfiguration" /> + </xs:complexType> + + <xs:complexType name="EtwEventsBase"> + <xs:attributeGroup ref="ETWConfiguration" /> + </xs:complexType> + + <xs:complexType name ="CrashDumpsBase"> + <xs:attributeGroup ref="CrashDumpConfiguration"/> + </xs:complexType> + + <xs:complexType name="EtwManifestProviderConfiguration"> + <xs:complexContent> + <xs:extension base="EtwEventsBase"> + <xs:sequence> + <xs:element maxOccurs="unbounded" name="Event" minOccurs="0"> + <xs:complexType> + <xs:attribute name="id" type="xs:int" use="required"> + <xs:annotation> + <xs:documentation> + The id of the ETW event that is to be collected + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="DefaultEvents" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="EtwEventSourceProviderConfiguration"> + <xs:complexContent> + <xs:extension base="EtwEventsBase"> + <xs:sequence> + <xs:element maxOccurs="unbounded" name="Event" minOccurs="0"> + <xs:complexType> + <xs:attribute name="id" type="xs:int" use="required"> + <xs:annotation> + <xs:documentation> + The id of the ETW event that is to be collected + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Event'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="DefaultEvents" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:attribute name="eventDestination" type="EventNameType" use="optional"> + <xs:annotation> + <xs:documentation> + The name of the table in which the event data will be stored. If this attribute is not defined the table's name is 'Default'+'MD5 of the provider'+EventId#. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="EtwProviders"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="EtwEventSourceProviderConfiguration" type="EtwEventSourceProviderConfiguration" minOccurs="0" > + <xs:annotation> + <xs:documentation> + ETW collection by event source + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="EtwManifestProviderConfiguration" type="EtwManifestProviderConfiguration" minOccurs="0"> + <xs:annotation> + <xs:documentation> + ETW collection by manifest + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="CrashDumpConfiguration"> + <xs:attribute name="processName" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + The name of the process to to monitor for crashes. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="CrashDumps"> + <xs:complexContent> + <xs:extension base="CrashDumpsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="CrashDumpConfiguration" type="CrashDumpConfiguration"> + <xs:annotation> + <xs:documentation> + The crashdump to collect + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DiagnosticInfrastructureLogs"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:attributeGroup ref="LogLevel" /> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + + <xs:complexType name="DirectoryBase" /> + + <xs:complexType name="DirectoryAbsolute"> + <xs:complexContent> + <xs:extension base="DirectoryBase"> + <xs:attribute name="path" type="AbsolutePathWithEnvironmentExpansion" use="required"> + <xs:annotation> + <xs:documentation> + The absolute path to the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="expandEnvironment" type="xs:boolean" use="required"> + <xs:annotation> + <xs:documentation> + If true, then environment variables in the path will be expanded. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DirectoryLocalResource"> + <xs:complexContent> + <xs:extension base="DirectoryBase"> + <xs:attribute name="relativePath" type="RelativePathWithEnvironmentExpansion" use="required"> + <xs:annotation> + <xs:documentation> + The path relative to the local resource to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="name" type="NamedElementNameString" use="required"> + <xs:annotation> + <xs:documentation> + The local resource that contains the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DirectoryConfiguration"> + <xs:choice> + <xs:element name="Absolute" type="DirectoryAbsolute"> + <xs:annotation> + <xs:documentation> + The absolute path to the directory to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="LocalResource" type="DirectoryLocalResource"> + <xs:annotation> + <xs:documentation> + The path relative to a local resource to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:attributeGroup ref="DirectoryAttributes" /> + </xs:complexType> + + <xs:complexType name="SpecialLogDirectory"> + <xs:attributeGroup ref="DirectoryAttributes" /> + </xs:complexType> + + <xs:complexType name="DataSources"> + <xs:sequence> + <xs:element name="DirectoryConfiguration" type="DirectoryConfiguration" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation> + The directory of log files to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="Directories"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:all> + <xs:element name="IISLogs" type="SpecialLogDirectory" minOccurs="0"> + <xs:annotation> + <xs:documentation> + The IIS log directory. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FailedRequestLogs" type="SpecialLogDirectory" minOccurs="0"> + <xs:annotation> + <xs:documentation> + The failed request log directory. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DataSources" type="DataSources" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Additional log directories. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:all> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="annotation"> + <xs:attribute name="displayName" type="displayName" use="required"> + <xs:annotation> + <xs:documentation> + The display name for the performance counter. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="locale" type="locale" use="optional" default="en-US"> + <xs:annotation> + <xs:documentation> + The locale for the performance counter diplay name. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="PerformanceCounterConfiguration"> + <xs:sequence minOccurs="0"> + <xs:element maxOccurs="unbounded" name="annotation" type="annotation"> + <xs:annotation> + <xs:documentation> + The display name and locale for the performance counter + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + <xs:attribute name="counterSpecifier" type="PerformanceCounterPath" use="required"> + <xs:annotation> + <xs:documentation> + The path to the performance counter to collect. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="sampleRate" type="PositiveDuration" use="required"> + <xs:annotation> + <xs:documentation> + The rate at which the performance counter should be sampled. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="unit" type="xs:string" use="optional"> + <xs:annotation> + <xs:documentation> + The unit for the performance counter for display purposes. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="PerformanceCounters"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="PerformanceCounterConfiguration" type="PerformanceCounterConfiguration"> + <xs:annotation> + <xs:documentation> + The performance counter to collect. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + + + <xs:complexType name="DataSource"> + <xs:attribute name="name" type="xs:string" use="required"> + <xs:annotation> + <xs:documentation> + An XPath expression specifying the logs to collect. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:complexType name="WindowsEventLog"> + <xs:complexContent> + <xs:extension base="LogsBase"> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="DataSource" type="DataSource"> + <xs:annotation> + <xs:documentation> + The event log to monitor. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="DiagnosticMonitorConfiguration"> + <xs:all> + <xs:element name="DiagnosticInfrastructureLogs" type="DiagnosticInfrastructureLogs" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Directories" type="Directories" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Describes the configuration of a directory to which file-based logs are written. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PerformanceCounters" type="PerformanceCounters" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures performance counter collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="WindowsEventLog" type="WindowsEventLog" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures Windows event log collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="EtwProviders" type="EtwProviders" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures ETW event collection. + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CrashDumps" type="CrashDumps" minOccurs="0"> + <xs:annotation> + <xs:documentation> + Configures crashdump collection. + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:all> + + <xs:attribute name="overallQuotaInMB" type="xs:unsignedInt" use="optional" default="5120"> + <xs:annotation> + <xs:documentation> + The total amount of file system storage allocated for all logging buffers. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="useProxyServer" type="xs:boolean" use="optional" default="true"> + <xs:annotation> + <xs:documentation> + Force the Monitoring Agent to use the specified IE proxy server if specified. + </xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + + <xs:element name="PublicConfig"> + <xs:complexType> + <xs:all> + <xs:element name="WadCfg"> + <xs:complexType> + <xs:sequence> + <xs:element name="DiagnosticMonitorConfiguration" type="DiagnosticMonitorConfiguration" minOccurs="1" maxOccurs="1" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="LocalResourceDirectory" minOccurs="0" maxOccurs="1" type="DirectoryAbsolute" /> + <xs:element name="StorageAccount" minOccurs="0" maxOccurs="1" type="xs:string" /> + </xs:all> + </xs:complexType> + </xs:element> +</xs:schema> + + xmldocument + + xmldocument + + + + + + StorageAccountName + + The name of the storage account diagnostics will use to store diagnostics data such as performance counter data and file logs. + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureServiceDiagnosticExtension -ServiceName $svc -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML + + Description + + + + -----------Setting default diagnostic configuration for all roles. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureServiceDiagnosticExtension -ServiceName $svc -StorageAccountName $name -DiagnosticConfiguration $wadConfigXML -Role "WebRole1" + + Description + + + + -----------Setting diagnostic configuration for WebRole1. + + + + + + + Unknown + + + + + + + + Set-AzureServiceExtension + + This cmdlet adds a cloud service extension to a deployment. + + + + + Set + AzureServiceExtension + + + + + This cmdlet adds a cloud service extension to a deployment. + + + + Set-AzureServiceExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + ExtensionName + + + + String + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Version + + The Extension Version. + + String + + + + Set-AzureServiceExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + ExtensionName + + + + String + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Version + + The Extension Version. + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + ExtensionName + + + + String + + String + + + + + + ProviderNamespace + + The Extension's Provider Namespace. + + String + + String + + + + + + PublicConfiguration + + The public configuration text. + + String + + String + + + + + + PrivateConfiguration + + The private configuration text. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureServiceExtension -Service $svc -Slot Production -ExtensionName 'RDP' -Version '1.0' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; + + Description + + + + -----------Set the Remote Desktop Extension in version 1.0 for all roles in the cloud service. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureServiceExtension -Service $svc -Slot Production -Role WebRole1 -ExtensionName 'RDP' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2; + + Description + + + + -----------Set the Remote Desktop Extension for the 'WebRole1' role in the cloud service. + + + + + + + Unknown + + + + + + + + Set-AzureServiceRemoteDesktopExtension + + This cmdlet enables remote desktop extension on specified role(s) or all roles on a deployed service or at deployment. + + + + + Set + AzureServiceRemoteDesktopExtension + + + + + This cmdlet enables remote desktop extension on specified role(s) or all roles on a deployed service or at deployment. + + + + Set-AzureServiceRemoteDesktopExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + + Version + + + + String + + + + Set-AzureServiceRemoteDesktopExtension + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + + Version + + + + String + + + + + + ServiceName + + Specifies the Microsoft Azure service name of the deployment. + + String + + String + + + + + + Slot + + Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging". + + String + + String + + + + + + Role + + An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles. + + String[] + + String[] + + + + + + X509Certificate + + An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration. + + X509Certificate2 + + X509Certificate2 + + + + + + ThumbprintAlgorithm + + Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1. + + String + + String + + + + + + Credential + + The credentials (user name/password) to enable for remote desktop. + + PSCredential + + PSCredential + + + + + + Expiration + + A date time object that allows the user to specify when the user account will expire. + + DateTime + + DateTime + + + + + + Version + + + + String + + String + + + + + + CertificateThumbprint + + A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureServiceRemoteDesktopExtension -ServiceName $svc -Credentials $creds + + Description + + + + -----------Setting default remote desktop configuration for all roles. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureServiceRemoteDesktopExtension -ServiceName $svc -Credentials $creds -Role "WebRole1" + + Description + + + + -----------Setting remote desktop configuration for WebRole1. + + + + + + + Unknown + + + + + + + + Set-AzureStaticVNetIP + + Set the static VNet IP address information to a VM object. + + + + + Set + AzureStaticVNetIP + + + + + Set the static VNet IP address information to a VM object. + + + + Set-AzureStaticVNetIP + + IPAddress + + Static VNet IP Address + + String + + + VM + + Persistent VM object. + + IPersistentVM + + + + + + IPAddress + + Static VNet IP Address + + String + + String + + + + + + VM + + Persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> # Prerequisite: VNet has been set up with SubNet + # Set-AzureVNetConfig -ConfigurationPath $vnetConfigPath; + + $vm = New-AzureVMConfig -Name $vmname -ImageName $img -InstanceSize $sz | Add-AzureProvisioningConfig -Windows -Password $pwd -AdminUsername $usr; + $vm = Set-AzureSubNet -VM $vm -SubNetNames $sn; + Set-AzureStaticVNETIP -IPAddress $ip -VM $vm; + New-AzureVM -ServiceName $svc -VMs $vm -VNETName $vnetName -Location $loc; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Set-AzureStorageAccount + + Updates the properties of a storage account in a Microsoft Azure subscription. + + + + + Set + AzureStorageAccount + + + + + The Set-AzureStorageAccount cmdlet updates the properties of a Microsoft Azure storage account in the current subscription. Properties that can be set are: "Label", "Description", "Type" and "GeoReplicationEnabled". + + + + Set-AzureStorageAccount + + StorageAccountName + + Specifies the name of the storage account to be updated. + + String + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + + GeoReplicationEnabled + + Specifies whether the storage account is created with the geo-replication enabled. + + Nullable`1[Boolean] + + + + Set-AzureStorageAccount + + StorageAccountName + + Specifies the name of the storage account to be updated. + + String + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + + Type + + Specifies the type of the storage account. Valid values are + + Standard_LRS + Standard_ZRS + Standard_GRS + Standard_RAGRS + + If this parameter is not specified, a default value of Standard_GRS is used + + Note: + The GeoReplicationEnabled parameter functionality is the same as specifying Standard_GRS in Type parameter + Standard_ZRS accounts cannot be changed to other account types, and vice versa. + + String + + + + + + StorageAccountName + + Specifies the name of the storage account to be updated. + + String + + String + + + + + + Label + + Specifies a label for the storage account. The label may be up to 100 characters in length. + + String + + String + + + + + + Description + + Specifies a description for the storage account. The description may be up to 1024 characters in length. + + String + + String + + + + + + GeoReplicationEnabled + + Specifies whether the storage account is created with the geo-replication enabled. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + + + + Type + + Specifies the type of the storage account. Valid values are + + Standard_LRS + Standard_ZRS + Standard_GRS + Standard_RAGRS + + If this parameter is not specified, a default value of Standard_GRS is used + + Note: + The GeoReplicationEnabled parameter functionality is the same as specifying Standard_GRS in Type parameter + Standard_ZRS accounts cannot be changed to other account types, and vice versa. + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + New-AzureStorageAccount, Get-AzureStorageAccount, Remove-AzureStorageAccount + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureStorageAccount -StorageAccountName qatest1 -Label "QATestAccnt" -Description "QA test storage account" + + Description + + + + -----------This command updates the label and description of the 'qatest1' storage account in the specified subscription. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureStorageAccount -StorageAccountName qatest1 -GeoReplicationEnabled $false + + Description + + + + -----------This command disables the geo-replication of the 'qatest1' storage account in the specified subscription. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Set-AzureStorageAccount -StorageAccountName qatest1 -GeoReplicationEnabled $true + + Description + + + + -----------This command enables the geo-replication of the 'qatest1' storage account in the specified subscription. + + + + + + + Unknown + + + + + + + + Set-AzureSubnet + + Defines the subnet list for a Microsoft Azure virtual machine. + + + + + Set + AzureSubnet + + + + + The Set-AzureSubnet cmdlet sets the subnet list for a virtual machine configuration. Use with New-AzureVM to set the subnets for a virtual machine. + + + + Set-AzureSubnet + + SubnetNames + + Specifies the list of subnet names. + + String[] + + + VM + + Specifies the virtual machine object. + + IPersistentVM + + + + + + SubnetNames + + Specifies the list of subnet names. + + String[] + + String[] + + + + + + VM + + Specifies the virtual machine object. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureVMConfig –Name "MyVM" –ImageName $image –InstanceSize "Small" ` + | Add-AzureProvisioningConfig –Windows –Password $passwd ` + | Set-AzureSubnet "PubSubnet","PrivSubnet" ` + | New-AzureVM –ServiceName "MySvc" + + This example adds a subnet to the virtual machine configuration and then creates the virtual machine "MyVM". + + + + + + + + + + + Get-AzureVM + + + + Update-AzureVM + + + + + + + + Set-AzureVMAccessExtension + + This cmdlet sets the VMAccess extension for the VM. + + + + + Set + AzureVMAccessExtension + + + + + This cmdlet sets the VMAccess extension for the VM. + + + + Set-AzureVMAccessExtension + + UserName + + The user name for resetting the VM's credential. + + String + + + Password + + The password for resetting the VM's credential. + + String + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMAccessExtension + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMAccessExtension + + Uninstall + + Not Specified + + SwitchParameter + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + + + UserName + + The user name for resetting the VM's credential. + + String + + String + + + + + + Password + + The password for resetting the VM's credential. + + String + + String + + + + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + SwitchParameter + + + + + + Uninstall + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + + + Unknown + + + + + + + + Set-AzureVMBGInfoExtension + + This cmdlet sets the BGInfo extension for the VM. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + + + + Set + AzureVMBGInfoExtension + + + + + This cmdlet sets the BGInfo extension for the VM. + + + + Set-AzureVMBGInfoExtension + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMBGInfoExtension + + Uninstall + + Not Specified + + SwitchParameter + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + SwitchParameter + + + + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + Uninstall + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + + + Unknown + + + + + + + + Set-AzureVMCustomScriptExtension + + Set Azure VM Custom Script Extension Information. + + + + + Set + AzureVMCustomScriptExtension + + + + + Set Azure VM Custom Script Extension Information. + + + + Set-AzureVMCustomScriptExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + ContainerName + + The container name within the storage account. + + String + + + FileName + + The names of the blob files in the specified container. + + String[] + + + StorageAccountName + + The storage account name in the current subscription. + + String + + + StorageEndpointSuffix + + The storage service endpoint. + + String + + + StorageAccountKey + + The storage account key + + String + + + Run + + The command to run by the extension on the VM, currently only "powershell.exe" is supported. + + String + + + Argument + + Argument for the command to run on the VM. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMCustomScriptExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMCustomScriptExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + Uninstall + + Not Specified + + SwitchParameter + + + VM + + The persistent VM object. + + IPersistentVM + + + + Set-AzureVMCustomScriptExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + Version + + The Extension Version. + + String + + + FileUri + + The URLs of the blob files. + + String[] + + + Run + + The command to run by the extension on the VM, currently only "powershell.exe" is supported. + + String + + + Argument + + Argument for the command to run on the VM. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + ContainerName + + The container name within the storage account. + + String + + String + + + + + + FileName + + The names of the blob files in the specified container. + + String[] + + String[] + + + + + + StorageAccountName + + The storage account name in the current subscription. + + String + + String + + + + + + StorageEndpointSuffix + + The storage service endpoint. + + String + + String + + + + + + StorageAccountKey + + The storage account key + + String + + String + + + + + + Run + + The command to run by the extension on the VM, currently only "powershell.exe" is supported. + + String + + String + + + + + + Argument + + Argument for the command to run on the VM. + + String + + String + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + SwitchParameter + + + + + + Uninstall + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + FileUri + + The URLs of the blob files. + + String[] + + String[] + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $x = Set-AzureVMCustomScriptExtension -VM $x -ContainerName 'test' -FileName 'script1.ps1','script2.ps1' -Run 'script1.ps1' -Argument 'arg1 arg2'; + + New-AzureVM -Location 'West US' -ServiceName $svc -VM $x; + + Description + + + + ----------- + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Set-AzureVMCustomScriptExtension -VM $vm -FileUri 'http://foo1.blob.core.windows.net/bar/script1.ps1','http://foo2.blob.core.windows.net/baz/script2.ps1' -Run 'script1.ps1' -Argument 'arg1 arg2'; + + Update-AzureVM -ServiceName $svc -Name $name -VM vm; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Set-AzureVMDiagnosticsExtension + + + + + + + Set + AzureVMDiagnosticsExtension + + + + + + + + + Set-AzureVMDiagnosticsExtension + + DiagnosticsConfigurationPath + + + + String + + + StorageContext + + + + AzureStorageContext + + + Version + + + + String + + + Disable + + + + SwitchParameter + + + VM + + + + IPersistentVM + + + + Set-AzureVMDiagnosticsExtension + + DiagnosticsConfigurationPath + + + + String + + + StorageContext + + + + AzureStorageContext + + + Version + + + + String + + + Disable + + + + SwitchParameter + + + ReferenceName + + + + String + + + VM + + + + IPersistentVM + + + + + + DiagnosticsConfigurationPath + + + + String + + String + + + + + + StorageContext + + + + AzureStorageContext + + AzureStorageContext + + + + + + Version + + + + String + + String + + + + + + Disable + + + + SwitchParameter + + SwitchParameter + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + ReferenceName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureVMDscExtension + + Configure the Windows PowerShell Desired State Configuration extension on a VM. + + + + + Set + AzureVMDscExtension + + + + + Configure the Windows PowerShell Desired State Configuration extension on a VM. + + + + Set-AzureVMDscExtension + + ReferenceName + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + ConfigurationArgument + + A hashtable specifying the arguments to the configuration function. The keys correspond to the parameter names and the values to the parameter values. +Supported types for values include: primitive types, string, array and PSCredential. + + Hashtable + + + ConfigurationDataPath + + The path to a .psd1 file that specifies the data for the configuration function. This file must contain a hashtable as described in http://technet.microsoft.com/en-us/library/dn249925.aspx. + + String + + + ConfigurationArchive + + The name of the configuration package (.zip file) that was previously uploaded by Publish-AzureVMDscConfiguration. This parameter must specify only the name of the file, without any path. + + String + + + ConfigurationName + + Name of the configuration script or module that will be invoked by the DSC Extension. + +The value of this parameter must be the name of one of the configurations functions contained in the scripts or modules packaged in the ConfigurationArchive. + +If omitted, this parameter will default to the name of the file given by the ConfigurationArchive parameter, excluding any extension, for example if ConfigurationArchive is "SalesWebSite.ps1.zip", the default value for ConfigurationName will be "SalesWebSite". + + String + + + ContainerName + + Name of the Azure Storage Container where the ConfigurationArchive is located. + + String + + + Force + + By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. + + SwitchParameter + + + StorageContext + + The Azure Storage Context that provides the security settings used to access the configuration script. This context should provide read access to the container specified by ContainerName. + + AzureStorageContext + + + Version + + The specific version of the DSC Extension to use. If not given, it will default to "1.*" + + String + + + StorageEndpointSuffix + + The DNS endpoint suffix for all storage services, e.g. "core.windows.net". + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before executing the command. + + SwitchParameter + + + + + + ReferenceName + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + ConfigurationArgument + + A hashtable specifying the arguments to the configuration function. The keys correspond to the parameter names and the values to the parameter values. +Supported types for values include: primitive types, string, array and PSCredential. + + Hashtable + + Hashtable + + + + + + ConfigurationDataPath + + The path to a .psd1 file that specifies the data for the configuration function. This file must contain a hashtable as described in http://technet.microsoft.com/en-us/library/dn249925.aspx. + + String + + String + + + + + + ConfigurationArchive + + The name of the configuration package (.zip file) that was previously uploaded by Publish-AzureVMDscConfiguration. This parameter must specify only the name of the file, without any path. + + String + + String + + + + + + ConfigurationName + + Name of the configuration script or module that will be invoked by the DSC Extension. + +The value of this parameter must be the name of one of the configurations functions contained in the scripts or modules packaged in the ConfigurationArchive. + +If omitted, this parameter will default to the name of the file given by the ConfigurationArchive parameter, excluding any extension, for example if ConfigurationArchive is "SalesWebSite.ps1.zip", the default value for ConfigurationName will be "SalesWebSite". + + String + + String + + + + + + ContainerName + + Name of the Azure Storage Container where the ConfigurationArchive is located. + + String + + String + + + WindowsPowerShellDSC + + + Force + + By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. + + SwitchParameter + + SwitchParameter + + + + + + StorageContext + + The Azure Storage Context that provides the security settings used to access the configuration script. This context should provide read access to the container specified by ContainerName. + + AzureStorageContext + + AzureStorageContext + + + + + + Version + + The specific version of the DSC Extension to use. If not given, it will default to "1.*" + + String + + String + + + 1.* + + + StorageEndpointSuffix + + The DNS endpoint suffix for all storage services, e.g. "core.windows.net". + + String + + String + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + WhatIf + + Describes what would happen if you executed the command without actually executing the command. + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + Prompts you for confirmation before executing the command. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureVMDscExtension -VM $vm -ConfigurationArchive MyConfiguration.ps1.zip -ConfigurationName MyConfiguration -ConfigurationArgument @{ Path = 'C:\MyDirectory' } + +DeploymentName : my-vm-svc +Name : my-vm +Label : +VM : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVM +InstanceStatus : ReadyRole +IpAddress : 10.10.10.10 +InstanceStateDetails : +PowerState : Started +InstanceErrorCode : +InstanceFaultDomain : 0 +InstanceName : my-vm +InstanceUpgradeDomain : 0 +InstanceSize : Small +AvailabilitySetName : +DNSName : http://my-vm-svc.cloudapp.net/ +Status : ReadyRole +GuestAgentStatus : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.GuestAgentStatus +ResourceExtensionStatusList : {Microsoft.Compute.BGInfo} +PublicIPAddress : +PublicIPName : +ServiceName : my-vm-svc +OperationDescription : Get-AzureVM +OperationId : a0217a7af900c1f8a212299a3333cdbd6 +OperationStatus : OK + + Description + + + + -----------This command configures the DSC extension on a VM. + +The "MyConfiguration.ps1.zip" package must have been previously uploaded to Azure storage using the Publish-AzureVMDscConfiguration command and includes the "MyConfiguration.ps1" script and the modules it depends on. + +The "MyConfiguration" argument indicates the specific DSC configuration within the script to execute. The -ConfigurationArgument parameter specifies a hashtable with the arguments that will be passed to the configuration function. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> $vm | Set-AzureVMDscExtension -ConfigurationArchive MyConfiguration.ps1.zip -ConfigurationName MyConfiguration -ConfigurationArgument @{ Credential = Get-Credential } -ConfigurationDataPath MyConfigurationData.psd1 + + +DeploymentName : my-vm-svc +Name : my-vm +Label : +VM : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVM +InstanceStatus : ReadyRole +IpAddress : 10.10.10.10 +InstanceStateDetails : +PowerState : Started +InstanceErrorCode : +InstanceFaultDomain : 0 +InstanceName : my-vm +InstanceUpgradeDomain : 0 +InstanceSize : Small +AvailabilitySetName : +DNSName : http://my-vm-svc.cloudapp.net/ +Status : ReadyRole +GuestAgentStatus : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.GuestAgentStatus +ResourceExtensionStatusList : {Microsoft.Compute.BGInfo, Microsoft.Powershell.DSC} +PublicIPAddress : +PublicIPName : +ServiceName : my-vm-svc +OperationDescription : Get-AzureVM +OperationId : a0217a7af900c1f8a212299a3333cdbd7 +OperationStatus : OK + + Description + + + + -----------You can pass -VM parameter from the pipeline. + +-ConfigurationArgument parameter supports PSCredential as a value. + +-ConfigurationDataPath parameter takes path to .psd1 file with ConfigurationData hashtable. + + + + + + + Unknown + + + + + + + + Set-AzureVMExtension + + This cmdlet sets resource extensions for VMs. + + + + + Set + AzureVMExtension + + + + + This cmdlet sets resource extensions for VMs. + + + + Set-AzureVMExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension's Publisher. + + String + + + Version + + The Extension Version. + + String + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + Uninstall + + Not Specified + + SwitchParameter + + + VM + + + + IPersistentVM + + + + Set-AzureVMExtension + + ExtensionName + + The Extension Name. + + String + + + Publisher + + The Extension's Publisher. + + String + + + Version + + The Extension Version. + + String + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + PublicConfigPath + + Not Specified + + String + + + PrivateConfigPath + + Not Specified + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + Uninstall + + Not Specified + + SwitchParameter + + + VM + + + + IPersistentVM + + + + Set-AzureVMExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + PublicConfigPath + + Not Specified + + String + + + PrivateConfigPath + + Not Specified + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + Uninstall + + Not Specified + + SwitchParameter + + + VM + + + + IPersistentVM + + + + Set-AzureVMExtension + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + PublicConfiguration + + The public configuration text. + + String + + + PrivateConfiguration + + The private configuration text. + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + Uninstall + + Not Specified + + SwitchParameter + + + VM + + + + IPersistentVM + + + + + + ExtensionName + + The Extension Name. + + String + + String + + + + + + Publisher + + The Extension's Publisher. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + PublicConfiguration + + The public configuration text. + + String + + String + + + + + + PrivateConfiguration + + The private configuration text. + + String + + String + + + + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + SwitchParameter + + + + + + Uninstall + + Not Specified + + SwitchParameter + + SwitchParameter + + + + + + VM + + + + IPersistentVM + + IPersistentVM + + + + + + PublicConfigPath + + Not Specified + + String + + String + + + + + + PrivateConfigPath + + Not Specified + + String + + String + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + + + Unknown + + + + + + + + Set-AzureVMImageDataDiskConfig + + Allows you to update the Data Disk properties on the VM Image + + + + + Set + AzureVMImageDataDiskConfig + + + + + + + + + Set-AzureVMImageDataDiskConfig + + DiskConfig + + The disk config object that encapsulates the OS Disk and Data Disk objects. + + VirtualMachineImageDiskConfigSet + + + DataDiskName + + + + String + + + Lun + + + + Int32 + + + HostCaching + + + + String + + + + + + DiskConfig + + The disk config object that encapsulates the OS Disk and Data Disk objects. + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + DataDiskName + + + + String + + String + + + + + + Lun + + + + Int32 + + Int32 + + + + + + HostCaching + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $s = New-AzureDiskConfigSet + # returns DiskConfigSet object; + + $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite + # returns DiskConfigSet object; + + $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 + # returns DiskConfigSet object + + # Final step - Update the VM Image + Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; + + # OR + + $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Set-AzureVMImageOSDiskConfig + + Allows you to update the OS Disk properties on the VM Image + + + + + Set + AzureVMImageOSDiskConfig + + + + + + + + + Set-AzureVMImageOSDiskConfig + + DiskConfig + + + + VirtualMachineImageDiskConfigSet + + + HostCaching + + + + String + + + + + + DiskConfig + + + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + HostCaching + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> $s = New-AzureDiskConfigSet + # returns DiskConfigSet object; + + $s = Set-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite + # returns DiskConfigSet object; + + $s = Set-AzureDataDiskConfig -DiskConfig $s -Name 'test' -HostCaching 'ReadWrite' -LUN 0 + # returns DiskConfigSet object + + # Final step - Update the VM Image + Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1 -DiskConfigSet $s; + + # OR + + $s | Update-AzureVMImage -ImageName testvmimage2 -Label test1 -Description test1; + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + Set-AzureVMMicrosoftAntimalwareExtension + + Configures the Microsoft Antimalware extension for a virtual machine. + + + + + Set + AzureVMMicrosoftAntimalwareExtension + + + + + The Set-AzureVMMicrosoftAntimalwareExtension cmdlet configures the Microsoft Antimalware extension for a virtual machine. You can enable, disable, or uninstall the extension. + + + + Set-AzureVMMicrosoftAntimalwareExtension + + AntimalwareConfigFile + + Specifies the absolute path to the Microsoft Antimalware configuration file. Do not specify this parameter if you specify the AntimalwareConfiguration parameter. The configuration file must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + +{ "AntimalwareEnabled": true } + + String + + + Version + + Specifies the extension version as a string. + + String + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + Set-AzureVMMicrosoftAntimalwareExtension + + AntimalwareConfiguration + + Specifies a string object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. Do not specify this parameter if you specify the AntimalwareConfigFile parameter. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + + { "AntimalwareEnabled": true }Microsoft Antimalware JSON configuration sample: + + { + "AntimalwareEnabled": true, + "RealtimeProtectionEnabled": true, + "ScheduledScanSettings": { + "isEnabled": true, + "day": 1, + "time": 120, + "scanType": "Full" + }, + "Exclusions": { + "Extensions": ".ext1;.ext2", + "Paths": "c:\excluded-path-1;c:\excluded-path-2", + "Processes": "excludedproc1.exe;excludedproc2.exe" + } + } + + Notes: + AntimalwareEnabled is a required parameter. Values: true= Enable. false= Error out as false is not a supported value + + RealtimeProtectionEnabled: true/false. true = Enable. false = Disable. Default is true + + ScheduledScanSettings: + isEnabled=true/false + day=0-8 (0-daily, 1-Sunday, 2-Monday, ...., 7-Saturday, 8-Disabled) + time=0-1440 (measured in minutes after midnight - 60->1AM, 120 -> 2AM, ... ) + scanType="Quick" or "Full" (Default is Quick) + Note: If isEnabled=true is the only setting provided, the following defaults are set: day=7 (Saturday), time=120 (2 AM), scanType="Quick" + + Exclusions: + Multiple exclusions in the same list are specified by using semicolon delimiters. + If no exclusions are specified, then the existing exclusions, if any, are overwritten by blank on the system. + + String + + + Version + + Specifies the extension version as a string. + + String + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + Set-AzureVMMicrosoftAntimalwareExtension + + Version + + Specifies the extension version as a string. + + String + + + Disable + + Indicates that the cmdlet disables the Microsoft Antimalware extension. To re-enable the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension without the Disable parameter. + + SwitchParameter + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + Set-AzureVMMicrosoftAntimalwareExtension + + Uninstall + + Indicates that this cmdlet uninstalls the Microsoft Antimalware extension from the virtual machine. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. + + SwitchParameter + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + Set-AzureVMMicrosoftAntimalwareExtension + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + + NoConfig + + + + SwitchParameter + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + + + + + AntimalwareConfigFile + + Specifies the absolute path to the Microsoft Antimalware configuration file. Do not specify this parameter if you specify the AntimalwareConfiguration parameter. The configuration file must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + +{ "AntimalwareEnabled": true } + + String + + String + + + none + + + Version + + Specifies the extension version as a string. + + String + + String + + + none + + + Monitoring + + Specifies whether to collect Microsoft Antimalware events. Valid values are: + +-- ON. Collect Microsoft Antimalware events to storage context. +-- OFF. Do not collect Microsoft Antimalware events. + + String + + String + + + none + + + StorageContext + + Specifies an Azure storage context for Microsoft Antimalware monitoring. + + AzureStorageContext + + AzureStorageContext + + + none + + + VM + + Specifies the virtual machine as an IPersistentVM object. + + IPersistentVM + + IPersistentVM + + + none + + + AntimalwareConfiguration + + Specifies a string object that contains the Microsoft Antimalware configuration. This object must not be $Null or empty. Do not specify this parameter if you specify the AntimalwareConfigFile parameter. The configuration object must include, at a minimum, the following content to enable the Microsoft Antimalware extension: + + { "AntimalwareEnabled": true }Microsoft Antimalware JSON configuration sample: + + { + "AntimalwareEnabled": true, + "RealtimeProtectionEnabled": true, + "ScheduledScanSettings": { + "isEnabled": true, + "day": 1, + "time": 120, + "scanType": "Full" + }, + "Exclusions": { + "Extensions": ".ext1;.ext2", + "Paths": "c:\excluded-path-1;c:\excluded-path-2", + "Processes": "excludedproc1.exe;excludedproc2.exe" + } + } + + Notes: + AntimalwareEnabled is a required parameter. Values: true= Enable. false= Error out as false is not a supported value + + RealtimeProtectionEnabled: true/false. true = Enable. false = Disable. Default is true + + ScheduledScanSettings: + isEnabled=true/false + day=0-8 (0-daily, 1-Sunday, 2-Monday, ...., 7-Saturday, 8-Disabled) + time=0-1440 (measured in minutes after midnight - 60->1AM, 120 -> 2AM, ... ) + scanType="Quick" or "Full" (Default is Quick) + Note: If isEnabled=true is the only setting provided, the following defaults are set: day=7 (Saturday), time=120 (2 AM), scanType="Quick" + + Exclusions: + Multiple exclusions in the same list are specified by using semicolon delimiters. + If no exclusions are specified, then the existing exclusions, if any, are overwritten by blank on the system. + + String + + String + + + none + + + Disable + + Indicates that the cmdlet disables the Microsoft Antimalware extension. To re-enable the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension without the Disable parameter. + + SwitchParameter + + SwitchParameter + + + none + + + Uninstall + + Indicates that this cmdlet uninstalls the Microsoft Antimalware extension from the virtual machine. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. + + SwitchParameter + + SwitchParameter + + + none + + + NoConfig + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Enable the extension by using a configuration file -------------------------- + + + + PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfigFile 'C:\configuration\contosoVM.json' | Update-AzureVM + + This command enables the Microsoft Antimalware extension by using a configuration file. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. + + + + The AntimalwareConfigFile parameter specifies a configuration file for the Microsoft Antimalware extension. Set-AzureVMMicrosoftAntimalwareExtension applies the configuration that the file specifies to the virtual machine, and then passes the result to the Update-AzureVM cmdlet to update the virtual machine. + + + + + -------------------------- Example 2: Enable the extension and enable monitoring -------------------------- + + + + PS C:\>$StorageContext = New-AzureStorageContext -StorageAccountName "contosostoragemain" -StorageAccountKey (Get-AzureStorageKey -StorageAccountName "Contosostoragemain").Primary +PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name"ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfigFile 'C:\configuration\contosoVM.json" -Monitoring ON -StorageContext $StorageContext | Update-AzureVM + + The first command creates an AzureStorageContext object by using the New-AzureStorageContext cmdlet, and then stores it in the $StorageContext variable. + + + + The second command enables the Microsoft Antimalware extension, and enables monitoring. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet.The command specifies a value of ON for the Monitoring parameter and specifies the Azure storage context stored in $StorageContext, and then passes the result to the Update-AzureVM cmdlet. + + + + + -------------------------- Example 3: Enable the extension by specifying a configuration object -------------------------- + + + + PS C:\>$config_string = [IO.File]::ReadAllText('C:\configuration\contosoVM.json') +PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfiguration $config_string | Update-AzureVM + + The first command creates a string object by reading a JSON configuration for the Microsoft Antimalware extension, and then storing it in the $config_string variable. + + + + The AntimalwareConfiguration parameter specifies the configuration information stored in $config_string. Set-AzureVMMicrosoftAntimalwareExtension applies that configuration to the virtual machine, and then passes the result to the Update-AzureVM cmdlet. + + + + + -------------------------- Example 4: Disable the extension -------------------------- + + + + PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -Disable | Update-AzureVM + + This command disables the extension without removing it. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet. + + + + Set-AzureVMMicrosoftAntimalwareExtension disables the Microsoft Antimalware extension for the virtual machine, and then passes the result to Update-AzureVM.To re-enabled the extension on the same virtual machine, run Set-AzureVMMicrosoftAntimalwareExtension cmdlet without specifying the Disable parameter. + + + + + -------------------------- Example 5: Remove the extension -------------------------- + + + + PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name"ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -Uninstall | Update-AzureVM + + This command removes the Microsoft Antimalware extension from the virtual machine. The command uses Get-AzureVM to get the specified virtual machine object, and then passes the object to the current cmdlet. + + + + Set-AzureVMMicrosoftAntimalwareExtension uninstalls the extension. If monitoring was turned on, the cmdlet also removes the collection of Microsoft Antimalware events. The command passes the result to Update-AzureVM. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=402844 + + + Get-AzureVM + + + + Update-AzureVM + + + + New-AzureStorageContext + + + + Get-AzureVMMicrosoftAntimalwareExtension + + + + Remove-AzureVMMicrosoftAntimalwareExtension + + + + + + + + Set-AzureVMPuppetExtension + + This cmdlet sets the Puppet extension for the VM. + + + + + Set + AzureVMPuppetExtension + + + + + This cmdlet sets the Puppet extension for the VM. + + + + Set-AzureVMPuppetExtension + + PuppetMasterServer + + The FQDN of puppet master server.. + + String + + + Version + + The Extension Version. + + String + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + + VM + + The persistent VM object. + + IPersistentVM + + + + + + PuppetMasterServer + + The FQDN of puppet master server.. + + String + + String + + + + + + Version + + The Extension Version. + + String + + String + + + + + + Disable + + To Set the Extension State to 'Disable'. + + SwitchParameter + + SwitchParameter + + + + + + ReferenceName + + The extension's reference name. + + This is a user-defined string that can be used to refer to an extension. It is specified when the extension is added to the VM for the first time. For subsequent updates, user should specify the previously used reference name while updating the extension. The ReferenceName assigned to an extension will be returned using the Get-AzureVM cmdlet. + + String + + String + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> + + Description + + + + -----------Description + + + + + + + Unknown + + + + + + + + Set-AzureVMSize + + Sets the size of a Microsoft Azure virtual machine. + + + + + Set + AzureVMSize + + + + + The Set-AzureVMSize cmdlet updates the size of a Virtual Machine. It has two parameters: "InstanceSize", which is the new size of the virtual machine, and "VM", which is a virtual machine object retrieved by using the Get-AzureVM cmdlet. The result of Set-AzureVMSize can be piped to the Update-AzureVM cmdlet or stored in a variable for later use. No actual change is made until Update-AzureVM is executed. + Note: This cmdlet will require the virtual machine to be re-provisioned and it might get a new IP address. + + + + Set-AzureVMSize + + InstanceSize + + Specifies the size of the machine. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". + + String + + + VM + + Specifies the virtual machine to set the size of. + + IPersistentVM + + + + + + InstanceSize + + Specifies the size of the machine. Supported values are "ExtraSmall", "Small", "Medium", "Large", "ExtraLarge", "A5", "A6",, "A7". + + String + + String + + + + + + VM + + Specifies the virtual machine to set the size of. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" | Set-AzureVMSize "Small" | Update-AzureVM + + Description + + + + -----------This example updates a virtual machine to "Small". size. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> $MyVM = Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" | Set-AzureVMSize "Small" + Update-AzureVM -ServiceName "MySvc1" -Name "MyVM3 -VM $MyVM + + Description + + + + -----------This example uses an intermediate variable to perform the same function as Example 1. + + + + + + + Get-AzureVM + + + + Update-AzureVM + + + + + + + + Set-AzureVNetConfig + + Updates the virtual network settings for a Microsoft Azure cloud service. + + + + + Set + AzureVNetConfig + + + + + The Set-AzureVNetConfig cmdlet updates the network configuration for the current Microsoft Azure subscription by specifying a path to anetwork configuration file (.netcfg). The network configuration file defines DNS servers and subnets for cloud services within a subscription. + + + + Set-AzureVNetConfig + + ConfigurationPath + + Specifies the path and file name of a network configuration file (.netcfg). + + String + + + + + + ConfigurationPath + + Specifies the path and file name of a network configuration file (.netcfg). + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Set-AzureVNetConfig -ConfigurationPath "c:\temp\MyAzNets.netcfg" + + This command updates the network configuration of the current Microsoft Azure subscription to that in the local file "c:\temp\MyAzNets.netcfg". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>$subsId = "5bea2bc2-88a5-44b8-abe1-3e76733b6783" + C:\PS>$cert = Get-Item cert:\LocalMachine\MY\82F105B2DA81149204A6257A9A91EC452B8C52C3 + C:\PS>Set-AzureVNetConfig -ConfigurationPath "c:\temp\MyAzNets.netcfg" + + This example sets the Microsoft Azure subscription, and then updates the network configuration of that subscription using the configuration defined in the local file "c:\temp\MyAzNets.netcfg". + + + + + + + + + + + Get-AzureVNetConfig + + + + Get-AzureVNetSite + + + + Remove-AzureVNetConfig + + + + + + + + Set-AzureVNetGateway + + Enables or disables a Microsoft Azure Virtual Network Gateway. + + + + + Set + AzureVNetGateway + + + + + The Set-AzureVNetGateway cmdlet enables or disables a virtual network gateway for the specified Microsoft Azure virtual network. A virtual network gateway is a virtual private network (VPN) endpoint for connecting to a virtual network.The Set-AzureVNetGateway cmdlet supports two functional parameters: Connect and Disconnect. These parameters allow you to enable or disable the VPN connection between the specified LocalNetworkSiteName and the specified virtual network. + + + + Set-AzureVNetGateway + + Connect + + Enables the VPN connection between the specified virtual network and the local network site. + + SwitchParameter + + + VNetName + + Specifies the name of the Microsoft Azure virtual network to connect or disconnect. + + String + + + LocalNetworkSiteName + + Specifies the name of the local network site for which the VPN connection will be enabled or disabled. + + String + + + + Set-AzureVNetGateway + + Disconnect + + Disables the VPN connection between the specified virtual network and the local network site. + + SwitchParameter + + + VNetName + + Specifies the name of the Microsoft Azure virtual network to connect or disconnect. + + String + + + LocalNetworkSiteName + + Specifies the name of the local network site for which the VPN connection will be enabled or disabled. + + String + + + + + + Connect + + Enables the VPN connection between the specified virtual network and the local network site. + + SwitchParameter + + SwitchParameter + + + + + + VNetName + + Specifies the name of the Microsoft Azure virtual network to connect or disconnect. + + String + + String + + + + + + LocalNetworkSiteName + + Specifies the name of the local network site for which the VPN connection will be enabled or disabled. + + String + + String + + + + + + Disconnect + + Disables the VPN connection between the specified virtual network and the local network site. + + SwitchParameter + + SwitchParameter + + + + + + Test + + + + switchparameter + + switchparameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Set-AzureVNetGateway -Connect –VnetName "MyProdNet" –LocalNetworkSiteName "MyBranchOffice" + + This command enables the virtual network gateway between the Microsoft Azure virtual network, "MyProdNet" and the VPN device for the local network site, "MyBranchOffice". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Set-AzureVNetGateway -Disconnect –VnetName "MyProdNet" –LocalNetworkSiteName "MyBranchOffice" + + This command disables the virtual network gateway between the Microsoft Azure virtual network, "MyProdNet" and the VPN device for the local network site "MyBranchOffice". + + + + + + + + + + + + + + + Set-AzureVNetGatewayKey + + Sets the IPsec/IKE pre-shared key for the cross premises site-to-site VPN tunnel between the Azure virtual network and your on-premises local site. + + + + + Set + AzureVNetGatewayKey + + + + + Th Set-AzureVNetGatewayKey cmdlet sets the IPsec/IKE pre-shared key for the cross premises site-to-site VPN tunnel between the Azure virtual network and your on-premises local site. + + + + Set-AzureVNetGatewayKey + + VNetName + + Specifies the name of the Azure virtual network. + + String + + + LocalNetworkSiteName + + Specifies the name of the local network site to which the VPN tunnel connects. + + String + + + SharedKey + + Specifies the value of the new IPsec/IKE pre-shared key. The SharedKey is an alphanumeric string of 1-128 letters. + + String + + + + + + VNetName + + Specifies the name of the Azure virtual network. + + String + + String + + + + + + LocalNetworkSiteName + + Specifies the name of the local network site to which the VPN tunnel connects. + + String + + String + + + + + + SharedKey + + Specifies the value of the new IPsec/IKE pre-shared key. The SharedKey is an alphanumeric string of 1-128 letters. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Set-AzureVNetGatewayKey -VNetName "MyAzureVirtualNetwork" -LocalNetworkSiteName "MyOnPremSite" -SharedKey "a1b2c3d4" + + Description + + + + -----------This command sets the IPsec/IKE pre-shared key between your virtual network "MyAzureVirtualNetwork" and the on-premise site "MyOnPremSite" to "a1b2c3d4". + + + + + + + Unknown + + + + + + + + Set-AzureWalkUpgradeDomain + + Walks the specified upgrade domain. + + + + + Set + AzureWalkUpgradeDomain + + + + + The Set-AzureWalkUpgradeDomain cmdlet initiates the actual upgrade of a Microsoft Azure deployment. The upgrade package and configuration are set by using the Set-AzureDeployment cmdlet with the -Upgrade switch. + + + + Set-AzureWalkUpgradeDomain + + ServiceName + + Specifies the Microsoft Azure service name to upgrade. + + String + + + Slot + + Specified the environment of the deployment to upgrade. Supported values are "Staging" and "Production". + + String + + + DomainNumber + + Specifies the upgrade domain to upgrade. + + Int32 + + + + + + ServiceName + + Specifies the Microsoft Azure service name to upgrade. + + String + + String + + + + + + Slot + + Specified the environment of the deployment to upgrade. Supported values are "Staging" and "Production". + + String + + String + + + + + + DomainNumber + + Specifies the upgrade domain to upgrade. + + Int32 + + Int32 + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Set-AzureWalkUpgradeDomain –ServiceName "MySvc1" –slot "Production" –UpgradeDomain 2 + + This example initiates the upgrade of Upgrade Domain 2 of the production deployment of the "MySvc1" service + + + + + + + + + + + + + + + Start-AzureVM + + Starts a Microsoft Azure virtual machine. + + + + + Start + AzureVM + + + + + The Start-AzureVM cmdlet requests the start of a Microsoft Azure virtual machine. + + + + Start-AzureVM + + Name + + Specifies the name of the virtual machine to start. + + String + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to start. + + String + + + + Start-AzureVM + + VM + + Specifies a virtual machine object that identifies the virtual machine to start. + + PersistentVM + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to start. + + String + + + + + + Name + + Specifies the name of the virtual machine to start. + + String + + String + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to start. + + String + + String + + + + + + VM + + Specifies a virtual machine object that identifies the virtual machine to start. + + PersistentVM + + PersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Start-AzureVM -ServiceName "myservice1" -Name "MyVM" + + This command starts the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "myservice1" -Name "DatabaseServer" | Start-AzureVM + + This command retrieves the virtual machine object for the VM whose name is "DatabaseServer" and then requests a start for it. + + + + + + + + + + + Get-AzureVM + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Stop-AzureVM + + + + Update-AzureVM + + + + + + + + Stop-AzureVM + + Shuts down a Microsoft Azure virtual machine. + + + + + Stop + AzureVM + + + + + The Stop-AzureVM cmdlet requests a shutdown of a virtual machine. + + + + Stop-AzureVM + + Name + + Specifies the name of the virtual machine to shut down. + + Use a wildcard "*" to stop multiple VMs asynchronously. With a wild card, Stop-AzureVM cmdlet calls ShutdownRoles operation (http://msdn.microsoft.com/en-us/library/azure/dn469421.aspx), instead of ShutdownRole operation (http://msdn.microsoft.com/en-us/library/azure/jj157195.aspx ). + + String + + + StayProvisioned + + Keeps the VM provisioned. + + SwitchParameter + + + Force + + Allows the deallocation of last VM in a deployment. + + SwitchParameter + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. + + String + + + + Stop-AzureVM + + VM + + Specifies a virtual machine object that identifies the virtual machine to shut down. + + PersistentVM + + + StayProvisioned + + Keeps the VM provisioned. + + SwitchParameter + + + Force + + Allows the deallocation of last VM in a deployment. + + SwitchParameter + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. + + String + + + + + + Name + + Specifies the name of the virtual machine to shut down. + + Use a wildcard "*" to stop multiple VMs asynchronously. With a wild card, Stop-AzureVM cmdlet calls ShutdownRoles operation (http://msdn.microsoft.com/en-us/library/azure/dn469421.aspx), instead of ShutdownRole operation (http://msdn.microsoft.com/en-us/library/azure/jj157195.aspx ). + + String + + String + + + + + + StayProvisioned + + Keeps the VM provisioned. + + SwitchParameter + + SwitchParameter + + + + + + Force + + Allows the deallocation of last VM in a deployment. + + SwitchParameter + + SwitchParameter + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service that contains the virtual machine to shut down. + + String + + String + + + + + + VM + + Specifies a virtual machine object that identifies the virtual machine to shut down. + + PersistentVM + + PersistentVM + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" + + Description + + + + -----------This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service and deprovisions it. If it is the last VM in deployment, then confirmation pop-up window is displayed with a warning that deprovisioning will cause loss deployment VIP. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureVM -ServiceName "myservice1" -Name "MyVM" | Stop-AzureVM + + Description + + + + -----------This command retrieves the virtual machine object for the VM whose name is "MyVM" and then shuts it down and deprovisions it. If it is the last VM in deployment, then confirmation pop-up window is displayed with a warning that deprovisioning will cause loss deployment VIP. + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" -StayProvisioned + + Description + + + + -----------This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service and keeps the VM provisioned. + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> Stop-AzureVM -ServiceName "myservice1" -Name "MyVM" -Force + + Description + + + + -----------This command shuts down the "MyVM" virtual machine running in the "myservice1" Microsoft Azure service even if it is the last VM in the deployment. + + + + + -------------------------- EXAMPLE 5 -------------------------- + + + + PS C:\> Stop-AzureVM -ServiceName "PSTestService" -Name "*" -Force + + Description + + + + -----------This command shuts down multiple VMs asynchronously in the "PSTestService" + + + + + + + Unknown + + + + + + + + Test-AzureStaticVNetIP + + Test the availability of a static virtual network IP address, and get a list of suggestion if the queried one not available. + + + + + Test + AzureStaticVNetIP + + + + + Test the availability of a static virtual network IP address, and get a list of suggestion if the queried one not available. + + + + Test-AzureStaticVNetIP + + VNetName + + The Name of a Virtual Network. + + String + + + IPAddress + + The query of static VNet IPAddress. + + String + + + + + + VNetName + + The Name of a Virtual Network. + + String + + String + + + + + + IPAddress + + The query of static VNet IPAddress. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + + + + + Update-AzureDisk + + Updates the label of a disk in the Microsoft Azure disk repository. + + + + + Update + AzureDisk + + + + + The Update-AzureDisk cmdlet changes the label associated with a disk in the disk repository of the current Microsoft Azure subscription. + + + + Update-AzureDisk + + DiskName + + Specifies the name of the disk in the disk repository. + + String + + + Label + + Specifies the new label of the disk. + + String + + + + + + DiskName + + Specifies the name of the disk in the disk repository. + + String + + String + + + + + + Label + + Specifies the new label of the disk. + + String + + String + + + + + + + + + + + + + + + + + + + + + DiskContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Update-AzureDisk –DiskName "MyOSDisk" -Label "DoNotUse" + + This command updates the label of the disk named "MyOSDisk" to "DoNotUse". + + + + + + + + + + + Add-AzureDisk + + + + Get-AzureDisk + + + + Remove-AzureDisk + + + + + + + + Update-AzureVM + + Modifies the configuration of a Microsoft Azure virtual machine. + + + + + Update + AzureVM + + + + + The Update-AzureVM cmdlet accepts update information for the specified virtual machine and initiates the update. You can add or remove data disks, modify the cache mode of data or operating system disks, change the network endpoints, or change the size of the virtual machine. + + + + Update-AzureVM + + Name + + Specifies the name of the virtual machine to be updated. + + String + + + VM + + The virtual machine object that includes updated settings. + + PersistentVM + + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + + + + + Name + + Specifies the name of the virtual machine to be updated. + + String + + String + + + + + + VM + + The virtual machine object that includes updated settings. + + PersistentVM + + PersistentVM + + + + + + ServiceName + + Specifies the name of the Microsoft Azure service. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" ` + | Set-AzureVMSize –InstanceSize "Medium" ` + | Update-AzureVM + + This example changes the size of the virtual machine "MyVM3", running in "MySvc1", to "Medium". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureVM -ServiceName "MySvc1" -Name "MyVM3" ` + | Add-AzureDataDisk -CreateNew -MediaLocation "https://MyaccountStore1.blob.core.azure.com/vhds/MyNewDisk.vhd" -DiskSizeInGB 128 -DiskLabel "Data-128" -LUN 0 ` + | Update-AzureVM + + This example adds a new data disk to the virtual machine "MyVM3", running in "MySvc1". + + + + + + + + + + + Get-AzureVM + + + + New-AzureVMConfig + + + + Remove-AzureVM + + + + Restart-AzureVM + + + + Start-AzureVM + + + + Stop-AzureVM + + + + New-AzureVM + + + + Set-AzureVMSize + + + + + + + + Update-AzureVMImage + + The Update-AzureVMImage cmdlet updates the properties on an OS or VM image in the image repository. It returns an image object with information about the updated image. + + + + + Update + AzureVMImage + + + + + + + + + Update-AzureVMImage + + ImageName + + Name of the image to update in the image repository. + + String + + + Label + + The new label of the image. + + String + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + String + + + Description + + Specifies the description of the OS image. + + String + + + ImageFamily + + Specifies a value that can be used to group OS or VM images. + + String + + + PublishedDate + + + + Nullable`1[DateTime] + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS or VM image. + + Uri + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS or VM image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + String + + + DiskConfig + + This is the OS Disk and the Data Disk configuration for the VM Image created using the New-AzureVMImageDiskConfigSet, Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets. + + VirtualMachineImageDiskConfigSet + + + Language + + Language for the OS in the VM or OS Image + + String + + + IconUri + + Uri to an icon for the OS or VM Image + + Uri + + + SmallIconUri + + Uri to a small icon for the OS or VM Image + + Uri + + + DontShowInGui + + + + SwitchParameter + + + + + + ImageName + + Name of the image to update in the image repository. + + String + + String + + + + + + Label + + The new label of the image. + + String + + String + + + + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + String + + String + + + + + + Description + + Specifies the description of the OS image. + + String + + String + + + + + + ImageFamily + + Specifies a value that can be used to group OS or VM images. + + String + + String + + + + + + PublishedDate + + + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS or VM image. + + Uri + + Uri + + + + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS or VM image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + String + + String + + + + + + DiskConfig + + This is the OS Disk and the Data Disk configuration for the VM Image created using the New-AzureVMImageDiskConfigSet, Set-AzureVMImageOSDiskConfig and Set-AzureVMImageDataDiskConfig cmdlets. + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + Language + + Language for the OS in the VM or OS Image + + String + + String + + + + + + IconUri + + Uri to an icon for the OS or VM Image + + Uri + + Uri + + + + + + SmallIconUri + + Uri to a small icon for the OS or VM Image + + Uri + + Uri + + + + + + DontShowInGui + + + + SwitchParameter + + SwitchParameter + + + + + + ShowInGui + + Not Specified + + switchparameter + + switchparameter + + + + + + + + + + + + + + + + + + + + + OSImageContext + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Update-AzureVMImage -ImageName "Windows-Server-2008-SP2" -Label "DoNotUse" + + Description + + + + -----------This example updates the image named "Windows-Server-2008-SP2" by changing the image label to "DoNotUse" + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> Get-AzureVMImage | Where-Object {$_.Label -eq "DoNotUse" } | Update-AzureVMImage -Label "Updated" + + Description + + + + -----------This example gets all the operating system images labeled "DoNotUse" and changes the label to "Updated". + + + + + + + Unknown + + + + + + + + Get-AzureRegion + + + + + + + + + + + + + + + + + Get-AzureRegion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureServiceExtensionImage + + Get information for the latest available hosted service extension images. + + + + + + + + + + + Get information for the latest available hosted service extension images. + + + + Get-AzureServiceExtensionImage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> Get-AzureServiceExtensionImage + + ProviderNameSpace : Microsoft.Windows.Azure.Extensions + Type : RDP + Version : 1.0 + Label : Microsoft Azure Remote Desktop Extension + Description : Microsoft Azure Remote Desktop Extension + HostingResources : WebOrWorkerRole + ThumbprintAlgorithm : sha1 + PublicConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PublicConfig"><xs:complexType><xs:sequence><xs:element + name="UserName" type="xs:string" minOccurs="1" /><xs:element name="Expiration" type="xs:string" minOccurs="1" + /></xs:sequence></xs:complexType></xs:element></xs:schema> + PrivateConfigurationSchema : <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="PrivateConfig"><xs:complexType><xs:sequence><xs:element + name="Password" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema> + OperationDescription : Get-AzureServiceExtensionImage + OperationId : ee7f7237-78a6-3819-8529-ede859c51411 + OperationStatus : Succeeded + + Description + + + + ----------- + + + + + + + Unknown + + + + + + + + + Remove-AzureVMChefExtension + - Remove Azure VM DSC Extension from a VM. + This cmdlet deletes the Chef extension applied on the VM. - - - - Remove-AzureVMDscExtension - - VM - - The persistent VM object. - - IPersistentVM - - - Confirm - - Prompts you for confirmation before executing the command. - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - - - - - - + + + + Remove + AzureVMChefExtension + + + + This cmdlet deletes the Chef extension applied on the VM. + + + + + Remove-AzureVMChefExtension + VM The persistent VM object. - IPersistentVM - - IPersistentVM - - - - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - SwitchParameter - - - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - + + + + + + VM + + The persistent VM object. - - - - - - - - - - - - - - + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Remove-AzureVMDscExtension -VM $vm - - - Description - ----------- - Remove Azure VM DSC Extension from a VM. - - - - - - - - - - - - - - - - - - - - - + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Remove-AzureVMChefExtension -VM $vm; + + + Description + ----------- + This cmdlet deletes the Chef extension applied on the VM. + + + + + + + + + + + + + + + + + + + + + + + - Set-AzureVMDscExtension + Get-AzureDeploymentEvent - Configure the Windows PowerShell Desired State Configuration extension on a VM. + The Get-AzureDeploymentEvent cmdlet retrieves information regarding Azure-initiated events that impact virtual machines and cloud services, including planned maintenance events, in the provided time window. It returns a list of events that identify the Role Instance or Virtual Machine impacted, the reason for the impact, and the start time of the event. - Set - AzureVMDscExtension + Get + AzureDeploymentEvent - Configure the Windows PowerShell Desired State Configuration extension on a VM. + The Get-AzureDeploymentEvent cmdlet retrieves information regarding Azure-initiated events that impact virtual machines and cloud services, including planned maintenance events, in the provided time window. It returns a list of events that identify the Role Instance or Virtual Machine impacted, the reason for the impact, and the start time of the event. - Set-AzureVMDscExtension - - VM - - The persistent VM object. - - IPersistentVM - - - ConfigurationArchive - - The name of the configuration package (.zip file) that was previously uploaded by Publish-AzureVMDscConfiguration. This parameter must specify only the name of the file, without any path. - - string - - - ConfigurationArgument - - A hashtable specifying the arguments to the configuration function. The keys correspond to the parameter names and the values to the parameter values. - Supported types for values include: primitive types, string, hashtable, array, PSCredential. - - hashtable - - - ConfigurationDataPath - - The path to a .psd1 file that specifies the data for the configuration function. This file must contain a hashtable as described in http://technet.microsoft.com/en-us/library/dn249925.aspx. - - string - - - ConfigurationName - - Name of the configuration script or module that will be invoked by the DSC Extension. - -The value of this parameter must be the name of one of the configurations functions contained in the scripts or modules packaged in the ConfigurationArchive. - -If omitted, this parameter will default to the name of the file given by the ConfigurationArchive parameter, excluding any extension, for example if ConfigurationArchive is "SalesWebSite.ps1.zip", the default value for ConfigurationName will be "SalesWebSite". - - string - - - ContainerName - - Name of the Azure Storage Container where the ConfigurationArchive is located. - - string - - - Force - - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. - - - - ReferenceName - - The Extension Reference Name - - string - + Get-AzureDeploymentEvent - StorageContext - - The Azure Storage Context that provides the security settings used to access the configuration script. This context should provide read access to the container specified by ContainerName. - - - - AzureStorageContext - - - StorageEndpointSuffix - - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - - string - - - Version + EndTime - The specific version of the DSC Extension to use. If not given, it will default to "1.*" + Ending time to query deployment events - string - - - Confirm - - Prompts you for confirmation before executing the command. - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - - - - - - - ConfigurationArchive - - The name of the configuration package (.zip file) that was previously uploaded by Publish-AzureVMDscConfiguration. This parameter must specify only the name of the file, without any path. - - - string - - string - - - - - - ConfigurationArgument - - A hashtable specifying the arguments to the configuration function. The keys correspond to the parameter names and the values to the parameter values. - Supported types for values include: primitive types, string, hashtable, array, PSCredential. - - - hashtable - - hashtable - - - - - - ConfigurationDataPath - - The path to a .psd1 file that specifies the data for the configuration function. This file must contain a hashtable as described in http://technet.microsoft.com/en-us/library/dn249925.aspx. - - - string - - string - - - - - - ConfigurationName - - Name of the configuration script or module that will be invoked by the DSC Extension. - -The value of this parameter must be the name of one of the configurations functions contained in the scripts or modules packaged in the ConfigurationArchive. - -If omitted, this parameter will default to the name of the file given by the ConfigurationArchive parameter, excluding any extension, for example if ConfigurationArchive is "SalesWebSite.ps1.zip", the default value for ConfigurationName will be "SalesWebSite". - - - string - - string - - - - - - ContainerName - - Name of the Azure Storage Container where the ConfigurationArchive is located. - - - string - - string - - - WindowsPowerShellDSC - - - Force - - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. - - - SwitchParameter - - SwitchParameter - - - - - - ReferenceName - - The Extension Reference Name - - - string - - string - - - - + DateTime + + + ServiceName + + Name of the hosted service + + string + + + StartTime + + + + DateTime + + + + + - StorageContext + EndTime - The Azure Storage Context that provides the security settings used to access the configuration script. This context should provide read access to the container specified by ContainerName. - - + Ending time to query deployment events - AzureStorageContext + DateTime - AzureStorageContext + DateTime - - StorageEndpointSuffix + + ServiceName - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". + Name of the hosted service string @@ -38211,56 +32964,19 @@ If omitted, this parameter will default to the name of the file given by the Con - - Version - - The specific version of the DSC Extension to use. If not given, it will default to "1.*" - - - string - - string - - - 1.* - - - VM + + StartTime - The persistent VM object. + - IPersistentVM + DateTime - IPersistentVM + DateTime - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - SwitchParameter - - - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - SwitchParameter - - - - @@ -38310,114 +33026,6 @@ If omitted, this parameter will default to the name of the file given by the Con - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - -Set-AzureVMDscExtension -VM $vm -ConfigurationArchive MyConfiguration.ps1.zip -ConfigurationName MyConfiguration -ConfigurationArgument @{ Path = 'C:\MyDirectory' } - -DeploymentName : my-vm-svc -Name : my-vm -Label : -VM : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVM -InstanceStatus : ReadyRole -IpAddress : 10.10.10.10 -InstanceStateDetails : -PowerState : Started -InstanceErrorCode : -InstanceFaultDomain : 0 -InstanceName : my-vm -InstanceUpgradeDomain : 0 -InstanceSize : Small -AvailabilitySetName : -DNSName : http://my-vm-svc.cloudapp.net/ -Status : ReadyRole -GuestAgentStatus : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.GuestAgentStatus -ResourceExtensionStatusList : {Microsoft.Compute.BGInfo} -PublicIPAddress : -PublicIPName : -ServiceName : my-vm-svc -OperationDescription : Get-AzureVM -OperationId : a0217a7af900c1f8a212299a3333cdbd6 -OperationStatus : OK - - Description - ----------- - This command configures the DSC extension on a VM. - -The "MyConfiguration.ps1.zip" package must have been previously uploaded to Azure storage using the Publish-AzureVMDscConfiguration command and includes the "MyConfiguration.ps1" script and the modules it depends on. - -The "MyConfiguration" argument indicates the specific DSC configuration within the script to execute. The -ConfigurationArgument parameter specifies a hashtable with the arguments that will be passed to the configuration function. - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - $vm | Set-AzureVMDscExtension -ConfigurationArchive MyConfiguration.ps1.zip -ConfigurationName MyConfiguration -ConfigurationArgument @{ Credential = Get-Credential } -ConfigurationDataPath MyConfigurationData.psd1 - - - DeploymentName : my-vm-svc - Name : my-vm - Label : - VM : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVM - InstanceStatus : ReadyRole - IpAddress : 10.10.10.10 - InstanceStateDetails : - PowerState : Started - InstanceErrorCode : - InstanceFaultDomain : 0 - InstanceName : my-vm - InstanceUpgradeDomain : 0 - InstanceSize : Small - AvailabilitySetName : - DNSName : http://my-vm-svc.cloudapp.net/ - Status : ReadyRole - GuestAgentStatus : Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.GuestAgentStatus - ResourceExtensionStatusList : {Microsoft.Compute.BGInfo, Microsoft.Powershell.DSC} - PublicIPAddress : - PublicIPName : - ServiceName : my-vm-svc - OperationDescription : Get-AzureVM - OperationId : a0217a7af900c1f8a212299a3333cdbd7 - OperationStatus : OK - - Description - ----------- - You can pass -VM parameter from the pipeline. - - -ConfigurationArgument parameter supports PSCredential as a value. - - -ConfigurationDataPath parameter takes path to .psd1 file with ConfigurationData hashtable. - - - - - - - - - - - @@ -38426,482 +33034,447 @@ The "MyConfiguration" argument indicates the specific DSC configuratio - - - - - Get-AzureVMDscExtension - - - Gets the settings of the DSC extension on a particular VM. - - - - - Get - AzureVMDscExtension - - - - Gets the settings of the DSC extension on a particular VM. - - - - - Get-AzureVMDscExtension - - VM - - The Virtual Machine to get the settings from. - - IPersistentVM - - - Version - - The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. - - string - - - - - - - Version - - The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. - - - string - - string - - - - - - VM - - The Virtual Machine to get the settings from. - - - IPersistentVM - - IPersistentVM - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureVMDscExtension -VM $vm - - ModulesUrl : https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip - ConfigurationFunction : MyConfiguration.ps1\MyConfiguration - Properties : {ServerName} - ExtensionName : DSC - Publisher : Microsoft.Powershell - Version : 1.* - PrivateConfiguration : - PublicConfiguration : { - "ModulesUrl": "https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip", - "ConfigurationFunction": "MyConfiguration.ps1\\MyConfiguration", - "Properties": { - "ServerName": "C:\\MyDirectory" - } - } - ReferenceName : DSC - State : Enable - RoleName : my-vm - - - Description - ----------- - This command gets the settings of the DSC Extension on a VM. - - - - - - - - - - - - - - - - - - - - - - - - Publish-AzureVMDscConfiguration - - - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. - - - - - Publish - AzureVMDscConfiguration - - + + + + + + + + Get-AzureVMChefExtension + - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. + This cmdlet gets the Chef extension (if any) applied on the VM. - - - - Publish-AzureVMDscConfiguration - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - string - - - ConfigurationArchivePath - - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - - string - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - - - Confirm - - Prompts you for confirmation before executing the command. - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - - - - Publish-AzureVMDscConfiguration - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - string - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. - - string - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - - - StorageContext - - - The Azure Storage Context that provides the security settings used to upload the configuration script to the container specified by ContainerName. This context should provide write access to the container. - - - AzureStorageContext - - - Confirm - - Prompts you for confirmation before executing the command. - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - - - - - - - ConfigurationArchivePath + + + + Get + AzureVMChefExtension + + + + This cmdlet gets the Chef extension (if any) applied on the VM. + + + + + Get-AzureVMChefExtension + + VM - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - + The persistent VM object. - string - - string - - - + IPersistentVM - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. + + + + + + VM + + The persistent VM object. - - string - - string - - - - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + The cmdlet displays the Chef Extension information on the VM + + + + + + + + + + + + + + - - string - - string - - - windows-powershell-dsc - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. + + + + + + + + + + + + - - SwitchParameter - - SwitchParameter - - - - - - StorageContext - - - The Azure Storage Context that provides the security settings used to upload the configuration script to the container specified by ContainerName. This context should provide write access to the container. - + + + + + + + + - - AzureStorageContext - - AzureStorageContext - - - - - - Confirm + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureVMChefExtension -VM $vm; + + + Description + ----------- + This cmdlet gets the Chef extension (if any) applied on the VM. + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureVMChefExtension + + + This cmdlet adds the Chef extension to the VM. + + + + + Set + AzureVMChefExtension + + + + This cmdlet adds the Chef extension to the VM. + + + + + Set-AzureVMChefExtension + + VM - Prompts you for confirmation before executing the command. + The persistent VM object. - SwitchParameter - - SwitchParameter - - - + IPersistentVM - - WhatIf + + ValidationPem - Describes what would happen if you executed the command without actually executing the command. + The Chef validator pem file path - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - + Validator.pem + + + ClientRb + + The path to the Chef client.rb. - - - - - - - - - + Client.rb + + + RunList - - - - + The chef node run list. - - - - - - - - - + RunList + + + + + + + VM + + The persistent VM object. + + IPersistentVM + + IPersistentVM + + + + + + Version + + Chef Extension version. + + Version + + String + + + Latest available Chef Extension version + + + ValidationPem + + The Chef Server Validation Key File Path. + + Validator.pem + + String + + + + + + ClientRb + + The Chef Server Client Config (Client.rb) File Path + + Client.rb + + String + + + + + + RunList + + Chef node runlist + + RunList + + String + + + + + + ChefServerUrl + + The Chef Server Url + + ChefServerUrl + + String + + + + + + ValidationClientName + + The Chef ValidationClientName, used to determine whether a chef-client may register with a Chef server. + + ValidationClientName + + String + + + + + + OrganizationName + + The Chef Organization name, used to form Validation Client Name + + OrganizationName + + String + + + + + + Linux + + Set this parameter for Linux extension + + + Boolean + + + + + + Windows + + Set this parameter for Windows extension + + + Boolean + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Set-AzureVMChefExtension -VM $vm -ValidationPem "C:\\myorg-validator.pem" -ClientRb "C:\\client.rb" -RunList "apache" -Windows; + + + Description + ----------- + This cmdlet adds the Chef extension to a windows VM. + When the VM comes up, it will be bootstrapped with Chef and have apache running on it. - - - - + + + + + + + + + - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 - - - Description - ----------- - This command creates a ZIP package for the given script and any dependent resource modules and uploads it to Azure Storage. -By default the command does no produce any output; use the -Verbose option to display an indication of the operations performed by the command - - - - - - - - - - - - + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + + Set-AzureVMChefExtension -VM $vm -ValidationPem "C:\\myorg-validator.pem" -ChefServerUrl "http://ipaddress:port" -ValidationClientName "myorg-validator" -RunList "apache, git" -Windows; + + + Description + ----------- + This cmdlet adds the Chef extension to a windows VM. + When the VM comes up, it will be bootstrapped with Chef and have apache and git installed on it. + Note that if you dont provide the client.rb, then you will need to provide the chef server url and validation client name + + + + + + + + + - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -ConfigurationArchivePath .\MyConfiguration.ps1.zip - - - Description - ----------- - This command creates a ZIP package for the given script and any dependent resource modules and stores it in the local file .\MyConfiguration.ps1.zip. - - - - - - - - - - - - - - - - - - - - - + + + -------------------------- EXAMPLE 3 -------------------------- + + + C:\PS> + + + Set-AzureVMChefExtension -VM $vm -ValidationPem "C:\\myorg-validator.pem" -ChefServerUrl "http://ipaddress:port" -OrganizationName "myorg" -Linux; + + + Description + ----------- + This cmdlet adds the Chef extension to a Linux VM. + When the VM comes up, it will be bootstrapped with Chef. + Note that if you dont provide the client.rb, then you will need to provide the chef server url and organization name name + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml index d0594039e592..a1abe79070b7 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml @@ -347,6 +347,12 @@ "{" + (-Split $_.VirtualMachineRoleSizes -Join ", ") + "}" + + + + "{" + (-Split $_.StorageAccountTypes -Join ", ") + "}" + + OperationDescription @@ -463,6 +469,10 @@ Location + + + AffinityGroup + Status diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DeploymentRebootEventContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DeploymentRebootEventContext.cs new file mode 100644 index 000000000000..eaa4453202f4 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DeploymentRebootEventContext.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model +{ + public class DeploymentRebootEventContext : ServiceOperationContext + { + public string DeploymentName { get; set; } + public string DeploymentSlot { get; set; } + public string InstanceName { get; set; } + public string RebootReason { get; set; } + public DateTime? RebootStartTime { get; set; } + public string RoleName { get; set; } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DiskContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DiskContext.cs index d3224fb9c5bf..69153ab6148c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DiskContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/DiskContext.cs @@ -40,6 +40,8 @@ public sealed class DiskContext : ManagementOperationContext public string OS { get; set; } + public string IOType { get; set; } + public class RoleReference { public string DeploymentName { get; set; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/InputEndpointContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/InputEndpointContext.cs index 5d376b399bef..32b5f751dd1b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/InputEndpointContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/InputEndpointContext.cs @@ -45,5 +45,7 @@ public class InputEndpointContext public string InternalLoadBalancerName { get; set; } public int? IdleTimeoutInMinutes { get; set; } + + public string LoadBalancerDistribution { get; set; } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/LocationsContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/LocationsContext.cs index 081008464e8d..e6bfdba7128c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/LocationsContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/LocationsContext.cs @@ -29,5 +29,7 @@ public class LocationsContext : ManagementOperationContext public IEnumerable WebWorkerRoleSizes { get; set; } public IEnumerable VirtualMachineRoleSizes { get; set; } + + public IEnumerable StorageAccountTypes { get; set; } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs index e101e22d62c0..22687e74f764 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs @@ -37,5 +37,6 @@ public class OSImageContext : ManagementOperationContext public virtual Uri PrivacyUri { get; set; } public virtual string RecommendedVMSize { get; set; } public virtual string PublisherName { get; set; } + public virtual string IOType { get; set; } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs index 332bd810fb1e..d0739f90c1a2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs @@ -39,6 +39,7 @@ public class PersistentVMRoleContext : ServiceOperationContext, IPersistentVM public List ResourceExtensionStatusList { get; set; } public string PublicIPAddress { get; set; } public string PublicIPName { get; set; } + public NetworkInterfaceList NetworkInterfaces { get; set; } public PersistentVM GetInstance() { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs index caa29eb4fdbe..ca25e048e674 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs @@ -349,6 +349,15 @@ public static string CanNotMoveDeploymentsWhileVMsArePresent { } } + /// + /// Looks up a localized string similar to Cannot remove Network Security Group "{0}" from Virtual Machine "{1}" because it is not directly.. + /// + public static string CannotRemoveNetworkSecurityGroupBecauseNotDirectlyAssociatedwithVm { + get { + return ResourceManager.GetString("CannotRemoveNetworkSecurityGroupBecauseNotDirectlyAssociatedwithVm", resourceCulture); + } + } + /// /// Looks up a localized string similar to VM image capture operation is trigged while VM is still running. As this may cause data corruption while creating VMs from this image, we recommend using Stop-AzureVM to stop the VM before capturing.. /// @@ -529,6 +538,15 @@ public static string DuplicateNamesFoundInBothVMAndOSImages { } } + /// + /// Looks up a localized string similar to Duplicate NetworkInterface found on the VM. + /// + public static string DuplicateNetworkInterfaceFound { + get { + return ResourceManager.GetString("DuplicateNetworkInterfaceFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Diagnostics Configuration Xml or File Path, only one of them needs to be specified.. /// @@ -862,6 +880,15 @@ public static string NetworkConfigurationNotFoundOnPersistentVM { } } + /// + /// Looks up a localized string similar to The specified NetworkInterface is not found. + /// + public static string NetworkInterfaceNotFound { + get { + return ResourceManager.GetString("NetworkInterfaceNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cloud Service is not present or there is no virtual machine deployment.. /// @@ -1985,6 +2012,15 @@ public static string WaitForUploadingPackage { } } + /// + /// Looks up a localized string similar to VM "{0}" is not currently associated with a Network Security Group.. + /// + public static string WarningVmIsNotDirectlyAssociatedWithNetworkSecurityGroup { + get { + return ResourceManager.GetString("WarningVmIsNotDirectlyAssociatedWithNetworkSecurityGroup", resourceCulture); + } + } + /// /// Looks up a localized string similar to WinRMCertificate needs to have an exportable private key.. /// diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx index efe0d88f0757..c7ba05805789 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx @@ -790,4 +790,16 @@ The file needs to be a PowerShell script (.ps1 or .psm1). GeoReplicationEnabled property will be deprecated in a future release of Azure PowerShell. The value will be merged into the AccountType property. + + Duplicate NetworkInterface found on the VM + + + The specified NetworkInterface is not found + + + Cannot remove Network Security Group "{0}" from Virtual Machine "{1}" because it is not directly. + + + VM "{0}" is not currently associated with a Network Security Group. + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs index eea07fc7b85d..6a50fcb1408c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs @@ -353,7 +353,8 @@ protected override void Configure() //Location mapping Mapper.CreateMap() .ForMember(c => c.VirtualMachineRoleSizes, o => o.MapFrom(r => r.ComputeCapabilities == null ? null : r.ComputeCapabilities.VirtualMachinesRoleSizes)) - .ForMember(c => c.WebWorkerRoleSizes, o => o.MapFrom(r => r.ComputeCapabilities == null ? null : r.ComputeCapabilities.WebWorkerRoleSizes)); + .ForMember(c => c.WebWorkerRoleSizes, o => o.MapFrom(r => r.ComputeCapabilities == null ? null : r.ComputeCapabilities.WebWorkerRoleSizes)) + .ForMember(c => c.StorageAccountTypes, o => o.MapFrom(r => r.StorageCapabilities == null ? null : r.StorageCapabilities.StorageAccountTypes)); Mapper.CreateMap() .ForMember(c => c.OperationId, o => o.MapFrom(r => r.Id)) .ForMember(c => c.OperationStatus, o => o.MapFrom(r => r.Status.ToString())); @@ -568,6 +569,17 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); + + // NetworkInterface + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config index d9513bbd311e..60e40c1d9cac 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config @@ -7,14 +7,14 @@ - - + + - - - - + + + + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/AuthorizedDedicatedCircuits/GetAzureAuthorizedDedicatedCircuit.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/AuthorizedDedicatedCircuits/GetAzureAuthorizedDedicatedCircuit.cs new file mode 100644 index 000000000000..7b70895acd0b --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/AuthorizedDedicatedCircuits/GetAzureAuthorizedDedicatedCircuit.cs @@ -0,0 +1,55 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System.Collections.Generic; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureAuthorizedDedicatedCircuit"), OutputType(typeof(AzureAuthorizedDedicatedCircuit), typeof(IEnumerable))] + public class GetAzureAuthorizedDedicatedCircuitCommand : ExpressRouteBaseCmdlet + { + [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key representing the Dedicated Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + public override void ExecuteCmdlet() + { + if (!string.IsNullOrEmpty(ServiceKey)) + { + GetByServiceKey(); + } + else + { + GetNoServiceKey(); + } + } + + private void GetByServiceKey() + { + var circuit = ExpressRouteClient.GetAuthorizedAzureDedicatedCircuit(ServiceKey); + WriteObject(circuit); + } + + private void GetNoServiceKey() + { + var circuits = ExpressRouteClient.ListAzureAuthorizedDedicatedCircuits(); + WriteObject(circuits, true); + } + } +} diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj index 1dc82580d6f6..c5450f7d7711 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj @@ -53,17 +53,17 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.11.2-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.15.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -79,13 +79,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -97,10 +97,17 @@ + + + + + + + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs new file mode 100644 index 000000000000..02d621b27106 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.New, "AzureDedicatedCircuitLinkAuthorizationMicrosoftIds")] + public class NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIdsCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key representing Azure Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Authorization Id")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string AuthorizationId { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Microsoft Ids to be removed")] + public string MicrosoftIds { get; set; } + + public override void ExecuteCmdlet() + { + var mapping = ExpressRouteClient.NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIds(ServiceKey, AuthorizationId, MicrosoftIds); + WriteObject(mapping); + } + } +} + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs new file mode 100644 index 000000000000..bb3a59de7f01 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizationMicrosoftIds/RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIds.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Remove, "AzureDedicatedCircuitLinkAuthorizationMicrosoftIds")] + public class RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIdsCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key representing Azure Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Authorization Id")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string AuthorizationId { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Microsoft Ids to be removed")] + public string MicrosoftIds { get; set; } + + public override void ExecuteCmdlet() + { + var mapping = ExpressRouteClient.RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIds(ServiceKey, AuthorizationId, MicrosoftIds); + WriteObject(mapping); + } + } +} + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/GetAzureDedicatedCircuitLinkAuthorization.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/GetAzureDedicatedCircuitLinkAuthorization.cs new file mode 100644 index 000000000000..85312f21bc55 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/GetAzureDedicatedCircuitLinkAuthorization.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureDedicatedCircuitLinkAuthorization"), OutputType(typeof(AzureDedicatedCircuitLinkAuthorization))] + public class GetAzureDedicatedCircuitLinkAuthorizationCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key representing the Azure Dedicated Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Authorization Id")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string AuthorizationId { get; set; } + + public override void ExecuteCmdlet() + { + if (!string.IsNullOrEmpty(AuthorizationId)) + { + GetByAuthorizationId(); + } + else + { + GetNoAuthorizationId(); + } + } + + private void GetByAuthorizationId() + { + var linkAuth = ExpressRouteClient.GetAzureDedicatedCircuitLinkAuthorization(ServiceKey, AuthorizationId); + WriteObject(linkAuth); + } + + private void GetNoAuthorizationId() + { + var linkAuths = ExpressRouteClient.ListAzureDedicatedCircuitLinkAuthorizations(ServiceKey); + WriteObject(linkAuths, true); + } + + + } +} diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/NewAzureDedicatedCircuitLinkAuthorization.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/NewAzureDedicatedCircuitLinkAuthorization.cs new file mode 100644 index 000000000000..9b38f1f2a4e2 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/NewAzureDedicatedCircuitLinkAuthorization.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.New, "AzureDedicatedCircuitLinkAuthorization"), OutputType(typeof(AzureDedicatedCircuitLinkAuthorization))] + public class NewAzureDedicatedCircuitLinkAuthorizationCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key representing Azure Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Description")] + [ValidateNotNullOrEmpty] + public string Description { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Maximum number of links that can be created")] + [ValidateNotNullOrEmpty] + public int Limit { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Microsoft Ids to be added")] + public string MicrosoftIds { get; set; } + + public override void ExecuteCmdlet() + { + var mapping = ExpressRouteClient.NewAzureDedicatedCircuitLinkAuthorization(ServiceKey, Description, Limit, + MicrosoftIds); + WriteObject(mapping); + } + } +} + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/RemoveAzureDedicatedCircuitLinkAuthorization.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/RemoveAzureDedicatedCircuitLinkAuthorization.cs new file mode 100644 index 000000000000..57a89ac34939 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/RemoveAzureDedicatedCircuitLinkAuthorization.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using Properties; + using System; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Remove, "AzureDedicatedCircuitLinkAuthorization"), OutputType(typeof(bool))] + public class RemoveAzureDedicatedCircuitLinkAuthorizationCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key for the Azure Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Authorization Id")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string AuthorizationId { get; set; } + + [Parameter(HelpMessage = "Do not confirm")] + public SwitchParameter Force { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter PassThru { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveAzureDedicatedCircuitLinkAuthorizationWarning, ServiceKey, AuthorizationId), + Resources.RemoveAzureDedicatedCircuitLinkAuthorizationMessage, + ServiceKey + " " + AuthorizationId, + () => + { + if (!ExpressRouteClient.RemoveAzureDedicatedCircuitLinkAuthorization(ServiceKey, AuthorizationId)) + { + throw new Exception(Resources.RemoveAzureDedicatedCircuitLinkAuthorizationFailed); + } + + WriteVerboseWithTimestamp(Resources.RemoveAzureDedicatedCircuitLinkAuthorizationSucceeded, ServiceKey, AuthorizationId); + if (PassThru.IsPresent) + { + WriteObject(true); + } + }); + } + } +} diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/SetAzureDedicatedCircuitLinkAuthorization.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/SetAzureDedicatedCircuitLinkAuthorization.cs new file mode 100644 index 000000000000..5f328865ef74 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitLinkAuthorizations/SetAzureDedicatedCircuitLinkAuthorization.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.ExpressRoute +{ + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Set, "AzureDedicatedCircuitLinkAuthorization"), OutputType(typeof(bool))] + public class SetAzureDedicatedCircuitLinkAuthorizationAuthorizationCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key for the Azure Circuit")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Authorization Id")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string AuthorizationId { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Description")] + public string Description { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Maximum number of links")] + public int Limit { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Microsoft Ids")] + public string MicrosoftIds { get; set; } + + public override void ExecuteCmdlet() + { + try + { + ExpressRouteClient.GetAzureDedicatedCircuitLinkAuthorization(ServiceKey, AuthorizationId); + var updatedAuthorization = ExpressRouteClient.SetAzureDedicatedCircuitLinkAuthorization(ServiceKey, AuthorizationId, Description, Limit); + WriteObject(updatedAuthorization, false); + } + catch + { + var newAuthorization = ExpressRouteClient.NewAzureDedicatedCircuitLinkAuthorization(ServiceKey, Description, Limit, MicrosoftIds); + WriteObject(newAuthorization); + } + } + } +} diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 index 97440d649a40..af65a78c3eaa 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ExpressRoute.dll' # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.8.10.1' # ID used to uniquely identify this module GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a' diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs index 9798c301f51c..cb14378a0e79 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs @@ -12,27 +12,37 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Net; +using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Models; -using Microsoft.WindowsAzure.Management.ExpressRoute; -using Microsoft.WindowsAzure.Management.ExpressRoute.Models; +using Microsoft.WindowsAzure.Common; namespace Microsoft.WindowsAzure.Commands.ExpressRoute { + using Microsoft.WindowsAzure.Management.ExpressRoute; + using Microsoft.WindowsAzure.Management.ExpressRoute.Models; + using System; + using System.Collections.Generic; + using System.Net; + using Utilities.Common; + + public class ExpressRouteClient { public ExpressRouteManagementClient Client { get; internal set; } + private static ClientType CreateClient(AzureSubscription subscription) where ClientType : ServiceClient + { + return AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + } + /// /// Creates new ExpressRouteClient /// /// Subscription containing websites to manipulate public ExpressRouteClient(AzureSubscription subscription) - { - Client = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + : this(CreateClient(subscription)) + { } public ExpressRouteClient(ExpressRouteManagementClient client) @@ -152,6 +162,69 @@ public AzureCrossConnection SetAzureCrossConnection(string serviceKey, public IEnumerable ListAzureCrossConnections() { return (Client.CrossConnections.List()).CrossConnections; - } + } + + public AzureDedicatedCircuitLinkAuthorization GetAzureDedicatedCircuitLinkAuthorization(string serviceKey, string authorizationId) + { + return (Client.DedicatedCircuitLinkAuthorizations.Get(serviceKey, authorizationId)).DedicatedCircuitLinkAuthorization; + } + + public AzureDedicatedCircuitLinkAuthorization NewAzureDedicatedCircuitLinkAuthorization(string serviceKey, string description, int limit, string microsoftIds) + { + return (Client.DedicatedCircuitLinkAuthorizations.New(serviceKey, new DedicatedCircuitLinkAuthorizationNewParameters() + { + Description = description, + Limit = limit, + MicrosoftIds = microsoftIds + })).DedicatedCircuitLinkAuthorization; + } + + public AzureDedicatedCircuitLinkAuthorization SetAzureDedicatedCircuitLinkAuthorization(string serviceKey, string authorizationId, string description, int limit) + { + return (Client.DedicatedCircuitLinkAuthorizations.Update(serviceKey, authorizationId, new DedicatedCircuitLinkAuthorizationUpdateParameters() + { + Description = description, + Limit = limit + })).DedicatedCircuitLinkAuthorization; + } + + public IEnumerable ListAzureDedicatedCircuitLinkAuthorizations(string serviceKey) + { + return (Client.DedicatedCircuitLinkAuthorizations.List(serviceKey).DedicatedCircuitLinkAuthorizations); + } + + public bool RemoveAzureDedicatedCircuitLinkAuthorization(string serviceKey, string authorizationId) + { + var result = Client.DedicatedCircuitLinkAuthorizations.Remove(serviceKey, authorizationId); + return result.HttpStatusCode.Equals(HttpStatusCode.OK); + } + + public AzureAuthorizedDedicatedCircuit GetAuthorizedAzureDedicatedCircuit(string serviceKey) + { + return (Client.AuthorizedDedicatedCircuits.Get(serviceKey)).AuthorizedDedicatedCircuit; + } + + public IEnumerable ListAzureAuthorizedDedicatedCircuits() + { + return (Client.AuthorizedDedicatedCircuits.List().AuthorizedDedicatedCircuits); + } + + public bool NewAzureDedicatedCircuitLinkAuthorizationMicrosoftIds(string serviceKey, string authorizationId, string microsoftIds) + { + var result = Client.DedicatedCircuitLinkAuthorizationMicrosoftIds.New(serviceKey, authorizationId, new DedicatedCircuitLinkAuthorizationMicrosoftIdNewParameters() + { + MicrosoftIds = microsoftIds + }); + return result.StatusCode.Equals(HttpStatusCode.OK); + } + + public bool RemoveAzureDedicatedCircuitLinkAuthorizationMicrosoftIds(string serviceKey, string authorizationId, string microsoftIds) + { + var result = Client.DedicatedCircuitLinkAuthorizationMicrosoftIds.Remove(serviceKey, authorizationId, new DedicatedCircuitLinkAuthorizationMicrosoftIdRemoveParameters() + { + MicrosoftIds = microsoftIds + }); + return result.StatusCode.Equals(HttpStatusCode.OK); + } } } diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1 new file mode 100644 index 000000000000..8becdea8c4e2 --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1 @@ -0,0 +1,93 @@ +# +# Module manifest for module 'Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository' +# +# Generated by: Microsoft Corporation +# +# Generated on: 7/22/2013 +# + +@{ + +# Script module or binary module file associated with this manifest +ModuleToProcess = '..\..\..\Package\Debug\ServiceManagement\Azure\ExpressRoute\Microsoft.WindowsAzure.Commands.ExpressRoute.dll' + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = ' Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = '' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @( +) + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @( + '.\Microsoft.WindowsAzure.Commands.ExpressRoute.format.ps1xml' +) + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = '*' + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.xml b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.xml index e90c4518b895..200adb8c92d5 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.xml +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.xml @@ -1,2352 +1,3017 @@ - - - - - Get-AzureBGPPeering - - Returns an object with bgp configuration information of an ExpressRouteCircuit - - - - - Get - AzureBGPPeering - - - - The Get-AzureBGPPeering cmdlet gets the routing configuration for an ExpressRoute circuit. It returns an object with information on a specific ExpressRoute circuit for which a service key is provided. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. - - - - Get-AzureBGPPeering - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - - Private - Public - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve circuit routing information. - - - - - String - - - - - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - BgpPeeringAccessType - - BgpPeeringAccessType - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve circuit routing information. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Get-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" - - - + + + + + Get-AzureAuthorizedDedicatedCircuit + + Returns an object with authorized circuit information for a subscriptionId + + + + + Get + AzureAuthorizedDedicatedCircuit + + + + + The customer can use their subscription Id to link against the authorized circuit using the New-AzureDedicatedCircuitLink Cmdlet. + + + + Get-AzureAuthorizedDedicatedCircuit + + ServiceKey + + Identifier of the Authorized Dedicated Circuit + + String + + + + + + ServiceKey + + Identifier of the Authorized Dedicated Circuit + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureAuthorizedDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command returns an object with information on the authorized ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureAuthorizedDedicatedCircuit + + This command returns a list object with information on all the authorized ExpressRoute circuits in the current Microsoft Azure subscription. + + + + + + + + + + + + + + + Get-AzureBGPPeering + + Returns an object with bgp configuration information of an ExpressRouteCircuit + + + + + Get + AzureBGPPeering + + + + + The Get-AzureBGPPeering cmdlet gets the routing configuration for an ExpressRoute circuit. It returns an object with information on a specific ExpressRoute circuit for which a service key is provided. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. + + + + Get-AzureBGPPeering + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve circuit routing information. + + String + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve circuit routing information. + + String + + String + + + + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + BgpPeeringAccessType + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command returns an object with information on the routing configuration for the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Get-AzureDedicatedCircuit + + Lists all ExpressRoute circuits and details of each circuit. + + + + + Get + AzureDedicatedCircuit + + + + + The Get-AzureDedicatedCircuit cmdlet retrieves information about all ExpressRoute circuits created in the current subscription in Microsoft Azure. It returns an object with information on a specific ExpressRoute circuit if a service key is provided, or if no service key is specified, for all the ExpressRoute circuits in the current subscription. + + + + Get-AzureDedicatedCircuit + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the ExpressRoute circuits in the current Microsoft Azure subscription. + + String + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the ExpressRoute circuits in the current Microsoft Azure subscription. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command returns an object with information on the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDedicatedCircuit + + This command returns a list object with information on all the ExpressRoute circuits in the current Microsoft Azure subscription. + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Get-AzureDedicatedCircuitLink + + Lists the link state of a particular virtual network and an ExpressRoute circuit. If a virtual network name is not specified, it lists all virtual networks linked to a particular ExpressRoute circuit. + + + + + Get + AzureDedicatedCircuitLink + + + + + The Get-AzureDedicatedCircuitLink cmdlet retrieves information about all Virtual networks linked to a particular ExpressRoute circuit. It returns an object with the link state of a specific virtual network and an ExpressRoute circuit if a virtual network name is provided, or if a virtual network name is not specified, it lists all virtual networks linked to the particular ExpressRoute circuit identified by the specified Service key. + + + + Get-AzureDedicatedCircuitLink + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve link information. This is a required parameter. + + String + + + VNetName + + Specifies the virtual network name for which link state needs to be verified. + + String + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to retrieve link information. This is a required parameter. + + String + + String + + + + + + VNetName + + Specifies the virtual network name for which link state needs to be verified. + + String + + String + + + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyVNet" + + This command returns the link state of the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab" and the virtual network "MyVNet". + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command returns a list of all virtual networks linked to the circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Get-AzureDedicatedCircuitLinkAuthorization + + Gets details of an existing authorization + + + + + Get + AzureDedicatedCircuitLinkAuthorization + + + + + Returns an object containing the link authorization details. + + + + Get-AzureDedicatedCircuitLinkAuthorization + + ServiceKey + + Identifier of the dedicated circuit + + String + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureDedicatedCircuitLinkAuthorization -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -AuthorizationId "12345678-1234-1234-abcd-1234567890ab" + + Returns the details of the service key and the authorization Id provided to the Cmdlet. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureDedicatedCircuitLinkAuthorization -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + Lists all authorizations associated with the service key. + + + + + + + + + + + + + + + Get-AzureDedicatedCircuitServiceProvider + + Lists all ExpressRoute service providers including carriers and internet exchange points offering connectivity across all regions in Microsoft Azure. + + + + + Get + AzureDedicatedCircuitServiceProvider + + + + + The Get-AzureDedicatedCircuitServiceProvider cmdlet retrieves information about all ExpressRoute connectivity providers across all regions in Microsoft Azure. It returns a list with information on each service provider including the service provider name, type, supported locations, and supported bandwidth options for creating ExpressRoute circuits. + + + + Get-AzureDedicatedCircuitServiceProvider + + + + + + + + + + + + + + + + + + + ManagementOperationContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureDedicatedCircuitServiceProvider + + This command returns a list with information on all the ExpressRoute service providers. + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + New-AzureBGPPeering + + Creates a new BGP peering configuration for an ExpressRoute circuit. + + + + + New + AzureBGPPeering + + + + + The New-AzureBGPPeering cmdlet creates a new routing configuration for an ExpressRoute circuit. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. + + + + New-AzureBGPPeering + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to create a BGP session. + + String + + + PeerAsn + + Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. + + UInt32 + + + PrimaryPeerSubnet + + Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + + SecondaryPeerSubnet + + Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + + SharedKey + + Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. + + String + + + VlanId + + Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. + + UInt32 + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to create a BGP session. + + String + + String + + + + + + PeerAsn + + Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. + + UInt32 + + UInt32 + + + + + + PrimaryPeerSubnet + + Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + String + + + + + + SecondaryPeerSubnet + + Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + String + + + + + + SharedKey + + Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. + + String + + String + + + + + + VlanId + + Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. + + UInt32 + + UInt32 + + + + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + BgpPeeringAccessType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" + + Creates a new BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session with AS number 65014 is established on VLAN ID 100. + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + New-AzureDedicatedCircuit + + Creates a new ExpressRoute circuit in a Microsoft Azure subscription. + + + + + New + AzureDedicatedCircuit + + + + + The New-AzureDedicatedCircuit cmdlet creates a new ExpressRoute circuit in the current Microsoft Azure subscription. + + + + New-AzureDedicatedCircuit + + CircuitName + + Specifies a name for the ExpressRoute circuit to be created. The storage account name must be unique within the current Microsoft Azure subscription and must be between 3 and 24 characters in length. + + String + + + Bandwidth + + Specifies the required aggregate bandwidth for the ExpressRouteCircuit between the customer's premises and Microsoft Azure through the selected service provider at the specified peering location. Bandwidth is specified in Mbps. + + UInt32 + + + Location + + Specifies the peering location for the particular service provider through which connectiovity will be enabled. The name of the location must match with one of the locations for the selected service provider as returned by the Get-AzureDedicatedCircuitServiceProvider cmdlet. + + String + + + ServiceProviderName + + Specifies the ExpressRoute connectivity service provider through which the circuit will be enabled. The name of the service provider must match with the name of one of the service providers listed by the Get-AzureDedicatedCircuitServiceProvider cmdlet. + + String + + + Force + + + + SwitchParameter + + + + + + CircuitName + + Specifies a name for the ExpressRoute circuit to be created. The storage account name must be unique within the current Microsoft Azure subscription and must be between 3 and 24 characters in length. + + String + + String + + + + + + Bandwidth + + Specifies the required aggregate bandwidth for the ExpressRouteCircuit between the customer's premises and Microsoft Azure through the selected service provider at the specified peering location. Bandwidth is specified in Mbps. + + UInt32 + + UInt32 + + + + + + Location + + Specifies the peering location for the particular service provider through which connectiovity will be enabled. The name of the location must match with one of the locations for the selected service provider as returned by the Get-AzureDedicatedCircuitServiceProvider cmdlet. + + String + + String + + + + + + ServiceProviderName + + Specifies the ExpressRoute connectivity service provider through which the circuit will be enabled. The name of the service provider must match with the name of one of the service providers listed by the Get-AzureDedicatedCircuitServiceProvider cmdlet. + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureDedicatedCircuit -CircuitName "MyCircuit" -ServiceProviderName "Equinix" -Location "West US" -Bandwidth 1024 + + Creates a new ExpressRoute circuit named "MyCircuit" with Equinix as the service provider, peering in West US with an aggregate bandwidth of 1024 Mbps. + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + New-AzureDedicatedCircuitLink + + Creates a link between an ExpressRoute circuit and a virtual network in the current Microsoft Azure subscription. + + + + + New + AzureDedicatedCircuitLink + + + + + The New-AzureDedicatedCircuitLink cmdlet creates a link between an ExpressRoute circuit and a virtual network in the current Microsoft Azure subscription. + + + + New-AzureDedicatedCircuitLink + + ServiceKey + + Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. + + String + + + VNetName + + Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. + + String + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. + + String + + String + + + + + + VNetName + + Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>New-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyvNet" + + Links the virtual network "MyvNet" with the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab" + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + New-AzureDedicatedCircuitLinkAuthorization + + Creates an authorization to allow links to be created on a dedicated circuit not owned by the caller. + + + + + New + AzureDedicatedCircuitLinkAuthorization + + + + + The owner of a dedicated circuit can call this Cmdlet to authorize the use of their circuit to other users. + + + + New-AzureDedicatedCircuitLinkAuthorization + + ServiceKey + + Identifier of the dedicated circuit + + String + + + Description + + Description of the link authorization + + String + + + Limit + + Maximum number of links authorized from this link authorization + + Int32 + + + MicrosoftIds + + Comma separated list of Microsoft ids to be authorized + + String + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + Description + + Description of the link authorization + + String + + String + + + + + + Limit + + Maximum number of links authorized from this link authorization + + Int32 + + Int32 + + + + + + MicrosoftIds + + Comma separated list of Microsoft ids to be authorized + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureDedicatedCircuitLinkAuthorization -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -Description "Customer1" -MicrosoftIds "id@company.com" + + Authorizes a user with Microsoft Id 'id@company.com' to create a Dedicated Circuit Link using the service key specified. + + + + + + + + + + + + + + + New-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + Adds Microsoft Ids to an existing link authorization. + + + + + New + AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + + + + This Cmdlet is used to add more authorized users to an existing authorization. + + + + New-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + ServiceKey + + Identifier of the dedicated circuit + + String + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + + MicrosoftIds + + A comma separated list of Microsoft Ids to be authorized + + String + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + String + + + + + + MicrosoftIds + + A comma separated list of Microsoft Ids to be authorized + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -AuthorizationId "12345678-1234-1234-abcd-1234567890ab" -MicrosoftIds "id@company.com" + + Allows the user with MicrosoftId 'id@company.com' to create a link with the specified dedicated circuit. + + + + + + + + + + + + + + + Remove-AzureBGPPeering + + Removes the routing configuration for an ExpressRoute circuit. + + + + + Remove + AzureBGPPeering + + + + + The Remove-AzureBGPPeering cmdlet deletes the routing configuration of an ExpressRoute circuit. This cmdlet works only for circuits provisioned through an Internet Exchange Point service provider. This cmdlet does not work for ExpressRoute circuits established through a carrier. + + + + Remove-AzureBGPPeering + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which the routing configuration needs to be deleted. + + String + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which the routing configuration needs to be deleted. + + String + + String + + + + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + BgpPeeringAccessType + + + + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command removes the routing configuration for the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Remove-AzureDedicatedCircuit + + Removes an ExpressRoute circuit. + + + + + Remove + AzureDedicatedCircuit + + + + + The Remove-AzureDedicatedCircuit cmdlet deletes an ExpressRoute circuit. This process does not guarantee that the circuit has been completely removed. The customer must make sure that the service provider has de-provisioned the circuit on their end in order to cleanly remove the circuit. The customer will be billed for the circuit till all resources are cleared on both the Microsoft Azure side and the service provider side. + + + + Remove-AzureDedicatedCircuit + + ServiceKey + + Specifies the service key of the ExpressRoute circuit to be deleted. + + String + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit to be deleted. + + String + + String + + + + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" + + This command removes the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Remove-AzureDedicatedCircuitLink + + Removes the link between a Virtual Network and an ExpressRoute circuit. + + + + + Remove + AzureDedicatedCircuitLink + + + + + The Remove-AzureDedicatedCircuit cmdlet deletes the link between an ExpressRoute circuit and a virtual network. + + + + Remove-AzureDedicatedCircuitLink + + ServiceKey + + Specifies the service key of the ExpressRoute circuit. + + String + + + VNetName + + Specifies the virtual network name to be unlinked from the ExpressRoute circuit. + + String + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit. + + String + + String + + + + + + VNetName + + Specifies the virtual network name to be unlinked from the ExpressRoute circuit. + + String + + String + + + + + + Force + + Forces the action without prompting the user for input. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyVNet" + + This command removes the link between the virtual network "MyVNet" and the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Set-AzureBGPPeering + + + + + + + + Remove-AzureDedicatedCircuitLinkAuthorization + + Removes an existing dedicated circuit link authorization + + + + + Remove + AzureDedicatedCircuitLinkAuthorization + + + + + This Cmdlet removes a previously created dedicated circuit link authorization. The affected users' existing links will be removed and they will no longer be able to create new links with the specified dedicated circuit. + + + + Remove-AzureDedicatedCircuitLinkAuthorization + + ServiceKey + + Identifier of the dedicated circuit + + String + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureDedicatedCircuitLinkAuthorization -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -AuthorizationId "12345678-1234-1234-abcd-1234567890ab" + + + + + + + + + + + + + + + + + Remove-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + Removes the authorization for the specified Microsoft Ids + + + + + Remove + AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + + + + This Cmdlet removes the authorization for the specified Microsoft Ids to create dedicated circuit links on the specified circuit. Any existing links for the specified user will also be removed. + + + + Remove-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds + + ServiceKey + + Identifier of the dedicated circuit + + String + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + + MicrosoftIds + + Comma separated list of Microsoft ids + + String + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + String + + + + + + MicrosoftIds + + Comma separated list of Microsoft ids + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureDedicatedCircuitLinkAuthorizationMicrosoftIds -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -AuthorizationId "12345678-1234-1234-abcd-1234567890ab" -MicrosoftIds "id@company.com" + + Removes the authorization for the specified Microsoft Id to create a link with the specified circuit. + + + + + + + + + + + + + + + Set-AzureBGPPeering + + Updates a BGP peering configuration for an ExpressRoute circuit. + + + + + Set + AzureBGPPeering + + + + + The Set-AzureBGPPeering cmdlet updates the routing configuration for an ExpressRoute circuit. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. + + + + Set-AzureBGPPeering + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to create a BGP session. + + String + + + PeerAsn + + Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. + + Nullable`1[UInt32] + + + PrimaryPeerSubnet + + Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + + SecondaryPeerSubnet + + Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + + SharedKey + + Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. + + String + + + VlanId + + Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. + + Nullable`1[UInt32] + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + + + + + ServiceKey + + Specifies the service key of the ExpressRoute circuit for which to create a BGP session. + + String + + String + + + + + + PeerAsn + + Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + + + + PrimaryPeerSubnet + + Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + String + + + + + + SecondaryPeerSubnet + + Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. + + String + + String + + + + + + SharedKey + + Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. + + String + + String + + + + + + VlanId + + Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + + + + AccessType + + Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. + + BgpPeeringAccessType + + BgpPeeringAccessType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> C:\PS>Set-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" + + Updates the BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session with AS number 65014 is established on VLAN ID 100. + + + + + + + + + + + Get-AzureBGPPeering + + + + Get-AzureDedicatedCircuit + + + + Get-AzureDedicatedCircuitLink + + + + Get-AzureDedicatedCircuitServiceProvider + + + + New-AzureBGPPeering + + + + New-AzureDedicatedCircuit + + + + New-AzureDedicatedCircuitLink + + + + Remove-AzureBGPPeering + + + + Remove-AzureDedicatedCircuit + + + + Remove-AzureDedicatedCircuitLink + + + + Set-AzureBGPPeering + + + + + + + + Set-AzureDedicatedCircuitLinkAuthorization + + Updates or creates a dedicated circuit link authorization + + + + + Set + AzureDedicatedCircuitLinkAuthorization + + + + + This Cmdlet updates or creates a dedicated circuit link authorization. The authorized users will be allowed to create links using the New-AzureDedicatedCircuitLink Cmdlet on the specified dedicated circuit. + + + + Set-AzureDedicatedCircuitLinkAuthorization + + ServiceKey + + Identifier of the dedicated circuit + + String + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + + Description + + Description of the link authorization + + String + + + Limit + + Maximum number of links authorized from this link authorization + + Int32 + + + MicrosoftIds + + Comma separated list of Microsoft ids that need to be authorized + + String + + + + + + ServiceKey + + Identifier of the dedicated circuit + + String + + String + + + + + + AuthorizationId + + A value that uniquely identifies the link authorization + + String + + String + + + + + + Description + + Description of the link authorization + + String + + String + + + + + + Limit + + Maximum number of links authorized from this link authorization + + Int32 + + Int32 + + + + + + MicrosoftIds + + Comma separated list of Microsoft ids that need to be authorized + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Set-AzureDedicatedCircuitLinkAuthorization -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -AuthorizationId "12345678-1234-1234-abcd-1234567890ab" -Limit 10 - - This command returns an object with information on the routing configuration for the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Get-AzureDedicatedCircuit - - Lists all ExpressRoute circuits and details of each circuit. - - - - - Get - AzureDedicatedCircuit - - - - The Get-AzureDedicatedCircuit cmdlet retrieves information about all ExpressRoute circuits created in the current subscription in Microsoft Azure. It returns an object with information on a specific ExpressRoute circuit if a service key is provided, or if no service key is specified, for all the ExpressRoute circuits in the current subscription. - - - - - - - Get-AzureDedicatedCircuit - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the ExpressRoute circuits in the current Microsoft Azure subscription. - - - - - String - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the ExpressRoute circuits in the current Microsoft Azure subscription. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" - - - - - - This command returns an object with information on the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureDedicatedCircuit - - - - - - This command returns a list object with information on all the ExpressRoute circuits in the current Microsoft Azure subscription. - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Get-AzureDedicatedCircuitLink - - Lists the link state of a particular virtual network and an ExpressRoute circuit. If a virtual network name is not specified, it lists all virtual networks linked to a particular ExpressRoute circuit. - - - - - Get - AzureDedicatedCircuitLink - - - - The Get-AzureDedicatedCircuitLink cmdlet retrieves information about all Virtual networks linked to a particular ExpressRoute circuit. It returns an object with the link state of a specific virtual network and an ExpressRoute circuit if a virtual network name is provided, or if a virtual network name is not specified, it lists all virtual networks linked to the particular ExpressRoute circuit identified by the specified Service key. - - - - - - - Get-AzureDedicatedCircuitLink - - VNetName - - Specifies the virtual network name for which link state needs to be verified. - - - - - String - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve link information. This is a required parameter. - - - - - String - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to retrieve link information. This is a required parameter. - - - - - String - - String - - - - - - - VNetName - - Specifies the virtual network name for which link state needs to be verified. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyVNet" - - - - - - This command returns the link state of the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab" and the virtual network "MyVNet". - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - - - - - C:\PS>Get-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" - - - - - - This command returns a list of all virtual networks linked to the circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Get-AzureDedicatedCircuitServiceProvider - - Lists all ExpressRoute service providers including carriers and internet exchange points offering connectivity across all regions in Microsoft Azure. - - - - - Get - AzureDedicatedCircuitServiceProvider - - - - The Get-AzureDedicatedCircuitServiceProvider cmdlet retrieves information about all ExpressRoute connectivity providers across all regions in Microsoft Azure. It returns a list with information on each service provider including the service provider name, type, supported locations, and supported bandwidth options for creating ExpressRoute circuits. - - - - - - - Get-AzureDedicatedCircuitServiceProvider - - - - - - - - - - - - - - - - - - - - - - - ManagementOperationContext - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>Get-AzureDedicatedCircuitServiceProvider - - - - - - This command returns a list with information on all the ExpressRoute service providers. - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - New-AzureBGPPeering - - Creates a new BGP peering configuration for an ExpressRoute circuit. - - - - - New - AzureBGPPeering - - - - The New-AzureBGPPeering cmdlet creates a new routing configuration for an ExpressRoute circuit. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. - - - - - - - New-AzureBGPPeering - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - - Private - Public - - - - SharedKey - - Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. - - - - - String - - - PeerAsn - - Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. - - - - - UInt32 - - - PrimaryPeerSubnet - - Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - - SecondaryPeerSubnet - - Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to create a BGP session. - - - - - String - - - VlanId - - Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. - - - - - UInt32 - - - - - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - BgpPeeringAccessType - - BgpPeeringAccessType - - - - - - - PeerAsn - - Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. - - - - - UInt32 - - UInt32 - - - - - - - PrimaryPeerSubnet - - Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - String - - - - - - - SecondaryPeerSubnet - - Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - String - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to create a BGP session. - - - - - String - - String - - - - - - - SharedKey - - Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. - - - - - String - - String - - - - - - - VlanId - - Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. - - - - - UInt32 - - UInt32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>New-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" - - - - - - Creates a new BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session with AS number 65014 is established on VLAN ID 100. - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - New-AzureDedicatedCircuit - - Creates a new ExpressRoute circuit in a Microsoft Azure subscription. - - - - - New - AzureDedicatedCircuit - - - - The New-AzureDedicatedCircuit cmdlet creates a new ExpressRoute circuit in the current Microsoft Azure subscription. - - - - - - - New-AzureDedicatedCircuit - - Bandwidth - - Specifies the required aggregate bandwidth for the ExpressRouteCircuit between the customer's premises and Microsoft Azure through the selected service provider at the specified peering location. Bandwidth is specified in Mbps. - - - - - UInt32 - - - CircuitName - - Specifies a name for the ExpressRoute circuit to be created. The storage account name must be unique within the current Microsoft Azure subscription and must be between 3 and 24 characters in length. - - - - - String - - - Location - - Specifies the peering location for the particular service provider through which connectiovity will be enabled. The name of the location must match with one of the locations for the selected service provider as returned by the Get-AzureDedicatedCircuitServiceProvider cmdlet. - - - - - String - - - ServiceProviderName - - Specifies the ExpressRoute connectivity service provider through which the circuit will be enabled. The name of the service provider must match with the name of one of the service providers listed by the Get-AzureDedicatedCircuitServiceProvider cmdlet. - - - - - String - - - - - - Bandwidth - - Specifies the required aggregate bandwidth for the ExpressRouteCircuit between the customer's premises and Microsoft Azure through the selected service provider at the specified peering location. Bandwidth is specified in Mbps. - - - - - UInt32 - - UInt32 - - - - - - - CircuitName - - Specifies a name for the ExpressRoute circuit to be created. The storage account name must be unique within the current Microsoft Azure subscription and must be between 3 and 24 characters in length. - - - - - String - - String - - - - - - - Location - - Specifies the peering location for the particular service provider through which connectiovity will be enabled. The name of the location must match with one of the locations for the selected service provider as returned by the Get-AzureDedicatedCircuitServiceProvider cmdlet. - - - - - String - - String - - - - - - - ServiceProviderName - - Specifies the ExpressRoute connectivity service provider through which the circuit will be enabled. The name of the service provider must match with the name of one of the service providers listed by the Get-AzureDedicatedCircuitServiceProvider cmdlet. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureDedicatedCircuit -CircuitName "MyCircuit" -ServiceProviderName "Equinix" -Location "West US" -Bandwidth 1024 - - - - - - Creates a new ExpressRoute circuit named "MyCircuit" with Equinix as the service provider, peering in West US with an aggregate bandwidth of 1024 Mbps. - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - New-AzureDedicatedCircuitLink - - Creates a link between an ExpressRoute circuit and a virtual network in the current Microsoft Azure subscription. - - - - - New - AzureDedicatedCircuitLink - - - - The New-AzureDedicatedCircuitLink cmdlet creates a link between an ExpressRoute circuit and a virtual network in the current Microsoft Azure subscription. - - - - - - - New-AzureDedicatedCircuitLink - - ServiceKey - - Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. - - - - - String - - - VNetName - - Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. - - - - - String - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. - - - - - String - - String - - - - - - - VNetName - - Specifies the service key of the ExpressRoute circuit to which a virtual network must be linked to. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - - C:\PS>New-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyvNet" - - - - - - Links the virtual network "MyvNet" with the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab" - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Remove-AzureBGPPeering - - Removes the routing configuration for an ExpressRoute circuit. - - - - - Remove - AzureBGPPeering - - - - The Remove-AzureBGPPeering cmdlet deletes the routing configuration of an ExpressRoute circuit. This cmdlet works only for circuits provisioned through an Internet Exchange Point service provider. This cmdlet does not work for ExpressRoute circuits established through a carrier. - - - - Remove-AzureBGPPeering - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - - Private - Public - - - - Force - - Forces the action without prompting the user for input. - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which the routing configuration needs to be deleted. - - - - - String - - - - - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - BgpPeeringAccessType - - BgpPeeringAccessType - - - - - - - Force - - Forces the action without prompting the user for input. - - SwitchParameter - - SwitchParameter - - - - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - SwitchParameter - - SwitchParameter - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which the routing configuration needs to be deleted. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Remove-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" - - - - - - This command removes the routing configuration for the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Remove-AzureDedicatedCircuit - - Removes an ExpressRoute circuit. - - - - - Remove - AzureDedicatedCircuit - - - - The Remove-AzureDedicatedCircuit cmdlet deletes an ExpressRoute circuit. This process does not guarantee that the circuit has been completely removed. The customer must make sure that the service provider has de-provisioned the circuit on their end in order to cleanly remove the circuit. The customer will be billed for the circuit till all resources are cleared on both the Microsoft Azure side and the service provider side. - - - - - - - Remove-AzureDedicatedCircuit - - Force - - Forces the action without prompting the user for input. - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit to be deleted. - - - - - String - - - - - - Force - - Forces the action without prompting the user for input. - - SwitchParameter - - SwitchParameter - - - - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - SwitchParameter - - SwitchParameter - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit to be deleted. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Remove-AzureDedicatedCircuit -ServiceKey "12345678-1234-1234-abcd-1234567890ab" - - - - - - This command removes the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - - - Remove-AzureDedicatedCircuitLink - - Removes the link between a Virtual Network and an ExpressRoute circuit. - - - - - Remove - AzureDedicatedCircuitLink - - - - The Remove-AzureDedicatedCircuit cmdlet deletes the link between an ExpressRoute circuit and a virtual network. - - - - - - - Remove-AzureDedicatedCircuitLink - - Force - - Forces the action without prompting the user for input. - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit. - - - - - String - - - VNetName - - Specifies the virtual network name to be unlinked from the ExpressRoute circuit. - - - - - String - - - - - - Force - - Forces the action without prompting the user for input. - - SwitchParameter - - SwitchParameter - - - - - - - PassThru - - If -PassThru is specified, then a result is returned as True or False, depending on whether the command succeeded or not. - - SwitchParameter - - SwitchParameter - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit. - - - - - String - - String - - - - - - - VNetName - - Specifies the virtual network name to be unlinked from the ExpressRoute circuit. - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Remove-AzureDedicatedCircuitLink -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VNetName "MyVNet" - - - - - - This command removes the link between the virtual network "MyVNet" and the ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Set-AzureBGPPeering - - - - - - - Set-AzureBGPPeering - - Updates a BGP peering configuration for an ExpressRoute circuit. - - - - - Set - AzureBGPPeering - - - - The Set-AzureBGPPeering cmdlet updates the routing configuration for an ExpressRoute circuit. This cmdlet works only for circuits established with an internet exchange point service provider. This cmdlet does not work for circuits established through carriers. - - - - Set-AzureBGPPeering - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - - Private - Public - - - - PeerAsn - - Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. - - - - - UInt32 - - - PrimaryPeerSubnet - - Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - - SecondaryPeerSubnet - - Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - - SharedKey - - Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. - - - - - String - - - VlanId - - Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. - - - - - UInt32 - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to create a BGP session. - - - - - String - - - - - - AccessType - - Access type can be either Public or Private. Private (the default value) sets up a BGP session to be used with virtual networks. Public sets up a BGP session to be used to access public IP addresses in the service, including VIPs. - - BgpPeeringAccessType - - BgpPeeringAccessType - - - - - - - PeerAsn - - Specifies the customer's AS number for the BGP session. Customers can use either a public AS number they own or choose a private AS number. Customers must not use AS number 65515 if they are using private AS numbers. - - - - - UInt32 - - UInt32 - - - - - - - PrimaryPeerSubnet - - Specifies one of the peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.0/30 is specified, the customer uses 10.0.0.1 for their VRF and Azure will select 10.0.0.2 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - String - - - - - - - SecondaryPeerSubnet - - Specifies the second peering subnets in CIDR notation from which I addresses will be selected for establishing a BGP session. If the subnet 10.0.0.4/30 is specified, the customer uses 10.0.0.5 for their VRF and Azure will select 10.0.0.6 for it's VRF to establish a BGP session. This subnet must not overlap with any of the virtual networks' address ranges used in Microsoft Azure. - - - - - String - - String - - - - - - - ServiceKey - - Specifies the service key of the ExpressRoute circuit for which to create a BGP session. - - - - - String - - String - - - - - - - SharedKey - - Specifies the MD5 hash to be used for the BGP session. The hash bust be a 16-byte hash value represented as a 32 digit hexadecimal number. - - - - - String - - String - - - - - - - VlanId - - Specifies the VLAN ID over which a BGP session will be established for the ExpressRoute circuit. - - - - - UInt32 - - UInt32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - - - C:\PS>Set-AzureBGPPeering -ServiceKey "12345678-1234-1234-abcd-1234567890ab" -VlanId 100 -PeerAsn 65014 -PrimaryPeerSubnet "10.0.0.0/30" -SecondaryPeerSubnet "10.0.0.4/30" - - - - - - Updates the BGP session for an ExpressRoute circuit with service key "12345678-1234-1234-abcd-1234567890ab". The BGP session with AS number 65014 is established on VLAN ID 100. - - - - - - - - - - - - - - Get-AzureBGPPeering - - - - Get-AzureDedicatedCircuit - - - - Get-AzureDedicatedCircuitLink - - - - Get-AzureDedicatedCircuitServiceProvider - - - - New-AzureBGPPeering - - - - New-AzureDedicatedCircuit - - - - New-AzureDedicatedCircuitLink - - - - Remove-AzureBGPPeering - - - - Remove-AzureDedicatedCircuit - - - - Remove-AzureDedicatedCircuitLink - - - - Set-AzureBGPPeering - - - - - + + Sets the maximum number of authorized links to 10. + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs index a42537c806c1..e7cb0481a95b 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs @@ -168,6 +168,42 @@ internal static string RemoveAzureDedicatedCircuitFailed { } } + /// + /// Looks up a localized string similar to Remove-AzureDedicatedCircuitLinkAuthorization Operation failed.. + /// + internal static string RemoveAzureDedicatedCircuitLinkAuthorizationFailed { + get { + return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkAuthorizationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing Dedicated Circuit Link Authorization. + /// + internal static string RemoveAzureDedicatedCircuitLinkAuthorizationMessage { + get { + return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkAuthorizationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully removed Dedicated Circuit Link Authorization with service key '{0}' and authorization Id '{1}'.. + /// + internal static string RemoveAzureDedicatedCircuitLinkAuthorizationSucceeded { + get { + return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkAuthorizationSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the Dedicated Circuit Link Authorization with service key '{0}' and authorization Id '{1}'?. + /// + internal static string RemoveAzureDedicatedCircuitLinkAuthorizationWarning { + get { + return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkAuthorizationWarning", resourceCulture); + } + } + /// /// Looks up a localized string similar to Remove-AzureDedicatedCircuitLink Operation failed.. /// diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx index e11f304773b4..6d5dce5258fa 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx @@ -153,6 +153,18 @@ Remove-AzureDedicatedCircuit Operation failed. + + Remove-AzureDedicatedCircuitLinkAuthorization Operation failed. + + + Removing Dedicated Circuit Link Authorization + + + Successfully removed Dedicated Circuit Link Authorization with service key '{0}' and authorization Id '{1}'. + + + Are you sure you want to remove the Dedicated Circuit Link Authorization with service key '{0}' and authorization Id '{1}'? + Remove-AzureDedicatedCircuitLink Operation failed. diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config index 77be87c3d642..48442ff69322 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config @@ -3,9 +3,9 @@ - - + + - + \ No newline at end of file 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 1c6104901861..a93b7836f301 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -66,12 +66,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll @@ -101,11 +102,13 @@ - - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -236,4 +239,4 @@ - + \ No newline at end of file diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs index 5642f2e025de..1b3b73b190fa 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs @@ -182,7 +182,7 @@ public void ApplyFullMocking() WaitAzureHDInsightJobCommand.ReduceWaitTime = true; var cmdletManager = ServiceLocator.Instance.Locate(); cmdletManager.MockingLevel = ServiceLocationMockingLevel.ApplyFullMocking; - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); ProfileClient.DataStore = new MockDataStore(); } diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config index 51dd6f75c976..05778de4e476 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config @@ -7,8 +7,8 @@ - - + + diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 35d79c60eb96..4a904fe99546 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -71,13 +71,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll @@ -104,11 +104,13 @@ - - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -341,4 +343,4 @@ --> - + \ No newline at end of file diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1 b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1 new file mode 100644 index 000000000000..cb3f443c4aff --- /dev/null +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.xml b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.xml index f47f5b856d76..f05a0b70b796 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.xml +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.xml @@ -1,597 +1,603 @@ - - - - - Add-AzureHDInsightConfigValues - - Adds a Hadoop configuration value customization and/or a Hive shared library customization to the Microsoft Azure HDInsight cluster configuration. - - - - - Add - AzureHDInsightConfigValues - - - - Adds a Hadoop configuration value customization, such as core-site.xml or hive-site.xml, and/or a Hive shared library customization to the Microsoft Azure HDInsight cluster configuration. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Add-AzureHDInsightConfigValues - - Config - - The configuration object to which Hadoop configuration is added. - - AzureHDInsightConfig - - - Core - - Set of customized Hadoop configuration values for core-site.xml. - - Hashtable - - - Hdfs - - Set of customized Hadoop configuration values for hdfs-site.xml. - - Hashtable - - - Hive - - Customization object for Hadoop Hive service, including a set of Hadoop configuration values for hive-site.xml and Hive shared libraries. - - AzureHDInsightHiveConfiguration - - - MapReduce - - Customization object for map reduce and the capacity scheduler. - - AzureHDInsightMapReduceConfiguration - - - Oozie - - Customization object for Hadoop Oozie service. Includes set of Hadoop configuration values for oozie-site.xml. - - AzureHDInsightOozieConfiguration - - - - - - Config - - The configuration object to which Hadoop configuration is added. - - AzureHDInsightConfig - - AzureHDInsightConfig - - - - - - - Core - - Set of customized Hadoop configuration values for core-site.xml. - - Hashtable - - Hashtable - - - - - - - Hdfs - - Set of customized Hadoop configuration values for hdfs-site.xml. - - Hashtable - - Hashtable - - - - - - - Hive - - Customization object for Hadoop Hive service, including a set of Hadoop configuration values for hive-site.xml and Hive shared libraries. - - AzureHDInsightHiveConfiguration - - AzureHDInsightHiveConfiguration - - - - - - - MapReduce - - Customization object for map reduce and the capacity scheduler. - - AzureHDInsightMapReduceConfiguration - - AzureHDInsightMapReduceConfiguration - - - - - - - Oozie - - Customization object for Hadoop Oozie service. Includes set of Hadoop configuration values for oozie-site.xml. - - AzureHDInsightOozieConfiguration - - AzureHDInsightOozieConfiguration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cluster configuration - - - - - - PS C:\> - $hiveConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightHiveConfiguration' + + + + + Add-AzureHDInsightConfigValues + + Adds a Hadoop configuration value customization and/or a Hive shared library customization to the Microsoft Azure HDInsight cluster configuration. + + + + + Add + AzureHDInsightConfigValues + + + + + Adds a Hadoop configuration value customization, such as core-site.xml or hive-site.xml, and/or a Hive shared library customization to the Microsoft Azure HDInsight cluster configuration.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Add-AzureHDInsightConfigValues + + Config + + The configuration object to which Hadoop configuration is added. + + AzureHDInsightConfig + + + Core + + Set of customized Hadoop configuration values for core-site.xml. + + Hashtable + + + Yarn + + + + Hashtable + + + Hdfs + + Set of customized Hadoop configuration values for hdfs-site.xml. + + Hashtable + + + Hive + + Customization object for Hadoop Hive service, including a set of Hadoop configuration values for hive-site.xml and Hive shared libraries. + + AzureHDInsightHiveConfiguration + + + MapReduce + + Customization object for map reduce and the capacity scheduler. + + AzureHDInsightMapReduceConfiguration + + + Oozie + + Customization object for Hadoop Oozie service. Includes set of Hadoop configuration values for oozie-site.xml. + + AzureHDInsightOozieConfiguration + + + Storm + + + + Hashtable + + + HBase + + + + AzureHDInsightHBaseConfiguration + + + + + + Config + + The configuration object to which Hadoop configuration is added. + + AzureHDInsightConfig + + AzureHDInsightConfig + + + + + + Core + + Set of customized Hadoop configuration values for core-site.xml. + + Hashtable + + Hashtable + + + + + + Yarn + + + + Hashtable + + Hashtable + + + + + + Hdfs + + Set of customized Hadoop configuration values for hdfs-site.xml. + + Hashtable + + Hashtable + + + + + + Hive + + Customization object for Hadoop Hive service, including a set of Hadoop configuration values for hive-site.xml and Hive shared libraries. + + AzureHDInsightHiveConfiguration + + AzureHDInsightHiveConfiguration + + + + + + MapReduce + + Customization object for map reduce and the capacity scheduler. + + AzureHDInsightMapReduceConfiguration + + AzureHDInsightMapReduceConfiguration + + + + + + Oozie + + Customization object for Hadoop Oozie service. Includes set of Hadoop configuration values for oozie-site.xml. + + AzureHDInsightOozieConfiguration + + AzureHDInsightOozieConfiguration + + + + + + Storm + + + + Hashtable + + Hashtable + + + + + + HBase + + + + AzureHDInsightHBaseConfiguration + + AzureHDInsightHBaseConfiguration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Cluster configuration -------------------------- + + + + PS C:\> + $hiveConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightHiveConfiguration' $hiveConfigvalues.Configuration = @{ ???hive.exec.compress.output???=???true??? } - $hiveConfigvalues.AdditionalLibraries = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightDefaultStorageAccount' - $hiveConfigvalues.AdditionalLibraries.StorageAccountName = "yourstorageaccount.blob.core.windows.net" + $hiveConfigvalues.AdditionalLibraries = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightDefaultStorageAccount' + $hiveConfigvalues.AdditionalLibraries.StorageAccountName = "yourstorageaccount.blob.core.windows.net" $hiveConfigvalues.AdditionalLibraries.StorageAccountKey = (Get-AzureStorageKey yourstorageaccount).Primary - $hiveConfigvalues.AdditionalLibraries.StorageContainerName = "yoursharedlibcontainer" + $hiveConfigvalues.AdditionalLibraries.StorageContainerName = "yoursharedlibcontainer" - $oozieConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightOozieConfiguration' + $oozieConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightOozieConfiguration' $oozieConfigvalues.Configuration = @{ ???hive.exec.compress.output???=???true??? } - $mapredConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightMapReduceConfiguration' + $mapredConfigvalues = new-object 'Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects.AzureHDInsightMapReduceConfiguration' $mapredConfigvalues.Configuration = @{ ???mapred.map.max.attempts???=???2??? } $mapredConfigvalues.CapacitySchedulerConfiguration = @{ ???mapred.capacity-scheduler.init-poll-interval???=???1000??? } $config = New-AzureHDInsightClusterConfig -ClusterSizeInNodes 4 ` ?????? | Set-AzureHDInsightDefaultStorage -StorageAccountName yourstorageaccount.blob.core.windows.net ` - ?????????????? -StorageAccountKey (Get-AzureStorageKey yourstorageaccount).Primary -StorageContainerName " yourstoragecontainer" ` + ?????????????? -StorageAccountKey (Get-AzureStorageKey yourstorageaccount).Primary -StorageContainerName " yourstoragecontainer" ` ?????? | Add-AzureHDInsightConfigValues -Core @{ ???io.file.buffer.size???=???300000??? } -MapReduce $mapredConfigvalues -Hive $hiveConfigvalues -Oozie $oozieConfigvalues - $config | New-AzureHDInsightCluster -Subscription $subid -Credential $creds -Name yourcluster -Location "North Europe" - - - - Set Hive,Oozie, and MapReduce configuration values for an HDInsight cluster. - - - - - - - - - - - Online Version: - - - - - - - - Add-AzureHDInsightMetastore - - Adds a SQL Database account to the Microsoft Azure HDInsight cluster configuration. - - - - - Add - AzureHDInsightMetastore - - - - Adds a SQL Database to the HDInsight configuration created by the New-AzureHDInsightClusterConfig cmdlet. The database is used to store Hive and/or Oozie metadata. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Add-AzureHDInsightMetastore - - Config - - The configuration object to which metastore information is added. - - AzureHDInsightConfig - - - SqlAzureServerName - - The fully qualified domain name (FQDN) of the SQL Database server that contains the database used to store the Hive or Oozie metadata. - - String - - - DatabaseName - - The name of the database that will store the Hive or Oozie metadata. - - String - - - Credential - - Credentials to access SQL Database - - PSCredential - - - MetastoreType - - The metastore type: HiveMetaStore if storing Hive metadata; OozieMetaStore if storing Oozie metadata. - - - HiveMetastore - OozieMetastore - - - - - - - Config - - The configuration object to which metastore information is added. - - AzureHDInsightConfig - - AzureHDInsightConfig - - - - - - - Credential - - Credentials to access SQL Database - - PSCredential - - PSCredential - - - - - - - DatabaseName - - The name of the database that will store the Hive or Oozie metadata. - - String - - String - - - - - - - MetastoreType - - The metastore type: HiveMetaStore if storing Hive metadata; OozieMetaStore if storing Oozie metadata. - - AzureHDInsightMetastoreType - - AzureHDInsightMetastoreType - - - - - - - SqlAzureServerName - - The fully qualified domain name (FQDN) of the SQL Database server that contains the database used to store the Hive or Oozie metadata. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add a metastore - - - - - - PS C:\>$metaconfig = Add-AzureHDInsightMetastore -Config $config -SqlAzureServerName servername -DatabaseName dbname ???Credential (Get-Credential) -MetastoreType HiveMetastore - - - - Add a SQL database to serve as a metastore for an HDInsight cluster. - - - - - - - - - Configure storage - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary }$key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary }$creds = Get-Credential$oozieCreds = Get-Credential$hiveCreds = Get-CredentialNew-AzureHDInsightClusterConfig -ClusterSizeInNodes 4 ` | Set-AzureHDInsightDefaultStorage -StorageAccountName yourblobstorage.blob.core.windows.net -StorageAccountKey $key1 -StorageContainerName &quot;yourcontainer&quot; | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.windows.net&quot; -DatabaseName &quot;yourOozieDatabaseName&quot; -Credential $oozieCreds -MetastoreType OozieMetastore ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.widows.net&quot; -DatabaseName &quot;yourHiveDatabaseName&quot; -Credential $hiveCreds -MetastoreType HiveMetastore ` | New-AzureHDInsightCluster -Subscription $subid -Credential $creds - - - - Configure storage and add metastore. - - - - - - - - - - - Online Version: - - - - - - - - Add-AzureHDInsightStorage - - Adds a Microsoft Azure Blob Storage account entry to a target HDInsight configuration. - - - - - Add - AzureHDInsightStorage - - - - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Add-AzureHDInsightStorage - - Config - - The target configuration to which storage account information is added. - - AzureHDInsightConfig - - - StorageAccountName - - - - - String - - - StorageAccountKey - - The storage account key needed to access the storage account that is being added to the target configuration. - - String - - - - - - Config - - The target configuration to which storage account information is added. - - AzureHDInsightConfig - - AzureHDInsightConfig - - - - - - - StorageAccountKey - - The storage account key needed to access the storage account that is being added to the target configuration. - - String - - String - - - - - - - StorageAccountName - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - - Add a storage account. + $config | New-AzureHDInsightCluster -Subscription $subid -Credential $creds -Name yourcluster -Location "North Europe" + + Set Hive,Oozie, and MapReduce configuration values for an HDInsight cluster. + + + + + + + + + + + Online Version: + + + + + + + + Add-AzureHDInsightMetastore + + Adds a SQL Database account to the Microsoft Azure HDInsight cluster configuration. + + + + + Add + AzureHDInsightMetastore + + + + + Adds a SQL Database to the HDInsight configuration created by the New-AzureHDInsightClusterConfig cmdlet. The database is used to store Hive and/or Oozie metadata. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Add-AzureHDInsightMetastore + + Config + + The configuration object to which metastore information is added. + + AzureHDInsightConfig + + + Credential + + Credentials to access SQL Database + + PSCredential + + + DatabaseName + + The name of the database that will store the Hive or Oozie metadata. + + String + + + MetastoreType + + The metastore type: HiveMetaStore if storing Hive metadata; OozieMetaStore if storing Oozie metadata. + + AzureHDInsightMetastoreType + + + SqlAzureServerName + + The fully qualified domain name (FQDN) of the SQL Database server that contains the database used to store the Hive or Oozie metadata. + + String + + + + + + Config + + The configuration object to which metastore information is added. + + AzureHDInsightConfig + + AzureHDInsightConfig + + + + + + Credential + + Credentials to access SQL Database + + PSCredential + + PSCredential + + + + + + DatabaseName + + The name of the database that will store the Hive or Oozie metadata. + + String + + String + + + + + + MetastoreType + + The metastore type: HiveMetaStore if storing Hive metadata; OozieMetaStore if storing Oozie metadata. + + AzureHDInsightMetastoreType + + AzureHDInsightMetastoreType + + + + + + SqlAzureServerName + + The fully qualified domain name (FQDN) of the SQL Database server that contains the database used to store the Hive or Oozie metadata. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Add a metastore -------------------------- + + + + PS C:\>$metaconfig = Add-AzureHDInsightMetastore -Config $config -SqlAzureServerName servername -DatabaseName dbname ???Credential (Get-Credential) -MetastoreType HiveMetastore + + Add a SQL database to serve as a metastore for an HDInsight cluster. + + + + + + + + + -------------------------- Configure storage -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary }$key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary }$creds = Get-Credential$oozieCreds = Get-Credential$hiveCreds = Get-CredentialNew-AzureHDInsightClusterConfig -ClusterSizeInNodes 4 ` | Set-AzureHDInsightDefaultStorage -StorageAccountName yourblobstorage.blob.core.windows.net -StorageAccountKey $key1 -StorageContainerName &quot;yourcontainer&quot; | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.windows.net&quot; -DatabaseName &quot;yourOozieDatabaseName&quot; -Credential $oozieCreds -MetastoreType OozieMetastore ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.widows.net&quot; -DatabaseName &quot;yourHiveDatabaseName&quot; -Credential $hiveCreds -MetastoreType HiveMetastore ` | New-AzureHDInsightCluster -Subscription $subid -Credential $creds + + Configure storage and add metastore. + + + + + + + + + + + Online Version: + + + + + + + + Add-AzureHDInsightStorage + + Adds a Microsoft Azure Blob Storage account entry to a target HDInsight configuration. + + + + + Add + AzureHDInsightStorage + + + + + This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Add-AzureHDInsightStorage + + Config + + The target configuration to which storage account information is added. + + AzureHDInsightConfig + + + StorageAccountKey + + The storage account key needed to access the storage account that is being added to the target configuration. + + String + + + StorageAccountName + + + + String + + + + + + Config + + The target configuration to which storage account information is added. + + AzureHDInsightConfig + + AzureHDInsightConfig + + + + + + StorageAccountKey + + The storage account key needed to access the storage account that is being added to the target configuration. + + String + + String + + + + + + StorageAccountName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> Add a storage account. PS C:\>$storeconfig = Add-AzureHDInsightStorage -Config $config -StorageAccountName name -StorageAccountKey key @@ -608,1794 +614,2013 @@ | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.windows.net&quot; -DatabaseName &quot;yourOozieDatabaseName&quot; -Credential $oozieCreds -MetastoreType OozieMetastore ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.widows.net&quot; -DatabaseName &quot;yourHiveDatabaseName&quot; -Credential $hiveCreds -MetastoreType HiveMetastore ` - | New-AzureHDInsightCluster -Subscription $subid -Credential $creds - - - - Add storage - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureHDInsightCluster - - Retrieves and lists all of the Microsoft Azure HDInsight clusters associated with the current subscription or retrieves a specific named cluster. - - - - - Get - AzureHDInsightCluster - - - - Lists all Microsoft Azure HDInsight Service clusters for the current subscription. If the Name parameter is specified, only information for the cluster with that name is returned. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureHDInsightCluster - - Name - - The name of an HDInsight cluster to retrieve. - - String - - - Subscription - - The subscription that contains the HDInsight clusters to retrieve. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from default. - - String - - String - - - - - - - Name - - The name of an HDInsight cluster to retrieve. - - String - - String - - - - - - - Subscription - - The subscription that contains the HDInsight clusters to retrieve. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clusters in a subscription - - - - - - PS C:\>Get-AzureHDInsightCluster -Subscription (Get-AzureSubscription -Current).SubscriptionId - - - Get information about the clusters associated with a specified subscription. - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureHDInsightJob - - Retrieves the Azure HDInsight jobs from a cluster and lists them in reverse chronological order. - - - - - Get - AzureHDInsightJob - - - - Lists recent jobs for a specified cluster in reverse chronological order, the most recent at the top of the list. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureHDInsightJob - - Cluster - - - Name of the cluster used to run the jobs that are being retrieved. - - - String - - - JobId - - - The Id of a specific job to be retrieved. - - - String - - - - Get-AzureHDInsightJob - - Cluster - - - Name of the cluster used to run the jobs that are being retrieved. - - - String - - - Subscription - - The subscription that contains the HDInsight jobs to retrieve. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - JobId - - - The Id of a specific job to be retrieved. - - - String - - - - Get-AzureHDInsightJob - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Cluster - - - Name of the cluster used to run the jobs that are being retrieved. - - - String - - String - - - - - - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - PSCredential - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - JobId - - - The Id of a specific job to be retrieved. - - - String - - String - - - - - - - Subscription - - The subscription that contains the HDInsight jobs to retrieve. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureHDInsightJobOutput - - Retrieves the log output for a job from the storage account associated with a specified cluster. - - - - - Get - AzureHDInsightJobOutput - - - - Retrieves various types of job logs including Standard Output, Standard Error, Task logs, and a summary of the task logs. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureHDInsightJobOutput - - Cluster - - Name of the cluster that ran the jobs that are being retrieved. - - String - - - Subscription - - The subscription containing the HDInsight clusters to retrieve. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - DownloadTaskLogs - - Switch used to retrieve the task logs for the job. - - - - Endpoint - - Specifies the endpoint to use when connecting to Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - StandardError - - Switch used to retrieve the StdErr output of the job. - - - - StandardOutput - - Switch used to retrieve the SdtOut output of the job. - - - - TaskLogsDirectory - - When DownloadTaksLogs switch is used this parameter specifies destination local folder where tasks logs will be downloaded. - - String - - - TaskSummary - - Switch used to retrieve task log summary - - - - JobId - - - The Id of a specific job to be retrieved. - - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Cluster - - Name of the cluster that ran the jobs that are being retrieved. - - String - - String - - - - - - - DownloadTaskLogs - - Switch used to retrieve the task logs for the job. - - SwitchParameter - - SwitchParameter - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - JobId - - - The Id of a specific job to be retrieved. - - - String - - String - - - - - - - StandardError - - Switch used to retrieve the StdErr output of the job. - - SwitchParameter - - SwitchParameter - - - - - - - StandardOutput - - Switch used to retrieve the SdtOut output of the job. - - SwitchParameter - - SwitchParameter - - - - - - - Subscription - - The subscription containing the HDInsight clusters to retrieve. - - String - - String - - - - - - - TaskLogsDirectory - - When DownloadTaksLogs switch is used this parameter specifies destination local folder where tasks logs will be downloaded. - - String - - String - - - - - - - TaskSummary - - Switch used to retrieve task log summary - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Job Output - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" ` -Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob ` | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername ` | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 ` | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError - - - - Retrieve the output from an HDInsight job. - - - - - - - - - - - Online Version: - - - - - - - - Get-AzureHDInsightProperties - - Retrieves properties specific to a Microsoft Azure HDInsight service. - - - - - Get - AzureHDInsightProperties - - - - Retrieves properties specific to a Microsoft Azure HDInsight service, such as a list of available Azure regions, HDInsight cluster versions, and available compute capacity. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Get-AzureHDInsightProperties - - Subscription - - The subscription that contains the HDInsight properties to retrieve. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - Locations - - Retrieves the list of Azure regions where the HDInsight service is available. - - - - Versions - - Retrieves list of HDInsight cluster versions available in the service for this subscription. - - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Locations - - Retrieves the list of Azure regions where the HDInsight service is available. - - SwitchParameter - - SwitchParameter - - - - - - - Subscription - - The subscription that contains the HDInsight properties to retrieve. - - String - - String - - - - - - - Versions - - Retrieves list of HDInsight cluster versions available in the service for this subscription. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get HDInsight properties - - - - - - PS C:\>$SubName = Get-AzureSubscription -Current | %{ $_.SubscriptionName } - Get-AzureHDInsightProperties -Subscription $SubName - - - - Retrieve the HDInsight properties of an Azure subscription. - - - - - - - - - - - Online Version: - - - - - - - - Grant-AzureHDInsightHttpServicesAccess - - Grants HTTP access to the cluster. - - - - - Grant - AzureHDInsightHttpServicesAccess - - - - Enables HTTP to access to the cluster using ODBC, Ambari, Oozie and web services. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Grant-AzureHDInsightHttpServicesAccess - - Name - - The name of the cluster. - - String - - - Location - - Azure region where the cluster is located. - - String - - - Subscription - - The subscription that contains the HDInsight cluster to which access is being granted. - - String - - - Certificate - - Management certificate of the Azure subscription - - X509Certificate2 - - - Credential - - User name and password used for HTTP access. - - PSCredential - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription - - X509Certificate2 - - X509Certificate2 - - - - - - - Credential - - User name and password used for HTTP access. - - PSCredential - - PSCredential - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Location - - Azure region where the cluster is located. - - String - - String - - - - - - - Name - - The name of the cluster. - - String - - String - - - - - - - Subscription - - The subscription that contains the HDInsight cluster to which access is being granted. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightCluster - - Creates a new Microsoft Azure HDInsight cluster for the current subscription. - - - - - New - AzureHDInsightCluster - - - - Creates a new Microsoft Azure HDInsight cluster using the specified parameters or configuration created using the New-AzureHDInsightClusterConfig cmdlet. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightCluster - - Name - - The name of the Azure HDInsight cluster. - - String - - - Version - - The HDInsight cluster version to be created. - - String - - - Config - - - A configuration object created using the New-AzureHDInsightClusterConfig cmdlet. - - - AzureHDInsightConfig - - - Subscription - - The Azure subscription in which the new HDInsight cluster is being created. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Location - - The region that the HDInsight cluster will be created in. - - String - - - Credential - - The user credentials for the Azure HDInsight cluster to be started. - - PSCredential - - - EndPoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - New-AzureHDInsightCluster - - Name - - The name of the Azure HDInsight cluster. - - String - - - ClusterSizeInNodes - - The number of data nodes to be created for the cluster. - - Int32 - - - EndPoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - Version - - The HDInsight cluster version to be created. - - String - - - Subscription - - The Azure subscription in which the new HDInsight cluster is being created. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Location - - The region that the HDInsight cluster will be created in. - - String - - - DefaultStorageAccountName - - The name of the default storage account used by the HDInsight cluster. - - String - - - DefaultStorageAccountKey - - The account key for the default storage account used by the HDInsight cluster. - - String - - - DefaultStorageContainerName - - The name of the default container in the default Microsoft Azure Storage Account used by the HDInsight cluster. - - String - - - Credential - - The user credentials for the Azure HDInsight cluster to be started. - - PSCredential - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - ClusterSizeInNodes - - The number of data nodes to be created for the cluster. - - Int32 - - Int32 - - - - - - - Config - - - A configuration object created using the New-AzureHDInsightClusterConfig cmdlet. - - - AzureHDInsightConfig - - AzureHDInsightConfig - - - - - - - Credential - - The user credentials for the Azure HDInsight cluster to be started. - - PSCredential - - PSCredential - - - - - - - DefaultStorageAccountKey - - The account key for the default storage account used by the HDInsight cluster. - - String - - String - - - - - - - DefaultStorageAccountName - - The name of the default storage account used by the HDInsight cluster. - - String - - String - - - - - - - DefaultStorageContainerName - - The name of the default container in the default Microsoft Azure Storage Account used by the HDInsight cluster. - - String - - String - - - - - - - EndPoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Location - - The region that the HDInsight cluster will be created in. - - String - - String - - - - - - - Name - - The name of the Azure HDInsight cluster. - - String - - String - - - - - - - Subscription - - The Azure subscription in which the new HDInsight cluster is being created. - - String - - String - - - - - - - Version - - The HDInsight cluster version to be created. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Create HDInsight cluster - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary }$key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary }$creds = Get-Credential$oozieCreds = Get-Credential$hiveCreds = Get-Credential New-AzureHDInsightClusterConfig -ClusterSizeInNodes 4 | Set-AzureHDInsightDefaultStorage -StorageAccountName yourblobstorage.blob.core.windows.net -StorageAccountKey $key1 -StorageContainerName "yourcontainer" | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 | Add-AzureHDInsightMetastore -SqlAzureServerName "yoursqlserver.database.windows.net" -DatabaseName "yourOozieDatabaseName" -Credential $oozieCreds -MetastoreType OozieMetastore | Add-AzureHDInsightMetastore -SqlAzureServerName "yoursqlserver.database.windows.net" -DatabaseName "yourHiveDatabaseName" -Credential $hiveCreds -MetastoreType HiveMetastore | New-AzureHDInsightCluster -Subscription $subid -Credential $creds - - - - Create a new Microsoft Azure HDInsight cluster for the current subscription. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightClusterConfig - - Creates a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. - - - - - New - AzureHDInsightClusterConfig - - - - Creates a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightClusterConfig - - ClusterSizeInNodes - - - The number of nodes to be created for this cluster. - - - Int32 - - - - - - ClusterSizeInNodes - - - The number of nodes to be created for this cluster. - - - Int32 - - Int32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - Create a cluster configuration - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId + | New-AzureHDInsightCluster -Subscription $subid -Credential $creds + + Add storage + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureHDInsightCluster + + Retrieves and lists all of the Microsoft Azure HDInsight clusters associated with the current subscription or retrieves a specific named cluster. + + + + + Get + AzureHDInsightCluster + + + + + Lists all Microsoft Azure HDInsight Service clusters for the current subscription. If the Name parameter is specified, only information for the cluster with that name is returned. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureHDInsightCluster + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from default. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Name + + The name of an HDInsight cluster to retrieve. + + String + + + Subscription + + The subscription that contains the HDInsight clusters to retrieve. + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Name + + The name of an HDInsight cluster to retrieve. + + String + + String + + + + + + Subscription + + The subscription that contains the HDInsight clusters to retrieve. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Clusters in a subscription -------------------------- + + + + PS C:\>Get-AzureHDInsightCluster -Subscription (Get-AzureSubscription -Current).SubscriptionId + + Get information about the clusters associated with a specified subscription. + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureHDInsightJob + + Retrieves the Azure HDInsight jobs from a cluster and lists them in reverse chronological order. + + + + + Get + AzureHDInsightJob + + + + + Lists recent jobs for a specified cluster in reverse chronological order, the most recent at the top of the list.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureHDInsightJob + + Cluster + + Name of the cluster used to run the jobs that are being retrieved. + + String + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + JobId + + The Id of a specific job to be retrieved. + + String + + + + Get-AzureHDInsightJob + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Cluster + + Name of the cluster used to run the jobs that are being retrieved. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + JobId + + The Id of a specific job to be retrieved. + + String + + + Subscription + + The subscription that contains the HDInsight jobs to retrieve. + + String + + + + + + Cluster + + Name of the cluster used to run the jobs that are being retrieved. + + String + + String + + + + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + PSCredential + + + + + + JobId + + The Id of a specific job to be retrieved. + + String + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Subscription + + The subscription that contains the HDInsight jobs to retrieve. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureHDInsightJobOutput + + Retrieves the log output for a job from the storage account associated with a specified cluster. + + + + + Get + AzureHDInsightJobOutput + + + + + Retrieves various types of job logs including Standard Output, Standard Error, Task logs, and a summary of the task logs.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureHDInsightJobOutput + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Cluster + + Name of the cluster that ran the jobs that are being retrieved. + + String + + + DownloadTaskLogs + + Switch used to retrieve the task logs for the job. + + SwitchParameter + + + Endpoint + + Specifies the endpoint to use when connecting to Azure if the endpoint is different from the default. + + Uri + + + JobId + + The Id of a specific job to be retrieved. + + String + + + StandardError + + Switch used to retrieve the StdErr output of the job. + + SwitchParameter + + + StandardOutput + + Switch used to retrieve the SdtOut output of the job. + + SwitchParameter + + + Subscription + + The subscription containing the HDInsight clusters to retrieve. + + String + + + TaskLogsDirectory + + When DownloadTaksLogs switch is used this parameter specifies destination local folder where tasks logs will be downloaded. + + String + + + TaskSummary + + Switch used to retrieve task log summary + + SwitchParameter + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Cluster + + Name of the cluster that ran the jobs that are being retrieved. + + String + + String + + + + + + DownloadTaskLogs + + Switch used to retrieve the task logs for the job. + + SwitchParameter + + SwitchParameter + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + JobId + + The Id of a specific job to be retrieved. + + String + + String + + + + + + StandardError + + Switch used to retrieve the StdErr output of the job. + + SwitchParameter + + SwitchParameter + + + + + + StandardOutput + + Switch used to retrieve the SdtOut output of the job. + + SwitchParameter + + SwitchParameter + + + + + + Subscription + + The subscription containing the HDInsight clusters to retrieve. + + String + + String + + + + + + TaskLogsDirectory + + When DownloadTaksLogs switch is used this parameter specifies destination local folder where tasks logs will be downloaded. + + String + + String + + + + + + TaskSummary + + Switch used to retrieve task log summary + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Get Job Output -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" ` -Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob ` | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername ` | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 ` | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError + + Retrieve the output from an HDInsight job. + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureHDInsightProperties + + Retrieves properties specific to a Microsoft Azure HDInsight service. + + + + + Get + AzureHDInsightProperties + + + + + Retrieves properties specific to a Microsoft Azure HDInsight service, such as a list of available Azure regions, HDInsight cluster versions, and available compute capacity.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Get-AzureHDInsightProperties + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Locations + + Retrieves the list of Azure regions where the HDInsight service is available. + + SwitchParameter + + + Subscription + + The subscription that contains the HDInsight properties to retrieve. + + String + + + Versions + + Retrieves list of HDInsight cluster versions available in the service for this subscription. + + SwitchParameter + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Locations + + Retrieves the list of Azure regions where the HDInsight service is available. + + SwitchParameter + + SwitchParameter + + + + + + Subscription + + The subscription that contains the HDInsight properties to retrieve. + + String + + String + + + + + + Versions + + Retrieves list of HDInsight cluster versions available in the service for this subscription. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Get HDInsight properties -------------------------- + + + + PS C:\>$SubName = Get-AzureSubscription -Current | %{ $_.SubscriptionName } + Get-AzureHDInsightProperties -Subscription $SubName + + Retrieve the HDInsight properties of an Azure subscription. + + + + + + + + + + + Online Version: + + + + + + + + Grant-AzureHDInsightHttpServicesAccess + + Grants HTTP access to the cluster. + + + + + Grant + AzureHDInsightHttpServicesAccess + + + + + Enables HTTP to access to the cluster using ODBC, Ambari, Oozie and web services.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Grant-AzureHDInsightHttpServicesAccess + + Certificate + + Management certificate of the Azure subscription + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Credential + + User name and password used for HTTP access. + + PSCredential + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Location + + Azure region where the cluster is located. + + String + + + Name + + The name of the cluster. + + String + + + Subscription + + The subscription that contains the HDInsight cluster to which access is being granted. + + String + + + + + + Certificate + + Management certificate of the Azure subscription + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Credential + + User name and password used for HTTP access. + + PSCredential + + PSCredential + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Location + + Azure region where the cluster is located. + + String + + String + + + + + + Name + + The name of the cluster. + + String + + String + + + + + + Subscription + + The subscription that contains the HDInsight cluster to which access is being granted. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Invoke-AzureHDInsightHiveJob + + Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. + + + + + Invoke + AzureHDInsightHiveJob + + + + + Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. The Use-AzureHDInsightCluster cmdlet needs to be used before calling Invoke-Hive to specify which HDInsight cluster the query will be submitted to.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Invoke-AzureHDInsightHiveJob + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + + File + + The wasb path to a file in Azure Blob Storage that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + + Files + + A collection of files required for the Hive job to execute. + + String[] + + + JobName + + The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. + + String + + + Query + + The Hive query to be executed. + + String + + + StatusFolder + + Location of the status folder where the standard and error outputs of the job will be stored, including its exit code and task logs. + + String + + + + + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + String[] + + + + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + Hashtable + + + + + + File + + The wasb path to a file in Azure Blob Storage that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + String + + + + + + Files + + A collection of files required for the Hive job to execute. + + String[] + + String[] + + + + + + JobName + + The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. + + String + + String + + + + + + Query + + The Hive query to be executed. + + String + + String + + + + + + StatusFolder + + Location of the status folder where the standard and error outputs of the job will be stored, including its exit code and task logs. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Submit a Hive query -------------------------- + + + + PS C:\>Use-AzureHDInsightCluster yourcluster -Subscription (Get-AzureSubscription -Current).SubscriptionId + Invoke-Hive "select * from hivesampletable limit 10" + + Submit a Hive queries to the HDInsight cluster. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightCluster + + Creates a new Microsoft Azure HDInsight cluster for the current subscription. + + + + + New + AzureHDInsightCluster + + + + + Creates a new Microsoft Azure HDInsight cluster using the specified parameters or configuration created using the New-AzureHDInsightClusterConfig cmdlet. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightCluster + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Config + + A configuration object created using the New-AzureHDInsightClusterConfig cmdlet. + + AzureHDInsightConfig + + + Credential + + The user credentials for the Azure HDInsight cluster to be started. + + PSCredential + + + EndPoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Location + + The region that the HDInsight cluster will be created in. + + String + + + Name + + The name of the Azure HDInsight cluster. + + String + + + Subscription + + The Azure subscription in which the new HDInsight cluster is being created. + + String + + + Version + + The HDInsight cluster version to be created. + + String + + + + New-AzureHDInsightCluster + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + ClusterSizeInNodes + + The number of data nodes to be created for the cluster. + + Int32 + + + Credential + + The user credentials for the Azure HDInsight cluster to be started. + + PSCredential + + + DefaultStorageAccountKey + + The account key for the default storage account used by the HDInsight cluster. + + String + + + DefaultStorageAccountName + + The name of the default storage account used by the HDInsight cluster. + + String + + + DefaultStorageContainerName + + The name of the default container in the default Microsoft Azure Storage Account used by the HDInsight cluster. + + String + + + EndPoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Location + + The region that the HDInsight cluster will be created in. + + String + + + Name + + The name of the Azure HDInsight cluster. + + String + + + Subscription + + The Azure subscription in which the new HDInsight cluster is being created. + + String + + + Version + + The HDInsight cluster version to be created. + + String + + + HeadNodeVMSize + + + + NodeVMSize + + + ClusterType + + + + ClusterType + + + VirtualNetworkId + + + + String + + + SubnetName + + + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Config + + A configuration object created using the New-AzureHDInsightClusterConfig cmdlet. + + AzureHDInsightConfig + + AzureHDInsightConfig + + + + + + Credential + + The user credentials for the Azure HDInsight cluster to be started. + + PSCredential + + PSCredential + + + + + + EndPoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Location + + The region that the HDInsight cluster will be created in. + + String + + String + + + + + + Name + + The name of the Azure HDInsight cluster. + + String + + String + + + + + + Subscription + + The Azure subscription in which the new HDInsight cluster is being created. + + String + + String + + + + + + Version + + The HDInsight cluster version to be created. + + String + + String + + + + + + ClusterSizeInNodes + + The number of data nodes to be created for the cluster. + + Int32 + + Int32 + + + + + + DefaultStorageAccountKey + + The account key for the default storage account used by the HDInsight cluster. + + String + + String + + + + + + DefaultStorageAccountName + + The name of the default storage account used by the HDInsight cluster. + + String + + String + + + + + + DefaultStorageContainerName + + The name of the default container in the default Microsoft Azure Storage Account used by the HDInsight cluster. + + String + + String + + + + + + HeadNodeVMSize + + + + NodeVMSize + + NodeVMSize + + + + + + ClusterType + + + + ClusterType + + ClusterType + + + + + + VirtualNetworkId + + + + String + + String + + + + + + SubnetName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Create HDInsight cluster -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary }$key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary }$creds = Get-Credential$oozieCreds = Get-Credential$hiveCreds = Get-Credential New-AzureHDInsightClusterConfig -ClusterSizeInNodes 4 | Set-AzureHDInsightDefaultStorage -StorageAccountName yourblobstorage.blob.core.windows.net -StorageAccountKey $key1 -StorageContainerName "yourcontainer" | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 | Add-AzureHDInsightMetastore -SqlAzureServerName "yoursqlserver.database.windows.net" -DatabaseName "yourOozieDatabaseName" -Credential $oozieCreds -MetastoreType OozieMetastore | Add-AzureHDInsightMetastore -SqlAzureServerName "yoursqlserver.database.windows.net" -DatabaseName "yourHiveDatabaseName" -Credential $hiveCreds -MetastoreType HiveMetastore | New-AzureHDInsightCluster -Subscription $subid -Credential $creds + + Create a new Microsoft Azure HDInsight cluster for the current subscription. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightClusterConfig + + Creates a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. + + + + + New + AzureHDInsightClusterConfig + + + + + Creates a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightClusterConfig + + ClusterSizeInNodes + + The number of nodes to be created for this cluster. + + Int32 + + + HeadNodeVMSize + + + + NodeVMSize + + + ClusterType + + + + ClusterType + + + VirtualNetworkId + + + + String + + + SubnetName + + + + String + + + + + + ClusterSizeInNodes + + The number of nodes to be created for this cluster. + + Int32 + + Int32 + + + + + + HeadNodeVMSize + + + + NodeVMSize + + NodeVMSize + + + + + + ClusterType + + + + ClusterType + + ClusterType + + + + + + VirtualNetworkId + + + + String + + String + + + + + + SubnetName + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Create a cluster configuration -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId $key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary } $key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary } $creds = Get-Credential @@ -2407,1681 +2632,1700 @@ | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.windows.net&quot; -DatabaseName &quot;yourOozieDatabaseName&quot; -Credential $oozieCreds -MetastoreType OozieMetastore ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.widows.net&quot; -DatabaseName &quot;yourHiveDatabaseName&quot; -Credential $hiveCreds -MetastoreType HiveMetastore ` - | New-AzureHDInsightCluster -Subscription $subid -Credential $creds - - - - Create a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. Specify a 4 node cluster. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightHiveJobDefinition - - Defines a hive job for an Azure HDInsight service. - - - - - New - AzureHDInsightHiveJobDefinition - - - - Defines a hive job for an Azure HDInsight service. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightHiveJobDefinition - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - - Defines - - Hadoop configuration values to be set during the job execution - - Hashtable - - - File - - The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - - Files - - A collection of files associated with the pig job. - - String[] - - - JobName - - The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. - - String - - - Query - - The Hive query to be executed by the Hive job defined. - - String - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - - - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - String[] - - - - - - - Defines - - Hadoop configuration values to be set during the job execution - - Hashtable - - Hashtable - - - - - - - File - - The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - String - - - - - - - Files - - A collection of files associated with the pig job. - - String[] - - String[] - - - - - - - JobName - - The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. - - String - - String - - - - - - - Query - - The Hive query to be executed by the Hive job defined. - - String - - String - - - - - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Create a Hive job definition - - - - - - PS C:\>$hiveJobDefinition = New-AzureHDInsightHiveJobDefinition -Query $queryString - - - - Define a hive job for an Azure HDInsight service. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightMapReduceJobDefinition - - Defines a new Map Reduce job. - - - - - New - AzureHDInsightMapReduceJobDefinition - - - - Defines a new Map Reduce job to be run on an Azure HDInsight cluster. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightMapReduceJobDefinition - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - - Files - - The collection of files required for the execution of the job. Use wasb file references here. - - String[] - - - JobName - - The name of the MapReduce job. Specifying the name is optional. If it is not explicitly specified the value of the ClassName parameter is used by default. - - String - - - LibJars - - LibJar references of the job. - - String[] - - - StatusFolder - - - - - String - - - ClassName - - Name of the job class in the job JAR file. - - String - - - JarFile - - The fully qualified name of the JAR file that contains the code and dependencies of the MapReduce job. - - String - - - - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - String[] - - - - - - - ClassName - - Name of the job class in the job JAR file. - - String - - String - - - - - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - Hashtable - - - - - - - Files - - The collection of files required for the execution of the job. Use wasb file references here. - - String[] - - String[] - - - - - - - JarFile - - The fully qualified name of the JAR file that contains the code and dependencies of the MapReduce job. - - String - - String - - - - - - - JobName - - The name of the MapReduce job. Specifying the name is optional. If it is not explicitly specified the value of the ClassName parameter is used by default. - - String - - String - - - - - - - LibJars - - LibJar references of the job. - - String[] - - String[] - - - - - - - StatusFolder - - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - - Define a new Map Reduce job to be run on a specified Azure HDInsight cluster.. - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" `??????-Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob `?????? | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername `?????? | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 `?????? | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError - - - - Define a Map Reduce job. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightPigJobDefinition - - Defines a new pig job for an Azure HDInsight service. - - - - - New - AzureHDInsightPigJobDefinition - - - - Defines a new pig job for an Azure HDInsight service. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightPigJobDefinition - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - - File - - The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - - Files - - A collections of files associated with the pig job. - - String[] - - - Query - - The query to be executed by the pig job. - - String - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - - - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - String[] - - - - - - - File - - The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - String - - - - - - - Files - - A collections of files associated with the pig job. - - String[] - - String[] - - - - - - - Query - - The query to be executed by the pig job. - - String - - String - - - - - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - Define a Pig job - - - - - - PS C:\># Provide the HDInsight cluster name - $subscriptionName = "<SubscriptionName>" - $clusterName = "<HDInsightClusterName>" + | New-AzureHDInsightCluster -Subscription $subid -Credential $creds + + Create a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration. Specify a 4 node cluster. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightHiveJobDefinition + + Defines a hive job for an Azure HDInsight service. + + + + + New + AzureHDInsightHiveJobDefinition + + + + + Defines a hive job for an Azure HDInsight service.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightHiveJobDefinition + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + + Defines + + Hadoop configuration values to be set during the job execution + + Hashtable + + + File + + The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + + Files + + A collection of files associated with the pig job. + + String[] + + + JobName + + The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. + + String + + + Query + + The Hive query to be executed by the Hive job defined. + + String + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + + + + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + String[] + + + + + + Defines + + Hadoop configuration values to be set during the job execution + + Hashtable + + Hashtable + + + + + + File + + The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + String + + + + + + Files + + A collection of files associated with the pig job. + + String[] + + String[] + + + + + + JobName + + The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. + + String + + String + + + + + + Query + + The Hive query to be executed by the Hive job defined. + + String + + String + + + + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Create a Hive job definition -------------------------- + + + + PS C:\>$hiveJobDefinition = New-AzureHDInsightHiveJobDefinition -Query $queryString + + Define a hive job for an Azure HDInsight service. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightMapReduceJobDefinition + + Defines a new Map Reduce job. + + + + + New + AzureHDInsightMapReduceJobDefinition + + + + + Defines a new Map Reduce job to be run on an Azure HDInsight cluster. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightMapReduceJobDefinition + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + + ClassName + + Name of the job class in the job JAR file. + + String + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + + Files + + The collection of files required for the execution of the job. Use wasb file references here. + + String[] + + + JarFile + + The fully qualified name of the JAR file that contains the code and dependencies of the MapReduce job. + + String + + + JobName + + The name of the MapReduce job. Specifying the name is optional. If it is not explicitly specified the value of the ClassName parameter is used by default. + + String + + + LibJars + + LibJar references of the job. + + String[] + + + StatusFolder + + + + String + + + + + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + String[] + + + + + + ClassName + + Name of the job class in the job JAR file. + + String + + String + + + + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + Hashtable + + + + + + Files + + The collection of files required for the execution of the job. Use wasb file references here. + + String[] + + String[] + + + + + + JarFile + + The fully qualified name of the JAR file that contains the code and dependencies of the MapReduce job. + + String + + String + + + + + + JobName + + The name of the MapReduce job. Specifying the name is optional. If it is not explicitly specified the value of the ClassName parameter is used by default. + + String + + String + + + + + + LibJars + + LibJar references of the job. + + String[] + + String[] + + + + + + StatusFolder + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> Define a new Map Reduce job to be run on a specified Azure HDInsight cluster.. + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" `??????-Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob `?????? | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername `?????? | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 `?????? | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError + + Define a Map Reduce job. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightPigJobDefinition + + Defines a new pig job for an Azure HDInsight service. + + + + + New + AzureHDInsightPigJobDefinition + + + + + Defines a new pig job for an Azure HDInsight service.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightPigJobDefinition + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + + File + + The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + + Files + + A collections of files associated with the pig job. + + String[] + + + Query + + The query to be executed by the pig job. + + String + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + + + + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + String[] + + + + + + File + + The path to a file that contains the query to be executed. Use this File parameter in place of a query parameter. + + String + + String + + + + + + Files + + A collections of files associated with the pig job. + + String[] + + String[] + + + + + + Query + + The query to be executed by the pig job. + + String + + String + + + + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Define a Pig job -------------------------- + + + + PS C:\># Provide the HDInsight cluster name + $subscriptionName = "<SubscriptionName>" + $clusterName = "<HDInsightClusterName>" # Create the Pig job definition - $0 = '$0'; - $QueryString = "LOGS = LOAD 'wasb:///example/data/sample.log';" + - "LEVELS = foreach LOGS generate REGEX_EXTRACT($0, '(TRACE|DEBUG|INFO|WARN|ERROR|FATAL)', 1) as LOGLEVEL;" + - "FILTEREDLEVELS = FILTER LEVELS by LOGLEVEL is not null;" + - "GROUPEDLEVELS = GROUP FILTEREDLEVELS by LOGLEVEL;" + - "FREQUENCIES = foreach GROUPEDLEVELS generate group as LOGLEVEL, COUNT(FILTEREDLEVELS.LOGLEVEL) as COUNT;" + - "RESULT = order FREQUENCIES by COUNT desc;" + - "DUMP RESULT;" - - $pigJobDefinition = New-AzureHDInsightPigJobDefinition -Query $QueryString - - - - Define a new pig job for an Azure HDInsight service. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightStreamingMapReduceJobDefinition - - Defines a new streaming Map Reduce job. - - - - - New - AzureHDInsightStreamingMapReduceJobDefinition - - - - Defines new job definition object that represents parameters of the Hadoop streaming job. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightStreamingMapReduceJobDefinition - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - - CmdEnv - - Command line environmental variables that should be set during job execution on data nodes. - - String[] - - - Combiner - - Combiner executable name. - - String - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - - Files - - The collection of files associated with the MapReduce job. - - String[] - - - InputPath - - WASB path representing location of input files. - - String - - - JobName - - The name of the MapReduce job. Specifying the name is optional. - - String - - - Mapper - - Mapper executable name. - - String - - - OutputPath - - WASB path representing location for the job output. - - String - - - Reducer - - Reducer executable name. - - String - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - - - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - String[] - - - - - - - CmdEnv - - Command line environmental variables that should be set during job execution on data nodes. - - String[] - - String[] - - - - - - - Combiner - - Combiner executable name. - - String - - String - - - - - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - Hashtable - - - - - - - Files - - The collection of files associated with the MapReduce job. - - String[] - - String[] - - - - - - - InputPath - - WASB path representing location of input files. - - String - - String - - - - - - - JobName - - The name of the MapReduce job. Specifying the name is optional. - - String - - String - - - - - - - Mapper - - Mapper executable name. - - String - - String - - - - - - - OutputPath - - WASB path representing location for the job output. - - String - - String - - - - - - - Reducer - - Reducer executable name. - - String - - String - - - - - - - StatusFolder - - Contains the standard and error outputs for the job, including its exit code and task logs. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> + $0 = '$0'; + $QueryString = "LOGS = LOAD 'wasb:///example/data/sample.log';" + + "LEVELS = foreach LOGS generate REGEX_EXTRACT($0, '(TRACE|DEBUG|INFO|WARN|ERROR|FATAL)', 1) as LOGLEVEL;" + + "FILTEREDLEVELS = FILTER LEVELS by LOGLEVEL is not null;" + + "GROUPEDLEVELS = GROUP FILTEREDLEVELS by LOGLEVEL;" + + "FREQUENCIES = foreach GROUPEDLEVELS generate group as LOGLEVEL, COUNT(FILTEREDLEVELS.LOGLEVEL) as COUNT;" + + "RESULT = order FREQUENCIES by COUNT desc;" + + "DUMP RESULT;" - - - - - - - - - - - - - - - - - - - - Create a MapReduce job definition for the streaming job. - PS C:\>$subscriptionName = "<SubscriptionName>" # Azure subscription name - $clusterName = "<ClusterName>" # HDInsight cluster name + $pigJobDefinition = New-AzureHDInsightPigJobDefinition -Query $QueryString + + Define a new pig job for an Azure HDInsight service. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightSqoopJobDefinition + + Defines a new Sqoop job. + + + + + New + AzureHDInsightSqoopJobDefinition + + + + + Defines a Sqoop job to be run on an HDInsight cluster.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightSqoopJobDefinition + + Command + + Specifies a Sqoop command and its arguments. + + String + + + File + + The path to a script file that contains the commands to be executed. The script file must be located on wasb. + + String + + + Files + + The collection of files required for the execution of the job. Use wasb file references here. + + String[] + + + StatusFolder + + Location of the status folder where the standard and error outputs of the Sqoop job will be stored, including its exit code and task logs. + + String + + + + + + Command + + Specifies a Sqoop command and its arguments. + + String + + String + + + + + + File + + The path to a script file that contains the commands to be executed. The script file must be located on wasb. + + String + + String + + + + + + Files + + The collection of files required for the execution of the job. Use wasb file references here. + + String[] + + String[] + + + + + + StatusFolder + + Location of the status folder where the standard and error outputs of the Sqoop job will be stored, including its exit code and task logs. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sqoop is a tool designed to transfer data between Hadoop clusters and relational databases. You can use Sqoop to import data from a SQL database into an Hadoop Distributed File System (HDFS), transform the data with Hadoop MapReduce, and then export the data from the HDFS back into the SQL database. + + + + + -------------------------- Import data -------------------------- + + + + PS C:\>$sqoopJobDef = New-AzureHDInsightSqoopJobDefinition -Command "import --connect jdbc:sqlserver://<SQLDatabaseServerName>.database.windows.net:1433;username=<SQLDatabasUsername>@<SQLDatabaseServerName>; password=<SQLDatabasePassword>; database=<SQLDatabaseDatabaseName> --table <TableName> --target-dir wasb://<ContainerName>@<WindowsAzureStorageAccountName>.blob.core.windows.net/<Path>" + + Define a Sqoop job that that imports??all the rows of a table from a Microsoft Azure SQL Database to an HDInsight cluster. + + + + + + + + + + + Online Version: + + + + + + + + New-AzureHDInsightStreamingMapReduceJobDefinition + + Defines a new streaming Map Reduce job. + + + + + New + AzureHDInsightStreamingMapReduceJobDefinition + + + + + Defines new job definition object that represents parameters of the Hadoop streaming job.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + New-AzureHDInsightStreamingMapReduceJobDefinition + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + + CmdEnv + + Command line environmental variables that should be set during job execution on data nodes. + + String[] + + + Combiner + + Combiner executable name. + + String + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + + Files + + The collection of files associated with the MapReduce job. + + String[] + + + InputPath + + WASB path representing location of input files. + + String + + + JobName + + The name of the MapReduce job. Specifying the name is optional. + + String + + + Mapper + + Mapper executable name. + + String + + + OutputPath + + WASB path representing location for the job output. + + String + + + Reducer + + Reducer executable name. + + String + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + + + + + Arguments + + Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. + + String[] + + String[] + + + + + + CmdEnv + + Command line environmental variables that should be set during job execution on data nodes. + + String[] + + String[] + + + + + + Combiner + + Combiner executable name. + + String + + String + + + + + + Defines + + Hadoop configuration values to be set during the job execution. + + Hashtable + + Hashtable + + + + + + Files + + The collection of files associated with the MapReduce job. + + String[] + + String[] + + + + + + InputPath + + WASB path representing location of input files. + + String + + String + + + + + + JobName + + The name of the MapReduce job. Specifying the name is optional. + + String + + String + + + + + + Mapper + + Mapper executable name. + + String + + String + + + + + + OutputPath + + WASB path representing location for the job output. + + String + + String + + + + + + Reducer + + Reducer executable name. + + String + + String + + + + + + StatusFolder + + Contains the standard and error outputs for the job, including its exit code and task logs. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> Create a MapReduce job definition for the streaming job. + PS C:\>$subscriptionName = "<SubscriptionName>" # Azure subscription name + $clusterName = "<ClusterName>" # HDInsight cluster name # Create a MapReduce job definition for the streaming job. - $streamingWC = New-AzureHDInsightStreamingMapReduceJobDefinition -Files "/example/apps/wc.exe", "/example/apps/cat.exe" -InputPath "/example/data/gutenberg/davinci.txt" -OutputPath "/example/data/StreamingOutput/wc.txt" -Mapper "cat.exe" -Reducer "wc.exe" - - - - Define a new streaming Map Reduce job. - - - - - - - - - - - Online Version: - - - - - - - - Remove-AzureHDInsightCluster - - Deletes the specified HDInsight cluster from your Microsoft Azure subscription. - - - - - Remove - AzureHDInsightCluster - - - - Deletes the specified HDInsight Service cluster. This will also delete any data stored in HDFS on the cluster. Data stored in the associated Microsoft Azure Storage Account will not be deleted. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Remove-AzureHDInsightCluster - - Name - - The name of the HDInsight cluster to be removed. - - String - - - Subscription - - The subscription account containing the HDInsight cluster to be removed. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Name - - The name of the HDInsight cluster to be removed. - - String - - String - - - - - - - Subscription - - The subscription account containing the HDInsight cluster to be removed. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - Remove cluster - - - - - - PS C:\>Remove-AzureHDInsightCluster -Name HDICluster -Subscription (Get-AzureSubscription -Current).SubscriptionId - - - - Delete a specified HDInsight cluster. - - - - - - - - - - - Online Version: - - - - - - - - Revoke-AzureHDInsightHttpServicesAccess - - Disables HTTP access to the cluster. - - - - - Revoke - AzureHDInsightHttpServicesAccess - - - - Disables HTTP access to the cluster for ODBC, Ambari, Oozie and webHCatalog web services. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Revoke-AzureHDInsightHttpServicesAccess - - Name - - The name of the HDInsight cluster to be removed. - - String - - - Location - - The region where the HDInsight cluster is located. - - String - - - Subscription - - The subscription account containing the HDInsight cluster to be revoked. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Location - - The region where the HDInsight cluster is located. - - String - - String - - - - - - - Name - - The name of the HDInsight cluster to be removed. - - String - - String - - - - - - - Subscription - - The subscription account containing the HDInsight cluster to be revoked. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - Online Version: - - - - - - - - Set-AzureHDInsightDefaultStorage - - Sets default storage account setting in the HDInsight cluster configuration object. - - - - - Set - AzureHDInsightDefaultStorage - - - - Sets default storage account setting in the HDInsight cluster configuration object. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Set-AzureHDInsightDefaultStorage - - Config - - The configuration object in which to set default storage account information. - - AzureHDInsightConfig - - - StorageAccountName - - The name of the default storage account. - - String - - - StorageAccountKey - - The storage account key needed to access the default storage account. - - String - - - StorageContainerName - - Name of the default storage container for the cluster. - - String - - - - - - Config - - The configuration object in which to set default storage account information. - - AzureHDInsightConfig - - AzureHDInsightConfig - - - - - - - StorageAccountKey - - The storage account key needed to access the default storage account. - - String - - String - - - - - - - StorageAccountName - - The name of the default storage account. - - String - - String - - - - - - - StorageContainerName - - Name of the default storage container for the cluster. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sets default storage account - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId + $streamingWC = New-AzureHDInsightStreamingMapReduceJobDefinition -Files "/example/apps/wc.exe", "/example/apps/cat.exe" -InputPath "/example/data/gutenberg/davinci.txt" -OutputPath "/example/data/StreamingOutput/wc.txt" -Mapper "cat.exe" -Reducer "wc.exe" + + Define a new streaming Map Reduce job. + + + + + + + + + + + Online Version: + + + + + + + + Remove-AzureHDInsightCluster + + Deletes the specified HDInsight cluster from your Microsoft Azure subscription. + + + + + Remove + AzureHDInsightCluster + + + + + Deletes the specified HDInsight Service cluster. This will also delete any data stored in HDFS on the cluster. Data stored in the associated Microsoft Azure Storage Account will not be deleted. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Remove-AzureHDInsightCluster + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Name + + The name of the HDInsight cluster to be removed. + + String + + + Subscription + + The subscription account containing the HDInsight cluster to be removed. + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Name + + The name of the HDInsight cluster to be removed. + + String + + String + + + + + + Subscription + + The subscription account containing the HDInsight cluster to be removed. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Remove cluster -------------------------- + + + + PS C:\>Remove-AzureHDInsightCluster -Name HDICluster -Subscription (Get-AzureSubscription -Current).SubscriptionId + + Delete a specified HDInsight cluster. + + + + + + + + + + + Online Version: + + + + + + + + Revoke-AzureHDInsightHttpServicesAccess + + Disables HTTP access to the cluster. + + + + + Revoke + AzureHDInsightHttpServicesAccess + + + + + Disables HTTP access to the cluster for ODBC, Ambari, Oozie and webHCatalog web services.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Revoke-AzureHDInsightHttpServicesAccess + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Location + + The region where the HDInsight cluster is located. + + String + + + Name + + The name of the HDInsight cluster to be removed. + + String + + + Subscription + + The subscription account containing the HDInsight cluster to be revoked. + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Location + + The region where the HDInsight cluster is located. + + String + + String + + + + + + Name + + The name of the HDInsight cluster to be removed. + + String + + String + + + + + + Subscription + + The subscription account containing the HDInsight cluster to be revoked. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Set-AzureHDInsightDefaultStorage + + Sets default storage account setting in the HDInsight cluster configuration object. + + + + + Set + AzureHDInsightDefaultStorage + + + + + Sets default storage account setting in the HDInsight cluster configuration object.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Set-AzureHDInsightDefaultStorage + + Config + + The configuration object in which to set default storage account information. + + AzureHDInsightConfig + + + StorageAccountKey + + The storage account key needed to access the default storage account. + + String + + + StorageAccountName + + The name of the default storage account. + + String + + + StorageContainerName + + Name of the default storage container for the cluster. + + String + + + + + + Config + + The configuration object in which to set default storage account information. + + AzureHDInsightConfig + + AzureHDInsightConfig + + + + + + StorageAccountKey + + The storage account key needed to access the default storage account. + + String + + String + + + + + + StorageAccountName + + The name of the default storage account. + + String + + String + + + + + + StorageContainerName + + Name of the default storage container for the cluster. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Sets default storage account -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId $key1 = Get-AzureStorageKey yourblobstorage | %{ $_.Primary } $key2 = Get-AzureStorageKey yoursecondblobstorage | %{ $_.Primary } $creds = Get-Credential @@ -4093,1468 +4337,970 @@ | Add-AzureHDInsightStorage -StorageAccountName yoursecondbobstorage.blob.core.windows.net -StorageAccountKey $key2 ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.windows.net&quot; -DatabaseName &quot;yourOozieDatabaseName&quot; -Credential $oozieCreds -MetastoreType OozieMetastore ` | Add-AzureHDInsightMetastore -SqlAzureServerName &quot;yoursqlserver.database.widows.net&quot; -DatabaseName &quot;yourHiveDatabaseName&quot; -Credential $hiveCreds -MetastoreType HiveMetastore ` - | New-AzureHDInsightCluster -Subscription $subid -Credential $creds - - - - Set default storage account setting in the HDInsight cluster configuration object. - - - - - - - - - - - Online Version: - - - - - - - - Start-AzureHDInsightJob - - Starts an Azure HDInsight job on a specified cluster. - - - - - Start - AzureHDInsightJob - - - - Starts a defined Azure HDInsight job on a specified cluster. This can be a MapReduce job, a streaming job, a Hive job, or a Pig job. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Start-AzureHDInsightJob - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - JobDefinition - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - AzureHDInsightJobDefinition - - - - Start-AzureHDInsightJob - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - - Subscription - - The subscription that contains the HDInsight cluster. - - String - - - JobDefinition - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - AzureHDInsightJobDefinition - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - String - - - - - - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - PSCredential - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - JobDefinition - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - AzureHDInsightJobDefinition - - AzureHDInsightJobDefinition - - - - - - - Subscription - - The subscription that contains the HDInsight cluster. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Start an Azure HDInsight job - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" `??????-Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob `?????? | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername `?????? | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 `?????? | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError - - - - Start an Azure HDInsight job on a specified cluster. - - - - - - - - - - - Online Version: - - - - - - - - Stop-AzureHDInsightJob - - Stops running an Azure HDInsight job on a specified cluster. - - - - - Stop - AzureHDInsightJob - - - - Stops running Azure HDInsight job on a specified cluster. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Stop-AzureHDInsightJob - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - - JobId - - - The Id of the HDInsight job to stop. - - - String - - - - Stop-AzureHDInsightJob - - Subscription - - - The subscription that contains the HDInsight cluster. - - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - - JobId - - - The Id of the HDInsight job to stop. - - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Cluster - - - The name of the Azure HDInsight cluster. - - - String - - String - - - - - - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - PSCredential - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - JobId - - - The Id of the HDInsight job to stop. - - - String - - String - - - - - - - Subscription - - - The subscription that contains the HDInsight cluster. - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - Online Version: - - - - - - - - Use-AzureHDInsightCluster - - Selects Azure HDInsight cluster that will be used by the Invoke-Hive cmdlet for job submission. - - - - - Use - AzureHDInsightCluster - - - - Selects Azure HDInsight cluster that will be used by Invoke-Hive cmdlet for job submission. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Use-AzureHDInsightCluster - - Name - - The name of the cluster used by Invoke-Hive. - - String - - - Subscription - - The subscription that contains the HDInsight clusters to use. - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - The namespace of the Azure HDInsight Service if it is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Endpoint - - The namespace of the Azure HDInsight Service if it is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Name - - The name of the cluster used by Invoke-Hive. - - String - - String - - - - - - - Subscription - - The subscription that contains the HDInsight clusters to use. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PS C:\> - - - - - - - - - - - - - - - - Online Version: - - - - - - - - Wait-AzureHDInsightJob - - Awaits the completion or failure of the HDInsight job and shows its progress. - - - - - Wait - AzureHDInsightJob - - - - Awaits the completion or failure of the HDInsight job and shows its progress. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Wait-AzureHDInsightJob - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - WaitTimeoutInSeconds - - Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. - - Double - - - - Wait-AzureHDInsightJob - - Subscription - - The subscription that contains the HDInsight clusters to use - - String - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - - WaitTimeoutInSeconds - - Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. - - Double - - - Job - - The HDInsight job running for which the script awaits. - - AzureHDInsightJob - - - - Wait-AzureHDInsightJob - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - WaitTimeoutInSeconds - - Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. - - Double - - - Cluster - - The cluster running the job. - - String - - - JobId - - The Id of the job running. - - String - - - - Wait-AzureHDInsightJob - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - - WaitTimeoutInSeconds - - Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. - - Double - - - Job - - The HDInsight job running for which the script awaits. - - AzureHDInsightJob - - - - - - Certificate - - Management certificate of the Azure subscription. - - X509Certificate2 - - X509Certificate2 - - - - - - - Cluster - - The cluster running the job. - - String - - String - - - - - - - Credential - - Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. - - PSCredential - - PSCredential - - - - - - - Endpoint - - Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. - - Uri - - Uri - - - - - - - HostedService - - The namespace of the Azure HDInsight Service if it is different from the default. - - String - - String - - - - - - - Job - - The HDInsight job running for which the script awaits. - - AzureHDInsightJob - - AzureHDInsightJob - - - - - - - JobId - - The Id of the job running. - - String - - String - - - - - - - Subscription - - The subscription that contains the HDInsight clusters to use - - String - - String - - - - - - - WaitTimeoutInSeconds - - Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. - - Double - - Double - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wait for job completion - - - - - - PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId + | New-AzureHDInsightCluster -Subscription $subid -Credential $creds + + Set default storage account setting in the HDInsight cluster configuration object. + + + + + + + + + + + Online Version: + + + + + + + + Start-AzureHDInsightJob + + Starts an Azure HDInsight job on a specified cluster. + + + + + Start + AzureHDInsightJob + + + + + Starts a defined Azure HDInsight job on a specified cluster. This can be a MapReduce job, a streaming job, a Hive job, or a Pig job. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Start-AzureHDInsightJob + + Cluster + + The name of the Azure HDInsight cluster. + + String + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + JobDefinition + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + AzureHDInsightJobDefinition + + + + Start-AzureHDInsightJob + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Cluster + + The name of the Azure HDInsight cluster. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + JobDefinition + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + AzureHDInsightJobDefinition + + + Subscription + + The subscription that contains the HDInsight cluster. + + String + + + + + + Cluster + + The name of the Azure HDInsight cluster. + + String + + String + + + + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + PSCredential + + + + + + JobDefinition + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + AzureHDInsightJobDefinition + + AzureHDInsightJobDefinition + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Subscription + + The subscription that contains the HDInsight cluster. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Start an Azure HDInsight job -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId$clustername = ???yourcluster???$wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" `??????-Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount"$wordCountJob `?????? | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername `?????? | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 `?????? | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError + + Start an Azure HDInsight job on a specified cluster. + + + + + + + + + + + Online Version: + + + + + + + + Stop-AzureHDInsightJob + + Stops running an Azure HDInsight job on a specified cluster. + + + + + Stop + AzureHDInsightJob + + + + + Stops running Azure HDInsight job on a specified cluster.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Stop-AzureHDInsightJob + + Cluster + + The name of the Azure HDInsight cluster. + + String + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + JobId + + The Id of the HDInsight job to stop. + + String + + + + Stop-AzureHDInsightJob + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Cluster + + The name of the Azure HDInsight cluster. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + JobId + + The Id of the HDInsight job to stop. + + String + + + Subscription + + The subscription that contains the HDInsight cluster. + + String + + + + + + Cluster + + The name of the Azure HDInsight cluster. + + String + + String + + + + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + PSCredential + + + + + + JobId + + The Id of the HDInsight job to stop. + + String + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Subscription + + The subscription that contains the HDInsight cluster. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Use-AzureHDInsightCluster + + Selects Azure HDInsight cluster that will be used by the Invoke-Hive cmdlet for job submission. + + + + + Use + AzureHDInsightCluster + + + + + Selects Azure HDInsight cluster that will be used by Invoke-Hive cmdlet for job submission.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Use-AzureHDInsightCluster + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Endpoint + + The namespace of the Azure HDInsight Service if it is different from the default. + + Uri + + + Name + + The name of the cluster used by Invoke-Hive. + + String + + + Subscription + + The subscription that contains the HDInsight clusters to use. + + String + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + The namespace of the Azure HDInsight Service if it is different from the default. + + Uri + + Uri + + + + + + Name + + The name of the cluster used by Invoke-Hive. + + String + + String + + + + + + Subscription + + The subscription that contains the HDInsight clusters to use. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Unknown -------------------------- + + + + PS C:\> + + + + + + + + + + + + + Online Version: + + + + + + + + Wait-AzureHDInsightJob + + Awaits the completion or failure of the HDInsight job and shows its progress. + + + + + Wait + AzureHDInsightJob + + + + + Awaits the completion or failure of the HDInsight job and shows its progress.This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. + + + + Wait-AzureHDInsightJob + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + WaitTimeoutInSeconds + + Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. + + Double + + + + Wait-AzureHDInsightJob + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + + Job + + The HDInsight job running for which the script awaits. + + AzureHDInsightJob + + + Subscription + + The subscription that contains the HDInsight clusters to use + + String + + + WaitTimeoutInSeconds + + Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. + + Double + + + + Wait-AzureHDInsightJob + + Cluster + + The cluster running the job. + + String + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + JobId + + The Id of the job running. + + String + + + WaitTimeoutInSeconds + + Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. + + Double + + + + Wait-AzureHDInsightJob + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + + Job + + The HDInsight job running for which the script awaits. + + AzureHDInsightJob + + + WaitTimeoutInSeconds + + Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. + + Double + + + + + + Credential + + Cluster credentials used for direct HTTP access to the cluster. Can be used instead of Subscription parameter to authenticate access to the cluster. + + PSCredential + + PSCredential + + + + + + WaitTimeoutInSeconds + + Timeout (in seconds) for the wait operation. When timeout expires the cmdlet finishes execution. + + Double + + Double + + + + + + Certificate + + Management certificate of the Azure subscription. + + X509Certificate2 + + X509Certificate2 + + + + + + HostedService + + The namespace of the Azure HDInsight Service if it is different from the default. + + String + + String + + + + + + Endpoint + + Specifies the endpoint to use when connecting to Microsoft Azure if the endpoint is different from the default. + + Uri + + Uri + + + + + + Job + + The HDInsight job running for which the script awaits. + + AzureHDInsightJob + + AzureHDInsightJob + + + + + + Subscription + + The subscription that contains the HDInsight clusters to use + + String + + String + + + + + + Cluster + + The cluster running the job. + + String + + String + + + + + + JobId + + The Id of the job running. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Wait for job completion -------------------------- + + + + PS C:\>$subid = (Get-AzureSubscription ???Current).SubscriptionId $clustername = ???yourcluster??? - $wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" ` - -Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount" + $wordCountJob = New-AzureHDInsightMapReduceJobDefinition -JarFile "/example/apps/hadoop-examples.jar" -ClassName "wordcount" ` + -Defines @{ "mapred.map.tasks"="3" } -Arguments "/example/data/gutenberg/davinci.txt", "/example/output/WordCount" $wordCountJob ` | Start-AzureHDInsightJob -Subscription $subid -Cluster $clustername ` | Wait-AzureHDInsightJob -Subscription $subid -WaitTimeoutInSeconds 3600 ` - | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError - - - - Await the completion or failure of the HDInsight job for a specified interval of time. - - - - - - - - - - - Online Version: - - - - - - - - Invoke-AzureHDInsightHiveJob - - Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. - - - - - Invoke - AzureHDInsightHiveJob - - - - Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. The Use-AzureHDInsightCluster cmdlet needs to be used before calling Invoke-Hive to specify which HDInsight cluster the query will be submitted to. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - Invoke-AzureHDInsightHiveJob - - Query - - The Hive query to be executed. - - String - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - - File - - The wasb path to a file in Azure Blob Storage that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - - Files - - A collection of files required for the Hive job to execute. - - String[] - - - JobName - - The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. - - String - - - StatusFolder - - Location of the status folder where the standard and error outputs of the job will be stored, including its exit code and task logs. - - String - - - - - - Arguments - - Arguments of the Hadoop job. The arguments will be passed as command line arguments to each task. - - String[] - - String[] - - - - - - - Defines - - Hadoop configuration values to be set during the job execution. - - Hashtable - - Hashtable - - - - - - - File - - The wasb path to a file in Azure Blob Storage that contains the query to be executed. Use this File parameter in place of a query parameter. - - String - - String - - - - - - - Files - - A collection of files required for the Hive job to execute. - - String[] - - String[] - - - - - - - JobName - - The name of the Hive job being defined. If the name is not specified, it is "Hive: <first 100 characters of Query>" by default. - - String - - String - - - - - - - Query - - The Hive query to be executed. - - String - - String - - - - - - - StatusFolder - - Location of the status folder where the standard and error outputs of the job will be stored, including its exit code and task logs. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Submit a Hive query - - - - - - PS C:\>Use-AzureHDInsightCluster yourcluster -Subscription (Get-AzureSubscription -Current).SubscriptionId - Invoke-Hive "select * from hivesampletable limit 10" - - - - Submit a Hive queries to the HDInsight cluster. - - - - - - - - - - - Online Version: - - - - - - - - New-AzureHDInsightSqoopJobDefinition - - Defines a new Sqoop job. - - - - - New - AzureHDInsightSqoopJobDefinition - - - - Defines a Sqoop job to be run on an HDInsight cluster. - This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. - - - - New-AzureHDInsightSqoopJobDefinition - - Command - - - - Specifies a Sqoop command and its arguments. - - String - - - File - - The path to a script file that contains the commands to be executed. The script file must be located on wasb. - - String - - - Files - - The collection of files required for the execution of the job. Use wasb file references here. - - String[] - - - StatusFolder - - Location of the status folder where the standard and error outputs of the Sqoop job will be stored, including its exit code and task logs. - - String - - - - - - Command - - - - Specifies a Sqoop command and its arguments. - - String - - String - - - - - - - File - - The path to a script file that contains the commands to be executed. The script file must be located on wasb. - - String - - String - - - - - - - Files - - The collection of files required for the execution of the job. Use wasb file references here. - - String[] - - String[] - - - - - - - StatusFolder - - Location of the status folder where the standard and error outputs of the Sqoop job will be stored, including its exit code and task logs. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sqoop is a tool designed to transfer data between Hadoop clusters and relational databases. You can use Sqoop to import data from a SQL database into an Hadoop Distributed File System (HDFS), transform the data with Hadoop MapReduce, and then export the data from the HDFS back into the SQL database. - - - - - Import data - - - - - - PS C:\>$sqoopJobDef = New-AzureHDInsightSqoopJobDefinition -Command "import --connect jdbc:sqlserver://<SQLDatabaseServerName>.database.windows.net:1433;username=<SQLDatabasUsername>@<SQLDatabaseServerName>; password=<SQLDatabasePassword>; database=<SQLDatabaseDatabaseName> --table <TableName> --target-dir wasb://<ContainerName>@<WindowsAzureStorageAccountName>.blob.core.windows.net/<Path>" - - - - Define a Sqoop job that that imports??all the rows of a table from a Microsoft Azure SQL Database to an HDInsight cluster. - - - - - - - - - - - Online Version: - - - - - - + | Get-AzureHDInsightJobOutput -Cluster $clustername -Subscription $subid -StandardError + + Await the completion or failure of the HDInsight job for a specified interval of time. + + + + + + + + + + + Online Version: + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs index ae57c4d4f2fa..ce40cf65eabf 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs @@ -45,7 +45,7 @@ public override async Task EndProcessing() connection.Cluster = new AzureHDInsightCluster(cluster); - if (cluster.State != ClusterState.Running) + if (!(cluster.State == ClusterState.Running || cluster.State == ClusterState.Operational)) { throw new NotSupportedException( string.Format(CultureInfo.InvariantCulture, "Cluster {0} is in an invalid state : {1}", this.Name, cluster.State.ToString())); diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config index f896cefd5757..b51ec643ed38 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config @@ -7,8 +7,8 @@ - - + + 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 5c6f875de38e..1ed9a58101ce 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj @@ -38,9 +38,9 @@ 4 - + False - ..\..\..\packages\Hydra.HttpRecorder.1.0.5359.24167-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -51,13 +51,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - True + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -73,14 +73,16 @@ - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - + False - ..\..\..\packages\Hydra.SpecTestSupport.1.0.5359.24167-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll False @@ -99,13 +101,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -138,6 +140,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.cs index 40b7152e6fe3..cd75ae60483d 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.cs @@ -25,5 +25,12 @@ public void ManagedCacheEndToEndTest() { this.RunPowerShellTest("Test-ManagedCacheEndToEnd"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListLocationsTest() + { + this.RunPowerShellTest("Test-ListLocationsSupportCaching"); + } } } diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.ps1 b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.ps1 index 09284c96dc5c..4e7253a8c51e 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.ps1 +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTests.ps1 @@ -43,4 +43,27 @@ function Test-ManagedCacheEndToEnd # Remove it Remove-AzureManagedCache $cacheName -Force +} + +########################## List caching service location Test ############################# +<# +.SYNOPSIS +List locations that support managed caching service +#> +function Test-ListLocationsSupportCaching +{ + $allLocations = Get-AzureManagedCacheLocation + + Assert-AreNotEqual 0 $allLocations.Count + + $found = $FALSE + foreach ($location in $allLocations) + { + if ($location.Location -eq "West US") + { + $found = $TRUE + break + } + } + Assert-True {$found} } \ No newline at end of file diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ListLocationsTest.json b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ListLocationsTest.json new file mode 100644 index 000000000000..7154274ed6d3 --- /dev/null +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ListLocationsTest.json @@ -0,0 +1,46 @@ +{ + "Entries": [ + { + "RequestUri": "/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/cloudservices/mycloudservice/resources/cacheservice/~/Caching/mycacheservice/Options/Regions", + "EncodedRequestUri": "LzJjMjI0ZTdlLTNlZjUtNDMxZC1hNTdiLWU3MWY0NjYyZTNhNi9jbG91ZHNlcnZpY2VzL215Y2xvdWRzZXJ2aWNlL3Jlc291cmNlcy9jYWNoZXNlcnZpY2Uvfi9DYWNoaW5nL215Y2FjaGVzZXJ2aWNlL09wdGlvbnMvUmVnaW9ucw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2012-08-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8.0" + ] + }, + "ResponseBody": "\r\n East Asia\r\n East US\r\n East US 2\r\n North Central US\r\n North Europe\r\n Southeast Asia\r\n West Europe\r\n West US\r\n South Central US\r\n", + "ResponseHeaders": { + "x-ms-servedbyregion": [ + "ussouth2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "01a9adbe4c6d1f1cbbe16f99c4d7d519" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 23 Sep 2014 23:47:54 GMT" + ], + "Server": [ + "1.0.6198.129", + "(rd_rdfe_stable.140922-1311)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json index 2a74243f8cfd..6bb37cfc4bcf 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json @@ -9,8 +9,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n", @@ -47,8 +47,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -85,8 +85,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -123,8 +123,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -161,8 +161,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -199,8 +199,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -237,8 +237,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -275,8 +275,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -313,8 +313,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -351,8 +351,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -389,8 +389,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -427,8 +427,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -465,8 +465,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -503,8 +503,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -541,8 +541,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -579,8 +579,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -617,8 +617,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -655,8 +655,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -693,8 +693,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -731,8 +731,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -769,8 +769,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -807,8 +807,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -845,8 +845,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -883,8 +883,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "true", @@ -918,8 +918,8 @@ "RequestBody": "\r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.0.0\r\n 1024\r\n \r\n \r\n \r\n", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "x-ms-version": [ "2012-08-01" @@ -965,8 +965,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "20" @@ -1006,8 +1006,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "3" @@ -1044,8 +1044,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "3" @@ -1082,8 +1082,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1117,8 +1117,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1152,8 +1152,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1187,8 +1187,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1222,8 +1222,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1257,8 +1257,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "20" @@ -1295,8 +1295,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "20" @@ -1333,8 +1333,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJmk5cUEvcVp1eUpCRzZvT1gxY1k4NTAwWW4yUGNjVGROZFNianpMT29sY289Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n", @@ -1371,8 +1371,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ] }, "ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJllLSmJFeTVvSEZvZkRmdmt6VTRqMTViWnlkNlEwbG1pUmFmZ2ZtQ2phVTQ9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n", @@ -1409,8 +1409,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "40" @@ -1447,8 +1447,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "40" @@ -1485,8 +1485,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.8", - "AzurePowershell/v0.8.8" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.10.1", + "AzurePowershell/v0.8.10.1" ], "client-tracking-id": [ "40" diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config index 895b2dc92505..3ce6471f6ee3 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config @@ -1,16 +1,16 @@  - - + + - - - + + + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj index 6d9b2df2a61e..68f6bb6fe9a5 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj @@ -62,13 +62,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll @@ -82,13 +82,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -112,6 +112,7 @@ + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1 b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1 new file mode 100644 index 000000000000..a57ca0951686 --- /dev/null +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\ManagedCache\Microsoft.Azure.Commands.ManagedCache.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.xml b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.xml index 686a54414f21..8faf0e5b16fe 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.xml +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.xml @@ -1,1090 +1,1008 @@ - - - - - Get-AzureManagedCache - - Gets the Azure Caches in your Azure account. - - - - - Get - AzureManagedCache - - - - The Get-AzureManagedCache cmdlet get the Azure Caches in your account. By default, it gets all Azure Caches in the account. To get a particular Azure Cache, use the Name parameter. - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - - - - Get-AzureManagedCache - - Name - - Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. - - String - - - - - - Name - - Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Commands.ManagedCache.Models.PSCacheService - - - - - - - - - - - - - - - - - - Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). - - - - - Example 1: Get all Azure Caches - - - - - PS C:\>Get-AzureManagedCache - - - - This command gets all Azure Caches in your account. - - - - - - - - - Example 2: Get an Azure Cache by name - - - - - PS C:\>Get-AzureManagedCache -Name ContosoCache - - - - This command gets only the ContosoCache Azure Cache. - - - - - - - - - - - Online Version: - - - - - New-AzureManagedCache - - - - Set-AzureManagedCache - - - - Remove-AzureManagedCache - - - - Get-AzureManagedCacheAccessKey - - - - New-AzureManagedCacheAccessKey - - - - - - - Get-AzureManagedCacheAccessKey - - Gets the access keys for an Azure Cache - - - - - Get - AzureManagedCacheAccessKey - - - - The Get-AzureManagedCacheAccessKey cmdlet gets the primary and secondary access keys for an Azure Cache. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. - Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdlet - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - - - - Get-AzureManagedCacheAccessKey - - Name - - Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. - - String - - - - - - Name - - Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. - - String - - String - - - - - - - - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse - - - - - - - - - - - - - - - - - Example 1: Get the access key - - - - - PS C:\>Get-AzureManagedCacheAccessKey -Name contosocache - - - - This command gets the access key for the contosocache Azure Cache. - - - - - - - - - - - New-AzureManagedCacheAccessKey - - - - New-AzureManagedCache - - - - Get-AzureManagedCache - - - - Set-AzureManagedCache - - - - Remove-AzureManagedCache - - - - Get-AzureManagedCacheAccessKey - - - - New-AzureManagedCacheAccessKey - - - - - - - New-AzureManagedCache - - Creates an Azure cache - - - - - New - AzureManagedCache - - - - The New-AzureManagedCache cmdlet creates an Azure Cache in your Azure account and returns an object that represents the new Azure Cache. - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - - - - New-AzureManagedCache - - Name - - Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. - - String - - - Location - - Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required. - To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. - - String - - - Memory - - Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. - -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + + + + + Get-AzureManagedCache + + Gets the Azure Caches in your Azure account. + + + + + Get + AzureManagedCache + + + + + The Get-AzureManagedCache cmdlet get the Azure Caches in your account. By default, it gets all Azure Caches in the account. To get a particular Azure Cache, use the Name parameter.An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Get-AzureManagedCache + + Name + + Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. + + String + + + + + + Name + + Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models.PSCacheService + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + -------------------------- Example 1: Get all Azure Caches -------------------------- + + + + PS C:\>Get-AzureManagedCache + + This command gets all Azure Caches in your account. + + + + + + + + + -------------------------- Example 2: Get an Azure Cache by name -------------------------- + + + + PS C:\>Get-AzureManagedCache -Name ContosoCache + + This command gets only the ContosoCache Azure Cache. + + + + + + + + + + + Online Version: + + + + New-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + + Get-AzureManagedCacheAccessKey + + Gets the access keys for an Azure Cache + + + + + Get + AzureManagedCacheAccessKey + + + + + The Get-AzureManagedCacheAccessKey cmdlet gets the primary and secondary access keys for an Azure Cache. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdletAn Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Get-AzureManagedCacheAccessKey + + Name + + Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. + + String + + + + + + Name + + Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get the access key -------------------------- + + + + PS C:\>Get-AzureManagedCacheAccessKey -Name contosocache + + This command gets the access key for the contosocache Azure Cache. + + + + + + + + + + + New-AzureManagedCacheAccessKey + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + + New-AzureManagedCache + + Creates an Azure cache + + + + + New + AzureManagedCache + + + + + The New-AzureManagedCache cmdlet creates an Azure Cache in your Azure account and returns an object that represents the new Azure Cache.An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + New-AzureManagedCache + + Name + + Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. + + String + + + Location + + Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required.To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. + + String + + + Sku + + Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. + + CacheServiceSkuType + + + Memory + + Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. -- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. -- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. - - String - - - Sku - - Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. - - String - - - - - - Location - - Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required. - To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. - - String - - String - - - - - - - Memory - - Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. - -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + + String + + + + + + Name + + Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. + + String + + String + + + + + + Location + + Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required.To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. + + String + + String + + + + + + Sku + + Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. + + CacheServiceSkuType + + CacheServiceSkuType + + + + + + Memory + + Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. -- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. -- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. - - String - - String - - - - - - - Name - - Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. - - String - - String - - - - - - - Sku - - Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Commands.ManagedCache.Models .PSCacheService - - - - - - - - - - - - - - - - - - Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). - - - - - Example 1: Create an Azure Cache - - - - - PS C:\>New-AzureManagedCache -Name contosocache -Location "West Europe" - - - - This command creates an Azure Cache named ContosoCache in the West Europe Azure data center. It uses the default values for the Sku and Memory parameters, which are Basic and 128MB. - - - - - - - - - Example 2: Create a premium Azure Cache - - - - - PS C:\>New-AzureManagedCache -Name contosoappcache -Location "West Europe" -Sku Premium -Memory 150GB - - - - This command creates the largest available Azure Cache. - - - - - - - - - - - Online Version: - - - - - Get-AzureManagedCache - - - - Set-AzureManagedCache - - - - Remove-AzureManagedCache - - - - Get-AzureManagedCacheAccessKey - - - - New-AzureManagedCacheAccessKey - - - - - - - New-AzureManagedCacheAccessKey - - Creates new access keys for an Azure Cache. - - - - - New - AzureManagedCacheAccessKey - - - - The New-AzureManagedCacheAccessKey cmdlet generates new primary or secondary access keys for an Azure Cache. When you create an Azure Cache, it includes a set of access keys. To get the current access keys, use the Get-AzureManagedCacheAccessKey cmdlet. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdlet - - - - - - New-AzureManagedCacheAccessKey - - Name - - Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - KeyType - - Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. - - String - - - - - - KeyType - - Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. - - String - - String - - - - - - - Name - - Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse - - - - - - - - - - - - - - - - - Create a new primary key - - - - - PS C:\>New-AzureManagedCacheAccessKey -Name contosocache - - - - This command creates a new primary key for the contosocache Azure Cache. - - - - - - - - - Create a new secondary key - - - - - PS C:\>New-AzureManagedCacheAccessKey -Name contosocache -KeyType Secondary - - - - This command creates a new secondary key for the contosocache Azure Cache. - - - - - - - - - Create new access keys - - - - - PS C:\>'Primary', 'Secondary' | ForEach-Object {New-AzureManagedCacheAccessKey -Name contosocache -KeyType $_} - - - - This command creates new primary and secondary keys for the contosocache Azure Cache. - - - - - - - - - - - Online Version: - - - - - Get-AzureManagedCacheAccessKey - - - - New-AzureManagedCache - - - - Get-AzureManagedCache - - - - Set-AzureManagedCache - - - - Remove-AzureManagedCache - - - - - - - Remove-AzureManagedCache - - Deletes an Azure Cache - - - - - Remove - AzureManagedCache - - - - The Remove-AzureManagedCache cmdlet deletes an Azure Cache and all of the data in the Cache. It returns True if the operation was successful and False if it failed. - By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache, but you can use the Force parameter to suppress the prompt. - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - - - - Remove-AzureManagedCache - - Name - - Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. - - - - - - - Force - - Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. - - SwitchParameter - - SwitchParameter - - - - - - - Name - - Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. - - String - - String - - - - - - - - - - None - - - - - - - - You can input to this cmdlet by property name, but not by value. - - - - - - - System.Boolean - - - - - - - - Returns True ($true) if the operation is successful and False ($false) if it fails. - - - - - - - - - Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). - - - - - Delete an Azure Cache - - - - - PS C:\>Remove-AzureManagedCache -Name contosocache + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models .PSCacheService + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + -------------------------- Example 1: Create an Azure Cache -------------------------- + + + + PS C:\>New-AzureManagedCache -Name contosocache -Location "West Europe" + + This command creates an Azure Cache named ContosoCache in the West Europe Azure data center. It uses the default values for the Sku and Memory parameters, which are Basic and 128MB. + + + + + + + + + -------------------------- Example 2: Create a premium Azure Cache -------------------------- + + + + PS C:\>New-AzureManagedCache -Name contosoappcache -Location "West Europe" -Sku Premium -Memory 150GB + + This command creates the largest available Azure Cache. + + + + + + + + + + + Online Version: + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + + New-AzureManagedCacheAccessKey + + Creates new access keys for an Azure Cache. + + + + + New + AzureManagedCacheAccessKey + + + + + The New-AzureManagedCacheAccessKey cmdlet generates new primary or secondary access keys for an Azure Cache. When you create an Azure Cache, it includes a set of access keys. To get the current access keys, use the Get-AzureManagedCacheAccessKey cmdlet. You can use these keys to allow clients, such as web applications, to access to your Azure Cache.An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/).Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdlet + + + + New-AzureManagedCacheAccessKey + + Name + + Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + KeyType + + Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. + + String + + + + + + Name + + Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + KeyType + + Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. + + String + + String + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse + + + + + + + + + + + + + + + + + + + -------------------------- Create a new primary key -------------------------- + + + + PS C:\>New-AzureManagedCacheAccessKey -Name contosocache + + This command creates a new primary key for the contosocache Azure Cache. + + + + + + + + + -------------------------- Create a new secondary key -------------------------- + + + + PS C:\>New-AzureManagedCacheAccessKey -Name contosocache -KeyType Secondary + + This command creates a new secondary key for the contosocache Azure Cache. + + + + + + + + + -------------------------- Create new access keys -------------------------- + + + + PS C:\>'Primary', 'Secondary' | ForEach-Object {New-AzureManagedCacheAccessKey -Name contosocache -KeyType $_} + + This command creates new primary and secondary keys for the contosocache Azure Cache. + + + + + + + + + + + Online Version: + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + + + + + Remove-AzureManagedCache + + Deletes an Azure Cache + + + + + Remove + AzureManagedCache + + + + + The Remove-AzureManagedCache cmdlet deletes an Azure Cache and all of the data in the Cache. It returns True if the operation was successful and False if it failed.By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache, but you can use the Force parameter to suppress the prompt.An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Remove-AzureManagedCache + + Name + + Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + PassThru + + + + SwitchParameter + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. + + SwitchParameter + + + + + + Name + + Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + PassThru + + + + SwitchParameter + + SwitchParameter + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. + + SwitchParameter + + SwitchParameter + + + + + + + + + None + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + -------------------------- Delete an Azure Cache -------------------------- + + + + PS C:\>Remove-AzureManagedCache -Name contosocache Confirm Are you sure you want to perform this action? -Performing the operation "Delete" on target "contosocache". -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): +Performing the operation "Delete" on target "contosocache". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y -True - - - - - This command deletes the contosocache Azure Cache. The command prompts for confirmation before deleting the Cache. It returns a value of $True to indicate that the Cache was deleted. - - - - - - - - - Example 2: Remove all test caches - - - - - PS C:\>Get-AzureManagedCache | Where-Object Name -like Test* | Remove-AzureManagedCache -Force - - - - This command removes all Azure Caches that have names that begin with "Test." It uses the Get-AzureManagedCache cmdlet to get the Azure Caches in your account. It pipes them to the Where-Object cmdlet, which returns only the Azure Caches that have names that begin with "Test". Then, it pipes the test caches to the Remove-AzureManagedCache cmdlet with the Force parameter, which deletes them without prompting for confirmation. - - - - - - - - - - - Online Version: - - - - - New-AzureManagedCache - - - - Get-AzureManagedCache - - - - Set-AzureManagedCache - - - - Get-AzureManagedCacheAccessKey - - - - New-AzureManagedCacheAccessKey - - - - - - - Set-AzureManagedCache - - Changes the properties of an Azure Cache. - - - - - Set - AzureManagedCache - - - - The Set-AzureManagedCache cmdlet changes the properties of an Azure Cache and returns an object that represents the cache with the changes. Use the Name and Location parameters to identify the Azure Cache, and the Sku and Memory parameters to change its properties. - An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). - WARNING: When you change the SKU of an Azure Cache, all data in the cache is deleted and a new, empty Azure Cache is created for you with the same name and location. When you use the Sku parameter, Set-AzureManagedCache prompts for confirmation. To suppress the confirmation prompt, use the Force parameter. - - - - Set-AzureManagedCache - - Name - - Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. - - String - - - Location - - Specifies the location of the Azure Cache. This parameter is required. Enter the name of the Azure data center location where the Azure Cache resides, such as "North Central US" or "West Europe". This parameter identifies the Azure Cache. You cannot use this parameter to change the location of the Azure Cache. - - String - - - Sku - - Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. - - String - - - Memory - - Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. - -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. +True + + This command deletes the contosocache Azure Cache. The command prompts for confirmation before deleting the Cache. It returns a value of $True to indicate that the Cache was deleted. + + + + + + + + + -------------------------- Example 2: Remove all test caches -------------------------- + + + + PS C:\>Get-AzureManagedCache | Where-Object Name -like Test* | Remove-AzureManagedCache -Force + + This command removes all Azure Caches that have names that begin with "Test." It uses the Get-AzureManagedCache cmdlet to get the Azure Caches in your account. It pipes them to the Where-Object cmdlet, which returns only the Azure Caches that have names that begin with "Test". Then, it pipes the test caches to the Remove-AzureManagedCache cmdlet with the Force parameter, which deletes them without prompting for confirmation. + + + + + + + + + + + Online Version: + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + + Set-AzureManagedCache + + Changes the properties of an Azure Cache. + + + + + Set + AzureManagedCache + + + + + The Set-AzureManagedCache cmdlet changes the properties of an Azure Cache and returns an object that represents the cache with the changes. Use the Name and Location parameters to identify the Azure Cache, and the Sku and Memory parameters to change its properties.An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/).WARNING: When you change the SKU of an Azure Cache, all data in the cache is deleted and a new, empty Azure Cache is created for you with the same name and location. When you use the Sku parameter, Set-AzureManagedCache prompts for confirmation. To suppress the confirmation prompt, use the Force parameter. + + + + Set-AzureManagedCache + + Name + + Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. + + String + + + Sku + + Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. + + CacheServiceSkuType + + + Force + + Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. + + SwitchParameter + + + Memory + + Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. -- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. -- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. - - String - - - Force - - Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. - - - - - - - Force - - Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. - - SwitchParameter - - SwitchParameter - - - - - - - Location - - Specifies the location of the Azure Cache. This parameter is required. Enter the name of the Azure data center location where the Azure Cache resides, such as "North Central US" or "West Europe". This parameter identifies the Azure Cache. You cannot use this parameter to change the location of the Azure Cache. - - String - - String - - - - - - - Memory - - Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. - -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + + String + + + + + + Name + + Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. + + String + + String + + + + + + Sku + + Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. + + CacheServiceSkuType + + CacheServiceSkuType + + + + + + Force + + Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. + + SwitchParameter + + SwitchParameter + + + + + + Memory + + Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. -- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. -- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. - - String - - String - - - - - - - Name - - Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. - - String - - String - - - - - - - Sku - - Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. - - String - - String - - - - - - - - - - None - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Commands.ManagedCache.Models.PsCacheService - - - - - - - - - - - - - - - - - - Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). - - - - - Example 1: Change the size of an Azure Cache - - - - - PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Memory 256MB - - - - This command increases the size of the contosocache Azure Cache to 256 MB. - - - - - - - - - Example 2: Change the SKU of an Azure Cache - - - - - -PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Sku Standard -Size 10GB + + String + + String + + + + + + Location + + Specifies the location of the Azure Cache. This parameter is required. Enter the name of the Azure data center location where the Azure Cache resides, such as "North Central US" or "West Europe". This parameter identifies the Azure Cache. You cannot use this parameter to change the location of the Azure Cache. + + string + + string + + + + + + + + + None + + + + + + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models.PsCacheService + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + -------------------------- Example 1: Change the size of an Azure Cache -------------------------- + + + + PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Memory 256MB + + This command increases the size of the contosocache Azure Cache to 256 MB. + + + + + + + + + -------------------------- Example 2: Change the SKU of an Azure Cache -------------------------- + + + + PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Sku Standard -Size 10GB Confirm Are you sure you want to perform this action? -Performing the operation "Delete" on target "contosocache". -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): - - - - - This command changes the SKU of the contosocache Azure Cache from Basic to Standard and the Size to 10 GB. - Because this operation deletes the existing Azure Cache and its data and creates a new empty Azure Cache, Set-AzureManagedCache prompts you for confirmation before deleting the cache. To suppress this prompt, use the Force parameter. - - - - - - - - - - - Online Version: - - - - - - +Performing the operation "Delete" on target "contosocache". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + + This command changes the SKU of the contosocache Azure Cache from Basic to Standard and the Size to 10 GB. + + + + Because this operation deletes the existing Azure Cache and its data and creates a new empty Azure Cache, Set-AzureManagedCache prompts you for confirmation before deleting the cache. To suppress this prompt, use the Force parameter. + + + + + + + Online Version: + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs index 5b5176d8044e..571fc8d06bbc 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs @@ -32,7 +32,6 @@ namespace Microsoft.Azure.Commands.ManagedCache class PSCacheClient { private const string CacheResourceType = "Caching"; - private const string CacheResourceProviderNamespace = "cacheservice"; private const string CacheServiceReadyState = "Active"; private ManagedCacheClient client; @@ -44,6 +43,11 @@ public PSCacheClient() { } public Action ProgressRecorder { get; set; } + public List GetLocations() + { + return new List(client.CacheServices.ListRegions().Regions); + } + public CloudServiceResource CreateCacheService ( string subscriptionID, string cacheServiceName, @@ -97,7 +101,7 @@ public CloudServiceResource UpdateCacheService(string cacheServiceName, CacheSer foreach (CloudServiceListResponse.CloudService cloudService in listResponse) { cacheResource = cloudService.Resources.FirstOrDefault( - p => { return p.Name.Equals(cacheServiceName) && p.Type == CacheResourceType; }); + p => { return p.Name.Equals(cacheServiceName) && IsCachingResource(p.Type); }); if (cacheResource != null) { cloudServiceName = cloudService.Name; @@ -143,6 +147,11 @@ public CloudServiceResource UpdateCacheService(string cacheServiceName, CacheSer return cacheResource; } + private static bool IsCachingResource(string resourceType) + { + return string.Compare(resourceType, CacheResourceType, StringComparison.OrdinalIgnoreCase) == 0; + } + private string GetPromptMessgaeIfThereIsDataLoss(CacheServiceSkuType existingSkuType, CacheServiceSkuType newSkuType, int existingSkuCount, @@ -186,7 +195,7 @@ private CloudServiceResource WaitForProvisionDone(string cacheServiceName, strin while (waitInMinutes > 0) { cacheResource = GetCacheService(cloudServiceName, cacheServiceName); - if (cacheResource.SubState == CacheServiceReadyState) + if (CacheServiceReadyState.Equals(cacheResource.SubState, StringComparison.OrdinalIgnoreCase)) { break; } @@ -254,12 +263,14 @@ public List GetCacheServices(string cacheServiceName) { foreach(CloudServiceResource resource in cloudService.Resources) { - if (resource.Type == CacheResourceType) + if (IsCachingResource(resource.Type)) { bool nameMatched = string.IsNullOrEmpty(cacheServiceName) || cacheServiceName.Equals(resource.Name, StringComparison.OrdinalIgnoreCase); - if (nameMatched) + //'unknown' is a bad caching entry due to service internal error, + // that we should not display; otherwise, it will screw up the displaying for missing some important fields. + if (nameMatched && string.Compare(resource.State, "Unknown", StringComparison.OrdinalIgnoreCase)!=0) { services.Add(new PSCacheService(resource)); } @@ -290,8 +301,8 @@ private string GetAssociatedCloudServiceName(string cacheServiceName) foreach (CloudServiceListResponse.CloudService cloudService in listResponse) { CloudServiceResource matched = cloudService.Resources.FirstOrDefault( - resource => { - return resource.Type == CacheResourceType + resource => { + return IsCachingResource(resource.Type) && cacheServiceName.Equals(resource.Name, StringComparison.OrdinalIgnoreCase); }); @@ -307,8 +318,8 @@ private CloudServiceResource GetCacheService(string cloudServiceName, string cac { CloudServiceGetResponse response = client.CloudServices.Get(cloudServiceName); CloudServiceResource cacheResource = response.Resources.FirstOrDefault((r) => - { - return r.Type == CacheResourceType && r.Name.Equals(cacheServiceName, StringComparison.OrdinalIgnoreCase); + { + return IsCachingResource(r.Type) && r.Name.Equals(cacheServiceName, StringComparison.OrdinalIgnoreCase); }); return cacheResource; } diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/GetAzureManagedCacheLocation.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/GetAzureManagedCacheLocation.cs new file mode 100644 index 000000000000..ab76be983224 --- /dev/null +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/GetAzureManagedCacheLocation.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.ManagedCache +{ + using Microsoft.Azure.Commands.ManagedCache.Models; + using System; + using System.Collections.Generic; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureManagedCacheLocation"), OutputType(typeof(List))] + public class AzureManagedCacheLocation : ManagedCacheCmdletBase + { + public override void ExecuteCmdlet() + { + List locations = CacheClient.GetLocations(); + WriteObject(locations); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.Customization.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.Customization.cs index 233aa84a9490..29c3bfc34a87 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.Customization.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.Customization.cs @@ -62,18 +62,6 @@ public static ManagedCacheClient Create(IDictionary settings) new ManagedCacheClient(credentials); } - protected override void Clone(ServiceClient client) - { - base.Clone(client); - ManagedCacheClient management = client as ManagedCacheClient; - if (management != null) - { - management._credentials = Credentials; - management._baseUri = BaseUri; - management.Credentials.InitializeServiceClient(management); - } - } - public override ManagedCacheClient WithHandler(DelegatingHandler handler) { return (ManagedCacheClient)WithHandler(new ManagedCacheClient(), handler); diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs index a1c5435accf3..68c3eacd625d 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs @@ -251,6 +251,30 @@ public string Label public CloudServiceCreateParameters() { } + + /// + /// Initializes a new instance of the CloudServiceCreateParameters + /// class with required arguments. + /// + public CloudServiceCreateParameters(string label, string description, string geoRegion) + : this() + { + if (label == null) + { + throw new ArgumentNullException("label"); + } + if (description == null) + { + throw new ArgumentNullException("description"); + } + if (geoRegion == null) + { + throw new ArgumentNullException("geoRegion"); + } + this.Label = label; + this.Description = description; + this.GeoRegion = geoRegion; + } } /// @@ -285,7 +309,7 @@ public IList Resources /// public CloudServiceGetResponse() { - this._resources = new List(); + this.Resources = new List(); } } @@ -310,7 +334,7 @@ public IList CloudServices /// public CloudServiceListResponse() { - this._cloudServices = new List(); + this.CloudServices = new List(); } /// @@ -397,7 +421,7 @@ public IList Resources /// public CloudService() { - this._resources = new List(); + this.Resources = new List(); } } } @@ -659,8 +683,8 @@ public IList UsageLimits /// public CloudServiceResource() { - this._outputItems = new Dictionary(); - this._usageLimits = new List(); + this.OutputItems = new Dictionary(); + this.UsageLimits = new List(); } /// @@ -816,7 +840,7 @@ public CacheServiceSkuType SkuType /// public CacheServiceInput() { - this._namedCaches = new List(); + this.NamedCaches = new List(); } public partial class NamedCache @@ -939,6 +963,72 @@ public RegenerateKeysParameters() { } } + + /// + /// A standard service response including an HTTP status code and request + /// ID. + /// + public partial class RegionsResponse : OperationResponse, IEnumerable + { + private IList _regions; + + /// + /// Optional. The list of region with caching service + /// + public IList Regions + { + get { return this._regions; } + set { this._regions = value; } + } + + /// + /// Initializes a new instance of the RegionsResponse class. + /// + public RegionsResponse() + { + this.Regions = new List(); + } + + /// + /// Gets the sequence of Regions. + /// + public IEnumerator GetEnumerator() + { + return this.Regions.GetEnumerator(); + } + + /// + /// Gets the sequence of Regions. + /// + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() + { + return this.GetEnumerator(); + } + + /// + /// Defines a caching service region + /// + public partial class Region + { + private string _location; + + /// + /// Optional. The location of the caching service. + /// + public string Location + { + get { return this._location; } + set { this._location = value; } + } + + /// + /// Initializes a new instance of the Region class. + /// + public Region() + { + } + } + } } namespace Microsoft.Azure.Management.ManagedCache @@ -950,21 +1040,21 @@ public partial interface IManagedCacheClient : IDisposable /// Uri BaseUri { - get; + get; set; } /// - /// When you create a Microsoft Azure subscription, it is uniquely + /// When you create a Windows Azure subscription, it is uniquely /// identified by a subscription ID. The subscription ID forms part of /// the URI for every call that you make to the Service Management - /// API. The Microsoft Azure Service ManagementAPI use mutual + /// API. The Windows Azure Service ManagementAPI use mutual /// authentication of management certificates over SSL to ensure that /// a request made to the service is secure. No anonymous requests /// are allowed. /// SubscriptionCloudCredentials Credentials { - get; + get; set; } /// @@ -1020,15 +1110,16 @@ public partial class ManagedCacheClient : ServiceClient, IMa public Uri BaseUri { get { return this._baseUri; } + set { this._baseUri = value; } } private SubscriptionCloudCredentials _credentials; /// - /// When you create a Microsoft Azure subscription, it is uniquely + /// When you create a Windows Azure subscription, it is uniquely /// identified by a subscription ID. The subscription ID forms part of /// the URI for every call that you make to the Service Management - /// API. The Microsoft Azure Service ManagementAPI use mutual + /// API. The Windows Azure Service ManagementAPI use mutual /// authentication of management certificates over SSL to ensure that /// a request made to the service is secure. No anonymous requests /// are allowed. @@ -1036,6 +1127,7 @@ public Uri BaseUri public SubscriptionCloudCredentials Credentials { get { return this._credentials; } + set { this._credentials = value; } } private ICacheServiceOperations _cacheServices; @@ -1071,10 +1163,10 @@ private ManagedCacheClient() /// Initializes a new instance of the ManagedCacheClient class. /// /// - /// Required. When you create a Microsoft Azure subscription, it is + /// Required. When you create a Windows Azure subscription, it is /// uniquely identified by a subscription ID. The subscription ID /// forms part of the URI for every call that you make to the Service - /// Management API. The Microsoft Azure Service ManagementAPI use + /// Management API. The Windows Azure Service ManagementAPI use /// mutual authentication of management certificates over SSL to /// ensure that a request made to the service is secure. No anonymous /// requests are allowed. @@ -1104,10 +1196,10 @@ public ManagedCacheClient(SubscriptionCloudCredentials credentials, Uri baseUri) /// Initializes a new instance of the ManagedCacheClient class. /// /// - /// Required. When you create a Microsoft Azure subscription, it is + /// Required. When you create a Windows Azure subscription, it is /// uniquely identified by a subscription ID. The subscription ID /// forms part of the URI for every call that you make to the Service - /// Management API. The Microsoft Azure Service ManagementAPI use + /// Management API. The Windows Azure Service ManagementAPI use /// mutual authentication of management certificates over SSL to /// ensure that a request made to the service is secure. No anonymous /// requests are allowed. @@ -1143,10 +1235,10 @@ private ManagedCacheClient(HttpClient httpClient) /// Initializes a new instance of the ManagedCacheClient class. /// /// - /// Required. When you create a Microsoft Azure subscription, it is + /// Required. When you create a Windows Azure subscription, it is /// uniquely identified by a subscription ID. The subscription ID /// forms part of the URI for every call that you make to the Service - /// Management API. The Microsoft Azure Service ManagementAPI use + /// Management API. The Windows Azure Service ManagementAPI use /// mutual authentication of management certificates over SSL to /// ensure that a request made to the service is secure. No anonymous /// requests are allowed. @@ -1179,10 +1271,10 @@ public ManagedCacheClient(SubscriptionCloudCredentials credentials, Uri baseUri, /// Initializes a new instance of the ManagedCacheClient class. /// /// - /// Required. When you create a Microsoft Azure subscription, it is + /// Required. When you create a Windows Azure subscription, it is /// uniquely identified by a subscription ID. The subscription ID /// forms part of the URI for every call that you make to the Service - /// Management API. The Microsoft Azure Service ManagementAPI use + /// Management API. The Windows Azure Service ManagementAPI use /// mutual authentication of management certificates over SSL to /// ensure that a request made to the service is secure. No anonymous /// requests are allowed. @@ -1203,6 +1295,28 @@ public ManagedCacheClient(SubscriptionCloudCredentials credentials, HttpClient h this.Credentials.InitializeServiceClient(this); } + /// + /// Clones properties from current instance to another + /// ManagedCacheClient instance + /// + /// + /// Instance of ManagedCacheClient to clone to + /// + protected override void Clone(ServiceClient client) + { + base.Clone(client); + + if (client is ManagedCacheClient) + { + ManagedCacheClient clonedClient = ((ManagedCacheClient)client); + + clonedClient._credentials = this._credentials; + clonedClient._baseUri = this._baseUri; + + clonedClient.Credentials.InitializeServiceClient(clonedClient); + } + } + /// /// The Get Operation Status operation returns the status of /// thespecified operation. After calling an asynchronous operation, @@ -1250,8 +1364,8 @@ public async Task GetOperationStatusAsync(s } // Construct URL - string baseUrl = this.BaseUri.AbsoluteUri; string url = (this.Credentials.SubscriptionId != null ? this.Credentials.SubscriptionId.Trim() : "") + "/operations/" + requestId.Trim(); + string baseUrl = this.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -1262,6 +1376,7 @@ public async Task GetOperationStatusAsync(s url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -1401,7 +1516,7 @@ public partial interface ICacheServiceOperations /// The name of the cloud service. /// /// - /// A name of the cache service. The name can be up to 25 characters + /// A name of the cache service. The name can be up to 20 characters /// in length with minimum 6 characters and must be all lower cases. /// /// @@ -1464,7 +1579,7 @@ public partial interface ICacheServiceOperations /// The name of the cloud service. /// /// - /// The name of the cache service. The name can be up to 25 characters + /// The name of the cache service. The name can be up to 20 characters /// in length with minimum 6 characters and must be all lower cases. /// /// @@ -1531,6 +1646,18 @@ public partial interface ICacheServiceOperations /// Task GetKeysAsync(string cloudServiceName, string cacheServiceName, CancellationToken cancellationToken); + /// + /// List supported regions of Cache Service + /// + /// + /// Cancellation token. + /// + /// + /// A standard service response including an HTTP status code and + /// request ID. + /// + Task ListRegionsAsync(CancellationToken cancellationToken); + /// /// Regenerate access keys for a Cache Service /// @@ -1588,7 +1715,7 @@ public ManagedCacheClient Client /// Required. The name of the cloud service. /// /// - /// Required. A name of the cache service. The name can be up to 25 + /// Required. A name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -1617,7 +1744,7 @@ public async Task BeginCreatingCacheServiceAsync(string cloud { throw new ArgumentOutOfRangeException("cacheServiceName"); } - if (cacheServiceName.Length > 25) + if (cacheServiceName.Length > 20) { throw new ArgumentOutOfRangeException("cacheServiceName"); } @@ -1640,8 +1767,8 @@ public async Task BeginCreatingCacheServiceAsync(string cloud } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/" + cloudServiceName.Trim() + "/resources/cacheservice/Caching/" + cacheServiceName.Trim(); + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -1652,6 +1779,7 @@ public async Task BeginCreatingCacheServiceAsync(string cloud url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -1883,7 +2011,7 @@ public async Task BeginCreatingCacheServiceAsync(string cloud requestContent = requestDoc.ToString(); requestContent = System.Text.RegularExpressions.Regex.Replace(requestContent, "\\s* BeginDeletingAsync(string cloudServiceName, } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/" + cloudServiceName.Trim() + "/resources/cacheservice/Caching/" + cacheServiceName.Trim(); + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -2000,6 +2128,7 @@ public async Task BeginDeletingAsync(string cloudServiceName, url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -2115,8 +2244,8 @@ public async Task CheckNameAvailabilityAsync } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/" + cloudServiceName.Trim() + "/resources/cacheservice/~/Caching/dummy/Namespaces/" + cacheServiceName.Trim(); + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -2127,6 +2256,7 @@ public async Task CheckNameAvailabilityAsync url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -2221,7 +2351,7 @@ public async Task CheckNameAvailabilityAsync /// Required. The name of the cloud service. /// /// - /// Required. The name of the cache service. The name can be up to 25 + /// Required. The name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -2465,8 +2595,8 @@ public async Task GetKeysAsync(string cloudServiceName, str } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/" + cloudServiceName.Trim() + "/resources/cacheservice/~/Caching/" + cacheServiceName.Trim() + "/Keys"; + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -2477,6 +2607,7 @@ public async Task GetKeysAsync(string cloudServiceName, str url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -2574,6 +2705,135 @@ public async Task GetKeysAsync(string cloudServiceName, str } } + /// + /// List supported regions of Cache Service + /// + /// + /// Cancellation token. + /// + /// + /// A standard service response including an HTTP status code and + /// request ID. + /// + public async Task ListRegionsAsync(CancellationToken cancellationToken) + { + // Validate + + // Tracing + bool shouldTrace = CloudContext.Configuration.Tracing.IsEnabled; + string invocationId = null; + if (shouldTrace) + { + invocationId = Tracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + Tracing.Enter(invocationId, this, "ListRegionsAsync", tracingParameters); + } + + // Construct URL + string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/mycloudservice/resources/cacheservice/~/Caching/mycacheservice/Options/Regions"; + string baseUrl = this.Client.BaseUri.AbsoluteUri; + // Trim '/' character from the end of baseUrl and beginning of url. + if (baseUrl[baseUrl.Length - 1] == '/') + { + baseUrl = baseUrl.Substring(0, baseUrl.Length - 1); + } + if (url[0] == '/') + { + url = url.Substring(1); + } + url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); + + // Create HTTP transport objects + HttpRequestMessage httpRequest = null; + try + { + httpRequest = new HttpRequestMessage(); + httpRequest.Method = HttpMethod.Get; + httpRequest.RequestUri = new Uri(url); + + // Set Headers + httpRequest.Headers.Add("x-ms-version", "2012-08-01"); + + // Set Credentials + cancellationToken.ThrowIfCancellationRequested(); + await this.Client.Credentials.ProcessHttpRequestAsync(httpRequest, cancellationToken).ConfigureAwait(false); + + // Send Request + HttpResponseMessage httpResponse = null; + try + { + if (shouldTrace) + { + Tracing.SendRequest(invocationId, httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + httpResponse = await this.Client.HttpClient.SendAsync(httpRequest, cancellationToken).ConfigureAwait(false); + if (shouldTrace) + { + Tracing.ReceiveResponse(invocationId, httpResponse); + } + HttpStatusCode statusCode = httpResponse.StatusCode; + if (statusCode != HttpStatusCode.OK) + { + cancellationToken.ThrowIfCancellationRequested(); + CloudException ex = CloudException.Create(httpRequest, null, httpResponse, await httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false)); + if (shouldTrace) + { + Tracing.Error(invocationId, ex); + } + throw ex; + } + + // Create Result + RegionsResponse result = null; + // Deserialize Response + cancellationToken.ThrowIfCancellationRequested(); + string responseContent = await httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + result = new RegionsResponse(); + XDocument responseDoc = XDocument.Parse(responseContent); + + XElement regionsSequenceElement = responseDoc.Element(XName.Get("Regions", "http://schemas.microsoft.com/windowsazure")); + if (regionsSequenceElement != null) + { + foreach (XElement regionsElement in regionsSequenceElement.Elements(XName.Get("Region", "http://schemas.microsoft.com/windowsazure"))) + { + RegionsResponse.Region regionInstance = new RegionsResponse.Region(); + result.Regions.Add(regionInstance); + + regionInstance.Location = regionsElement.Value; + } + } + + result.StatusCode = statusCode; + if (httpResponse.Headers.Contains("x-ms-request-id")) + { + result.RequestId = httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + + if (shouldTrace) + { + Tracing.Exit(invocationId, result); + } + return result; + } + finally + { + if (httpResponse != null) + { + httpResponse.Dispose(); + } + } + } + finally + { + if (httpRequest != null) + { + httpRequest.Dispose(); + } + } + } + /// /// Regenerate access keys for a Cache Service /// @@ -2631,8 +2891,8 @@ public async Task RegenerateKeysAsync(string cloudServiceNa } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = "/" + (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/cloudservices/" + cloudServiceName.Trim() + "/resources/cacheservice/~/Caching/" + cacheServiceName.Trim() + "/Keys/?comp=regenerate"; + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -2643,6 +2903,7 @@ public async Task RegenerateKeysAsync(string cloudServiceNa url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -2675,7 +2936,7 @@ public async Task RegenerateKeysAsync(string cloudServiceNa requestContent = requestDoc.ToString(); httpRequest.Content = new StringContent(requestContent, Encoding.UTF8); - httpRequest.Content.Headers.ContentType = new MediaTypeHeaderValue("application/xml"); + httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse("application/xml"); // Send Request HttpResponseMessage httpResponse = null; @@ -2805,7 +3066,7 @@ public partial interface ICloudServiceOperations Task CreateAsync(string cloudServiceName, CloudServiceCreateParameters parameters, CancellationToken cancellationToken); /// - /// Retreive a cloud service. + /// Retrieve a cloud service. /// /// /// The cloud service name. @@ -2920,8 +3181,8 @@ public async Task BeginCreatingAsync(string cloudServiceName, } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/CloudServices/" + cloudServiceName.Trim(); + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -2932,6 +3193,7 @@ public async Task BeginCreatingAsync(string cloudServiceName, url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -2976,7 +3238,7 @@ public async Task BeginCreatingAsync(string cloudServiceName, requestContent = requestDoc.ToString(); httpRequest.Content = new StringContent(requestContent, Encoding.UTF8); - httpRequest.Content.Headers.ContentType = new MediaTypeHeaderValue("application/xml"); + httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse("application/xml"); // Send Request HttpResponseMessage httpResponse = null; @@ -3134,7 +3396,7 @@ public async Task CreateAsync(string cloudS } /// - /// Retreive a cloud service. + /// Retrieve a cloud service. /// /// /// Required. The cloud service name. @@ -3169,8 +3431,8 @@ public async Task GetAsync(string cloudServiceName, Can } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/CloudServices/" + cloudServiceName.Trim(); + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -3181,6 +3443,7 @@ public async Task GetAsync(string cloudServiceName, Can url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -3515,8 +3778,8 @@ public async Task ListAsync(CancellationToken cancella } // Construct URL - string baseUrl = this.Client.BaseUri.AbsoluteUri; string url = (this.Client.Credentials.SubscriptionId != null ? this.Client.Credentials.SubscriptionId.Trim() : "") + "/CloudServices"; + string baseUrl = this.Client.BaseUri.AbsoluteUri; // Trim '/' character from the end of baseUrl and beginning of url. if (baseUrl[baseUrl.Length - 1] == '/') { @@ -3527,6 +3790,7 @@ public async Task ListAsync(CancellationToken cancella url = url.Substring(1); } url = baseUrl + "/" + url; + url = url.Replace(" ", "%20"); // Create HTTP transport objects HttpRequestMessage httpRequest = null; @@ -3961,7 +4225,7 @@ public static partial class CacheServiceOperationsExtensions /// Required. The name of the cloud service. /// /// - /// Required. A name of the cache service. The name can be up to 25 + /// Required. A name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -3993,7 +4257,7 @@ public static OperationResponse BeginCreatingCacheService(this ICacheServiceOper /// Required. The name of the cloud service. /// /// - /// Required. A name of the cache service. The name can be up to 25 + /// Required. A name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -4125,7 +4389,7 @@ public static Task CheckNameAvailabilityAsyn /// Required. The name of the cloud service. /// /// - /// Required. The name of the cache service. The name can be up to 25 + /// Required. The name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -4164,7 +4428,7 @@ public static CloudServiceOperationStatusResponse CreateCacheService(this ICache /// Required. The name of the cloud service. /// /// - /// Required. The name of the cache service. The name can be up to 25 + /// Required. The name of the cache service. The name can be up to 20 /// characters in length with minimum 6 characters and must be all /// lower cases. /// @@ -4301,6 +4565,42 @@ public static Task GetKeysAsync(this ICacheServiceOperation return operations.GetKeysAsync(cloudServiceName, cacheServiceName, CancellationToken.None); } + /// + /// List supported regions of Cache Service + /// + /// + /// Reference to the + /// Microsoft.Azure.Management.ManagedCache.ICacheServiceOperations. + /// + /// + /// A standard service response including an HTTP status code and + /// request ID. + /// + public static RegionsResponse ListRegions(this ICacheServiceOperations operations) + { + return Task.Factory.StartNew((object s) => + { + return ((ICacheServiceOperations)s).ListRegionsAsync(); + } + , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult(); + } + + /// + /// List supported regions of Cache Service + /// + /// + /// Reference to the + /// Microsoft.Azure.Management.ManagedCache.ICacheServiceOperations. + /// + /// + /// A standard service response including an HTTP status code and + /// request ID. + /// + public static Task ListRegionsAsync(this ICacheServiceOperations operations) + { + return operations.ListRegionsAsync(CancellationToken.None); + } + /// /// Regenerate access keys for a Cache Service /// @@ -4472,7 +4772,7 @@ public static Task CreateAsync(this ICloudS } /// - /// Retreive a cloud service. + /// Retrieve a cloud service. /// /// /// Reference to the @@ -4494,7 +4794,7 @@ public static CloudServiceGetResponse Get(this ICloudServiceOperations operation } /// - /// Retreive a cloud service. + /// Retrieve a cloud service. /// /// /// Reference to the diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config index bc088a653ef0..fbe39bb5fc17 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config @@ -6,8 +6,8 @@ - - + + diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj new file mode 100644 index 000000000000..22981b7af986 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -0,0 +1,237 @@ + + + + + Debug + AnyCPU + {FDB897BD-FCB4-44A1-8D66-AC99F22EC737} + Library + Properties + Microsoft.Azure.Commands.Network.Test + Microsoft.Azure.Commands.Network.Test + v4.5 + 512 + + ..\..\..\ + true + + + bin\Release\ + TRACE;SIGN + true + pdbonly + true + MSSharedLibKey.snk + true + true + prompt + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + + + ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll + + + ..\..\..\packages\Microsoft.Data.OData.5.6.0\lib\net40\Microsoft.Data.OData.dll + + + ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Monitoring.1.0.0\lib\net40\Microsoft.WindowsAzure.Management.Monitoring.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Sql.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Sql.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.0.0\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + True + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + + False + C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + ..\..\..\packages\System.Spatial.5.6.0\lib\net40\System.Spatial.dll + + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {C1BDA476-A5CC-4394-914D-48B0EC31A710} + Commands.ScenarioTests.Common + + + {46c06ed8-43d9-41fd-b73b-41547d9c04e1} + Commands.Network + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/MSSharedLibKey.snk b/src/ServiceManagement/Network/Commands.Network.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ServiceManagement/Network/Commands.Network.Test/MSSharedLibKey.snk differ diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Properties/AssemblyInfo.cs b/src/ServiceManagement/Network/Commands.Network.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..301e121a8714 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Network Test Assembly")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Network Test Assembly")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("3E5D3114-DEBB-4DC2-BB9D-CF2A2707F74D")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1 b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1 new file mode 100644 index 000000000000..a5159eda70ef --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/Common.ps1 @@ -0,0 +1,100 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +$ErrorActionPreference = "Stop" + +$NetworkSecurityGroupPrefix = "onesdk"; + +$NSGLabel = "Scenario Test NSG" + +$locations = Get-AzureLocation +$Location = $locations[0].Name + +$RuleType = "Outbound" +$RulePriority = 500 +$RuleAction = "Deny" +$RuleSourceAddressPrefix = "*" +$RuleSourcePortRange = "*" +$RuleDestinationAddressPrefix = "*" +$RuleDestinationPortRange = "*" +$RuleProtocol = "TCP" + +$VirtualNetworkName = "VirtualNetworkSiteName" +$SubnetName = "FrontEndSubnet" + + +<# +.SYNOPSIS +Gets valid Security Group name. +#> +function Get-SecurityGroupName +{ + $name = getAssetName + Write-Debug "Using network security group with name: $name" + return $name +} + +<# +.SYNOPSIS +Gets valid Security Rule name. +#> +function Get-SecurityRuleName +{ + $name = getAssetName + Write-Debug "Using network security rule with name: $name" + return $name +} + +<# +.SYNOPSIS +Creates a Security Group. +#> +function New-NetworkSecurityGroup +{ + param([string] $securityGroupName) + + New-AzureNetworkSecurityGroup -Name $securityGroupName -Location $location -Label $NSGLabel +} + +<# +.SYNOPSIS +Creates a Security Group. +#> +function Set-NetworkSecurityRule +{ + param([string] $securityRuleName, [object] $securityGroup) + + Set-AzureNetworkSecurityRule -Name $securityRuleName -Type $RuleType -Priority $RulePriority -Action $RuleAction -SourceAddressPrefix $RuleSourceAddressPrefix -SourcePortRange $RuleSourcePortRange -DestinationAddressPrefix $RuleDestinationAddressPrefix -DestinationPortRange $RuleDestinationPortRange -Protocol $RuleProtocol -NetworkSecurityGroup $securityGroup +} + +<# +.SYNOPSIS +Creates a Security Group. +#> +function Get-NetworkSecurityGroupForSubnet +{ + Get-AzureNetworkSecurityGroupForSubnet -VirtualNetworkName $VirtualNetworkName -SubnetName $SubnetName +} + + + +<# +.SYNOPSIS +Removes all profiles from the $profileNames list from the current subscription. +#> +function Initialize-NetworkSecurityGroupTest +{ + Set-AzureVNetConfig ($(Get-Location).Path + "\TestData\EmptyNetworkConfiguration.xml") + Get-AzureNetworkSecurityGroup | Where-Object { $_.Name.StartsWith($NetworkSecurityGroupPrefix) } | Remove-AzureNetworkSecurityGroup -Force +} diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs new file mode 100644 index 000000000000..76088876f3c2 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs @@ -0,0 +1,129 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using Microsoft.WindowsAzure.Management.Network; + +namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests +{ + using System.Collections.Generic; + using System.IO; + using System.Linq; + using Microsoft.WindowsAzure.Commands.ScenarioTest; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + using Microsoft.WindowsAzure.Testing; + using Xunit; + using Microsoft.WindowsAzure.Management; + + public class NSGScenarioTests + { + public NSGScenarioTests() + { + this.RunPowerShellTest("Initialize-NetworkSecurityGroupTest"); + } + + private readonly EnvironmentSetupHelper helper = new EnvironmentSetupHelper(); + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreateAndRemoveNSG() + { + this.RunPowerShellTest("Test-CreateAndRemoveNetworkSecurityGroup"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRemoveNSGWithNonExistingName() + { + this.RunPowerShellTest("Test-RemoveNetworkSecurityGroupWithNonExistingName"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetMultipleNSGs() + { + this.RunPowerShellTest("Test-GetMultipleNetworkSecurityGroups"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSetNSR() + { + this.RunPowerShellTest("Test-SetNetworkSecurityRule"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSetNSRWithInvalidParameter() + { + this.RunPowerShellTest("Test-SetNetworkSecurityRuleWithInvalidParameter"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRemoveNSR() + { + this.RunPowerShellTest("Test-RemoveNetworkSecurityRule"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSetAndGetNSGForSubnet() + { + this.RunPowerShellTest("Test-SetAndGetNetworkSecurityGroupForSubnet"); + } + + [Fact] + [Trait(Category.Service, Category.Network)] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRemoveNSGFromSubnet() + { + this.RunPowerShellTest("Test-RemoveNetworkSecurityGroupFromSubnet"); + } + + #region Test setup + protected void SetupManagementClients() + { + var client = TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); + var client2 = TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); + helper.SetupSomeOfManagementClients(client, client2); + } + + protected void RunPowerShellTest(params string[] scripts) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + List modules = Directory.GetFiles("ScenarioTests\\NetworkSecurityGroup", "*.ps1").ToList(); + modules.Add("Common.ps1"); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureServiceManagement); + helper.SetupModules(AzureModule.AzureServiceManagement, modules.ToArray()); + + helper.RunPowerShellTest(scripts); + } + } + #endregion + } +} diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1 b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1 new file mode 100644 index 000000000000..661cec11cb1c --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NetworkSecurityGroupTests.ps1 @@ -0,0 +1,198 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +########################## New Network Security Group Tests ############################# + +<# +.SYNOPSIS +Tests New-AzureNetworkSecurityGroup and Remove-AzureNetworkSecurityGroup. +#> +function Test-CreateAndRemoveNetworkSecurityGroup +{ + # Setup + $securityGroupName = Get-SecurityGroupName + New-NetworkSecurityGroup $securityGroupName + + # Test + $isDeleted = Remove-AzureNetworkSecurityGroup -Name $securityGroupName -Force -PassThru + + # Assert + Assert-True { $isDeleted } "Failed to delete Network Security Group $securityGroupName" + Assert-Throws { Get-AzureNetworkSecurityGroup -Name $securityGroupName } "ResourceNotFound: The Network Security Group $securityGroupName does not exist." +} + +<# +.SYNOPSIS +Tests Remove-AzureNetworkSecurityGroup with non existing name +#> +function Test-RemoveNetworkSecurityGroupWithNonExistingName +{ + # Setup + $nonExistingSecurityGroupName = Get-SecurityGroupName "nonexisting" + + # Assert + Assert-Throws { Remove-AzureNetworkSecurityGroup -Name $nonExistingSecurityGroupName -Force } "ResourceNotFound : The Network Security Group $nonExistingSecurityGroupName does not exist." +} + + +########################## Get Network Security Group Tests ############################# + +<# +.SYNOPSIS +Tests Get-AzureNetworkSecurityGroup +#> +function Test-GetSecurityGroup +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + + # Test + $retrievedSecurityGroup = Get-AzureNetworkSecurityGroup $securityGroupName + + # Assert + Assert-AreEqualObjectProperties $createdSecurityGroup $retrievedSecurityGroup +} + +<# +.SYNOPSIS +Tests Get-AzureNetworkSecurityGroup +#> +function Test-GetMultipleNetworkSecurityGroups +{ + # Setup + $securityGroupName1 = "$(Get-SecurityGroupName)1" + $securityGroupName2 = "$(Get-SecurityGroupName)2" + + $createdSecurityGroup1 = New-NetworkSecurityGroup $securityGroupName1 + $createdSecurityGroup2 = New-NetworkSecurityGroup $securityGroupName2 + + # Test + $retrievedSecurityGroups = Get-AzureNetworkSecurityGroup + + # Assert + Assert-True { $($retrievedSecurityGroups | select -ExpandProperty Name) -Contains $securityGroupName1 } "Assert failed, security group '$securityGroupName1' not found" + Assert-True { $($retrievedSecurityGroups | select -ExpandProperty Name) -Contains $securityGroupName2 } "Assert failed, security group '$securityGroupName2' not found" +} + +########################## Set Network Security Rule Tests ############################# + +<# +.SYNOPSIS +Tests Set-AzureNetworkSecurityRule +#> +function Test-SetNetworkSecurityRule +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $securityRuleName = Get-SecurityRuleName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + + # Test + $addedRuleGroup = Set-NetworkSecurityRule $securityRuleName $createdSecurityGroup + + # Assert + Assert-AreEqual $securityRuleName $addedRuleGroup.Rules[0].Name + Assert-AreEqual $RuleType $addedRuleGroup.Rules[0].Type + Assert-AreEqual $RulePriority $addedRuleGroup.Rules[0].Priority + Assert-AreEqual $RuleAction $addedRuleGroup.Rules[0].Action + Assert-AreEqual $RuleSourceAddressPrefix $addedRuleGroup.Rules[0].SourceAddressPrefix + Assert-AreEqual $RuleSourcePortRange $addedRuleGroup.Rules[0].SourcePortRange + Assert-AreEqual $RuleDestinationAddressPrefix $addedRuleGroup.Rules[0].DestinationAddressPrefix + Assert-AreEqual $RuleDestinationPortRange $addedRuleGroup.Rules[0].DestinationPortRange + Assert-AreEqual $RuleProtocol $addedRuleGroup.Rules[0].Protocol +} + +<# +.SYNOPSIS +Tests Set-AzureNetworkSecurityRule with invalid parameter +#> +function Test-SetNetworkSecurityRuleWithInvalidParameter +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $securityRuleName = Get-SecurityRuleName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + + # Assert + $expectedMessage = "BadRequest: The Source Address Prefix provided 'INVALID' is invalid. Please provide correct CIDR address or one of the allowed Address Tags." + Assert-Throws { Set-AzureNetworkSecurityRule -Name $securityRuleName -Type $RuleType -Priority $RulePriority -Action $RuleAction -SourceAddressPrefix "INVALID" -SourcePortRange $RuleSourcePortRange -DestinationAddressPrefix $RuleDestinationAddressPrefix -DestinationPortRange $RuleDestinationPortRange -Protocol $RuleProtocol -NetworkSecurityGroup $createdSecurityGroup } $expectedMessage +} + +########################## Remove Network Security Rule Tests ############################# + +<# +.SYNOPSIS +Tests Remove-AzureNetworkSecurityRule +#> +function Test-RemoveNetworkSecurityRule +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $securityRuleName = Get-SecurityRuleName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + $addedRuleGroup = Set-NetworkSecurityRule $securityRuleName $createdSecurityGroup + + # Test + Remove-AzureNetworkSecurityRule -Name $securityRuleName -NetworkSecurityGroup $addedRuleGroup -Force + $NoRulesGroup = Get-AzureNetworkSecurityGroup -Name $securityGroupName -Detailed + + # Assert + Assert-AreEqual $addedRuleGroup.Rules.Count ($NoRulesGroup.Rules.Count + 1) +} + +########################## Set and Get Network Security Group for Subnet Tests ############################# + +<# +.SYNOPSIS +Tests Set and Get-AzureNetworkSecurityGroupForSubnet +#> +function Test-SetAndGetNetworkSecurityGroupForSubnet +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $securityRuleName = Get-SecurityRuleName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + Set-AzureVNetConfig ($(Get-Location).Path + "\TestData\SimpleNetworkConfiguration.xml") + Set-AzureNetworkSecurityGroupToSubnet -Name $securityGroupName -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName -Force + + # Test + $securityGroupFromSubnet = Get-AzureNetworkSecurityGroupForSubnet -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName + + # Assert + Assert-AreEqual $securityGroupFromSubnet.Name $securityGroupName +} + +########################## Remove Network Security Group for Subnet Tests ############################# + +<# +.SYNOPSIS +Tests Remove-AzureNetworkSecurityGroupFromSubnet +#> +function Test-RemoveNetworkSecurityGroupFromSubnet +{ + # Setup + $securityGroupName = Get-SecurityGroupName + $securityRuleName = Get-SecurityRuleName + $createdSecurityGroup = New-NetworkSecurityGroup $securityGroupName + Set-AzureVNetConfig ($(Get-Location).Path + "\TestData\SimpleNetworkConfiguration.xml") + Set-AzureNetworkSecurityGroupToSubnet -Name $securityGroupName -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName -Force + + # Test + Remove-AzureNetworkSecurityGroupFromSubnet -Name $securityGroupName -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName -Force + + # Assert + $expectedMessage = "ResourceNotFound: The virtual network name $VirtualNetworkName and subnet $SubnetName does not have any network security group assigned." + Assert-Throws { Get-AzureNetworkSecurityGroupForSubnet -VirtualNetwork $VirtualNetworkName -Subnet $SubnetName } $expectedMessage +} diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.cs new file mode 100644 index 000000000000..54538a8e8db4 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Test.ScenarioTests +{ + using WindowsAzure.Commands.ScenarioTest; + using Xunit; + + public class NetworkTests : NetworkTestsBase + { + [Fact(Skip = "Exploratory test by someone else not passing")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetGatewayWhenGatewayDoesntExist() + { + this.RunPowerShellTest("GetGateway-WhenGatewayDoesntExist"); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.ps1 b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.ps1 new file mode 100644 index 000000000000..8ed7bd74adc2 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTests.ps1 @@ -0,0 +1,23 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +########################## Network End to End Scenario Tests ############################# + +[string]$vnetName = "MockVnetName" + +function GetGateway-WhenGatewayDoesntExist +{ + $getResponse = Get-AzureVnetGateway $vnetName + Assert-NotNull $getResponse +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs new file mode 100644 index 000000000000..36be43cff76b --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Testing; + +namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests +{ + using WindowsAzure.Management.Network; + + public abstract class NetworkTestsBase + { + private const string testsFilePath = @"ScenarioTests\NetworkTests.ps1"; + + private readonly EnvironmentSetupHelper helper; + + protected NetworkTestsBase() + { + helper = new EnvironmentSetupHelper(); + } + + protected void SetupManagementClients() + { + NetworkManagementClient networkManagementClient = GetNetworkManagementClient(); + + helper.SetupManagementClients(networkManagementClient); + } + + protected void RunPowerShellTest(params string[] scripts) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureServiceManagement); + helper.SetupModules(AzureModule.AzureServiceManagement, testsFilePath); + + helper.RunPowerShellTest(scripts); + } + } + + protected NetworkManagementClient GetNetworkManagementClient() + { + return TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json new file mode 100644 index 000000000000..e434c612391f --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/.ctor.json @@ -0,0 +1,314 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.9" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "90002b98149e23708e876b3156f8ffff" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:03 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/90002b98149e23708e876b3156f8ffff", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzkwMDAyYjk4MTQ5ZTIzNzA4ZTg3NmIzMTU2ZjhmZmZm", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.9" + ] + }, + "ResponseBody": "\r\n 90002b98-149e-2370-8e87-6b3156f8ffff\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b393774b1823282495a2aa9d3da192f2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:04 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh", + "RequestMethod": "PUT", + "RequestBody": "\r\n \r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "159" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "324579022e8f206f904ab0ba78c2d7a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:05 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/324579022e8f206f904ab0ba78c2d7a2", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMyNDU3OTAyMmU4ZjIwNmY5MDRhYjBiYTc4YzJkN2Ey", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "159" + ] + }, + "ResponseBody": "\r\n 32457902-2e8f-206f-904a-b0ba78c2d7a2\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "f92a5bb2b4f92de4848df93dc9874c37" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:06 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/324579022e8f206f904ab0ba78c2d7a2", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMyNDU3OTAyMmU4ZjIwNmY5MDRhYjBiYTc4YzJkN2Ey", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "159" + ] + }, + "ResponseBody": "\r\n 32457902-2e8f-206f-904a-b0ba78c2d7a2\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "f2eae6b827652987be0f92f023dc9583" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:37 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n NetworkTests1329\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests2209\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests8401\r\n \r\n North Central US\r\n \r\n \r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n randomName\r\n \r\n West US\r\n \r\n \r\n randomName2\r\n \r\n West US\r\n \r\n \r\n securityGroupName\r\n North Central US\r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b30a7959cd72240387e1021cce3cb18b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:37 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEw", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "164" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "88cb4014c7062302b8aa0c49f0d04f81" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:39 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/88cb4014c7062302b8aa0c49f0d04f81", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzg4Y2I0MDE0YzcwNjIzMDJiOGFhMGM0OWYwZDA0Zjgx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "164" + ] + }, + "ResponseBody": "\r\n 88cb4014-c706-2302-b8aa-0c49f0d04f81\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "909d028dea1e2bf395c6245044aa3673" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:39 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/88cb4014c7062302b8aa0c49f0d04f81", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzg4Y2I0MDE0YzcwNjIzMDJiOGFhMGM0OWYwZDA0Zjgx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "164" + ] + }, + "ResponseBody": "\r\n 88cb4014-c706-2302-b8aa-0c49f0d04f81\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "ff2171d6253d269b86adf91750ef38e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:11 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json new file mode 100644 index 000000000000..d479b1d4a5f6 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestCreateAndRemoveNSG.json @@ -0,0 +1,350 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "0d407ff22cad25f59565671c2ebbb224" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:15:46 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/0d407ff22cad25f59565671c2ebbb224", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzBkNDA3ZmYyMmNhZDI1ZjU5NTY1NjcxYzJlYmJiMjI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n 0d407ff2-2cad-25f5-9565-671c2ebbb224\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b6c57592e54c2a45b5aa08a834f09150" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:15:46 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk1679\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "7a7f3df488782f86860b8d61a2259e32" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:15:47 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/7a7f3df488782f86860b8d61a2259e32", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzdhN2YzZGY0ODg3ODJmODY4NjBiOGQ2MWEyMjU5ZTMy", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "\r\n 7a7f3df4-8878-2f86-860b-8d61a2259e32\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "39ea466914b02d28bb7fdea820359b23" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:15:48 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/7a7f3df488782f86860b8d61a2259e32", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzdhN2YzZGY0ODg3ODJmODY4NjBiOGQ2MWEyMjU5ZTMy", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "102" + ] + }, + "ResponseBody": "\r\n 7a7f3df4-8878-2f86-860b-8d61a2259e32\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "827297175ba4208a9e9bf85b1d7279bb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:18 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk1679\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "0ffac78a638920b8bd7c5d09dc033389" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:18 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n ResourceNotFound\r\n The Network Security Group onesdk1679 does not exist.\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "398ac1ad62cc21ce99fa1b36913437ec" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:52 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk1679", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsxNjc5", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "3eb11b0270b9259d9544ef65793df3a3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:21 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/3eb11b0270b9259d9544ef65793df3a3", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzNlYjExYjAyNzBiOTI1OWQ5NTQ0ZWY2NTc5M2RmM2Ez", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "\r\n 3eb11b02-70b9-259d-9544-ef65793df3a3\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b0e953d8f6022f1186afe8bb335f195f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:21 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/3eb11b0270b9259d9544ef65793df3a3", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzNlYjExYjAyNzBiOTI1OWQ5NTQ0ZWY2NTc5M2RmM2Ez", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "\r\n 3eb11b02-70b9-259d-9544-ef65793df3a3\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "ffde9c0d9e332aad8514f565b0ed4a86" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:16:52 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreateAndRemoveNetworkSecurityGroup": [ + "onesdk1679" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json new file mode 100644 index 000000000000..aa936c1e098e --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestGetMultipleNSGs.json @@ -0,0 +1,383 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "09de9bf1f1ea2e6aae48f361daaa888c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:07:37 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/09de9bf1f1ea2e6aae48f361daaa888c", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzA5ZGU5YmYxZjFlYTJlNmFhZTQ4ZjM2MWRhYWE4ODhj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n 09de9bf1-f1ea-2e6a-ae48-f361daaa888c\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "2eaa925dfcb7219989b97532cb426198" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:07:39 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk2651\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "c367e0ab21a224fcb49991b5624e035e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:07:40 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk42982\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "a8cc7aff277829a2abc2579385e146d5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:13 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/c367e0ab21a224fcb49991b5624e035e", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2MzNjdlMGFiMjFhMjI0ZmNiNDk5OTFiNTYyNGUwMzVl", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "\r\n c367e0ab-21a2-24fc-b499-91b5624e035e\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "1081ac6504782bcd81399a3d3a39e5b6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:07:40 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/c367e0ab21a224fcb49991b5624e035e", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2MzNjdlMGFiMjFhMjI0ZmNiNDk5OTFiNTYyNGUwMzVl", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "23" + ] + }, + "ResponseBody": "\r\n c367e0ab-21a2-24fc-b499-91b5624e035e\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b3fe1bc771462d08b0143b9edfb0f494" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:11 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2651?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNjUxPw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk2651\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "67f68f88248a2de38a60c8807f246d9e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:12 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a8cc7aff277829a2abc2579385e146d5", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E4Y2M3YWZmMjc3ODI5YTJhYmMyNTc5Mzg1ZTE0NmQ1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "\r\n a8cc7aff-2778-29a2-abc2-579385e146d5\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "3bacc4315f592dc68942b3c8aea41143" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:13 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a8cc7aff277829a2abc2579385e146d5", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E4Y2M3YWZmMjc3ODI5YTJhYmMyNTc5Mzg1ZTE0NmQ1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "28" + ] + }, + "ResponseBody": "\r\n a8cc7aff-2778-29a2-abc2-579385e146d5\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b877edddef092c20aef8a0fb86e1d14c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:45 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk42982?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs0Mjk4Mj8=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk42982\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "382f9285bebf242384f3636cf183e894" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:45 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n NetworkTests1329\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests2209\r\n \r\n North Central US\r\n \r\n \r\n NetworkTests8401\r\n \r\n North Central US\r\n \r\n \r\n onesdk2651\r\n \r\n North Central US\r\n \r\n \r\n onesdk42982\r\n \r\n North Central US\r\n \r\n \r\n randomName\r\n \r\n West US\r\n \r\n \r\n randomName2\r\n \r\n West US\r\n \r\n \r\n securityGroupName\r\n North Central US\r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "f63509d2028b29ac8b3d10c0670f5d99" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:08:46 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetMultipleNetworkSecurityGroups": [ + "onesdk265", + "onesdk4298" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json new file mode 100644 index 000000000000..e55b1bbb5dc3 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGFromSubnet.json @@ -0,0 +1,561 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "ecf4a0e8cf8126b8895752a2c9edba99" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:12 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/ecf4a0e8cf8126b8895752a2c9edba99", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2VjZjRhMGU4Y2Y4MTI2Yjg4OTU3NTJhMmM5ZWRiYTk5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n ecf4a0e8-cf81-26b8-8957-52a2c9edba99\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "76fe2c744f302dcba5626dc552bdc444" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:12 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk4044\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "1854d0dbd8bd26e49be374d38e0015dd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:14 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/1854d0dbd8bd26e49be374d38e0015dd", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE4NTRkMGRiZDhiZDI2ZTQ5YmUzNzRkMzhlMDAxNWRk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "\r\n 1854d0db-d8bd-26e4-9be3-74d38e0015dd\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "ae56e1b9d4752e9482602575e95ce4dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:15 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/1854d0dbd8bd26e49be374d38e0015dd", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE4NTRkMGRiZDhiZDI2ZTQ5YmUzNzRkMzhlMDAxNWRk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "170" + ] + }, + "ResponseBody": "\r\n 1854d0db-d8bd-26e4-9be3-74d38e0015dd\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "58ca27fd4bc62eceba824ba3db9d1409" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:46 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk4044?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs0MDQ0Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk4044\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "0ecc3617889b2ff898db50f443fbcda8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:46 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh", + "RequestMethod": "PUT", + "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "175" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "2ab9cc53081a2347be1249a56ae6f79b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:48 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/2ab9cc53081a2347be1249a56ae6f79b", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzJhYjljYzUzMDgxYTIzNDdiZTEyNDlhNTZhZTZmNzli", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "175" + ] + }, + "ResponseBody": "\r\n 2ab9cc53-081a-2347-be12-49a56ae6f79b\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "3c9ceccb5f66280ca857247e2fec7802" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:22:49 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/2ab9cc53081a2347be1249a56ae6f79b", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzJhYjljYzUzMDgxYTIzNDdiZTEyNDlhNTZhZTZmNzli", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "175" + ] + }, + "ResponseBody": "\r\n 2ab9cc53-081a-2347-be12-49a56ae6f79b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "a65298c24ca62f5283cf6333f96ea7d9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:20 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk4044\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "179" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "4a2af08e3aac2fefac5e34336c578ccb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:21 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/4a2af08e3aac2fefac5e34336c578ccb", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzRhMmFmMDhlM2FhYzJmZWZhYzVlMzQzMzZjNTc4Y2Ni", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "179" + ] + }, + "ResponseBody": "\r\n 4a2af08e-3aac-2fef-ac5e-34336c578ccb\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "778cd93289a6273e9720a8bb0afe05bb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:21 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/4a2af08e3aac2fefac5e34336c578ccb", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzRhMmFmMDhlM2FhYzJmZWZhYzVlMzQzMzZjNTc4Y2Ni", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "179" + ] + }, + "ResponseBody": "\r\n 4a2af08e-3aac-2fef-ac5e-34336c578ccb\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "c35b2fd4ced22730b53e76af270c3807" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:52 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups/onesdk4044", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHMvb25lc2RrNDA0NA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "183" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "54bfb8588df5206e98e8b8cb1c6338bf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/54bfb8588df5206e98e8b8cb1c6338bf", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzU0YmZiODU4OGRmNTIwNmU5OGU4YjhjYjFjNjMzOGJm", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "183" + ] + }, + "ResponseBody": "\r\n 54bfb858-8df5-206e-98e8-b8cb1c6338bf\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "e646b503dc5b2875983d5d7295d820ce" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:23:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/54bfb8588df5206e98e8b8cb1c6338bf", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzU0YmZiODU4OGRmNTIwNmU5OGU4YjhjYjFjNjMzOGJm", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "183" + ] + }, + "ResponseBody": "\r\n 54bfb858-8df5-206e-98e8-b8cb1c6338bf\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "e5230997c4272736a4a1a0796222a405" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:24:24 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n ResourceNotFound\r\n The virtual network name VirtualNetworkSiteName and subnet FrontEndSubnet does not have any network security group assigned.\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "1b00b9dfa8622e66bdb05769a7058de1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:24:25 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Test-RemoveNetworkSecurityGroupFromSubnet": [ + "onesdk4044", + "onesdk3927" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json new file mode 100644 index 000000000000..b8b0a780c91a --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSGWithNonExistingName.json @@ -0,0 +1,181 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b0ae91864926292e998df1c64a1fe1b6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:06:27 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b0ae91864926292e998df1c64a1fe1b6", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IwYWU5MTg2NDkyNjI5MmU5OThkZjFjNjRhMWZlMWI2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n b0ae9186-4926-292e-998d-f1c64a1fe1b6\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "bc3eb1726a4b2f25965cb23ae3161fd7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:06:27 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6386", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2Mzg2", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "10" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "a45f3373a23b2681bd42495b37757341" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:06:28 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a45f3373a23b2681bd42495b37757341", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E0NWYzMzczYTIzYjI2ODFiZDQyNDk1YjM3NzU3MzQx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "10" + ] + }, + "ResponseBody": "\r\n a45f3373-a23b-2681-bd42-495b37757341\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "09d5ea32ab192046a34638e0fa3899a7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:06:29 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/a45f3373a23b2681bd42495b37757341", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2E0NWYzMzczYTIzYjI2ODFiZDQyNDk1YjM3NzU3MzQx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "10" + ] + }, + "ResponseBody": "\r\n a45f3373-a23b-2681-bd42-495b37757341\r\n Failed\r\n 404\r\n \r\n ResourceNotFound\r\n The Network Security Group onesdk6386 does not exist.\r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "643d1eb84ade2dba9f57ab706db113df" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:06:59 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-RemoveNetworkSecurityGroupWithNonExistingName": [ + "onesdk6386" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json new file mode 100644 index 000000000000..43b14dd8904f --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestRemoveNSR.json @@ -0,0 +1,520 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "40562aa1f91e29b2905c34ec845034a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:17 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/40562aa1f91e29b2905c34ec845034a2", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzQwNTYyYWExZjkxZTI5YjI5MDVjMzRlYzg0NTAzNGEy", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n 40562aa1-f91e-29b2-905c-34ec845034a2\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "50dc9b5871382417919d8b5be7aead39" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:19 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "141" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "5c7de8a8cfe92937aafa1ac032ca7e2a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:20 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/5c7de8a8cfe92937aafa1ac032ca7e2a", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzVjN2RlOGE4Y2ZlOTI5MzdhYWZhMWFjMDMyY2E3ZTJh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "141" + ] + }, + "ResponseBody": "\r\n 5c7de8a8-cfe9-2937-aafa-1ac032ca7e2a\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "9d510040a4ed2e459cdbae4f5e193979" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:20 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/5c7de8a8cfe92937aafa1ac032ca7e2a", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzVjN2RlOGE4Y2ZlOTI5MzdhYWZhMWFjMDMyY2E3ZTJh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "141" + ] + }, + "ResponseBody": "\r\n 5c7de8a8-cfe9-2937-aafa-1ac032ca7e2a\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "abb2e073e5a1244b818592e3056adb80" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:51 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwPw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "c863c1b53239205580f2867eb74bce12" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:51 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910/rules/onesdk4030", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwL3J1bGVzL29uZXNkazQwMzA=", + "RequestMethod": "PUT", + "RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "de86eef2ae152390a715362f11558363" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/de86eef2ae152390a715362f11558363", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2RlODZlZWYyYWUxNTIzOTBhNzE1MzYyZjExNTU4MzYz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "\r\n de86eef2-ae15-2390-a715-362f11558363\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "5fe44717babe2141bc2614d058626816" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:19:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/de86eef2ae152390a715362f11558363", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2RlODZlZWYyYWUxNTIzOTBhNzE1MzYyZjExNTU4MzYz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "146" + ] + }, + "ResponseBody": "\r\n de86eef2-ae15-2390-a715-362f11558363\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "d01fda22918b2abbb7469859c2d797e5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:20:25 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n onesdk4030\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "71279c0afb4e253b900bad4fa3811d8c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:20:25 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "1006abf51d912275a24ca141ae643955" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:01 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910?detaillevel=Full", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwP2RldGFpbGxldmVsPUZ1bGw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk6910\r\n \r\n North Central US\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "5eb7834698c023d688148916010528b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:21:02 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk6910/rules/onesdk4030", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs2OTEwL3J1bGVzL29uZXNkazQwMzA=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "151" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "d63850dab72f28d7a6ea1546159e7549" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:20:27 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/d63850dab72f28d7a6ea1546159e7549", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Q2Mzg1MGRhYjcyZjI4ZDdhNmVhMTU0NjE1OWU3NTQ5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "151" + ] + }, + "ResponseBody": "\r\n d63850da-b72f-28d7-a6ea-1546159e7549\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "8b20057a4e2227e493488ded0b92a608" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:20:27 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/d63850dab72f28d7a6ea1546159e7549", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Q2Mzg1MGRhYjcyZjI4ZDdhNmVhMTU0NjE1OWU3NTQ5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "151" + ] + }, + "ResponseBody": "\r\n d63850da-b72f-28d7-a6ea-1546159e7549\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "2da7605f47e52fd2a536dba8a2d4b03f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:20:58 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-RemoveNetworkSecurityRule": [ + "onesdk6910", + "onesdk4030" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json new file mode 100644 index 000000000000..9ce15c2a7f89 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetAndGetNSGForSubnet.json @@ -0,0 +1,488 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "f4a8e7c50d49276fa6b661956782b06a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:12:50 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/f4a8e7c50d49276fa6b661956782b06a", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2Y0YThlN2M1MGQ0OTI3NmZhNmI2NjE5NTY3ODJiMDZh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n f4a8e7c5-0d49-276f-a6b6-61956782b06a\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "5432af590c59265f92628327f3753232" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:12:52 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "74" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "16a87d7fa3b724589d88572d3d46667c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:12:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/16a87d7fa3b724589d88572d3d46667c", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE2YTg3ZDdmYTNiNzI0NTg5ZDg4NTcyZDNkNDY2Njdj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "74" + ] + }, + "ResponseBody": "\r\n 16a87d7f-a3b7-2458-9d88-572d3d46667c\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "14cc081a7d892840afe83fd86101363c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:12:53 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/16a87d7fa3b724589d88572d3d46667c", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzE2YTg3ZDdmYTNiNzI0NTg5ZDg4NTcyZDNkNDY2Njdj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "74" + ] + }, + "ResponseBody": "\r\n 16a87d7f-a3b7-2458-9d88-572d3d46667c\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "d1d8b3b85f7e2475ade65981d2d1f4d1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:25 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk7428?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NDI4Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "bb699f39003e28d8b8f210a3f8cbaba8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:26 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk7428?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGs3NDI4Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk7428\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "d4c87a2c093c24ac82ef84af8844531c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:14:31 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/media", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL21lZGlh", + "RequestMethod": "PUT", + "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 192.168.100.0/24\r\n \r\n \r\n \r\n 192.168.100.0/28\r\n \r\n \r\n \r\n \r\n \r\n \r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "79" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "13198bec779329a8bea659fd248c6f85" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:27 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/13198bec779329a8bea659fd248c6f85", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzEzMTk4YmVjNzc5MzI5YThiZWE2NTlmZDI0OGM2Zjg1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "79" + ] + }, + "ResponseBody": "\r\n 13198bec-7793-29a8-bea6-59fd248c6f85\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "8805b30095f22404bcf35987736175e7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:28 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/13198bec779329a8bea659fd248c6f85", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzEzMTk4YmVjNzc5MzI5YThiZWE2NTlmZDI0OGM2Zjg1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "79" + ] + }, + "ResponseBody": "\r\n 13198bec-7793-29a8-bea6-59fd248c6f85\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "73587928530b29e692c2e99fac042127" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:58 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk7428\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "83" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "9dd0df61e044289085618505cd5b87f6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:59 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/9dd0df61e044289085618505cd5b87f6", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzlkZDBkZjYxZTA0NDI4OTA4NTYxODUwNWNkNWI4N2Y2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "83" + ] + }, + "ResponseBody": "\r\n 9dd0df61-e044-2890-8561-8505cd5b87f6\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "abe16bb060d727f398fda3f3b26b9d48" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:13:59 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/9dd0df61e044289085618505cd5b87f6", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzlkZDBkZjYxZTA0NDI4OTA4NTYxODUwNWNkNWI4N2Y2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "83" + ] + }, + "ResponseBody": "\r\n 9dd0df61-e044-2890-8561-8505cd5b87f6\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "3f68f98e029223f8984fedb8135c8378" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:14:30 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/virtualnetwork/VirtualNetworkSiteName/subnets/FrontEndSubnet/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL3ZpcnR1YWxuZXR3b3JrL1ZpcnR1YWxOZXR3b3JrU2l0ZU5hbWUvc3VibmV0cy9Gcm9udEVuZFN1Ym5ldC9uZXR3b3Jrc2VjdXJpdHlncm91cHM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk7428\r\n Created\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "8b0263e2bf5b204e93f663ba6eae8ad8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:14:31 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-SetAndGetNetworkSecurityGroupForSubnet": [ + "onesdk7428", + "onesdk1878" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json new file mode 100644 index 000000000000..66171c30882d --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSR.json @@ -0,0 +1,351 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "336595f61f25290f82debec1c67c9e0a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:10:31 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/336595f61f25290f82debec1c67c9e0a", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzMzNjU5NWY2MWYyNTI5MGY4MmRlYmVjMWM2N2M5ZTBh", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n 336595f6-1f25-290f-82de-bec1c67c9e0a\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "9aa34f440f592b3aaa2e63f82adfb3dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:10:31 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "51" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "6b4baeac087326e1b895b1db840ee49d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:10:33 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/6b4baeac087326e1b895b1db840ee49d", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzZiNGJhZWFjMDg3MzI2ZTFiODk1YjFkYjg0MGVlNDlk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "51" + ] + }, + "ResponseBody": "\r\n 6b4baeac-0873-26e1-b895-b1db840ee49d\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "57185b0805f32b6683e3df0f23c2732c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:10:33 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/6b4baeac087326e1b895b1db840ee49d", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzZiNGJhZWFjMDg3MzI2ZTFiODk1YjFkYjg0MGVlNDlk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "51" + ] + }, + "ResponseBody": "\r\n 6b4baeac-0873-26e1-b895-b1db840ee49d\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "c48cb678f35121298bf7dbf4de0f4fe2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:04 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzPw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "2bcbad9aefc5282fbba7a661606291bc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:04 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523/rules/onesdk6849", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzL3J1bGVzL29uZXNkazY4NDk=", + "RequestMethod": "PUT", + "RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "56" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "fc0bdbc67ccd2b7d9ea10a88445a6711" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:05 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/fc0bdbc67ccd2b7d9ea10a88445a6711", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2ZjMGJkYmM2N2NjZDJiN2Q5ZWExMGE4ODQ0NWE2NzEx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "56" + ] + }, + "ResponseBody": "\r\n fc0bdbc6-7ccd-2b7d-9ea1-0a88445a6711\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "eb0f44780c702107a69687e37e2387a8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:07 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/fc0bdbc67ccd2b7d9ea10a88445a6711", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2ZjMGJkYmM2N2NjZDJiN2Q5ZWExMGE4ODQ0NWE2NzEx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "56" + ] + }, + "ResponseBody": "\r\n fc0bdbc6-7ccd-2b7d-9ea1-0a88445a6711\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "4434965aa3fd204faeba27635e1c8201" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:38 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2523?detaillevel=Full", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNTIzP2RldGFpbGxldmVsPUZ1bGw=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk2523\r\n \r\n North Central US\r\n \r\n \r\n onesdk6849\r\n Outbound\r\n 500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n TCP\r\n Active\r\n \r\n \r\n ALLOW VNET OUTBOUND\r\n Outbound\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW VNET INBOUND\r\n 65000\r\n VirtualNetwork\r\n *\r\n VirtualNetwork\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n ALLOW INTERNET OUTBOUND\r\n Outbound\r\n 65001\r\n *\r\n *\r\n Internet\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL OUTBOUND\r\n Outbound\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n DENY ALL INBOUND\r\n 65500\r\n Deny\r\n *\r\n *\r\n *\r\n *\r\n *\r\n Active\r\n true\r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "2c152661bbd32ea6b7ee623d2afd2703" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:11:40 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-SetNetworkSecurityRule": [ + "onesdk2523", + "onesdk6849" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json new file mode 100644 index 000000000000..b1c002ca2b8a --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/SessionRecords/Microsoft.Azure.Commands.Network.Test.ScenarioTests.NSGScenarioTests/TestSetNSRWithInvalidParameter.json @@ -0,0 +1,249 @@ +{ + "Entries": [ + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/locations", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9sb2NhdGlvbnM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n \r\n North Central US\r\n North Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n \r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "76eb25749d2421e69dc771984800d1bb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:17:30 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/76eb25749d2421e69dc771984800d1bb", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zLzc2ZWIyNTc0OWQyNDIxZTY5ZGM3NzE5ODQ4MDBkMWJi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/1.0.0.0", + "AzurePowershell/v0.8.10.1" + ] + }, + "ResponseBody": "\r\n 76eb2574-9d24-21e6-9dc7-71984800d1bb\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "751194d1ceed23279d78cad3fb872c74" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:17:31 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcw==", + "RequestMethod": "POST", + "RequestBody": "\r\n onesdk2475\r\n \r\n North Central US\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "121" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "x-ms-request-id": [ + "b1bc789976112c1fa43e8c4d2979bc99" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:17:32 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b1bc789976112c1fa43e8c4d2979bc99", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IxYmM3ODk5NzYxMTJjMWZhNDNlOGM0ZDI5NzliYzk5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "121" + ] + }, + "ResponseBody": "\r\n b1bc7899-7611-2c1f-a43e-8c4d2979bc99\r\n InProgress\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b99ff97bb4712c3d80c17e6d59ac6e69" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:17:32 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/operations/b1bc789976112c1fa43e8c4d2979bc99", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9vcGVyYXRpb25zL2IxYmM3ODk5NzYxMTJjMWZhNDNlOGM0ZDI5NzliYzk5", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "121" + ] + }, + "ResponseBody": "\r\n b1bc7899-7611-2c1f-a43e-8c4d2979bc99\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "b34582a624bc27e784dd27d39421555f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:18:04 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2475?", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNDc1Pw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n onesdk2475\r\n \r\n North Central US\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "e5e05721965d22e9929c492d15690d8c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:18:05 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/803c7f98-a213-4724-b8b2-46dab6bedc9a/services/networking/networksecuritygroups/onesdk2475/rules/onesdk9407", + "EncodedRequestUri": "LzgwM2M3Zjk4LWEyMTMtNDcyNC1iOGIyLTQ2ZGFiNmJlZGM5YS9zZXJ2aWNlcy9uZXR3b3JraW5nL25ldHdvcmtzZWN1cml0eWdyb3Vwcy9vbmVzZGsyNDc1L3J1bGVzL29uZXNkazk0MDc=", + "RequestMethod": "PUT", + "RequestBody": "\r\n Outbound\r\n 500\r\n Deny\r\n INVALID\r\n *\r\n *\r\n *\r\n TCP\r\n", + "RequestHeaders": { + "x-ms-version": [ + "2014-09-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Network.NetworkManagementClient/3.0.0.0" + ], + "client-tracking-id": [ + "126" + ] + }, + "ResponseBody": "\r\n BadRequest\r\n The Source Address Prefix provided 'INVALID' is invalid. Please provide correct CIDR address or one of the allowed Address Tags.\r\n", + "ResponseHeaders": { + "x-ms-request-id": [ + "3ab476b870f32bef934ec96ff1e047af" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Oct 2014 19:18:06 GMT" + ], + "Server": [ + "1.0.6195.343", + "(rd_rdfe_dhf1.141013-1212)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 400 + } + ], + "Names": { + "Test-SetNetworkSecurityRuleWithInvalidParameter": [ + "onesdk2475", + "onesdk9407" + ] + }, + "Variables": {} +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/TestData/EmptyNetworkConfiguration.xml b/src/ServiceManagement/Network/Commands.Network.Test/TestData/EmptyNetworkConfiguration.xml new file mode 100644 index 000000000000..d668ae5c7944 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/TestData/EmptyNetworkConfiguration.xml @@ -0,0 +1,6 @@ + + + + diff --git a/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml b/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml new file mode 100644 index 000000000000..a01dbaaa5081 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/TestData/SimpleNetworkConfiguration.xml @@ -0,0 +1,22 @@ + + + + + + + + + 192.168.100.0/24 + + + + 192.168.100.0/28 + + + + + + + diff --git a/src/ServiceManagement/Network/Commands.Network.Test/packages.config b/src/ServiceManagement/Network/Commands.Network.Test/packages.config new file mode 100644 index 000000000000..fa69761d5655 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network.Test/packages.config @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj new file mode 100644 index 000000000000..94666af1c074 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj @@ -0,0 +1,176 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {40FEE0BB-FD45-4EFC-85BC-0D602A6892C4} + Library + Properties + Microsoft.Azure.Commands.Network + Microsoft.Azure.Commands.Network + v4.5 + 512 + + ..\..\..\ + true + + + true + full + false + ..\..\..\Package\Debug\ServiceManagement\Azure\Network\ + DEBUG;TRACE + 4 + true + false + + + OnBuildSuccess + + + true + MSSharedLibKey.snk + true + ..\..\..\Package\Release\ServiceManagement\Azure\Network + TRACE;SIGN + true + pdbonly + AnyCPU + false + + + + ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.dll + True + + + ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll + True + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + + + False + ..\..\..\packages\WindowsAzure.Storage.4.2.1\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + + False + + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Always + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + {65c3a86a-716d-4e7d-ab67-1db00b3bf72d} + Commands.Common.Storage + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetConnection.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetConnection.cs new file mode 100644 index 000000000000..786393633589 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetConnection.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using Model; + + [Cmdlet(VerbsCommon.Get, "AzureVNetConnection"), OutputType(typeof(GatewayConnectionContext))] + public class GetAzureVNetConnectionCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName + { + get; + set; + } + + public override void ExecuteCmdlet() + { + WriteObject(Client.ListConnections(VNetName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGateway.cs new file mode 100644 index 000000000000..27de8e693207 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGateway.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "AzureVNetGateway"), OutputType(typeof(VirtualNetworkGatewayContext))] + public class GetAzureVNetGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName + { + get; + set; + } + + public override void ExecuteCmdlet() + { + WriteObject(Client.GetGateway(VNetName)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGatewayDiagnostics.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGatewayDiagnostics.cs new file mode 100644 index 000000000000..b4ce51bfb37f --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVNetGatewayDiagnostics.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Get, "AzureVNetGatewayDiagnostics"), OutputType(typeof(ManagementOperationContext))] + public class GetAzureVNetGatewayDiagnostics : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.GetDiagnostics(VNetName)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGatewayKey.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVnetGatewayKey.cs similarity index 58% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGatewayKey.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVnetGatewayKey.cs index 79480ea9579e..c39b83c0d962 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetGatewayKey.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/GetAzureVnetGatewayKey.cs @@ -12,14 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +namespace Microsoft.Azure.Commands.Network.Gateway { + using System.Management.Automation; + using Model; + [Cmdlet(VerbsCommon.Get, "AzureVNetGatewayKey"), OutputType(typeof(SharedKeyContext))] - public class GetAzureVNetGatewayKeyCommand : ServiceManagementBaseCmdlet + public class GetAzureVNetGatewayKeyCommand : NetworkCmdletBase { [Parameter(Position = 0, Mandatory = true, HelpMessage = "The virtual network name.")] [ValidateNotNullOrEmpty] @@ -37,19 +36,9 @@ public string LocalNetworkSiteName set; } - protected override void OnProcessRecord() + public override void ExecuteCmdlet() { - this.ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.GetSharedKey(this.VNetName, this.LocalNetworkSiteName), - (operation, sharedKey) => new SharedKeyContext - { - OperationId = operation.Id, - OperationDescription = this.CommandRuntime.ToString(), - OperationStatus = operation.Status.ToString(), - Value = sharedKey.SharedKey - }); + WriteObject(Client.GetSharedKey(VNetName, LocalNetworkSiteName)); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/GatewayConnectionContext.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/GatewayConnectionContext.cs similarity index 84% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/Model/GatewayConnectionContext.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/Model/GatewayConnectionContext.cs index da8ae0f38750..26ddb7fad734 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/GatewayConnectionContext.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/GatewayConnectionContext.cs @@ -12,10 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model +namespace Microsoft.Azure.Commands.Network.Gateway.Model { + using WindowsAzure.Commands.Utilities.Common; + public class GatewayConnectionContext : ManagementOperationContext { public string ConnectivityState { get; set; } @@ -26,11 +26,11 @@ public class GatewayConnectionContext : ManagementOperationContext public string LastConnectionEstablished { get; set; } - public string LastEventID { get; set; } + public string LastEventID { get; set; } public string LastEventMessage { get; set; } - public string LastEventTimeStamp { get; set; } + public string LastEventTimeStamp { get; set; } public string LocalNetworkSiteName { get; set; } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ProvisioningState.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/ProvisioningState.cs similarity index 93% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ProvisioningState.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/Model/ProvisioningState.cs index 17c82941b080..78529f31ed52 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ProvisioningState.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/ProvisioningState.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.WindowsAzure.Commands.Service.Gateway +namespace Microsoft.Azure.Commands.Network { public enum ProvisioningState { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/SharedKeyContext.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/SharedKeyContext.cs similarity index 83% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/Model/SharedKeyContext.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/Model/SharedKeyContext.cs index d0483e914341..9531f7b7f288 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/SharedKeyContext.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/SharedKeyContext.cs @@ -12,12 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model +namespace Microsoft.Azure.Commands.Network.Gateway.Model { + using WindowsAzure.Commands.Utilities.Common; + public class SharedKeyContext : ManagementOperationContext { - public string Value { get; set; } + public string Value { get; set; } } -} \ No newline at end of file +} diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkDiagnosticsContext.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkDiagnosticsContext.cs new file mode 100644 index 000000000000..c5c1dced65ee --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkDiagnosticsContext.cs @@ -0,0 +1,26 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway.Model +{ + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Management.Network.Models; + + public class VirtualNetworkDiagnosticsContext : ManagementOperationContext + { + public string DiagnosticsUrl { get; set; } + + public GatewayDiagnosticsState State { get; set; } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VirtualNetworkGatewayContext.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkGatewayContext.cs similarity index 71% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VirtualNetworkGatewayContext.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkGatewayContext.cs index 8ece8d9d393d..86a5749bae35 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VirtualNetworkGatewayContext.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/Model/VirtualNetworkGatewayContext.cs @@ -12,12 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using Microsoft.WindowsAzure.Commands.Service.Gateway; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model +namespace Microsoft.Azure.Commands.Network { + using System; + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Management.Network.Models; + public class VirtualNetworkGatewayContext : ManagementOperationContext { public string LastEventData { get; set; } @@ -26,10 +26,14 @@ public class VirtualNetworkGatewayContext : ManagementOperationContext public string LastEventMessage { get; set; } - public int LastEventID { get; set; } + public int LastEventID { get; set; } + + public ProvisioningState State { get; set; } + + public string VIPAddress { get; set; } - public ProvisioningState State { get; set; } + public string DefaultSite { get; set; } - public string VIPAddress { get; set; } + public GatewaySKU GatewaySKU { get; set; } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureVNetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/NewAzureVNetGateway.cs similarity index 63% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureVNetGateway.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/NewAzureVNetGateway.cs index f7d819ddba31..383604c5bd29 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureVNetGateway.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/NewAzureVNetGateway.cs @@ -12,14 +12,14 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Management.Network.Models; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +namespace Microsoft.Azure.Commands.Network.Gateway { + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Management.Network.Models; + [Cmdlet(VerbsCommon.New, "AzureVNetGateway"), OutputType(typeof(ManagementOperationContext))] - public class NewAzureVNetGatewayCommand : ServiceManagementBaseCmdlet + public class NewAzureVNetGatewayCommand : NetworkCmdletBase { [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] public string VNetName { get; set; } @@ -27,18 +27,12 @@ public class NewAzureVNetGatewayCommand : ServiceManagementBaseCmdlet [Parameter(Position = 1, Mandatory = false, HelpMessage = "The type of routing that the gateway will use. This will default to StaticRouting if no value is provided.")] public GatewayType GatewayType { get; set; } - protected override void OnProcessRecord() - { - GatewayCreateParameters parameters = new GatewayCreateParameters() - { - GatewayType = this.GatewayType, - }; + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The Gateway SKU for the new gateway.")] + public GatewaySKU GatewaySKU { get; set; } - ServiceManagementProfile.Initialize(); - ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.Create(this.VNetName, parameters)); + public override void ExecuteCmdlet() + { + WriteObject(Client.CreateGateway(VNetName, GatewayType, GatewaySKU)); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVNetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVNetGateway.cs similarity index 67% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVNetGateway.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVNetGateway.cs index bff24d44a860..9a0a5e73fa19 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVNetGateway.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVNetGateway.cs @@ -12,13 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +namespace Microsoft.Azure.Commands.Network.Gateway { + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + [Cmdlet(VerbsCommon.Remove, "AzureVNetGateway"), OutputType(typeof(ManagementOperationContext))] - public class RemoveAzureVNetGatewayCommand : ServiceManagementBaseCmdlet + public class RemoveAzureVNetGateway : NetworkCmdletBase { [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] public string VNetName @@ -27,13 +27,9 @@ public string VNetName set; } - protected override void OnProcessRecord() + public override void ExecuteCmdlet() { - ServiceManagementProfile.Initialize(); - ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.Delete(this.VNetName)); + WriteObject(Client.DeleteGateway(VNetName)); } } } diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVnetGatewayDefaultSite.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVnetGatewayDefaultSite.cs new file mode 100644 index 000000000000..390c7ed1b06b --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/RemoveAzureVnetGatewayDefaultSite.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Remove, "AzureVNetGatewayDefaultSite"), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureVNetGatewayDefaultSite : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The virtual network name.")] + [ValidateNotNullOrEmpty] + public string VNetName + { + get; + set; + } + + public override void ExecuteCmdlet() + { + WriteObject(Client.RemoveDefaultSite(VNetName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/ResizeAzureVnetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/ResizeAzureVnetGateway.cs new file mode 100644 index 000000000000..6aed510aa466 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/ResizeAzureVnetGateway.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Management.Network.Models; + + [Cmdlet(VerbsCommon.Resize, "AzureVNetGateway"), OutputType(typeof(ManagementOperationContext))] + public class ResizeAzureVNetGateway : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName + { + get; + set; + } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The SKU that the existing gateway will be resized to.")] + public GatewaySKU GatewaySKU + { + get; + set; + } + + public override void ExecuteCmdlet() + { + WriteObject(Client.ResizeGateway(VNetName, GatewaySKU)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVNetGateway.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVNetGateway.cs similarity index 66% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVNetGateway.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVNetGateway.cs index 95d7a4829420..4034372d558d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVNetGateway.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVNetGateway.cs @@ -12,15 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- - -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Management.Network.Models; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +namespace Microsoft.Azure.Commands.Network.Gateway { + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + [Cmdlet(VerbsCommon.Set, "AzureVNetGateway", DefaultParameterSetName = "Connect"), OutputType(typeof(ManagementOperationContext))] - public class SetAzureVNetGatewayCommand : ServiceManagementBaseCmdlet + public class SetAzureVNetGatewayCommand : NetworkCmdletBase { [Parameter(Position = 0, Mandatory = true, ParameterSetName = "Connect", HelpMessage = "Connect to Gateway")] public SwitchParameter Connect @@ -50,19 +48,9 @@ public string LocalNetworkSiteName set; } - protected override void OnProcessRecord() + public override void ExecuteCmdlet() { - ServiceManagementProfile.Initialize(); - - var connParams = new GatewayConnectDisconnectOrTestParameters - { - Operation = this.Connect.IsPresent ? GatewayConnectionUpdateOperation.Connect : GatewayConnectionUpdateOperation.Disconnect - }; - - this.ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.ConnectDisconnectOrTest(this.VNetName, this.LocalNetworkSiteName, connParams)); + WriteObject(Client.ConnectDisconnectOrTest(VNetName, LocalNetworkSiteName, Connect.IsPresent)); } } } diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayDefaultSite.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayDefaultSite.cs new file mode 100644 index 000000000000..b7506c2a9d5b --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayDefaultSite.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Set, "AzureVNetGatewayDefaultSite"), OutputType(typeof(ManagementOperationContext))] + public class SetAzureVNetGatewayDefaultSite : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The virtual network name.")] + [ValidateNotNullOrEmpty] + public string VNetName + { + get; + set; + } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The local network default site for this virtual network gateway.")] + [ValidateNotNullOrEmpty] + public string DefaultSite + { + get; + set; + } + + public override void ExecuteCmdlet() + { + WriteObject(Client.SetDefaultSite(VNetName, DefaultSite)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVnetGatewayKey.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayKey.cs similarity index 63% rename from src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVnetGatewayKey.cs rename to src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayKey.cs index 229038dd3f03..9c16b2607668 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureVnetGatewayKey.cs +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVnetGatewayKey.cs @@ -12,15 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Management.Network.Models; - -namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +namespace Microsoft.Azure.Commands.Network.Gateway { + using System.Management.Automation; + using Model; + [Cmdlet(VerbsCommon.Set, "AzureVNetGatewayKey"), OutputType(typeof(SharedKeyContext))] - public class SetAzureVNetGatewayKey : ServiceManagementBaseCmdlet + public class SetAzureVNetGatewayKey : NetworkCmdletBase { [Parameter(Position = 0, Mandatory = true, HelpMessage = "The virtual network name.")] [ValidateNotNullOrEmpty] @@ -46,20 +44,9 @@ public string SharedKey set; } - protected override void OnProcessRecord() + public override void ExecuteCmdlet() { - ServiceManagementProfile.Initialize(); - - this.ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.NetworkClient.Gateways.SetSharedKey( - this.VNetName, - this.LocalNetworkSiteName, - new GatewaySetSharedKeyParameters() - { - Value = SharedKey, - })); - } + WriteObject(Client.SetSharedKey(VNetName, LocalNetworkSiteName, SharedKey)); + } } } diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/StartAzureVNetGatewayDiagnostics.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/StartAzureVNetGatewayDiagnostics.cs new file mode 100644 index 000000000000..9cf6ef4a48d2 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/StartAzureVNetGatewayDiagnostics.cs @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Common.Storage; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsLifecycle.Start, "AzureVNetGatewayDiagnostics"), OutputType(typeof(ManagementOperationContext))] + public class StartAzureVnetGatewayDiagnostics : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The duration of the capture in seconds (between 1 and 300)")] + public int CaptureDurationInSeconds { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The container name provided by customer (optional)")] + public string ContainerName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The object used to access the customer's storage account. This can be created using the Get-AzureStorageContext cmdlet.")] + public AzureStorageContext StorageContext { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.StartDiagnostics(VNetName, CaptureDurationInSeconds, ContainerName, StorageContext)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Gateway/StopAzureVNetGatewayDiagnostics.cs b/src/ServiceManagement/Network/Commands.Network/Gateway/StopAzureVNetGatewayDiagnostics.cs new file mode 100644 index 000000000000..0db74df0c4ce --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Gateway/StopAzureVNetGatewayDiagnostics.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsLifecycle.Stop, "AzureVNetGatewayDiagnostics"), OutputType(typeof(ManagementOperationContext))] + public class StopAzureVnetGatewayDiagnostics : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "Virtual network name.")] + public string VNetName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.StopDiagnostics(VNetName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/MSSharedLibKey.snk b/src/ServiceManagement/Network/Commands.Network/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ServiceManagement/Network/Commands.Network/MSSharedLibKey.snk differ diff --git a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml new file mode 100644 index 000000000000..686a54414f21 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml @@ -0,0 +1,1090 @@ + + + + + Get-AzureManagedCache + + Gets the Azure Caches in your Azure account. + + + + + Get + AzureManagedCache + + + + The Get-AzureManagedCache cmdlet get the Azure Caches in your account. By default, it gets all Azure Caches in the account. To get a particular Azure Cache, use the Name parameter. + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Get-AzureManagedCache + + Name + + Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. + + String + + + + + + Name + + Gets only the specified Azure Cache. Enter the name of an Azure Cache. The parameter value is case-sensitive. Wildcards are not permitted. This parameter is optional. By default, Get-AzureManagedCache get all Azure Caches in the account. + + String + + String + + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models.PSCacheService + + + + + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + Example 1: Get all Azure Caches + + + + + PS C:\>Get-AzureManagedCache + + + + This command gets all Azure Caches in your account. + + + + + + + + + Example 2: Get an Azure Cache by name + + + + + PS C:\>Get-AzureManagedCache -Name ContosoCache + + + + This command gets only the ContosoCache Azure Cache. + + + + + + + + + + + Online Version: + + + + + New-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + Get-AzureManagedCacheAccessKey + + Gets the access keys for an Azure Cache + + + + + Get + AzureManagedCacheAccessKey + + + + The Get-AzureManagedCacheAccessKey cmdlet gets the primary and secondary access keys for an Azure Cache. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. + Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdlet + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Get-AzureManagedCacheAccessKey + + Name + + Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. + + String + + + + + + Name + + Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required. + + String + + String + + + + + + + + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse + + + + + + + + + + + + + + + + + Example 1: Get the access key + + + + + PS C:\>Get-AzureManagedCacheAccessKey -Name contosocache + + + + This command gets the access key for the contosocache Azure Cache. + + + + + + + + + + + New-AzureManagedCacheAccessKey + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + New-AzureManagedCache + + Creates an Azure cache + + + + + New + AzureManagedCache + + + + The New-AzureManagedCache cmdlet creates an Azure Cache in your Azure account and returns an object that represents the new Azure Cache. + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + New-AzureManagedCache + + Name + + Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. + + String + + + Location + + Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required. + To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. + + String + + + Memory + + Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. + -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + +-- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. + +-- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. + + String + + + Sku + + Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. + + String + + + + + + Location + + Specifies the location of the Azure Cache. Enter an Azure data center location, such as "North Central US" or "West Europe". This parameter is required. + To find a location that supports Azure Cache, use the Switch-AzureModule cmdlet to switch to the AzureResourceManager module, and then use the Get-AzureLocation cmdlet. + + String + + String + + + + + + + Memory + + Specifies the size of the Azure Cache. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the value of the Sku parameter. This parameter is optional. The default value is the lowest value in the range specified by the Sku parameter. + -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + +-- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. + +-- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. + + String + + String + + + + + + + Name + + Specifies a name for the Azure Cache. The name can include only lower-case letters and numbers, and it must begin with a lower-case letter. The name must be unique. This parameter is required. + + String + + String + + + + + + + Sku + + Specifies the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. The default value is Basic. + + String + + String + + + + + + + + + + None + + + + + + + + You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models .PSCacheService + + + + + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + Example 1: Create an Azure Cache + + + + + PS C:\>New-AzureManagedCache -Name contosocache -Location "West Europe" + + + + This command creates an Azure Cache named ContosoCache in the West Europe Azure data center. It uses the default values for the Sku and Memory parameters, which are Basic and 128MB. + + + + + + + + + Example 2: Create a premium Azure Cache + + + + + PS C:\>New-AzureManagedCache -Name contosoappcache -Location "West Europe" -Sku Premium -Memory 150GB + + + + This command creates the largest available Azure Cache. + + + + + + + + + + + Online Version: + + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + New-AzureManagedCacheAccessKey + + Creates new access keys for an Azure Cache. + + + + + New + AzureManagedCacheAccessKey + + + + The New-AzureManagedCacheAccessKey cmdlet generates new primary or secondary access keys for an Azure Cache. When you create an Azure Cache, it includes a set of access keys. To get the current access keys, use the Get-AzureManagedCacheAccessKey cmdlet. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdlet + + + + + + New-AzureManagedCacheAccessKey + + Name + + Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + KeyType + + Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. + + String + + + + + + KeyType + + Specifies the type of key to create. Valid values are Primary and Secondary. This parameter is optional. The default value is Primary. + + String + + String + + + + + + + Name + + Generates keys for the specified Azure Cache. Enter the name of the Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + + + + + None + + + + + + + + You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse + + + + + + + + + + + + + + + + + Create a new primary key + + + + + PS C:\>New-AzureManagedCacheAccessKey -Name contosocache + + + + This command creates a new primary key for the contosocache Azure Cache. + + + + + + + + + Create a new secondary key + + + + + PS C:\>New-AzureManagedCacheAccessKey -Name contosocache -KeyType Secondary + + + + This command creates a new secondary key for the contosocache Azure Cache. + + + + + + + + + Create new access keys + + + + + PS C:\>'Primary', 'Secondary' | ForEach-Object {New-AzureManagedCacheAccessKey -Name contosocache -KeyType $_} + + + + This command creates new primary and secondary keys for the contosocache Azure Cache. + + + + + + + + + + + Online Version: + + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Remove-AzureManagedCache + + + + + + + Remove-AzureManagedCache + + Deletes an Azure Cache + + + + + Remove + AzureManagedCache + + + + The Remove-AzureManagedCache cmdlet deletes an Azure Cache and all of the data in the Cache. It returns True if the operation was successful and False if it failed. + By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache, but you can use the Force parameter to suppress the prompt. + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + + + + Remove-AzureManagedCache + + Name + + Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. + + + + + + + Force + + Suppresses the confirmation prompt. By default, Remove-AzureManagedCache prompts you for confirmation before deleting the Azure Cache. + + SwitchParameter + + SwitchParameter + + + + + + + Name + + Specifies the name of the Azure Cache to delete. The parameter value is case-sensitive. Wildcard characters are not permitted. + + String + + String + + + + + + + + + + None + + + + + + + + You can input to this cmdlet by property name, but not by value. + + + + + + + System.Boolean + + + + + + + + Returns True ($true) if the operation is successful and False ($false) if it fails. + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + Delete an Azure Cache + + + + + PS C:\>Remove-AzureManagedCache -Name contosocache + +Confirm +Are you sure you want to perform this action? +Performing the operation "Delete" on target "contosocache". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): +Y + +True + + + + + This command deletes the contosocache Azure Cache. The command prompts for confirmation before deleting the Cache. It returns a value of $True to indicate that the Cache was deleted. + + + + + + + + + Example 2: Remove all test caches + + + + + PS C:\>Get-AzureManagedCache | Where-Object Name -like Test* | Remove-AzureManagedCache -Force + + + + This command removes all Azure Caches that have names that begin with "Test." It uses the Get-AzureManagedCache cmdlet to get the Azure Caches in your account. It pipes them to the Where-Object cmdlet, which returns only the Azure Caches that have names that begin with "Test". Then, it pipes the test caches to the Remove-AzureManagedCache cmdlet with the Force parameter, which deletes them without prompting for confirmation. + + + + + + + + + + + Online Version: + + + + + New-AzureManagedCache + + + + Get-AzureManagedCache + + + + Set-AzureManagedCache + + + + Get-AzureManagedCacheAccessKey + + + + New-AzureManagedCacheAccessKey + + + + + + + Set-AzureManagedCache + + Changes the properties of an Azure Cache. + + + + + Set + AzureManagedCache + + + + The Set-AzureManagedCache cmdlet changes the properties of an Azure Cache and returns an object that represents the cache with the changes. Use the Name and Location parameters to identify the Azure Cache, and the Sku and Memory parameters to change its properties. + An Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/). + WARNING: When you change the SKU of an Azure Cache, all data in the cache is deleted and a new, empty Azure Cache is created for you with the same name and location. When you use the Sku parameter, Set-AzureManagedCache prompts for confirmation. To suppress the confirmation prompt, use the Force parameter. + + + + Set-AzureManagedCache + + Name + + Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. + + String + + + Location + + Specifies the location of the Azure Cache. This parameter is required. Enter the name of the Azure data center location where the Azure Cache resides, such as "North Central US" or "West Europe". This parameter identifies the Azure Cache. You cannot use this parameter to change the location of the Azure Cache. + + String + + + Sku + + Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. + + String + + + Memory + + Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. + -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + +-- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. + +-- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. + + String + + + Force + + Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. + + + + + + + Force + + Suppresses the confirmation prompt that appears when you use the Sku parameter. Because changing the SKU deletes all data in the Azure Cache, Set-AzureManagedCache prompts you for confirmation before performing the operation. + + SwitchParameter + + SwitchParameter + + + + + + + Location + + Specifies the location of the Azure Cache. This parameter is required. Enter the name of the Azure data center location where the Azure Cache resides, such as "North Central US" or "West Europe". This parameter identifies the Azure Cache. You cannot use this parameter to change the location of the Azure Cache. + + String + + String + + + + + + + Memory + + Changes the Azure Cache to the specified size. The cache size might affect the cost of the service. Enter a value followed by "MB" or "GB" (no intervening space), such as (128MB or 8GB). This value must be compatible with the Sku of the Azure Cache. This parameter is optional. + -- When the value of Sku is Basic, the value of Memory must be divisible by 128MB. + +-- When the value of Sku is Standard, the value of Memory must be divisible by 1GB. + +-- When the value of Sku is Premium, the value of Memory must be divisible by 5GB. + + String + + String + + + + + + + Name + + Identifies the Azure Cache. Enter the name of an Azure Cache. This parameter is required. The parameter value is case-sensitive. Wildcards are not permitted. You cannot use this cmdlet to change the name of an Azure Cache. + + String + + String + + + + + + + Sku + + Changes the tier of the Azure Cache. Valid values are Basic (128MB - 1GB), Standard (1GB - 10GB), and Premium (5GB - 150GB). This parameter is optional. + + String + + String + + + + + + + + + + None + + + + + + + + You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Commands.ManagedCache.Models.PsCacheService + + + + + + + + + + + + + + + + + + Before using this cmdlet, use Add-AzureAccount or Import-AzurePublishSettingsFile to make your Azure account available to Windows PowerShell. For more information, see How to install and configure Azure PowerShell (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/). + + + + + Example 1: Change the size of an Azure Cache + + + + + PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Memory 256MB + + + + This command increases the size of the contosocache Azure Cache to 256 MB. + + + + + + + + + Example 2: Change the SKU of an Azure Cache + + + + + +PS C:\>Set-AzureManagedCache -Name contosocache -Location "West Europe" -Sku Standard -Size 10GB + +Confirm +Are you sure you want to perform this action? +Performing the operation "Delete" on target "contosocache". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + + + + + This command changes the SKU of the contosocache Azure Cache from Basic to Standard and the Size to 10 GB. + Because this operation deletes the existing Azure Cache and its data and creates a new empty Azure Cache, Set-AzureManagedCache prompts you for confirmation before deleting the cache. To suppress this prompt, use the Force parameter. + + + + + + + + + + + Online Version: + + + + + + diff --git a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml new file mode 100644 index 000000000000..420a3c528d0e --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml @@ -0,0 +1,102 @@ + + + + + Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model.NetworkSecurityGroupWithRules + + Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model.NetworkSecurityGroupWithRules + + + + + + + + Name + + + + $_.Rules | Sort-Object -Property Type,Priority | Format-Table -GroupBy Type | Out-String + + + + + + + + + + Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model.NetworkSecurityRule + + Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model.NetworkSecurityRule + + + + + + 20 + + + + 9 + + + + 8 + + + + 15 + + + + 13 + + + + 16 + + + + 14 + + + + 8 + + + + + + + + Name + + + Priority + + + Action + + + SourceAddressPrefix + + + SourcePortRange + + + DestinationAddressPrefix + + + DestinationPortRange + + + Protocol + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs new file mode 100644 index 000000000000..c969571bd591 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs @@ -0,0 +1,435 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Management.Automation; + using Gateway.Model; + using NetworkSecurityGroup.Model; + using Routes.Model; + using WindowsAzure; + using WindowsAzure.Commands.Common; + using WindowsAzure.Commands.Common.Models; + using WindowsAzure.Commands.Common.Storage; + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Common; + using WindowsAzure.Management; + using WindowsAzure.Management.Network; + using WindowsAzure.Management.Network.Models; + using WindowsAzure.Storage.Auth; + + public class NetworkClient + { + private readonly NetworkManagementClient client; + private readonly ManagementClient managementClient; + private readonly ICommandRuntime commandRuntime; + + public NetworkClient(AzureSubscription subscription, ICommandRuntime commandRuntime) + : this(CreateClient(subscription), + CreateClient(subscription), + commandRuntime) + { + } + public NetworkClient(NetworkManagementClient client, ManagementClient managementClient, ICommandRuntime commandRuntime) + { + this.client = client; + this.managementClient = managementClient; + this.commandRuntime = commandRuntime; + } + + public VirtualNetworkGatewayContext GetGateway(string vnetName) + { + if (string.IsNullOrWhiteSpace(vnetName)) + { + throw new ArgumentException("vnetName cannot be null or whitespace.", "vnetName"); + } + + GatewayGetResponse response = client.Gateways.Get(vnetName); + + VirtualNetworkGatewayContext gatewayContext = new VirtualNetworkGatewayContext() + { + LastEventData = (response.LastEvent != null) ? response.LastEvent.Data : null, + LastEventMessage = (response.LastEvent != null) ? response.LastEvent.Message : null, + LastEventID = GetEventId(response.LastEvent), + LastEventTimeStamp = (response.LastEvent != null) ? (DateTime?)response.LastEvent.Timestamp : null, + State = (ProvisioningState)Enum.Parse(typeof(ProvisioningState), response.State, true), + VIPAddress = response.VipAddress, + DefaultSite = (response.DefaultSite != null ? response.DefaultSite.Name : null), + GatewaySKU = response.GatewaySKU, + }; + PopulateOperationContext(response.RequestId, gatewayContext); + + return gatewayContext; + } + + public IEnumerable ListConnections(string vnetName) + { + GatewayListConnectionsResponse response = client.Gateways.ListConnections(vnetName); + + IEnumerable connections = response.Connections.Select( + (GatewayListConnectionsResponse.GatewayConnection connection) => + { + return new GatewayConnectionContext() + { + ConnectivityState = connection.ConnectivityState.ToString(), + EgressBytesTransferred = (ulong)connection.EgressBytesTransferred, + IngressBytesTransferred = (ulong)connection.IngressBytesTransferred, + LastConnectionEstablished = connection.LastConnectionEstablished.ToString(), + LastEventID = connection.LastEvent != null ? connection.LastEvent.Id : null, + LastEventMessage = connection.LastEvent != null ? connection.LastEvent.Message : null, + LastEventTimeStamp = connection.LastEvent != null ? connection.LastEvent.Timestamp.ToString() : null, + LocalNetworkSiteName = connection.LocalNetworkSiteName + }; + }); + PopulateOperationContext(response.RequestId, connections); + + return connections; + } + + public VirtualNetworkDiagnosticsContext GetDiagnostics(string vnetName) + { + GatewayDiagnosticsStatus diagnosticsStatus = client.Gateways.GetDiagnostics(vnetName); + + VirtualNetworkDiagnosticsContext diagnosticsContext = new VirtualNetworkDiagnosticsContext() + { + DiagnosticsUrl = diagnosticsStatus.DiagnosticsUrl, + State = diagnosticsStatus.State, + }; + PopulateOperationContext(diagnosticsStatus.RequestId, diagnosticsContext); + + return diagnosticsContext; + } + + public SharedKeyContext GetSharedKey(string vnetName, string localNetworkSiteName) + { + GatewayGetSharedKeyResponse response = client.Gateways.GetSharedKey(vnetName, localNetworkSiteName); + + SharedKeyContext sharedKeyContext = new SharedKeyContext() + { + Value = response.SharedKey + }; + PopulateOperationContext(response.RequestId, sharedKeyContext); + + return sharedKeyContext; + } + + public GatewayGetOperationStatusResponse SetSharedKey(string vnetName, string localNetworkSiteName, string sharedKey) + { + GatewaySetSharedKeyParameters sharedKeyParameters = new GatewaySetSharedKeyParameters() + { + Value = sharedKey, + }; + + return client.Gateways.SetSharedKey(vnetName, localNetworkSiteName, sharedKeyParameters); + } + + public GatewayGetOperationStatusResponse CreateGateway(string vnetName, GatewayType gatewayType, GatewaySKU gatewaySKU) + { + GatewayCreateParameters parameters = new GatewayCreateParameters() + { + GatewayType = gatewayType, + GatewaySKU = gatewaySKU, + }; + + return client.Gateways.Create(vnetName, parameters); + } + + public GatewayGetOperationStatusResponse DeleteGateway(string vnetName) + { + return client.Gateways.Delete(vnetName); + } + + public GatewayGetOperationStatusResponse ResizeGateway(string vnetName, GatewaySKU gatewaySKU) + { + ResizeGatewayParameters parameters = new ResizeGatewayParameters() + { + GatewaySKU = gatewaySKU, + }; + return client.Gateways.Resize(vnetName, parameters); + } + + public GatewayGetOperationStatusResponse ConnectDisconnectOrTest(string vnetName, string localNetworkSiteName, bool isConnect) + { + GatewayConnectDisconnectOrTestParameters connParams = new GatewayConnectDisconnectOrTestParameters() + { + Operation = isConnect ? GatewayConnectionUpdateOperation.Connect : GatewayConnectionUpdateOperation.Disconnect + }; + + return client.Gateways.ConnectDisconnectOrTest(vnetName, localNetworkSiteName, connParams); + } + + public GatewayGetOperationStatusResponse StartDiagnostics(string vnetName, int captureDurationInSeconds, string containerName, AzureStorageContext storageContext) + { + StorageCredentials credentials = storageContext.StorageAccount.Credentials; + string customerStorageKey = credentials.ExportBase64EncodedKey(); + string customerStorageName = credentials.AccountName; + return StartDiagnostics(vnetName, captureDurationInSeconds, containerName, customerStorageKey, customerStorageName); + } + public GatewayGetOperationStatusResponse StartDiagnostics(string vnetName, int captureDurationInSeconds, string containerName, string customerStorageKey, string customerStorageName) + { + UpdateGatewayPublicDiagnostics parameters = new UpdateGatewayPublicDiagnostics() + { + CaptureDurationInSeconds = captureDurationInSeconds.ToString(), + ContainerName = containerName, + CustomerStorageKey = customerStorageKey, + CustomerStorageName = customerStorageName, + Operation = UpdateGatewayPublicDiagnosticsOperation.StartDiagnostics, + }; + + return client.Gateways.UpdateDiagnostics(vnetName, parameters); + } + + public GatewayGetOperationStatusResponse StopDiagnostics(string vnetName) + { + UpdateGatewayPublicDiagnostics parameters = new UpdateGatewayPublicDiagnostics() + { + Operation = UpdateGatewayPublicDiagnosticsOperation.StopDiagnostics, + }; + + return client.Gateways.UpdateDiagnostics(vnetName, parameters); + } + + public GatewayGetOperationStatusResponse SetDefaultSite(string vnetName, string defaultSiteName) + { + GatewaySetDefaultSiteListParameters parameters = new GatewaySetDefaultSiteListParameters() + { + DefaultSite = defaultSiteName, + }; + + return client.Gateways.SetDefaultSites(vnetName, parameters); + } + + public GatewayGetOperationStatusResponse RemoveDefaultSite(string vnetName) + { + return client.Gateways.RemoveDefaultSites(vnetName); + } + + public RouteTable GetRouteTable(string routeTableName, string detailLevel) + { + RouteTable result; + if (string.IsNullOrEmpty(detailLevel)) + { + result = client.Routes.GetRouteTable(routeTableName).RouteTable; + } + else + { + result = client.Routes.GetRouteTableWithDetails(routeTableName, detailLevel).RouteTable; + } + return result; + } + + public IEnumerable ListRouteTables() + { + return client.Routes.ListRouteTables().RouteTables; + } + + public OperationResponse CreateRouteTable(string routeTableName, string label, string location) + { + CreateRouteTableParameters parameters = new CreateRouteTableParameters() + { + Name = routeTableName, + Label = label, + Location = location, + }; + + return client.Routes.CreateRouteTable(parameters); + } + + public OperationResponse DeleteRouteTable(string routeTableName) + { + return client.Routes.DeleteRouteTable(routeTableName); + } + + public OperationResponse SetRoute(string routeTableName, string routeName, string addressPrefix, string nextHopType) + { + NextHop nextHop = new NextHop() + { + Type = nextHopType, + }; + SetRouteParameters parameters = new SetRouteParameters() + { + Name = routeName, + AddressPrefix = addressPrefix, + NextHop = nextHop, + }; + + return client.Routes.SetRoute(routeTableName, routeName, parameters); + } + + public OperationResponse DeleteRoute(string routeTableName, string routeName) + { + return client.Routes.DeleteRoute(routeTableName, routeName); + } + + public SubnetRouteTableContext GetRouteTableForSubnet(string vnetName, string subnetName) + { + GetRouteTableForSubnetResponse response = client.Routes.GetRouteTableForSubnet(vnetName, subnetName); + SubnetRouteTableContext context = new SubnetRouteTableContext() + { + RouteTableName = response.RouteTableName, + }; + + return context; + } + + public OperationResponse AddRouteTableToSubnet(string vnetName, string subnetName, string routeTableName) + { + AddRouteTableToSubnetParameters parameters = new AddRouteTableToSubnetParameters() + { + RouteTableName = routeTableName, + }; + + return client.Routes.AddRouteTableToSubnet(vnetName, subnetName, parameters); + } + + public OperationResponse RemoveRouteTableFromSubnet(string vnetName, string subnetName) + { + return client.Routes.RemoveRouteTableFromSubnet(vnetName, subnetName); + } + + private int GetEventId(GatewayEvent gatewayEvent) + { + int val = -1; + if (gatewayEvent != null) + { + int.TryParse(gatewayEvent.Id, out val); + } + + return val; + } + + private void PopulateOperationContext(string requestId, ManagementOperationContext operationContext) + { + OperationStatusResponse operationStatus = managementClient.GetOperationStatus(requestId); + PopulateOperationContext(operationStatus, operationContext); + } + private void PopulateOperationContext(string requestId, IEnumerable operationContexts) + { + OperationStatusResponse operationStatus = managementClient.GetOperationStatus(requestId); + foreach (ManagementOperationContext operationContext in operationContexts) + { + PopulateOperationContext(operationStatus, operationContext); + } + } + private void PopulateOperationContext(OperationStatusResponse operationStatus, ManagementOperationContext operationContext) + { + operationContext.OperationId = operationStatus.Id; + operationContext.OperationStatus = operationStatus.Status.ToString(); + operationContext.OperationDescription = commandRuntime.ToString(); + } + + private static ClientType CreateClient(AzureSubscription subscription) where ClientType : ServiceClient + { + return AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + } + + public void CreateNetworkSecurityGroup(string name, string location, string label) + { + NetworkSecurityGroupCreateParameters parameters = new NetworkSecurityGroupCreateParameters() + { + Location = location, + Name = name, + Label = label + }; + + client.NetworkSecurityGroups.Create(parameters); + } + + public INetworkSecurityGroup GetNetworkSecurityGroup(string name, bool details) + { + var getResponse = client.NetworkSecurityGroups.Get(name, details ? "Full" : null); + return details ? new NetworkSecurityGroupWithRules(getResponse) : new SimpleNetworkSecurityGroup(getResponse); + } + + public IEnumerable ListNetworkSecurityGroups(bool details) + { + var networkSecurityGroupList = client.NetworkSecurityGroups.List(); + IEnumerable result; + + if (details) + { + // to get the rules, need to specifically call Get for each group + result = networkSecurityGroupList.Select(nsg => GetNetworkSecurityGroup(nsg.Name, true)); + } + + else + { + result = networkSecurityGroupList.Select(nsg => new SimpleNetworkSecurityGroup(nsg.Name, nsg.Location, nsg.Label)); + } + + return result; + } + + public void SetNetworkSecurityRule( + string networkSecurityGroupName, + string ruleName, + string type, + int priority, + string action, + string sourceAddressPrefix, + string sourcePortRange, + string destinationAddressPrefix, + string destinationPortRange, + string protocol) + { + var setSecurityRuleParameters = new NetworkSecuritySetRuleParameters() + { + Type = type, + Priority = priority, + Action = action, + SourceAddressPrefix = sourceAddressPrefix, + SourcePortRange = sourcePortRange, + DestinationAddressPrefix = destinationAddressPrefix, + DestinationPortRange = destinationPortRange, + Protocol = protocol + }; + + client.NetworkSecurityGroups.SetRule(networkSecurityGroupName, ruleName, setSecurityRuleParameters); + } + + public void RemoveNetworkSecurityGroup(string name) + { + client.NetworkSecurityGroups.Delete(name); + } + + public void RemoveNetworkSecurityRule(string securityGroupName, string securityRuleName) + { + client.NetworkSecurityGroups.DeleteRule(securityGroupName, securityRuleName); + } + + public NetworkSecurityGroupGetForSubnetResponse GetNetworkSecurityGroupForSubnet(string virtualNetworkName, string subnetName) + { + return client.NetworkSecurityGroups.GetForSubnet(virtualNetworkName, subnetName); + } + + public void RemoveNetworkSecurityGroupFromSubnet(string networkSecurityGroupName, string virtualNetworkName, string subnetName) + { + client.NetworkSecurityGroups.RemoveFromSubnet(virtualNetworkName, subnetName, networkSecurityGroupName); + } + + public void SetNetworkSecurityGroupForSubnet(string networkSecurityGroupName, string subnetName, string virtualNetworkName) + { + var parameters = new NetworkSecurityGroupAddToSubnetParameters() + { + Name = networkSecurityGroupName + }; + + client.NetworkSecurityGroups.AddToSubnet(virtualNetworkName, subnetName, parameters); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs new file mode 100644 index 000000000000..bb0016f16b72 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network +{ + using WindowsAzure.Commands.Common; + using WindowsAzure.Commands.Common.Models; + using WindowsAzure.Commands.Utilities.Common; + using WindowsAzure.Commands.Utilities.Profile; + + /// + /// The base class for all Microsoft Azure Network Gateway Management Cmdlets + /// + public abstract class NetworkCmdletBase : AzurePSCmdlet + { + private NetworkClient client; + + protected AzureSubscription CurrentSubscription + { + get { return AzureSession.CurrentContext.Subscription; } + } + + protected NetworkClient Client + { + get + { + if (client == null) + { + client = new NetworkClient(CurrentSubscription, CommandRuntime); + } + return client; + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroup.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroup.cs new file mode 100644 index 000000000000..f88eea964cdc --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroup.cs @@ -0,0 +1,66 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup +{ + [Cmdlet(VerbsCommon.Get, "AzureNetworkSecurityGroup"), OutputType(typeof(IEnumerable))] + public class GetAzureNetworkSecurityGroup: NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = false)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false)] + [ValidateNotNullOrEmpty] + public SwitchParameter Detailed { get; set; } + + public override void ExecuteCmdlet() + { + if (string.IsNullOrEmpty(Name)) + { + GetNoName(); + } + else + { + GetByName(); + } + } + + private void GetByName() + { + INetworkSecurityGroup networkSecurityGroup = Client.GetNetworkSecurityGroup(Name, Detailed); + WriteNetworkSecurityGroup(networkSecurityGroup); + } + + private void GetNoName() + { + IEnumerable networkSecurityGroups = Client.ListNetworkSecurityGroups(Detailed); + WriteNetworkSecurityGroups(networkSecurityGroups); + } + + private void WriteNetworkSecurityGroup(INetworkSecurityGroup networkSecurityGroup) + { + WriteObject(networkSecurityGroup, true); + } + + private void WriteNetworkSecurityGroups(IEnumerable networkSecurityGroups) + { + WriteObject(networkSecurityGroups, true); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/INetworkSecurityGroup.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/INetworkSecurityGroup.cs new file mode 100644 index 000000000000..4f8deef2c376 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/INetworkSecurityGroup.cs @@ -0,0 +1,21 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.NetworkSecurityGroup.Model +{ + public interface INetworkSecurityGroup + { + SimpleNetworkSecurityGroup GetInstance(); + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityGroupWithRules.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityGroupWithRules.cs new file mode 100644 index 000000000000..086bbb91d01c --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityGroupWithRules.cs @@ -0,0 +1,42 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Linq; +using AutoMapper; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model +{ + public class NetworkSecurityGroupWithRules : SimpleNetworkSecurityGroup + { + private List rules = new List(); + + public IEnumerable Rules + { + get { return this.rules; } + set { this.rules = value.ToList(); } + } + + public NetworkSecurityGroupWithRules(NetworkSecurityGroupGetResponse networkSecurityGroupAsGetResponse) + : base(networkSecurityGroupAsGetResponse) + { + Mapper.CreateMap(); + if (networkSecurityGroupAsGetResponse.Rules != null) + { + rules.AddRange(networkSecurityGroupAsGetResponse.Rules.Select(Mapper.Map)); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityRule.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityRule.cs new file mode 100644 index 000000000000..2db5d61365c3 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/NetworkSecurityRule.cs @@ -0,0 +1,33 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.NetworkSecurityGroup.Model +{ + public class NetworkSecurityRule + { + public string Action { get; set; } + public string DestinationAddressPrefix { get; set; } + public string DestinationPortRange { get; set; } + public bool IsDefault { get; set; } + public string Name { get; set; } + public int Priority { get; set; } + public string Protocol { get; set; } + public string SourceAddressPrefix { get; set; } + public string SourcePortRange { get; set; } + public string State { get; set; } + public string Type { get; set; } + + public NetworkSecurityGroupWithRules PSParentPath { get; set; } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/SimpleNetworkSecurityGroup.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/SimpleNetworkSecurityGroup.cs new file mode 100644 index 000000000000..a1a5653e2447 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Model/SimpleNetworkSecurityGroup.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model +{ + public class SimpleNetworkSecurityGroup : INetworkSecurityGroup + { + public SimpleNetworkSecurityGroup(string name, string location, string label) + { + this.Name = name; + this.Location = location; + this.Label = label; + } + + public SimpleNetworkSecurityGroup(NetworkSecurityGroupGetResponse networkSecurityGroupAsGetResponse) : + this( + networkSecurityGroupAsGetResponse.Name, + networkSecurityGroupAsGetResponse.Location, + networkSecurityGroupAsGetResponse.Label) + { + + } + + public string Name { get; set; } + public string Location { get; set; } + public string Label { get; set; } + + SimpleNetworkSecurityGroup INetworkSecurityGroup.GetInstance() + { + return this; + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRule.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRule.cs new file mode 100644 index 000000000000..877da1b86bf8 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRule.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Utilities; +using Microsoft.Azure.Commands.Network.Properties; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup +{ + [Cmdlet(VerbsCommon.Remove, "AzureNetworkSecurityRule"), OutputType(typeof(INetworkSecurityGroup))] + public class RemoveAzureNetworkSecurityRule : NetworkSecurityGroupConfigurationBaseCmdlet + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the Network Security Rule to remove.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Do not confirm Network Security Group deletion")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveNetworkSecurityRuleWarning, Name, NetworkSecurityGroup.GetInstance().Name), + Resources.RemoveNetworkSecurityRuleWarning, + Name, + () => + { + Client.RemoveNetworkSecurityRule(NetworkSecurityGroup.GetInstance().Name, Name); + WriteObject(Client.GetNetworkSecurityGroup(NetworkSecurityGroup.GetInstance().Name, true)); + }); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRule.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRule.cs new file mode 100644 index 000000000000..be3d9ef0cdec --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRule.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Utilities; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup +{ + [Cmdlet(VerbsCommon.Set, "AzureNetworkSecurityRule"), OutputType(typeof(INetworkSecurityGroup))] + public class SetAzureNetworkSecurityRule : NetworkSecurityGroupConfigurationBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false, HelpMessage = "Name of the Network Security Rule to remove.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateSet("Inbound", "Outbound", IgnoreCase = false)] + public string Type { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateRange(100, 4096)] + public int Priority { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateSet("Allow", "Deny", IgnoreCase = false)] + public string Action { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string SourceAddressPrefix { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string SourcePortRange { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string DestinationAddressPrefix { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string DestinationPortRange { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateSet("TCP", "UDP", "*", IgnoreCase = false)] + public string Protocol { get; set; } + + public override void ExecuteCmdlet() + { + Client.SetNetworkSecurityRule( + NetworkSecurityGroup.GetInstance().Name, + Name, + Type, + Priority, + Action, + SourceAddressPrefix, + SourcePortRange, + DestinationAddressPrefix, + DestinationPortRange, + Protocol); + + WriteObject(Client.GetNetworkSecurityGroup(NetworkSecurityGroup.GetInstance().Name, true)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroup.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroup.cs new file mode 100644 index 000000000000..3be63c51b524 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroup.cs @@ -0,0 +1,42 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup +{ + [Cmdlet(VerbsCommon.New, "AzureNetworkSecurityGroup"), OutputType(typeof(INetworkSecurityGroup))] + public class NewAzureNetworkSecurityGroup : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + [Parameter(Position = 2, Mandatory = false)] + [ValidateNotNullOrEmpty] + public string Label { get; set; } + + public override void ExecuteCmdlet() + { + Client.CreateNetworkSecurityGroup(Name, Location, Label); + var networkSecurityGroup = Client.GetNetworkSecurityGroup(Name, false); + WriteObject(networkSecurityGroup); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroup.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroup.cs new file mode 100644 index 000000000000..c14c8b0d5f56 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroup.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.Properties; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup +{ + [Cmdlet(VerbsCommon.Remove, "AzureNetworkSecurityGroup"), OutputType(typeof(bool))] + public class RemoveAzureNetworkSecurityGroup : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the Traffic Manager profile to remove.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Do not confirm Network Security Group deletion")] + public SwitchParameter Force { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter PassThru { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveNetworkSecurityGroupWarning, Name), + Resources.RemoveNetworkSecurityGroupWarning, + Name, + () => + { + Client.RemoveNetworkSecurityGroup(Name); + + WriteVerboseWithTimestamp(Resources.RemoveNetworkSecurityGroupSucceeded, Name); + if (PassThru.IsPresent) + { + WriteObject(true); + } + }); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/GetAzureNetworkSecurityGroupForSubnet.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/GetAzureNetworkSecurityGroupForSubnet.cs new file mode 100644 index 000000000000..f5925d0dd423 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/GetAzureNetworkSecurityGroupForSubnet.cs @@ -0,0 +1,52 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.Properties; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Subnet +{ + [Cmdlet(VerbsCommon.Get, "AzureNetworkSecurityGroupForSubnet"), OutputType(typeof(INetworkSecurityGroup))] + public class GetAzureNetworkSecurityGroupForSubnet : NetworkCmdletBase + { + + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string VirtualNetworkName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string SubnetName { get; set; } + + [Parameter(Mandatory = false)] + [ValidateNotNullOrEmpty] + public SwitchParameter Detailed { get; set; } + + public override void ExecuteCmdlet() + { + var getForSubnetResponse = Client.GetNetworkSecurityGroupForSubnet(VirtualNetworkName, SubnetName); + + if (getForSubnetResponse.State != "Created") + { + WriteWarningWithTimestamp( + string.Format(Resources.NetworkSecurityGroupNotActiveInSubnet, getForSubnetResponse.Name, VirtualNetworkName, SubnetName)); + + } + + INetworkSecurityGroup securityGroup = Client.GetNetworkSecurityGroup(getForSubnetResponse.Name, Detailed); + WriteObject(securityGroup); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/RemoveAzureNetworkSecurityGroupFromSubnet.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/RemoveAzureNetworkSecurityGroupFromSubnet.cs new file mode 100644 index 000000000000..8e7a87631a10 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/RemoveAzureNetworkSecurityGroupFromSubnet.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.Properties; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Subnet +{ + [Cmdlet(VerbsCommon.Remove, "AzureNetworkSecurityGroupFromSubnet"), OutputType(typeof(bool))] + public class RemoveAzureNetworkSecurityGroupFromSubnet : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string VirtualNetworkName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string SubnetName { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter Force { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter PassThru { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveNetworkSecurityGroupFromSubnetWarning, Name, SubnetName, VirtualNetworkName), + Resources.RemoveNetworkSecurityGroupFromSubnetWarning, + Name, + () => + { + Client.RemoveNetworkSecurityGroupFromSubnet(Name, VirtualNetworkName, SubnetName); + + WriteVerboseWithTimestamp(Resources.RemoveNetworkSecurityGroupFromSubnetSucceeded, Name, VirtualNetworkName, SubnetName); + if (PassThru.IsPresent) + { + WriteObject(true); + } + }); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs new file mode 100644 index 000000000000..0c7080f379e6 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs @@ -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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Subnet +{ + [Cmdlet(VerbsCommon.Set, "AzureNetworkSecurityGroupToSubnet"), OutputType(typeof(bool))] + public class SetAzureNetworkSecurityGroupToSubnet : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string VirtualNetworkName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string SubnetName { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter Force { get; set; } + + [Parameter(Mandatory = false)] + public SwitchParameter PassThru { get; set; } + + public override void ExecuteCmdlet() + { + try + { + Client.SetNetworkSecurityGroupForSubnet(Name, SubnetName, VirtualNetworkName); + if (PassThru.IsPresent) + { + WriteObject(true); + } + } + catch (CloudException ce) + { + if (ce.ErrorCode.Equals("BadRequest") && ce.ErrorMessage.Contains("already mapped to network")) + { + // there's already a NSG associated with this subnet, so confirm they want to replace it + ConfirmAction( + Force.IsPresent, + string.Format(Resources.ReplaceNetworkSecurityGroupInSubnetWarning, SubnetName, VirtualNetworkName, Name), + Resources.ReplaceNetworkSecurityGroupInSubnetWarning, + Name, + () => + { + Client.RemoveNetworkSecurityGroupFromSubnet(Name, SubnetName, VirtualNetworkName); + Client.SetNetworkSecurityGroupForSubnet(Name, SubnetName, VirtualNetworkName); + WriteVerboseWithTimestamp(Resources.ReplaceNetworkSecurityGroupInSubnetWarningSucceeded, Name, VirtualNetworkName, SubnetName); + if (PassThru.IsPresent) + { + WriteObject(true); + } + }); + } + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Utilities/NetworkSecurityGroupConfigurationBaseCmdlet.cs b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Utilities/NetworkSecurityGroupConfigurationBaseCmdlet.cs new file mode 100644 index 000000000000..9480eeb92f80 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Utilities/NetworkSecurityGroupConfigurationBaseCmdlet.cs @@ -0,0 +1,30 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; + +namespace Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Utilities +{ + public class NetworkSecurityGroupConfigurationBaseCmdlet : NetworkCmdletBase + { + [Parameter( + Position = 0, + Mandatory = true, + ValueFromPipeline = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Network Security Group to update.")] + public INetworkSecurityGroup NetworkSecurityGroup { get; set; } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Properties/AssemblyInfo.cs b/src/ServiceManagement/Network/Commands.Network/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..10c77703b1fc --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Properties/AssemblyInfo.cs @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.CompilerServices; +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 Azure Powershell")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Microsoft Azure Powershell")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +[assembly: AssemblyVersion("0.8.5")] +[assembly: AssemblyFileVersion("0.8.5")] +[assembly: CLSCompliant(false)] + +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.ManagedCache.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.ManagedCache.Test")] +#endif diff --git a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..665d302a70cb --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs @@ -0,0 +1,315 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Network.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Network.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Not able to find the cache service just now created. + /// + internal static string CacheServiceMissing { + get { + return ResourceManager.GetString("CacheServiceMissing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The cache service name either has been taken or invalid. + /// + internal static string CacheServiceNameUnavailable { + get { + return ResourceManager.GetString("CacheServiceNameUnavailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The cache service '{0}' doesn't exist in current subscription. + /// + internal static string CacheServiceNotExisting { + get { + return ResourceManager.GetString("CacheServiceNotExisting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cache Service '{0}' was not found. + /// + internal static string CacheServiceNotFound { + get { + return ResourceManager.GetString("CacheServiceNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The cache service '{0}' has been removed. + /// + internal static string CacheServiceRemoved { + get { + return ResourceManager.GetString("CacheServiceRemoved", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing cache service.... + /// + internal static string CacheServiceRemoveStarted { + get { + return ResourceManager.GetString("CacheServiceRemoveStarted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating cache service.... + /// + internal static string CreatingCacheService { + get { + return ResourceManager.GetString("CreatingCacheService", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating prerequisites.... + /// + internal static string CreatingPrerequisites { + get { + return ResourceManager.GetString("CreatingPrerequisites", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Intializing parameters.... + /// + internal static string InitializingCacheParameters { + get { + return ResourceManager.GetString("InitializingCacheParameters", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid cache memory size. Please specify value between {0} and {1}{2}. + /// + internal static string InvalidCacheMemorySize { + get { + return ResourceManager.GetString("InvalidCacheMemorySize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The cache service name must contain between 6 and 20 characters. It can contain only lowercase letters and numbers, and must start with a letter.. + /// + internal static string InvalidCacheServiceName { + get { + return ResourceManager.GetString("InvalidCacheServiceName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid Sku. Please specify one from 'Basic', 'Standard', or "Premium".. + /// + internal static string InvalidCacheSku { + get { + return ResourceManager.GetString("InvalidCacheSku", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Network SecurityGroup "{0}" is not active in Subnet "{1}" in Virtual Network "{2}".. + /// + internal static string NetworkSecurityGroupNotActiveInSubnet { + get { + return ResourceManager.GetString("NetworkSecurityGroupNotActiveInSubnet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to reduce the cache memory? Cache data will be lost.. + /// + internal static string PromptOnCacheMemoryReduce { + get { + return ResourceManager.GetString("PromptOnCacheMemoryReduce", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to reduce the cache offering? All cache data will be lost.. + /// + internal static string PromptOnCachePlanChange { + get { + return ResourceManager.GetString("PromptOnCachePlanChange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully removed Network Security Group with name "{0}" from Subnet "{1}" in Virtual Network "{2}".. + /// + internal static string RemoveNetworkSecurityGroupFromSubnetSucceeded { + get { + return ResourceManager.GetString("RemoveNetworkSecurityGroupFromSubnetSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the Network Security Group "{0}" from Subnet "{1}" in Virtual Network "{2}"?. + /// + internal static string RemoveNetworkSecurityGroupFromSubnetWarning { + get { + return ResourceManager.GetString("RemoveNetworkSecurityGroupFromSubnetWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully removed Network Security Group with name "{0}".. + /// + internal static string RemoveNetworkSecurityGroupSucceeded { + get { + return ResourceManager.GetString("RemoveNetworkSecurityGroupSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the Network Security Group "{0}"?. + /// + internal static string RemoveNetworkSecurityGroupWarning { + get { + return ResourceManager.GetString("RemoveNetworkSecurityGroupWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the Network Security Rule "{0}" from Network Security Group "{1}"?. + /// + internal static string RemoveNetworkSecurityRuleWarning { + get { + return ResourceManager.GetString("RemoveNetworkSecurityRuleWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing cache service. + /// + internal static string RemoveServiceMessage { + get { + return ResourceManager.GetString("RemoveServiceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the cache service "{0}"?. + /// + internal static string RemoveServiceWarning { + get { + return ResourceManager.GetString("RemoveServiceWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to There is already a Network Security Group associated with Subnet "{0}" in Virtual Network "{1}". Are you sure you want to replace it with Network Security Group "{2}"?. + /// + internal static string ReplaceNetworkSecurityGroupInSubnetWarning { + get { + return ResourceManager.GetString("ReplaceNetworkSecurityGroupInSubnetWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully set NetworkSecurityGroup "{0}" in Subnet "{1}" in Virtual Network "{1}". + /// + internal static string ReplaceNetworkSecurityGroupInSubnetWarningSucceeded { + get { + return ResourceManager.GetString("ReplaceNetworkSecurityGroupInSubnetWarningSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Time out to wait for cache service ready. + /// + internal static string TimeoutWaitForCacheServiceReady { + get { + return ResourceManager.GetString("TimeoutWaitForCacheServiceReady", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Updating cache service.... + /// + internal static string UpdatingCacheService { + get { + return ResourceManager.GetString("UpdatingCacheService", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Verify cache service name.... + /// + internal static string VerifyingCacheServiceName { + get { + return ResourceManager.GetString("VerifyingCacheServiceName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Waiting for cache service to be in ready state.... + /// + internal static string WaitForCacheServiceReady { + get { + return ResourceManager.GetString("WaitForCacheServiceReady", resourceCulture); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx new file mode 100644 index 000000000000..44b4f567a3d3 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Not able to find the cache service just now created + + + The cache service name either has been taken or invalid + + + The cache service '{0}' doesn't exist in current subscription + + + Cache Service '{0}' was not found + + + The cache service '{0}' has been removed + + + Removing cache service... + + + Creating cache service... + + + Creating prerequisites... + + + Intializing parameters... + + + Invalid cache memory size. Please specify value between {0} and {1}{2} + + + The cache service name must contain between 6 and 20 characters. It can contain only lowercase letters and numbers, and must start with a letter. + + + Invalid Sku. Please specify one from 'Basic', 'Standard', or "Premium". + + + Time out to wait for cache service ready + + + Verify cache service name... + + + Waiting for cache service to be in ready state... + + + Removing cache service + + + Are you sure you want to remove the cache service "{0}"? + + + Updating cache service... + + + Are you sure you want to reduce the cache memory? Cache data will be lost. + + + Are you sure you want to reduce the cache offering? All cache data will be lost. + + + Successfully removed Network Security Group with name "{0}" from Subnet "{1}" in Virtual Network "{2}". + + + Are you sure you want to remove the Network Security Group "{0}" from Subnet "{1}" in Virtual Network "{2}"? + + + Successfully removed Network Security Group with name "{0}". + + + Are you sure you want to remove the Network Security Group "{0}"? + + + There is already a Network Security Group associated with Subnet "{0}" in Virtual Network "{1}". Are you sure you want to replace it with Network Security Group "{2}"? + + + Successfully set NetworkSecurityGroup "{0}" in Subnet "{1}" in Virtual Network "{1}" + + + Network SecurityGroup "{0}" is not active in Subnet "{1}" in Virtual Network "{2}". + + + Are you sure you want to remove the Network Security Rule "{0}" from Network Security Group "{1}"? + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureRouteTable.cs new file mode 100644 index 000000000000..b7e7c6554a05 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureRouteTable.cs @@ -0,0 +1,45 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Routes +{ + using System.Collections.Generic; + using System.Management.Automation; + using WindowsAzure.Management.Network.Models; + + [Cmdlet(VerbsCommon.Get, "AzureRouteTable"), OutputType(typeof(IEnumerable))] + public class GetAzureRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = false, HelpMessage = "The new route table's name.")] + public string Name { get; set; } + + [Parameter(Position = 0, Mandatory = false, HelpMessage = "The level of detail that will be returned about the route table(s). Valid values are: \"Routes\" or \"Full\".")] + public string DetailLevel { get; set; } + + public override void ExecuteCmdlet() + { + IEnumerable routeTables; + if (string.IsNullOrEmpty(Name)) + { + routeTables = Client.ListRouteTables(); + } + else + { + RouteTable routeTable = Client.GetRouteTable(Name, DetailLevel); + routeTables = new List() { routeTable }; + } + WriteObject(routeTables); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureSubnetRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureSubnetRouteTable.cs new file mode 100644 index 000000000000..dad5074e2ab7 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/GetAzureSubnetRouteTable.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Routes +{ + using System.Management.Automation; + using Model; + + [Cmdlet(VerbsCommon.Get, "AzureSubnetRouteTable"), OutputType(typeof(SubnetRouteTableContext))] + public class GetAzureSubnetRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The name of the virtual network.")] + public string VNetName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The name of the subnet that will have its route table removed.")] + public string SubnetName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.GetRouteTableForSubnet(VNetName, SubnetName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/Model/SubnetRouteTableContext.cs b/src/ServiceManagement/Network/Commands.Network/Routes/Model/SubnetRouteTableContext.cs new file mode 100644 index 000000000000..ff240fec9409 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/Model/SubnetRouteTableContext.cs @@ -0,0 +1,21 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Routes.Model +{ + public class SubnetRouteTableContext + { + public string RouteTableName { get; set; } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/NewAzureRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/NewAzureRouteTable.cs new file mode 100644 index 000000000000..572a248ea1cd --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/NewAzureRouteTable.cs @@ -0,0 +1,37 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.New, "AzureRouteTable"), OutputType(typeof(ManagementOperationContext))] + public class NewAzureRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The new route table's name.")] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The new route table's label.")] + public string Label { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The new route table's location.")] + public string Location { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.CreateRouteTable(Name, Label, Location)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRoute.cs b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRoute.cs new file mode 100644 index 000000000000..e6155f605181 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRoute.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Routes +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Remove, "AzureRoute"), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureRoute : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The existing route table's name.")] + public string RouteTableName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The name of the route to remove.")] + public string RouteName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.DeleteRoute(RouteTableName, RouteName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRouteTable.cs new file mode 100644 index 000000000000..866a0b8f8baf --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureRouteTable.cs @@ -0,0 +1,31 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Remove, "AzureRouteTable"), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The name of the route table to remove.")] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.DeleteRouteTable(Name)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureSubnetRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureSubnetRouteTable.cs new file mode 100644 index 000000000000..b4466d0c218d --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/RemoveAzureSubnetRouteTable.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Remove, "AzureSubnetRouteTable"), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureSubnetRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The name of the virtual network.")] + public string VNetName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The name of the subnet that will have its route table removed.")] + public string SubnetName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.RemoveRouteTableFromSubnet(VNetName, SubnetName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureRoute.cs b/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureRoute.cs new file mode 100644 index 000000000000..09ae3145dae5 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureRoute.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Set, "AzureRoute"), OutputType(typeof(ManagementOperationContext))] + public class SetAzureRoute : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The existing route table's name.")] + public string RouteTableName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The new route's name.")] + public string RouteName { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = "The new route's address prefix (such as \"0.0.0.0/0\").")] + public string AddressPrefix { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The new route's next hop type. Valid values are \"VPNGateway\".")] + public string NextHopType { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.SetRoute(RouteTableName, RouteName, AddressPrefix, NextHopType)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureSubnetRouteTable.cs b/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureSubnetRouteTable.cs new file mode 100644 index 000000000000..bafe98915d37 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/Routes/SetAzureSubnetRouteTable.cs @@ -0,0 +1,37 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.Gateway +{ + using System.Management.Automation; + using WindowsAzure.Commands.Utilities.Common; + + [Cmdlet(VerbsCommon.Set, "AzureSubnetRouteTable"), OutputType(typeof(ManagementOperationContext))] + public class SetAzureSubnetRouteTable : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The name of the virtual network.")] + public string VNetName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The name of the subnet that the provided route table will be applied to.")] + public string SubnetName { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = "The name of the route table to set on the provided subnet.")] + public string RouteTableName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(Client.AddRouteTableToSubnet(VNetName, SubnetName, RouteTableName)); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/packages.config b/src/ServiceManagement/Network/Commands.Network/packages.config new file mode 100644 index 000000000000..3bed37144e6b --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/packages.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj new file mode 100644 index 000000000000..d9b09043586f --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj @@ -0,0 +1,169 @@ + + + + + + Debug + AnyCPU + {A415F75B-EB6A-49A6-934E-5BA71B83D6EB} + Library + Properties + Microsoft.Azure.Commands.RecoveryServices.Test + Microsoft.Azure.Commands.RecoveryServices.Test + v4.5 + 512 + + ..\..\..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + False + ..\..\..\packages\Hydra.HttpRecorder.1.0.5406.28672-prerelease\lib\net45\Microsoft.Azure.Utilities.HttpRecorder.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.1.0-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + + + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5406.28672-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + True + + + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + True + + + + + + + + + + ..\..\..\packages\xunit.abstractions.2.0.0-beta4-build2738\lib\net35\xunit.abstractions.dll + + + ..\..\..\packages\xunit.assert.2.0.0-beta4-build2738\lib\portable-net45+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll + + + ..\..\..\packages\xunit.core.2.0.0-beta4-build2738\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {98b10548-df97-4fb1-8d82-2a12945d4f21} + Commands.RecoveryServices + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Properties/AssemblyInfo.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..d3f6c50c9cce --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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.CompilerServices; +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("Commands.RecoveryServices.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Commands.RecoveryServices.Test")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("26688a90-68b5-4aae-955a-0172672fa0d9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs new file mode 100644 index 000000000000..44443cd896e1 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs @@ -0,0 +1,36 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests +{ + public class RecoveryServicesTests : RecoveryServicesTestsBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RecoveryServicesEnumerationTests() + { + this.RunPowerShellTest("Test-RecoveryServicesEnumerationTests -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RecoveryServicesProtectionTests() + { + this.RunPowerShellTest("Test-RecoveryServicesProtectionTests -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 new file mode 100644 index 000000000000..2721086102b0 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 @@ -0,0 +1,102 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +########################## Recovery Services Tests ############################# + +<# +.SYNOPSIS +Recovery Services Enumeration Tests +#> +function Test-RecoveryServicesEnumerationTests +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate Protection Containers + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.ConfigurationStatus -eq "Configured") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + } + } + } +} + +<# +.SYNOPSIS +Recovery Services Protection Tests +#> +function Test-RecoveryServicesProtectionTests +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enable protection for an un protected Protection Entity and + # Disable protection for a protected Protection Entity + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.ConfigurationStatus -eq "Configured") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.Protected) + { + Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity -Protection "Enable" -Force + } + else + { + Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity -Protection "Disable" -Force + } + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs new file mode 100644 index 000000000000..f18cf116a2ce --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs @@ -0,0 +1,148 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.IO; +using System.Net; +using System.Net.Security; +using System.Runtime.Serialization; +using System.Xml; +using Microsoft.Azure.Utilities.HttpRecorder; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.RecoveryServices; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Testing; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests +{ + public abstract class RecoveryServicesTestsBase + { + private RDFETestEnvironmentFactory rdfeTestFactory; + private EnvironmentSetupHelper helper; + protected string vaultSettingsFilePath; + private ASRVaultCreds asrVaultCreds = null; + + public SiteRecoveryManagementClient SiteRecoveryMgmtClient { get; private set; } + public RecoveryServicesManagementClient RecoveryServicesMgmtClient { get; private set; } + + protected RecoveryServicesTestsBase() + { + if (string.IsNullOrEmpty(Environment.GetEnvironmentVariable("VAULT_SETTINGS_FILE_PATH"))) + { + Environment.SetEnvironmentVariable("VAULT_SETTINGS_FILE_PATH", "ScenarioTests\\vaultSettings.vaultcredentials"); + } + + this.vaultSettingsFilePath = Environment.GetEnvironmentVariable("VAULT_SETTINGS_FILE_PATH"); + if (string.IsNullOrEmpty(vaultSettingsFilePath)) + { + throw new Exception("Please set VAULT_SETTINGS_FILE_PATH environment variable before running the tests"); + } + + if (File.Exists(this.vaultSettingsFilePath)) + { + try + { + var serializer1 = new DataContractSerializer(typeof(ASRVaultCreds)); + using (var s = new FileStream( + this.vaultSettingsFilePath, + FileMode.Open, + FileAccess.Read, + FileShare.Read)) + { + asrVaultCreds = (ASRVaultCreds)serializer1.ReadObject(s); + } + } + catch (XmlException xmlException) + { + throw new XmlException( + "XML is malformed or file is empty", xmlException); + } + catch (SerializationException serializationException) + { + throw new SerializationException( + "XML is malformed or file is empty", serializationException); + } + } + else + { + throw new FileNotFoundException( + "Vault settings file not found, please pass the file downloaded from portal"); + } + + helper = new EnvironmentSetupHelper(); + } + + protected void SetupManagementClients() + { + RecoveryServicesMgmtClient = GetRecoveryServicesManagementClient(); + SiteRecoveryMgmtClient = GetSiteRecoveryManagementClient(); + + helper.SetupManagementClients(RecoveryServicesMgmtClient, SiteRecoveryMgmtClient); + } + + protected void RunPowerShellTest(params string[] scripts) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + this.rdfeTestFactory = new RDFETestEnvironmentFactory(); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureServiceManagement); + helper.SetupModules(AzureModule.AzureServiceManagement, + "ScenarioTests\\" + this.GetType().Name + ".ps1"); + + helper.RunPowerShellTest(scripts); + } + } + + private RecoveryServicesManagementClient GetRecoveryServicesManagementClient() + { + return TestBase.GetServiceClient(this.rdfeTestFactory); + } + + private SiteRecoveryManagementClient GetSiteRecoveryManagementClient() + { + TestEnvironment environment = this.rdfeTestFactory.GetTestEnvironment(); + + if (ServicePointManager.ServerCertificateValidationCallback == null) + { + ServicePointManager.ServerCertificateValidationCallback = + IgnoreCertificateErrorHandler; + } + + return new SiteRecoveryManagementClient( + asrVaultCreds.CloudServiceName, + asrVaultCreds.ResourceName, + (SubscriptionCloudCredentials)environment.Credentials, + AzureSession.CurrentContext.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)).WithHandler(HttpMockServer.CreateInstance()); + } + + private static bool IgnoreCertificateErrorHandler + (object sender, + System.Security.Cryptography.X509Certificates.X509Certificate certificate, + System.Security.Cryptography.X509Certificates.X509Chain chain, + SslPolicyErrors sslPolicyErrors) + { + return true; + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials new file mode 100644 index 000000000000..d552da213c75 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials @@ -0,0 +1,15 @@ + + + 947a55d7-75e9-4a36-b156-305c6270f018 + HyperVRecoveryManagerVault + rijethma-vault + MIIKkgIBAzCCClIGCSqGSIb3DQEHAaCCCkMEggo/MIIKOzCCBgwGCSqGSIb3DQEHAaCCBf0EggX5MIIF9TCCBfEGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjivtKXFlcO0AICB9AEggTYSF0b5V0egu/RWRvOII70eUeOdQXWOoUmV51UHAsxewUZFhqXaaaRLiQTxKpaB4O6jzTYxb4fcgRMzxTD//J8ZchznLWEqc0N8mozihJbrOhPOTmG5bDtkf4K3ipcz+4OktVz5+HWcKJ69GchELKzhyoVlaDZNdjoBGkazThd3qNGhu4Om7sBVW08vf4TG/+vkvNBFGzte1BG1zjOQ5ZRJbaEbjt49dqKShYUoCEJaR/XRW8jfsnUCRpihuVCQuDF02RNpd0tk6koxbMs/qXmspWpKrGxDP3hFnPSXjpwhtPjwbUOgvMN1HBjIkerUoksY3lGtRG+DJ7ulVhszVzVzeC9VcRKOZkcDb9daVcVdr8tibR1yMLgZ/p+ixDOAkKuagpTovCnAk2Q0dFcccQIWKxbSH9Zme8yVOYHegLzvy33is9SXah84JPReQxYk/Lxhig7p3FbNaQB3kX+cRmT6CIl9UIlre986D8jz3eU9viwSRq99XJdDPnQf5hSrrSsyC5UM6ryK3DpTDYimGKXjRLlmiOn6ZRUJnSzNq4dvI8DfYWNKHueMydz6/geOLluSMbxMiyLTrnT6ArI38axIRdlo18MnEWeGRqUtHmKbni1I3KJrXrI3N+SnpBjAaO8FB0dtxl52fZi2D2SBY0J81BC2BkkpHs0nsAnwHMF9AZIx268I0Cj6ypiMyKoBaVPgennLEVzU13lJNZa+qxuCO1rQI0hxGR0pvx/DgGaHtThV3AqZWUafmeIAhs3a3U/6V/5FdX673iCT50jeYzP/2PLkTF1dU3SMCTqff0eVFxrp+izws/FK2mg2Wp+D46AkYBrBuV/7EudpWYldeQeMIIbX+oCMdZK3RSX1Ko9ghacUO/wgOzGXeAHlvTLiejclanUolxXedqxW9u6UOow+a9v8u3+lrVEQ0ti76nwMKhKR6HLU2RdxwgNh3/bdzAoV8vvcO6g4QdotTFj8LhIFIHc3vbpuXX53lQDsGqaK7EsOr40FTEvY+piV34dOFCLPrEOM1jgtsA1uY8CXWUVBb7WAwclOCe3dsM75+rtn0xH4sETz5n0dnKuInwIvmssZdLu6yq4BICaX2nauCg9Hb51vcN8XJ7I3WIeKc5B4PH6BywucSOjV7uW/FM01Mn1TumB5NPEyUY6yiZsgXjN4+QgVG2Zk2cBXk9Ug+TtrtK2Cu8Qtb7moi/4t+bL0MCWpwB2sLdxqCbvsAABOrS73w/q33ulsISluc2DEIFiTBLkjg2RAxEi7kbv3Az8FJrvojL+QO/JxbtT/dx1P3QP3C2kEV+KLQZzyLG1LFf5A/CvK3/TApghhrDc9qrjNtgT4n+sPV5HazDhtoXU0k6q6i/JNZ9GmNyE+c8g7ziGxcOqo6COObOp39Zdcd21LtTiZveqV46uiJmjp1tWlVK47muAaoYSvkNvhh6TtfCuGaDB/xExX3q0aXqHTWE1OVJk5b+Df9Wn1GSbHmxraEk2+ZNfke+SY3aUNHojbzB0QTMAOsjBfJEBX6aVQsmp3t2vjK+UfWhQC4vGmy9S1J+WTCyEIxCWeUE7Oo3mzwM56qRKzkR6pQXKg/wC3sUZU0277YtjR5R5t/XLy9QeHCWLU5/U7LXMWeMdyFCi/lRN/xbN2PfSJJbjkTGB3zATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANQA1ADkAQwBEADcAMAA2AC0AOQBCADIAQwAtADQARABEADEALQA4ADMANAA0AC0AMgAzAEMAMQBBADgAQQA1ADUANABBADAAfTBrBgkrBgEEAYI3EQExXh5cAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcgAgAHYAMQAuADAwggQnBgkqhkiG9w0BBwagggQYMIIEFAIBADCCBA0GCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECBzFvJHmVDhPAgIH0ICCA+Daoyui9rlgyxQooyvXdJBmkaJ+7vK3WquK6EilT+q/ppzXh9EQwLpZO0PG35QJG0ukQJi/tL3u3rq8TwFL8G0KNj0DzjukDymJgknXUbh8RxyWO8I5DRoCnJBVuj7E8/vxylEfC80HTUkrQrHf/GtfCAxzK5zk9I4yRrwCuVApGBJT9P6rRJDt1QBelUEhfPyCGV2qL0YfN4XtgnrA9Y8j9C7/pk0XJrxp1nZ7CLee/vj380+4DZLdqqylotHXu3XOBfdN0XoMQliq6ETF1NWz5uCL74ZskWIQ28iYheCrNPcUiG1eaALGUGX1WLVYeqk2ZK+bLRJkV3QeVu42XPfAmtvcGSBCz//6H0s3jGF00HRLey1oRExdG1rJ2NYTaBZlMejDeCNuNz1/k1PS4klEr7z5tUV2jAHIX8waT6YHvxph8Roa8Vv7+nXv+ZjiQPxse1L/Xr9Ph39CKHL5wSrDt8C6gcZsYXpt2RWY9maFHTMngPC7DzIe9UQNUStOySMIgx9ARJdXw6yM5iWiyBiNnxhJopnbnplKNhNuglKkZBM2/NbInGMld34p/7/5n7acMYsZPBDyeHqpXi5sFAgAgo9JRU3TD0oaKdGY+Y6ikJD958T1Htn++UDR7BoGqrwE2xeEvchlqUcMFoT89GnApNsWRKaatnh9RnWcZV57iQ5L8MDTZTMHTmxKSQs7BG+CUgTZX3qnZEFZ3gnTxJ5BKeo4KG8L8q3yqiFXifEaOMe0ENoEGn55CODvEPoBQbfY5tMI8jR1lNcVDjnepWycsXxQK0HP036Zsk80hlUICjEHqOxaSRq6Ox6TQPuAg+vWxhHuUC+XJ6Ip4mX0pW8bFW0yxe5CvJriGEh2pzdwvSMIbBii6NHC/hlpfpRNniRS4QW4LLW3E7sbIt1JtVWAMe16MTTWUh4tK/Fi5Eif7c+IPbK9hrqsk68qdUZkmeDdPYVnce8XqwzsFRmQslhycsn8oD0ouoMpCuIJ9LDAwlxpPDedgmAhULnOtI/8l+fu/AAsXhWxSDUi6fvhJGGngrHq3ocCYvi+gQ2WygLG0N1dmFsEwrpfHacFAUiN9L4j8fIjoLKy1786RmGlvnU1jNqrJe2zGXGOcd3TK7qx7T9WEintpFPStOtlIh4CrpEmeonrEWNwCxANulQaGpVIvjPERzKJVzfmLBu6MLF70N8GWczAk/tkrgtCQfal6q1bSbqJOiEBnZAhyI5yrmarkBFCNXouCsHsNlCp/w5eUI9c6bmXqU6P8bbmWx5VgSJwoH2l7ApgjrnAZcJ/UPQ0bGXVpycuB/BF2AmhlctZZjA3MB8wBwYFKw4DAhoEFLMany4kyUvsnfDJQYEv1hTJk6vPBBSE1OCCh1pspUroTmnWdX6KbYTo+w== + + accesscontrol.windows.net + seabvtd2rp1users + http://windowscloudbackup/m3 + + fcWypqGV1kzbl0Znfy4HcQ== + RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us + 1.0 + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json new file mode 100644 index 000000000000..9d7b73ffad9e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json @@ -0,0 +1,256 @@ +{ + "Entries": [ + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><ErrorCode>0</ErrorCode><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "54717" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "186f75351be9863b8911c0175fb4828b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:15:14 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><ErrorCode>0</ErrorCode><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "54717" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "eb04da3ccb30842f91d9ec5ed589cf28" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:15:20 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><ErrorCode>0</ErrorCode><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "54717" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "1e1889a821208fcfbeacaa1e0df1865a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:15:29 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices/RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/rijethma-vault/Servers?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtQktTSVBFS1NLVU9ENkJSQTNQWk9QSU9VU0VCNlBCTFVQSElLN1ozVTdPVk5CRE9BMjU3US13ZXN0LXVzL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L3JpamV0aG1hLXZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNC0xMC0yNw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "09043800-3e96-4983-bd3c-b15f737669b3-2014-45-10 11:45:20Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n rijethma-server.fareast.corp.microsoft.com\r\n false\r\n 2014-09-21T20:50:16.035652Z\r\n 3.5.484.0\r\n 3.2.7510.0\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "494" + ], + "Content-Type": [ + "application/xml" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "09043800-3e96-4983-bd3c-b15f737669b3-2014-45-10 11:45:20Z-P" + ], + "x-ms-request-id": [ + "5ce635be1e068fa9ade58b33667ee3f0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:15:24 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices/RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/rijethma-vault/ProtectionContainers?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtQktTSVBFS1NLVU9ENkJSQTNQWk9QSU9VU0VCNlBCTFVQSElLN1ozVTdPVk5CRE9BMjU3US13ZXN0LXVzL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L3JpamV0aG1hLXZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bb080f5b-1d96-4432-9d70-364dcf5231be-2014-45-10 11:45:29Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_cf754905-fe70-4e68-9884-80c2643a6664\r\n rijethma-c2\r\n NotConfigured\r\n cf754905-fe70-4e68-9884-80c2643a6664\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_dec364d8-d4a8-46f9-9607-586a3171d069\r\n rijethma-c1\r\n NotConfigured\r\n dec364d8-d4a8-46f9-9607-586a3171d069\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "964" + ], + "Content-Type": [ + "application/xml" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bb080f5b-1d96-4432-9d70-364dcf5231be-2014-45-10 11:45:29Z-P" + ], + "x-ms-request-id": [ + "24354db582d38c6c91ac40b79c0682b0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:15:31 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "947a55d7-75e9-4a36-b156-305c6270f018", + "UserId": "admin@aad140.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesProtectionTests.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesProtectionTests.json new file mode 100644 index 000000000000..916f535770b1 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesProtectionTests.json @@ -0,0 +1,153 @@ +{ + "Entries": [ + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><ErrorCode>0</ErrorCode><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "54717" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "f38c811009d98b30897f576adfe177c2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:16:27 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><ErrorCode>0</ErrorCode><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "54717" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "d914cd8c77aa87fc80b2657d8734b74f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:16:30 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices/RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/rijethma-vault/ProtectionContainers?api-version=2014-10-27", + "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtQktTSVBFS1NLVU9ENkJSQTNQWk9QSU9VU0VCNlBCTFVQSElLN1ozVTdPVk5CRE9BMjU3US13ZXN0LXVzL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L3JpamV0aG1hLXZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "a8463361-aa69-496a-9cda-b15ff8f38914-2014-46-10 11:46:31Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_cf754905-fe70-4e68-9884-80c2643a6664\r\n rijethma-c2\r\n NotConfigured\r\n cf754905-fe70-4e68-9884-80c2643a6664\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_dec364d8-d4a8-46f9-9607-586a3171d069\r\n rijethma-c1\r\n NotConfigured\r\n dec364d8-d4a8-46f9-9607-586a3171d069\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "964" + ], + "Content-Type": [ + "application/xml" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "a8463361-aa69-496a-9cda-b15ff8f38914-2014-46-10 11:46:31Z-P" + ], + "x-ms-request-id": [ + "b929678c1b6586b985808eafb9a620ae" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 10 Oct 2014 06:16:35 GMT" + ], + "Server": [ + "1.0.6198.130", + "(rd_rdfe_stable.140925-2236)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "947a55d7-75e9-4a36-b156-305c6270f018", + "UserId": "admin@aad140.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config new file mode 100644 index 000000000000..790e27f324d0 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj new file mode 100644 index 000000000000..d3363b92a410 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj @@ -0,0 +1,185 @@ + + + + + Debug + AnyCPU + {98B10548-DF97-4FB1-8D82-2A12945D4F21} + Library + Properties + Microsoft.Azure.Commands.RecoveryServices + Microsoft.Azure.Commands.RecoveryServices + v4.5 + 512 + + ..\..\..\ + true + + + true + full + false + ..\..\..\Package\Debug\ServiceManagement\Azure\RecoveryServices\ + DEBUG;TRACE + prompt + 4 + false + false + true + true + MinimumRecommendedRules.ruleset + + + ..\..\..\Package\Release\ServiceManagement\Azure\RecoveryServices + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + MinimumRecommendedRules.ruleset + true + MSSharedLibKey.snk + true + false + + + + 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\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.1.1-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + ..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll + + + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll + + + False + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + PreserveNewest + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/MSSharedLibKey.snk b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/MSSharedLibKey.snk differ diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServices.dll-help.xml b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServices.dll-help.xml new file mode 100644 index 000000000000..54169f03ff98 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServices.dll-help.xml @@ -0,0 +1,4706 @@ + + + + + + + + + Get-AzureSiteRecoveryServer + + + Get information about Azure Site Recovery Server for current Azure Site Recovery vault + + + + + Get + AzureSiteRecoveryServer + + + + Get information about Azure Site recovery server for current Azure Site Recovery vault + + + + + Get-AzureSiteRecoveryServer + + + Get-AzureSiteRecoveryServer + + Id + + Id of the Server + + string + + + + Get-AzureSiteRecoveryServer + + Name + + Name of the Server + + string + + + + + + + Id + + Id of the Server + + + string + + string + + + + + + Name + + Name of the Server + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryServer + + ID : cd7dec80-1144-4531-9ab3-888b8ab39bee + Name : server1.contoso.com + LastHeartbeat : 9/23/2014 3:51:22 PM + ProviderVersion : 3.5.520.0 + ServerVersion : 3.2.7634.0 + + ID : f5e713fe-5b6d-4641-9690-6fe74c976b8e + Name : Server2.contoso.com + LastHeartbeat : 8/13/2014 2:28:58 PM + ProviderVersion : 3.5 + ServerVersion : 3.2.7510.0 + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryRecoveryPlanFile + + + Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. + + + + + Get + AzureSiteRecoveryRecoveryPlanFile + + + + Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + + + + + Get-AzureSiteRecoveryRecoveryPlanFile + + Id + + Id of the recovery Plan + + string + + + Path + + Path to store the recovery plan xml file + + string + + + + Get-AzureSiteRecoveryRecoveryPlanFile + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Path + + Path to store the recovery plan xml file + + string + + + + + + + Id + + Id of the recovery Plan + + + string + + string + + + + + + Path + + Path to store the recovery plan xml file + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $Rp = Get-AzureSiteRecoveryRecoveryPlan; Get-AzureSiteRecoveryRecoveryPlanFile -RecoveryPlan $Rp -Path C:\Users\Contoso\Desktop\RP.xml + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryVM + + + Get information about Virtual Machines managed in Azure Site Recovery + + + + + Get + AzureSiteRecoveryVM + + + + Get information about Virtual Machines managed in Azure site Recovery + + + + + Get-AzureSiteRecoveryVM + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryVM + + Id + + Id of the Virtual Machine + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryVM + + Name + + Name of the Virtual Machine + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryVM + + ProtectionContianerId + + ID of the Protection Container + + string + + + + Get-AzureSiteRecoveryVM + + Id + + Id of the Virtual Machine + + string + + + ProtectionContianerId + + ID of the Protection Container + + string + + + + Get-AzureSiteRecoveryVM + + Name + + Name of the Virtual Machine + + string + + + ProtectionContianerId + + ID of the Protection Container + + string + + + + + + + Id + + Id of the Virtual Machine + + + string + + string + + + + + + Name + + Name of the Virtual Machine + + + string + + string + + + + + + ProtectionContainer + + Protection Container object + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + ProtectionContianerId + + ID of the Protection Container + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $protectionContainer = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryVM -ProtectionContainer $protectionContainer + + ID : a205fd17-3848-4896-bab6-9dbccc3cd8ed + ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c + ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc + Name : vm1 + Type : VirtualMachine + FabricObjectId : 86447b9e-d877-4e9a-8302-adcd6bbf18c0 + Protected : False + CanCommit : False + CanFailover : True + CanReverseReplicate : False + ActiveLocation : Primary + ProtectionState : Enabled + ReplicationHealth : Healthy + TestFailoverState : None + ReplicationProvider : HyperVReplica + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryVaultSettings + + + Gets Azure Site Recovery Vault settings information + + + + + Get + AzureSiteRecoveryVaultSettings + + + + Gets Azure Site Recovery Vault settings information + + + + + Get-AzureSiteRecoveryVaultSettings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryVaultSettings + + ResourceName CloudServiceName + ------------ ---------------- + ContosoVault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryProtectionContainer + + + Get information about Azure site recovery Protection container under current Azure Site Vault + + + + + Get + AzureSiteRecoveryProtectionContainer + + + + Get information about Azure site recovery Protection container under current Azure Site Vault. A protection container is the logical container for protection entities on which replication settings can be configured + + + + + Get-AzureSiteRecoveryProtectionContainer + + + Get-AzureSiteRecoveryProtectionContainer + + Id + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionContainer + + Name + + Name of the Protection Container + + string + + + + + + + Id + + Id of the Protection Container + + + string + + string + + + + + + Name + + Name of the Protection Container + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryProtectionContainer + + ID : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc + Name : SourceCloud + ConfigurationStatus : Configured + PairedTo : 78facf56-b273-4941-82fd-ccb0b7597b30_5ed455e4-4933-4cff-b9dd-1b628068d972 + Role : Primary + ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c + FabricObjectId : f0982c81-dfb1-4bfa-ba0d-a7d941f6e8c7 + + + ID : 78facf56-b273-4941-82fd-ccb0b7597b30_5ed455e4-4933-4cff-b9dd-1b628068d972 + Name : TargetCloud + ConfigurationStatus : Configured + PairedTo : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc + Role : Recovery + ServerId : 78facf56-b273-4941-82fd-ccb0b7597b30 + FabricObjectId : f0982c81-dfb1-4bfa-ba0d-a7d941f6e8c7 + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryJob + + + Get the information of the operation for current Azure Site Recovery Vault + + + + + Get + AzureSiteRecoveryJob + + + + Get the information of the operation for current Azure Site Recovery Vault + + + + + Get-AzureSiteRecoveryJob + + Id + + Id of job + + string + + + + Get-AzureSiteRecoveryJob + + Job + + Job object + + ASRJob + + + + Get-AzureSiteRecoveryJob + + StartTime + + Takes datetime as input. Allows to filter the list of jobs started after the given starttime + + datetime + + + State + + Take string input for possible states of ASR Job. Use this parameter to get filtered view of Jobs. Possible states include: Aborted, Cancelled, Cancelling, Completed, Failed, InProgress, PartiallySucceeded, CompletedWithInformation, RolledBack, Skipped, Waiting, WaitingForFinalizeProtection, WaitingForManualAction, WaitingForStopTestFailover, WaitingForUserInputAfterDataSync, NotStarted, Unknown. + + string + + + + + + + Id + + Id of job + + + string + + string + + + + + + Job + + Job object + + + ASRJob + + ASRJob + + + + + + StartTime + + Takes datetime as input. Allows to filter the list of jobs started after the given starttime + + + datetime + + datetime + + + + + + State + + Take string input for possible states of ASR Job. Use this parameter to get filtered view of Jobs. Possible states include: Aborted, Cancelled, Cancelling, Completed, Failed, InProgress, PartiallySucceeded, CompletedWithInformation, RolledBack, Skipped, Waiting, WaitingForFinalizeProtection, WaitingForManualAction, WaitingForStopTestFailover, WaitingForUserInputAfterDataSync, NotStarted, Unknown. + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryJob -Id d0b56c01-1fd7-411a-94e9-be717ac6601e + + ID : d0b56c01-1fd7-411a-94e9-be717ac6601e + ClientRequestId : 0d259706-7882-4614-81bf-7d155f3600cb-2014-10-06 09:40:26Z + State : Succeeded + StateDescription : Completed + StartTime : 10/6/2014 9:40:28 AM + EndTime : 10/6/2014 9:40:30 AM + AllowedActions : {Cancel, Restart} + Name : Remove classification configuration + Tasks : {Prerequisites check for unpairing classifications, Unpairing classifications} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryRecoveryPlan + + + Get information of the Recovery Plan for current Azure Site Recovery Vault + + + + + Get + AzureSiteRecoveryRecoveryPlan + + + + Get information of the Recovery Plan for current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + + + + + Get-AzureSiteRecoveryRecoveryPlan + + + Get-AzureSiteRecoveryRecoveryPlan + + Name + + name of the recovery plan + + string + + + + Get-AzureSiteRecoveryRecoveryPlan + + Id + + Id of the recovery plan + + string + + + + + + + Id + + Id of the recovery plan + + + string + + string + + + + + + Name + + name of the recovery plan + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryRecoveryPlan + + ID Name ServerId TargetServerId + -- ---- -------- -------------- + 71de8ebc-1e9a-4242-aec3-ee... ContosoPlan 4a94c4a9-c856-4577-afbd-36... 78facf56-b273-4941-82fd-cc... + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryProtectionEntity + + + Get the list of Protection Entities like "VMs" + + + + + Get + AzureSiteRecoveryProtectionEntity + + + + Get the list of Protection Entities like "VMs" . A Protection Entity is an object which can be protected using Azure site Recovery + + + + + Get-AzureSiteRecoveryProtectionEntity + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryProtectionEntity + + Id + + Id of the Protection Entity + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryProtectionEntity + + Name + + Name of the Protection Entity + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryProtectionEntity + + ProtectionContainerId + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionEntity + + Id + + Id of the Protection Entity + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionEntity + + Name + + Name of the Protection Entity + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + + + + + Id + + Id of the Protection Entity + + + string + + string + + + + + + Name + + Name of the Protection Entity + + + string + + string + + + + + + ProtectionContainer + + Protection Container object + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC + + ID : 43aaab46-1cb0-4c39-8077-9a091c3b05ce + ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c + ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc + Name : testvm + Type : VirtualMachine + FabricObjectId : 506B3CAC-5758-49E2-98C4-E5B0512E4D8E + Protected : False + CanCommit : False + CanFailover : False + CanReverseReplicate : False + ActiveLocation : Primary + ProtectionStateDescription : Enabling protection + ReplicationHealth : + TestFailoverStateDescription : None + ReplicationProvider : HyperVReplica + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Import-AzureSiteRecoveryVaultSettingsFile + + + Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault + + + + + Import + AzureSiteRecoveryVaultSettingsFile + + + + Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault. The Vault settings file can be downloaded from Azure site recovery Vault by logging on the Azure portal + + + + + Import-AzureSiteRecoveryVaultSettingsFile + + Path + + Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + + string + + + + + + + Path + + Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Import-AzureSiteRecoveryVaultSettingsFile -Path "C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials" + + VERBOSE: Vault Settings File path: C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials + + ResourceName CloudServiceName + ------------ ---------------- + Contosovault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureSiteRecoveryRecoveryPlan + + + Adds a Recovery Plan in to a current Azure Site Recovery Vault + + + + + New + AzureSiteRecoveryRecoveryPlan + + + + Adds a Recovery Plan in to a current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery. + + + + + New-AzureSiteRecoveryRecoveryPlan + + File + + Recovery Plan file + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + File + + Recovery Plan file + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + New-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + + ID : 189283c7-7fd9-4010-8bf1-d2a2e4a46df4 + ClientRequestId : 6c56d96e-dfdd-4898-81cf-8562f51a8129-2014-34-06 15:34:23Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + + Remove a Recovery Plan from the current Azure Site Recovery Vault + + + + + Remove + AzureSiteRecoveryRecoveryPlan + + + + Remove a Recovery Plan from the current Azure Site Recovery Vault + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + Id + + Id of the Recovery Plan + + string + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Force + + Bypasses confirmation on passing + + + SwitchParameter + + SwitchParameter + + + + + + Id + + Id of the Recovery Plan + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $Rp = Get-AzureSiteRecoveryRecoveryPlan; Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan $Rp + + ID : 20329f92-9ed6-4529-8b74-d83309623248 + ClientRequestId : 6c967844-096f-4ca6-a166-55936fd6d61c-2014-36-06 15:36:40Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Restart-AzureSiteRecoveryJob + + + Restarts the Operation in Azure Site Recovery + + + + + Restart + AzureSiteRecoveryJob + + + + Restarts the Operation in Azure Site Recovery . This cmdlet is allowed on failed and cancelled jobs . To know allowed actions on a job look for Allowed Actions in job object + + + + + Restart-AzureSiteRecoveryJob + + Id + + Id of the Azure Site Recovery Job + + string + + + + Restart-AzureSiteRecoveryJob + + Job + + + + ASRJob + + + + + + + Id + + Id of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Restart-AzureSiteRecoveryJob -Id bbf0b839-9aaa-49e1-8354-601c9145966d + + ID : bbf0b839-9aaa-49e1-8354-601c9145966d + ClientRequestId : ef42c8b0-640c-4442-960b-349f83d161a5-2014-24-06 14:24:04Z-P + State : Failed + StateDescription : Failed + StartTime : 10/6/2014 9:41:08 AM + EndTime : 10/6/2014 9:41:21 AM + AllowedActions : {Cancel, Restart} + Name : Enable protection + Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, + Starting initial replication...} + Errors : {CreateProtectionTargetTask} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Resume-AzureSiteRecoveryJob + + + Resumes a suspended job in Azure Site Recovery + + + + + Resume + AzureSiteRecoveryJob + + + + Resumes the Operation in Azure Site Recovery . This cmdlet is allowed on suspended jobs . To know allowed actions on a job look for Allowed Actions in job object + + + + + Resume-AzureSiteRecoveryJob + + Id + + ID of the Azure Site Recovery Job + + string + + + Comments + + User comment can be specified while resuming the Job + + string + + + + Resume-AzureSiteRecoveryJob + + Job + + ASR Job object + + ASRJob + + + Comments + + User comment can be specified while resuming the Job + + string + + + + + + + Comments + + User comment can be specified while resuming the Job + + + string + + string + + + + + + Id + + ID of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + ASR Job object + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $jobs= Get-AzureSiteRecoveryJob; Resume-AzureSiteRecoveryJob -Job $jobs + + ID : d16397fb-cdf1-4972-b677-c333f3c557b4 + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : Suspended + StateDescription : WaitingForManualAction + StartTime : 10/6/2014 10:19:28 AM + EndTime : 10/6/2014 10:19:31 AM + AllowedActions : {Cancel, RestartTestFailoverCleanup} + Name : Test failover + Tasks : {Recovery plan preflight checks, Create test environment, All groups failover: Pre steps (1), + Recovery plan failover...} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureSiteRecoveryProtectionEntity + + + Sets the Protection on a protection entity for Azure Site Recovery + + + + + Set + AzureSiteRecoveryProtectionEntity + + + + Sets the Protection on a protection entity for Azure Site Recovery. This is async cmdlet which will only start the operation and return the job object. The success of operation can be tracked using Get-AzuresiteRecoveryObject + + + + + Set-AzureSiteRecoveryProtectionEntity + + Id + + ID of the protection entity + + string + + + ProtectedContainerId + + ID of the Protected Container + + string + + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + string + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + Set-AzureSiteRecoveryProtectionEntity + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + string + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Id + + ID of the protection entity + + + string + + string + + + + + + ProtectedContainerId + + ID of the Protected Container + + + string + + string + + + + + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE -Protection Enable + + ID : e4dd2c3d-4195-4f31-9f73-c8d71b998e81 + ClientRequestId : 3d9e28b4-cf5b-4ae3-8ac5-12c850e2eee9-2014-42-06 15:42:08Z-P + State : InProgress + StateDescription : InProgress + StartTime : 10/6/2014 10:12:14 AM + EndTime : + AllowedActions : {Cancel, Restart} + Name : Enable protection + Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, + Starting initial replication...} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryTestFailoverJob + + + Start the Test Failover operation for a Virtual Machine or Recovery Plan under Azure Site Recovery + + + + + Start + AzureSiteRecoveryTestFailoverJob + + + + Start the Test Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the test failover job and success of test failover can be tracked state of the Job using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryTestFailoverJob + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + RpId + + Id of the Recovery Plan + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + LogicalNetworkId + + Logical Network Id + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + VmNetworkId + + Id of the VM Network + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + LogicalNetworkId + + Logical Network Id + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + VmNetworkId + + Id of the VM Network + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + LogicalNetworkId + + Logical Network Id + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + VmNetworkId + + Id of the VM Network + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryTestFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + + + + + + + Start + AzureSiteRecoveryUnplannedFailoverJob + + + + Start the Unplanned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover job and success of failover can be tracked state of the Job using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + PrimaryAction + + Indicates whether primary site actions are required or not + + bool + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + RpId + + Id of the Recovery Plan + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + PrimaryAction + + Indicates whether primary site actions are required or not + + bool + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + PerformSourceSiteOperations + + Indicates whether source site operations can be done or not + + bool + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + PerformSourceSiteOperations + + Indicates whether source site operations can be done or not + + bool + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + PerformSourceSiteOperations + + Indicates whether source site operations can be done or not + + + bool + + bool + + + + + + PrimaryAction + + Indicates whether primary site actions are required or not + + + bool + + bool + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryUnplannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + + Start the commit failover of the Azure Site Recovery object after failover + + + + + Start + AzureSiteRecoveryCommitFailoverJob + + + + Start the commit failover of the Azure Site Recovery object after failover. This will start the commit and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + WaitForCompletion + + Waits for + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + RpId + + Id of the Recovery Plan + + string + + + WaitForCompletion + + Waits for + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + WaitForCompletion + + Waits for + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + WaitForCompletion + + Waits for + + + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits for + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryCommitFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + + Start the Planned Failover operation for a Virtual Machine or Recovery Plan under Azure Site Recovery + + + Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + + Start + AzureSiteRecoveryPlannedFailoverJob + + + + + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + RpId + + Id of the Recovery Plan + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryPlannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Stop-AzureSiteRecoveryJob + + + Stops the Azure Site Recovery Job. Specify a running Job only. + + + Stops the Azure Site Recovery Job. This cmdlet is applicable on a running Job only. To know the allowed actions look for Allowedactions property of Job object + + Stop + AzureSiteRecoveryJob + + + + + + + + + Stop-AzureSiteRecoveryJob + + Id + + ID of the Azure Site Recovery Job + + string + + + + Stop-AzureSiteRecoveryJob + + Job + + ASR Job object + + ASRJob + + + + + + + Id + + ID of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + ASR Job object + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $jobs= Get-AzureSiteRecoveryJob; Stop-AzureSiteRecoveryJob -Job $jobs + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Update-AzureSiteRecoveryRecoveryPlan + + + Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one + + + + + Update + AzureSiteRecoveryRecoveryPlan + + + + Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one . A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + + + + + Update-AzureSiteRecoveryRecoveryPlan + + File + + XML file containing the Recovery Plan + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + File + + XML file containing the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Update-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Update-AzureSiteRecoveryProtectionDirection + + + + + + + + Update + AzureSiteRecoveryProtectionDirection + + + + Update the source and target server for the protection for Azure Site recovery Object after the commitfailover is completed . This is async cmdlet which will only start the operation and return the job object. The success of operation can be tracked using Get-AzuresiteRecoveryObject + + + + + Update-AzureSiteRecoveryProtectionDirection + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + RpId + + Id of the Recovery Plan + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $PE -Direction RecoveryToPrimary + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs new file mode 100644 index 000000000000..8ba046e6aa49 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs @@ -0,0 +1,253 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.IO; +using System.Net; +using System.Runtime.Serialization; +using System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Web.Script.Serialization; +using System.Xml; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Factories; +using Microsoft.WindowsAzure.Commands.Common.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.RecoveryServices; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// client request id. + /// + public string ClientRequestId { get; set; } + + /// + /// Amount of time to sleep before fetching job details again. + /// + public const int TimeToSleepBeforeFetchingJobDetailsAgain = 30000; + + /// + /// Resource credentials holds vault, cloud service name, vault key and other details. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1401:FieldsMustBePrivate", + Justification = "For Resource Credentials.")] + public static ASRVaultCreds asrVaultCreds = new ASRVaultCreds(); + + /// + /// Recovery Services client. + /// + private RecoveryServicesManagementClient recoveryServicesClient; + + /// + /// Initializes a new instance of the class. + /// + public PSRecoveryServicesClient() + { + } + + /// + /// Initializes a new instance of the class with + /// required current subscription. + /// + /// Azure Subscription + public PSRecoveryServicesClient(AzureSubscription azureSubscription) + { + this.recoveryServicesClient = + AzureSession.ClientFactory.CreateClient(azureSubscription, AzureEnvironment.Endpoint.ServiceManagement); + } + + /// + /// Retrieves Azure Cloud services. + /// + /// Cloud service list response + public CloudServiceListResponse GetAzureCloudServicesSyncInt() + { + return this.recoveryServicesClient.CloudServices.List(); + } + + /// + /// Validates current in-memory Vault Settings. + /// + /// Resource Name + /// Cloud Service Name + /// Cloud Services + /// Whether Vault settings are valid or not + public bool ValidateVaultSettings( + string resourceName, + string cloudServiceName, + CloudServiceListResponse services = null) + { + if (string.IsNullOrEmpty(resourceName) || string.IsNullOrEmpty(cloudServiceName)) + { + throw new InvalidOperationException(Properties.Resources.MissingVaultSettings); + } + + if (null == services) + { + services = this.recoveryServicesClient.CloudServices.List(); + } + + CloudService selectedCloudService = null; + Vault selectedResource = null; + + foreach (CloudService cloudService in services) + { + if (cloudService.Name == cloudServiceName) + { + selectedCloudService = cloudService; + } + } + + if (null == selectedCloudService) + { + throw new ArgumentException(Properties.Resources.InvalidCloudService); + } + + foreach (Vault vault in selectedCloudService.Resources) + { + if (vault.Name == resourceName) + { + selectedResource = vault; + } + } + + if (null == selectedResource) + { + throw new ArgumentException(Properties.Resources.InvalidResource); + } + + return true; + } + + /// + /// Site Recovery requests that go to on-premise components (like the Provider installed + /// in VMM) require an authentication token that is signed with the vault key to indicate + /// that the request indeed originated from the end-user client. + /// Generating that authentication token here and sending it via http headers. + /// + /// Unique identifier for the client's request + /// The authentication token for the provider + public string GenerateAgentAuthenticationHeader(string clientRequestId) + { + CikTokenDetails cikTokenDetails = new CikTokenDetails(); + + DateTime currentDateTime = DateTime.Now; + currentDateTime = currentDateTime.AddHours(-1); + cikTokenDetails.NotBeforeTimestamp = TimeZoneInfo.ConvertTimeToUtc(currentDateTime); + cikTokenDetails.NotAfterTimestamp = cikTokenDetails.NotBeforeTimestamp.AddHours(6); + cikTokenDetails.ClientRequestId = clientRequestId; + cikTokenDetails.Version = new Version(1, 2); + cikTokenDetails.PropertyBag = new Dictionary(); + + string shaInput = new JavaScriptSerializer().Serialize(cikTokenDetails); + + if (null == asrVaultCreds.ChannelIntegrityKey) + { + throw new ArgumentException(Properties.Resources.MissingChannelIntergrityKey); + } + HMACSHA256 sha = new HMACSHA256(Encoding.UTF8.GetBytes(asrVaultCreds.ChannelIntegrityKey)); + cikTokenDetails.Hmac = + Convert.ToBase64String(sha.ComputeHash(Encoding.UTF8.GetBytes(shaInput))); + cikTokenDetails.HashFunction = CikSupportedHashFunctions.HMACSHA256.ToString(); + + return new JavaScriptSerializer().Serialize(cikTokenDetails); + } + + /// + /// Gets request headers. + /// + /// Custom request headers + public CustomRequestHeaders GetRequestHeaders() + { + this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToString("yyyy-mm-dd HH:mm:ssZ") + "-P"; + + return new CustomRequestHeaders() + { + // ClientRequestId is a unique ID for every request to Azure Site Recovery. + // It is useful when diagnosing failures in API calls. + ClientRequestId = this.ClientRequestId, + AgentAuthenticationHeader = this.GenerateAgentAuthenticationHeader(this.ClientRequestId) + }; + } + + /// + /// Gets Site Recovery client. + /// + /// Site Recovery Management client + private SiteRecoveryManagementClient GetSiteRecoveryClient() + { + CloudServiceListResponse services = this.recoveryServicesClient.CloudServices.List(); + this.ValidateVaultSettings( + asrVaultCreds.ResourceName, + asrVaultCreds.CloudServiceName, + services); + + CloudService selectedCloudService = null; + Vault selectedResource = null; + + foreach (CloudService cloudService in services) + { + if (cloudService.Name == asrVaultCreds.CloudServiceName) + { + selectedCloudService = cloudService; + } + } + + if (null == selectedCloudService) + { + throw new ArgumentException(Properties.Resources.InvalidCloudService); + } + + foreach (Vault vault in selectedCloudService.Resources) + { + if (vault.Name == asrVaultCreds.ResourceName) + { + selectedResource = vault; + } + } + + if (null == selectedResource) + { + throw new ArgumentException(Properties.Resources.InvalidResource); + } + + SiteRecoveryManagementClient siteRecoveryClient = + AzureSession.ClientFactory.CreateCustomClient(asrVaultCreds.CloudServiceName, asrVaultCreds.ResourceName, recoveryServicesClient.Credentials, AzureSession.CurrentContext.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)); + + if (null == siteRecoveryClient) + { + throw new InvalidOperationException(Properties.Resources.NullRecoveryServicesClient); + } + + return siteRecoveryClient; + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs new file mode 100644 index 000000000000..f11c6c679d60 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Job details. + /// + /// Job ID + /// Job response + public JobResponse GetAzureSiteRecoveryJobDetails(string jobId) + { + return this.GetSiteRecoveryClient().Jobs.Get(jobId, this.GetRequestHeaders()); + } + + /// + /// Get Azure Site Recovery Job. + /// + /// Job query parameter. + /// Job list response + public JobListResponse GetAzureSiteRecoveryJob(JobQueryParameter jqp) + { + return this.GetSiteRecoveryClient().Jobs.List(jqp, this.GetRequestHeaders()); + } + + /// + /// Stops Azure Site Recovery Job. + /// + /// Job ID + public void StopAzureSiteRecoveryJob(string jobId) + { + this.GetSiteRecoveryClient().Jobs.Cancel(jobId, this.GetRequestHeaders()); + } + + /// + /// Restarts Azure Site Recovery Job. + /// + /// Job ID + /// Job response + public JobResponse RestartAzureSiteRecoveryJob(string jobId) + { + return this.GetSiteRecoveryClient().Jobs.Restart(jobId, this.GetRequestHeaders()); + } + + /// + /// Resumes Azure Site Recovery Job. + /// + /// Job ID + /// Resume Job parameters + /// Job response + public JobResponse ResumeAzureSiteRecoveryJob( + string jobId, + ResumeJobParams resumeJobParams) + { + return this.GetSiteRecoveryClient().Jobs.Resume(jobId, resumeJobParams, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs new file mode 100644 index 000000000000..6c95b10d1b31 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs @@ -0,0 +1,196 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Represents Enable protection. + /// + public const string EnableProtection = "Enable"; + + /// + /// Represents Disable protection. + /// + public const string DisableProtection = "Disable"; + + /// + /// Retrieves Protection Entity. + /// + /// Protection Container ID + /// Protection entity list response + public ProtectionEntityListResponse GetAzureSiteRecoveryProtectionEntity( + string protectionContainerId) + { + return + this + .GetSiteRecoveryClient() + .ProtectionEntity + .List(protectionContainerId, this.GetRequestHeaders()); + } + + /// + /// Retrieves Protection Entity. + /// + /// Protection Container ID + /// Virtual Machine ID + /// Protection entity response + public ProtectionEntityResponse GetAzureSiteRecoveryProtectionEntity( + string protectionContainerId, + string virtualMachineId) + { + return + this + .GetSiteRecoveryClient() + .ProtectionEntity + .Get(protectionContainerId, virtualMachineId, this.GetRequestHeaders()); + } + + /// + /// Sets protection on Protection entity. + /// + /// Protection Container ID + /// Virtual Machine ID + /// Protection state to set + /// Job response + public JobResponse SetProtectionOnProtectionEntity( + string protectionContainerId, + string virtualMachineId, + string protection) + { + var requestHeaders = this.GetRequestHeaders(); + + JobResponse jobResponse = null; + + if (0 == string.Compare(EnableProtection, protection, StringComparison.OrdinalIgnoreCase)) + { + jobResponse = + this.GetSiteRecoveryClient().ProtectionEntity.EnableProtection( + protectionContainerId, + virtualMachineId, + requestHeaders); + } + else if (0 == string.Compare(DisableProtection, protection, StringComparison.OrdinalIgnoreCase)) + { + jobResponse = + this.GetSiteRecoveryClient().ProtectionEntity.DisableProtection( + protectionContainerId, + virtualMachineId, + requestHeaders); + } + + return jobResponse; + } + + /// + /// Starts Azure Site Recovery Planned failover. + /// + /// Protection Container ID + /// Protection entity ID + /// Planned failover request + /// Job response + public JobResponse StartAzureSiteRecoveryPlannedFailover( + string protectionContainerId, + string protectionEntityId, + PlannedFailoverRequest plannedFailoverRequest) + { + return this.GetSiteRecoveryClient().ProtectionEntity.PlannedFailover( + protectionContainerId, + protectionEntityId, + plannedFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Unplanned failover. + /// + /// Protection Container ID + /// Protection entity ID + /// Unplanned failover request + /// Job response + public JobResponse StartAzureSiteRecoveryUnplannedFailover( + string protectionContainerId, + string protectionEntityId, + UnplannedFailoverRequest unplannedFailoverRequest) + { + return this.GetSiteRecoveryClient().ProtectionEntity.UnplannedFailover( + protectionContainerId, + protectionEntityId, + unplannedFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Unplanned failover. + /// + /// Protection Container ID + /// Protection entity ID + /// Test failover request + /// Job response + public JobResponse StartAzureSiteRecoveryTestFailover( + string protectionContainerId, + string protectionEntityId, + TestFailoverRequest testFailoverRequest) + { + return this.GetSiteRecoveryClient().ProtectionEntity.TestFailover( + protectionContainerId, + protectionEntityId, + testFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Commit failover. + /// + /// Protection Container ID + /// Recovery Plan ID + /// Job response + public JobResponse StartAzureSiteRecoveryCommitFailover( + string protectionContainerId, + string protectionEntityId) + { + return this.GetSiteRecoveryClient().ProtectionEntity.CommitFailover( + protectionContainerId, + protectionEntityId, + this.GetRequestHeaders()); + } + + /// + /// Re-protects the Azure Site Recovery protection entity. + /// + /// Protection Container ID + /// Recovery Plan ID + /// Job response + public JobResponse StartAzureSiteRecoveryReprotection( + string protectionContainerId, + string protectionEntityId) + { + var request = new ReprotectRequest(); + return this.GetSiteRecoveryClient().ProtectionEntity.Reprotect( + protectionContainerId, + protectionEntityId, + request, + this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs new file mode 100644 index 000000000000..8300ffecc1a3 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Protection Container. + /// + /// Protection Container list response + public ProtectionContainerListResponse GetAzureSiteRecoveryProtectionContainer() + { + return this.GetSiteRecoveryClient().ProtectionContainer.List(this.GetRequestHeaders()); + } + + /// + /// Gets Azure Site Recovery Protection Container. + /// + /// Protection Container ID + /// Protection Container response + public ProtectionContainerResponse GetAzureSiteRecoveryProtectionContainer( + string protectionContainerId) + { + return this.GetSiteRecoveryClient().ProtectionContainer.Get(protectionContainerId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs new file mode 100644 index 000000000000..6cdf97cb4fc7 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs @@ -0,0 +1,192 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Represents direction primary to secondary. + /// + public const string PrimaryToRecovery = "PrimaryToRecovery"; + + /// + /// Represents direction secondary to primary. + /// + public const string RecoveryToPrimary = "RecoveryToPrimary"; + + /// + /// Represents primary location. + /// + public const string PrimaryLocation = "Primary"; + + /// + /// Represents Recovery location. + /// + public const string RecoveryLocation = "Recovery"; + + /// + /// Gets Azure Site Recovery Plan. + /// + /// Recovery Plan list response + public RecoveryPlanListResponse GetAzureSiteRecoveryRecoveryPlan() + { + return this.GetSiteRecoveryClient().RecoveryPlan.List(this.GetRequestHeaders()); + } + + /// + /// Get Azure Site Recovery recovery plan XML. + /// + /// Recovery plan id. + /// Recovery plan XML. + public RecoveryPlanXmlOuput GetAzureSiteRecoveryRecoveryPlanFile(string recoveryPlanId) + { + return this.GetSiteRecoveryClient().RecoveryPlan.GetRecoveryPlanXml( + recoveryPlanId, + this.GetRequestHeaders()); + } + + /// + /// Gets Azure Site Recovery Recovery Plan. + /// + /// Recovery Plan ID + /// Recovery Plan response + public RecoveryPlanResponse GetAzureSiteRecoveryRecoveryPlan(string recoveryPlanId) + { + return this.GetSiteRecoveryClient().RecoveryPlan.Get(recoveryPlanId, this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Commit failover. + /// + /// Recovery Plan ID + /// Job response + public JobResponse StartAzureSiteRecoveryCommitFailover(string recoveryPlanId) + { + return this.GetSiteRecoveryClient().RecoveryPlan.Commit(recoveryPlanId, this.GetRequestHeaders()); + } + + /// + /// Updates Azure Site Recovery protection. + /// + /// Recovery Plan ID + /// Job response + public JobResponse UpdateAzureSiteRecoveryProtection(string recoveryPlanId) + { + return this.GetSiteRecoveryClient().RecoveryPlan.Reprotect(recoveryPlanId, this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Planned failover. + /// + /// Recovery Plan ID + /// Recovery Plan Planned failover request + /// Job response + public JobResponse StartAzureSiteRecoveryPlannedFailover( + string recoveryPlanId, + RpPlannedFailoverRequest recoveryPlanPlannedFailoverRequest) + { + return this.GetSiteRecoveryClient().RecoveryPlan.RecoveryPlanPlannedFailover( + recoveryPlanId, + recoveryPlanPlannedFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery Unplanned failover. + /// + /// Recovery Plan ID + /// Recovery Plan Unplanned failover request + /// Job response + public JobResponse StartAzureSiteRecoveryUnplannedFailover( + string recoveryPlanId, + RpUnplannedFailoverRequest recoveryPlanUnPlannedFailoverRequest) + { + return this.GetSiteRecoveryClient().RecoveryPlan.RecoveryPlanUnplannedFailover( + recoveryPlanId, + recoveryPlanUnPlannedFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Starts Azure Site Recovery test failover. + /// + /// Recovery Plan ID + /// Recovery Plan test failover request + /// Job response + public JobResponse StartAzureSiteRecoveryTestFailover( + string recoveryPlanId, + RpTestFailoverRequest recoveryPlanTestFailoverRequest) + { + return this.GetSiteRecoveryClient().RecoveryPlan.RecoveryPlanTestFailover( + recoveryPlanId, + recoveryPlanTestFailoverRequest, + this.GetRequestHeaders()); + } + + /// + /// Remove Azure Site Recovery recovery plan. + /// + /// Recovery plan id. + /// Job response + public JobResponse RemoveAzureSiteRecoveryRecoveryPlan(string recoveryPlanId) + { + return this.GetSiteRecoveryClient().RecoveryPlan.Delete( + recoveryPlanId, + this.GetRequestHeaders()); + } + + /// + /// Create Azure Site Recovery Recovery Plan. + /// + /// Recovery Plan Xml. + /// Job response + public JobResponse CreateAzureSiteRecoveryRecoveryPlan(string recoveryPlanXml) + { + RecoveryPlanXmlData recoveryPlanXmlData = new RecoveryPlanXmlData + { + RecoveryPlanXml = recoveryPlanXml + }; + + return this.GetSiteRecoveryClient().RecoveryPlan.CreateRecoveryPlan( + recoveryPlanXmlData, + this.GetRequestHeaders()); + } + + /// + /// Update Azure Site Recovery Recovery Plan. + /// + /// Recovery Plan Xml. + /// Job response + public JobResponse UpdateAzureSiteRecoveryRecoveryPlan(string recoveryPlanXml) + { + RecoveryPlanXmlData recoveryPlanXmlData = new RecoveryPlanXmlData + { + RecoveryPlanXml = recoveryPlanXml + }; + + return this.GetSiteRecoveryClient().RecoveryPlan.UpdateRecoveryPlan( + recoveryPlanXmlData, + this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs new file mode 100644 index 000000000000..24795e067687 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Servers. + /// + /// Server list response + public ServerListResponse GetAzureSiteRecoveryServer() + { + return this.GetSiteRecoveryClient().Servers.List(this.GetRequestHeaders()); + } + + /// + /// Gets Azure Site Recovery Server. + /// + /// Server ID + /// Server response + public ServerResponse GetAzureSiteRecoveryServer(string serverId) + { + return this.GetSiteRecoveryClient().Servers.Get(serverId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs new file mode 100644 index 000000000000..4fbaea6a422b --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs @@ -0,0 +1,51 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Virtual Machines. + /// + /// Protection Container ID + /// Virtual Machine list response + public VirtualMachineListResponse GetAzureSiteRecoveryVirtualMachine( + string protectionContainerId) + { + return this.GetSiteRecoveryClient().Vm.List(protectionContainerId, this.GetRequestHeaders()); + } + + /// + /// Gets Azure Site Recovery Virtual Machine. + /// + /// Protection Container ID + /// Virtual Machine ID + /// Virtual Machine response + public VirtualMachineResponse GetAzureSiteRecoveryVirtualMachine( + string protectionContainerId, + string virtualMachineId) + { + return this.GetSiteRecoveryClient().Vm.Get(protectionContainerId, virtualMachineId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs new file mode 100644 index 000000000000..f16cb4c1584e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs @@ -0,0 +1,51 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Retrieves Virtual Machine group. + /// + /// Protection Container ID + /// Virtual Machine group list response + public VirtualMachineGroupListResponse GetAzureSiteRecoveryVirtualMachineGroup( + string protectionContainerId) + { + return this.GetSiteRecoveryClient().VmGroup.List(protectionContainerId, this.GetRequestHeaders()); + } + + /// + /// Retrieves Virtual Machine group. + /// + /// Protection Container ID + /// Virtual Machine group ID + /// Virtual Machine group response + public VirtualMachineGroupResponse GetAzureSiteRecoveryVirtualMachineGroup( + string protectionContainerId, + string virtualMachineGroupId) + { + return this.GetSiteRecoveryClient().VmGroup.Get(protectionContainerId, virtualMachineGroupId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/AssemblyInfo.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..66151ce08165 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Reflection; +using System.Runtime.CompilerServices; +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 Azure Powershell")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Microsoft Azure Powershell")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +[assembly: AssemblyVersion("0.8.3")] +[assembly: AssemblyFileVersion("0.8.3")] +[assembly: CLSCompliant(false)] diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..a344efd311f0 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs @@ -0,0 +1,275 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.RecoveryServices.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.RecoveryServices.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Operation Failed. + ///Message: {0} + ///Possible Causes: {1} + ///Recommended Action: {2} + ///ClientRequestId: {3}. + /// + internal static string CloudExceptionDetails { + get { + return ResourceManager.GetString("CloudExceptionDetails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cloud Service name mentioned is either null or empty. + /// + internal static string CloudServiceNameNullOrEmpty { + get { + return ResourceManager.GetString("CloudServiceNameNullOrEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure want to disable protection on {0}. + /// + internal static string DisableProtectionWarning { + get { + return ResourceManager.GetString("DisableProtectionWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0}s protection. + /// + internal static string DisableProtectionWhatIfMessage { + get { + return ResourceManager.GetString("DisableProtectionWhatIfMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Operation failed. + ///{0}. + /// + internal static string InvalidCloudExceptionErrorMessage { + get { + return ResourceManager.GetString("InvalidCloudExceptionErrorMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cloud Service is not associated with the selected Subscription. + /// + internal static string InvalidCloudService { + get { + return ResourceManager.GetString("InvalidCloudService", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource is not associted with the selected Cloud Service. + /// + internal static string InvalidResource { + get { + return ResourceManager.GetString("InvalidResource", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to XML is malformed or file is empty, exception details: {0}. + /// + internal static string InvalidXml { + get { + return ResourceManager.GetString("InvalidXml", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault Key value is missing. Please import Vault Settings and verify the same. + /// + internal static string MissingChannelIntergrityKey { + get { + return ResourceManager.GetString("MissingChannelIntergrityKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault Settings are missing. Please import Vault Settings and verify the same. + /// + internal static string MissingVaultSettings { + get { + return ResourceManager.GetString("MissingVaultSettings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RecoveryServices client is null, please check Resource, Cloud Service information in Vault Settings. + /// + internal static string NullRecoveryServicesClient { + get { + return ResourceManager.GetString("NullRecoveryServicesClient", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protection Container {0} is not associated with the Vault {1}. + /// + internal static string ProtectionContainerNotFound { + get { + return ResourceManager.GetString("ProtectionContainerNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protection Entity {0} is not associated with Protection Container {1}. + /// + internal static string ProtectionEntityNotFound { + get { + return ResourceManager.GetString("ProtectionEntityNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protection Entity {0} is not protected.. + /// + internal static string ProtectionEntityNotProtected { + get { + return ResourceManager.GetString("ProtectionEntityNotProtected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RecoveryPlan {0} is not associated with the Vault {1}. + /// + internal static string RecoveryPlanNotFound { + get { + return ResourceManager.GetString("RecoveryPlanNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure want to remove Recovery Plan {0}. + /// + internal static string RemoveRPWarning { + get { + return ResourceManager.GetString("RemoveRPWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing Recovery Plan. + /// + internal static string RemoveRPWhatIfMessage { + get { + return ResourceManager.GetString("RemoveRPWhatIfMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource name mentioned is either null or empty. + /// + internal static string ResourceNameNullOrEmpty { + get { + return ResourceManager.GetString("ResourceNameNullOrEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server {0} is not associated with the Vault {1}. + /// + internal static string ServerNotFound { + get { + return ResourceManager.GetString("ServerNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault settings file not found, please pass the file downloaded from portal. + /// + internal static string VaultSettingFileNotFound { + get { + return ResourceManager.GetString("VaultSettingFileNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Virtual Machine Group {0} is not associated with Protection Container {1}. + /// + internal static string VirtualMachineGroupNotFound { + get { + return ResourceManager.GetString("VirtualMachineGroupNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Virtual Machine {0} is not associated with Protection Container {1}. + /// + internal static string VirtualMachineNotFound { + get { + return ResourceManager.GetString("VirtualMachineNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Waiting for completion. + /// + internal static string WaitingForCompletion { + get { + return ResourceManager.GetString("WaitingForCompletion", resourceCulture); + } + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx new file mode 100644 index 000000000000..82650fa7af7f --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Operation Failed. +Message: {0} +Possible Causes: {1} +Recommended Action: {2} +ClientRequestId: {3} + + + Cloud Service name mentioned is either null or empty + + + Operation failed. +{0} + + + Cloud Service is not associated with the selected Subscription + + + Resource is not associted with the selected Cloud Service + + + XML is malformed or file is empty, exception details: {0} + + + Vault Settings are missing. Please import Vault Settings and verify the same + + + RecoveryServices client is null, please check Resource, Cloud Service information in Vault Settings + + + Protection Container {0} is not associated with the Vault {1} + + + RecoveryPlan {0} is not associated with the Vault {1} + + + Resource name mentioned is either null or empty + + + Server {0} is not associated with the Vault {1} + + + Vault settings file not found, please pass the file downloaded from portal + + + Virtual Machine {0} is not associated with Protection Container {1} + + + Virtual Machine Group {0} is not associated with Protection Container {1} + + + Protection Entity {0} is not associated with Protection Container {1} + + + Protection Entity {0} is not protected. + + + Vault Key value is missing. Please import Vault Settings and verify the same + + + Waiting for completion + + + Are you sure want to disable protection on {0} + + + {0}s protection + + + Are you sure want to remove Recovery Plan {0} + + + Removing Recovery Plan + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs new file mode 100644 index 000000000000..a50e303d68f8 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs @@ -0,0 +1,165 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.IO; +using System.Runtime.Serialization; +using System.Threading; +using System.Xml; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// The base class for all Windows Azure Recovery Services commands + /// + public abstract class RecoveryServicesCmdletBase : AzurePSCmdlet + { + /// + /// Recovery Services client. + /// + private PSRecoveryServicesClient recoveryServicesClient; + + /// + /// Gets or sets a value indicating whether stop processing has been triggered. + /// + internal bool StopProcessingFlag { get; set; } + + /// + /// Gets Recovery Services client. + /// + internal PSRecoveryServicesClient RecoveryServicesClient + { + get + { + if (this.recoveryServicesClient == null) + { + this.recoveryServicesClient = new PSRecoveryServicesClient(CurrentContext.Subscription); + } + + return this.recoveryServicesClient; + } + } + + /// + /// Exception handler. + /// + /// Exception to handle. + public void HandleException(Exception ex) + { + string clientRequestIdMsg = string.Empty; + if (this.recoveryServicesClient != null) + { + clientRequestIdMsg = "ClientRequestId: " + this.recoveryServicesClient.ClientRequestId + "\n"; + } + + CloudException cloudException = ex as CloudException; + if (cloudException != null) + { + Error error = null; + try + { + using (Stream stream = new MemoryStream()) + { + if (cloudException.ErrorMessage != null) + { + byte[] data = System.Text.Encoding.UTF8.GetBytes(cloudException.ErrorMessage); + stream.Write(data, 0, data.Length); + stream.Position = 0; + + var deserializer = new DataContractSerializer(typeof(Error)); + error = (Error)deserializer.ReadObject(stream); + + throw new InvalidOperationException( + string.Format( + Properties.Resources.CloudExceptionDetails, + error.Message, + error.PossibleCauses, + error.RecommendedAction, + error.ClientRequestId)); + } + else + { + throw new Exception( + string.Format( + Properties.Resources.InvalidCloudExceptionErrorMessage, + clientRequestIdMsg + ex.Message), + ex); + } + } + } + catch (XmlException) + { + throw new XmlException( + string.Format( + Properties.Resources.InvalidCloudExceptionErrorMessage, + cloudException.ErrorMessage), + cloudException); + } + catch (SerializationException) + { + throw new SerializationException( + string.Format( + Properties.Resources.InvalidCloudExceptionErrorMessage, + clientRequestIdMsg + cloudException.ErrorMessage), + cloudException); + } + } + else if (ex.Message != null) + { + throw new Exception( + string.Format( + Properties.Resources.InvalidCloudExceptionErrorMessage, + clientRequestIdMsg + ex.Message), + ex); + } + } + + /// + /// Waits for the job to complete. + /// + /// Id of the job to wait for. + public void WaitForJobCompletion(string jobId) + { + JobResponse jobResponse = null; + do + { + Thread.Sleep(PSRecoveryServicesClient.TimeToSleepBeforeFetchingJobDetailsAgain); + jobResponse = this.RecoveryServicesClient.GetAzureSiteRecoveryJobDetails(jobId); + this.WriteProgress( + new System.Management.Automation.ProgressRecord( + 0, + Properties.Resources.WaitingForCompletion, + jobResponse.Job.State)); + } + while (!(jobResponse.Job.State == JobStatus.Cancelled || + jobResponse.Job.State == JobStatus.Failed || + jobResponse.Job.State == JobStatus.Suspended || + jobResponse.Job.State == JobStatus.Succeeded || + this.StopProcessingFlag)); + } + + /// + /// Handles interrupts. + /// + protected override void StopProcessing() + { + // Ctrl + C and etc + base.StopProcessing(); + this.StopProcessingFlag = true; + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs new file mode 100644 index 000000000000..7ab4f4bd117c --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a recovery plan create operation. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoveryRecoveryPlan")] + [OutputType(typeof(ASRJob))] + public class CreateAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets XML file path of the Recovery Plan. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string File {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + string recoveryPlanXml = FileUtilities.DataStore.ReadFileAsText(this.File); + this.jobResponse = RecoveryServicesClient.CreateAzureSiteRecoveryRecoveryPlan( + recoveryPlanXml); + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs new file mode 100644 index 000000000000..d562714aae4c --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs @@ -0,0 +1,146 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure site Recovery Job. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByParam)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Job ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Job Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRJob Job { get; set; } + + /// + /// Gets or sets start time. Allows to filter the list of jobs started after the given + /// start time. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, HelpMessage = "Represents start time of jobs to querying, jobs with the start time later than this will be returned")] + [ValidateNotNullOrEmpty] + public DateTime? StartTime { get; set; } + + /// + /// Gets or sets state. Take string input for possible States of ASR Job. Use this parameter + /// to get filtered view of Jobs + /// + /// Considered Valid states from WorkflowStatus enum in SRS (WorkflowData.cs) + [Parameter(ParameterSetName = ASRParameterSets.ByParam, HelpMessage = "State of job to return.")] + [ValidateNotNullOrEmpty] + [ValidateSet( + "NotStarted", + "InProgress", + "Succeeded", + "Other", + "Failed", + "Cancelled", + "Suspended")] + public string State {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + this.Id = this.Job.ID; + this.GetById(); + break; + + case ASRParameterSets.ById: + this.GetById(); + break; + + case ASRParameterSets.ByParam: + default: + this.GetByParam(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + this.WriteJob(RecoveryServicesClient.GetAzureSiteRecoveryJobDetails(this.Id).Job); + } + + /// + /// Queries by Parameters. + /// + private void GetByParam() + { + JobQueryParameter jqp = new JobQueryParameter(); + + if (this.StartTime.HasValue) + { + jqp.StartTime = + this.StartTime.Value.ToUniversalTime().ToBinary().ToString(); + } + + jqp.State = this.State; + this.WriteJobs(RecoveryServicesClient.GetAzureSiteRecoveryJob(jqp).Jobs); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + + /// + /// Writes Jobs. + /// + /// Job objects + private void WriteJobs(IList jobs) + { + this.WriteObject(jobs.Select(j => new ASRJob(j)), true); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs new file mode 100644 index 000000000000..4e4988c52081 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs @@ -0,0 +1,144 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Protection Container. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryProtectionContainer", DefaultParameterSetName = ASRParameterSets.Default)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryProtectionContainer : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets ID of the Protection Container. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets name of the Protection Container. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByName: + this.GetByName(); + break; + case ASRParameterSets.ById: + this.GetById(); + break; + case ASRParameterSets.Default: + this.GetByDefault(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by name. + /// + private void GetByName() + { + ProtectionContainerListResponse protectionContainerListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionContainer(); + + bool found = false; + foreach ( + ProtectionContainer protectionContainer in + protectionContainerListResponse.ProtectionContainers) + { + if (0 == string.Compare(this.Name, protectionContainer.Name, true)) + { + this.WriteProtectionContainer(protectionContainer); + found = true; + } + } + + if (!found) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.ProtectionContainerNotFound, + this.Name, + PSRecoveryServicesClient.asrVaultCreds.ResourceName)); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + ProtectionContainerResponse protectionContainerResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionContainer(this.Id); + + this.WriteProtectionContainer(protectionContainerResponse.ProtectionContainer); + } + + /// + /// Queries all, by default. + /// + private void GetByDefault() + { + ProtectionContainerListResponse protectionContainerListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionContainer(); + + this.WriteProtectionContainers(protectionContainerListResponse.ProtectionContainers); + } + + /// + /// Writes Protection Containers. + /// + /// List of Protection Containers + private void WriteProtectionContainers(IList protectionContainers) + { + this.WriteObject(protectionContainers.Select(pc => new ASRProtectionContainer(pc)), true); + } + + /// + /// Write Protection Container. + /// + /// Protection Container + private void WriteProtectionContainer(ProtectionContainer protectionContainer) + { + this.WriteObject(new ASRProtectionContainer(protectionContainer)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs new file mode 100644 index 000000000000..6841b405f626 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs @@ -0,0 +1,179 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Protection Entity. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.ByObject)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets ID of the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets name of the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name {get; set;} + + /// + /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Server Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer ProtectionContainer {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + case ASRParameterSets.ByObjectWithId: + case ASRParameterSets.ByObjectWithName: + this.ProtectionContainerId = this.ProtectionContainer.ID; + break; + case ASRParameterSets.ByIDs: + case ASRParameterSets.ByIDsWithId: + case ASRParameterSets.ByIDsWithName: + break; + } + + if (this.Id != null) + { + this.GetById(); + } + else if (this.Name != null) + { + this.GetByName(); + } + else + { + this.GetAll(); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by name. + /// + private void GetByName() + { + ProtectionEntityListResponse protectionEntityListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId); + + bool found = false; + foreach (ProtectionEntity pe in protectionEntityListResponse.ProtectionEntities) + { + if (0 == string.Compare(this.Name, pe.Name, true)) + { + this.WriteProtectionEntity(pe); + found = true; + } + } + + if (!found) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.ProtectionEntityNotFound, + this.Name, + this.ProtectionContainerId)); + } + } + + /// + /// Queries by Id. + /// + private void GetById() + { + ProtectionEntityResponse protectionEntityResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.Id); + + this.WriteProtectionEntity(protectionEntityResponse.ProtectionEntity); + } + + /// + /// Queries all. + /// + private void GetAll() + { + ProtectionEntityListResponse protectionEntityListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId); + + this.WriteProtectionEntities(protectionEntityListResponse.ProtectionEntities); + } + + /// + /// Writes Protection Entities. + /// + /// Protection Entities + private void WriteProtectionEntities(IList protectionEntities) + { + this.WriteObject(protectionEntities.Select(pe => new ASRProtectionEntity(pe)), true); + } + + /// + /// Writes Protection Entity. + /// + /// Protection Entity + private void WriteProtectionEntity(ProtectionEntity pe) + { + this.WriteObject(new ASRProtectionEntity(pe)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs new file mode 100644 index 000000000000..a4057970e8fa --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs @@ -0,0 +1,142 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using System.Linq; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Recovery Plan. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryRecoveryPlan", DefaultParameterSetName = ASRParameterSets.Default)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Recovery Plan ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id { get; set; } + + /// + /// Gets or sets name of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByName: + this.GetByName(); + break; + case ASRParameterSets.ById: + this.GetById(); + break; + case ASRParameterSets.Default: + this.GetByDefault(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by name. + /// + private void GetByName() + { + RecoveryPlanListResponse recoveryPlanListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan(); + + bool found = false; + foreach (RecoveryPlan recoveryPlan in recoveryPlanListResponse.RecoveryPlans) + { + if (0 == string.Compare(this.Name, recoveryPlan.Name, true)) + { + this.WriteRecoveryPlan(recoveryPlan); + found = true; + } + } + + if (!found) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.RecoveryPlanNotFound, + this.Name, + PSRecoveryServicesClient.asrVaultCreds.ResourceName)); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + RecoveryPlanResponse recoveryPlanResponse = + RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan(this.Id); + + this.WriteRecoveryPlan(recoveryPlanResponse.RecoveryPlan); + } + + /// + /// Queries all / by default. + /// + private void GetByDefault() + { + RecoveryPlanListResponse recoveryPlanListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan(); + + this.WriteRecoveryPlans(recoveryPlanListResponse.RecoveryPlans); + } + + /// + /// Writes Recovery Plans. + /// + /// List of Recovery Plans + private void WriteRecoveryPlans(IList recoveryPlans) + { + this.WriteObject(recoveryPlans.Select(rp => new ASRRecoveryPlan(rp)), true); + } + + /// + /// Writes Recovery Plan. + /// + /// Recovery Plan + private void WriteRecoveryPlan(RecoveryPlan recoveryPlan) + { + this.WriteObject(new ASRRecoveryPlan(recoveryPlan)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs new file mode 100644 index 000000000000..2050c35aa32e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs @@ -0,0 +1,88 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// This command will download the xml file for the recovery plan. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryRecoveryPlanFile", DefaultParameterSetName = ASRParameterSets.ByRPObject)] + public class GetAzureSiteRecoveryRecoveryPlanFile : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets XML file path of the Recovery Plan. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Path {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.Id = this.RecoveryPlan.ID; + break; + + case ASRParameterSets.ById: + break; + } + + this.GetRecoveryPlanFile(); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Get the recovery plan xml file. + /// + private void GetRecoveryPlanFile() + { + RecoveryPlanXmlOuput recoveryPlanXmlOuput = + RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlanFile(this.Id); + System.IO.File.WriteAllText(this.Path, recoveryPlanXmlOuput.RecoveryPlanXml); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs new file mode 100644 index 000000000000..31a8d2dd515e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs @@ -0,0 +1,142 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Server. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryServer", DefaultParameterSetName = ASRParameterSets.Default)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryServer : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets ID of the Server. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets name of the Server. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByName: + this.GetByName(); + break; + case ASRParameterSets.ById: + this.GetById(); + break; + case ASRParameterSets.Default: + this.GetAll(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by name. + /// + private void GetByName() + { + ServerListResponse serverListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryServer(); + + bool found = false; + foreach (Server server in serverListResponse.Servers) + { + if (0 == string.Compare(this.Name, server.Name, true)) + { + this.WriteServer(server); + found = true; + } + } + + if (!found) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.ServerNotFound, + this.Name, + PSRecoveryServicesClient.asrVaultCreds.ResourceName)); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + ServerResponse serverResponse = + RecoveryServicesClient.GetAzureSiteRecoveryServer(this.Id); + + this.WriteServer(serverResponse.Server); + } + + /// + /// Queries all / by default. + /// + private void GetAll() + { + ServerListResponse serverListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryServer(); + + this.WriteServers(serverListResponse.Servers); + } + + /// + /// Write Servers. + /// + /// List of Servers + private void WriteServers(IList servers) + { + this.WriteObject(servers.Select(s => new ASRServer(s)), true); + } + + /// + /// Write Server. + /// + /// Server object + private void WriteServer(Server server) + { + this.WriteObject(new ASRServer(server)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs new file mode 100644 index 000000000000..63f112cae110 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs @@ -0,0 +1,179 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Virtual Machine. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryVM", DefaultParameterSetName = ASRParameterSets.ByObject)] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryVM : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets ID of the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets name of the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name {get; set;} + + /// + /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Protection Container Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer ProtectionContainer {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + case ASRParameterSets.ByObjectWithId: + case ASRParameterSets.ByObjectWithName: + this.ProtectionContainerId = this.ProtectionContainer.ID; + break; + case ASRParameterSets.ByIDs: + case ASRParameterSets.ByIDsWithId: + case ASRParameterSets.ByIDsWithName: + break; + } + + if (this.Id != null) + { + this.GetById(); + } + else if (this.Name != null) + { + this.GetByName(); + } + else + { + this.GetAll(); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by name. + /// + private void GetByName() + { + VirtualMachineListResponse virtualMachineListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryVirtualMachine( + this.ProtectionContainerId); + + bool found = false; + foreach (VirtualMachine vm in virtualMachineListResponse.Vms) + { + if (0 == string.Compare(this.Name, vm.Name, true)) + { + this.WriteVirtualMachine(vm); + found = true; + } + } + + if (!found) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.VirtualMachineNotFound, + this.Name, + this.ProtectionContainerId)); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + VirtualMachineResponse virtualMachineResponse = + RecoveryServicesClient.GetAzureSiteRecoveryVirtualMachine( + this.ProtectionContainerId, + this.Id); + + this.WriteVirtualMachine(virtualMachineResponse.Vm); + } + + /// + /// Queries all / by default. + /// + private void GetAll() + { + VirtualMachineListResponse virtualMachineListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryVirtualMachine( + this.ProtectionContainerId); + + this.WriteVirtualMachines(virtualMachineListResponse.Vms); + } + + /// + /// Writes Virtual Machines. + /// + /// List of Virtual Machines + private void WriteVirtualMachines(IList vms) + { + this.WriteObject(vms.Select(vm => new ASRVirtualMachine(vm)), true); + } + + /// + /// Writes Virtual Machine. + /// + /// Virtual Machine + private void WriteVirtualMachine(VirtualMachine vm) + { + this.WriteObject(new ASRVirtualMachine(vm)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettings.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettings.cs new file mode 100644 index 000000000000..cc447f0f8b11 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettings.cs @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Vault Settings. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryVaultSettings")] + [OutputType(typeof(ASRVaultSettings))] + public class GetAzureSiteRecoveryVaultSettings : RecoveryServicesCmdletBase + { + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + this.WriteObject(new ASRVaultSettings( + PSRecoveryServicesClient.asrVaultCreds.ResourceName, + PSRecoveryServicesClient.asrVaultCreds.CloudServiceName)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs new file mode 100644 index 000000000000..745c05427592 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs @@ -0,0 +1,140 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Management.Automation; +using System.Runtime.Serialization; +using System.Xml; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Imports Azure Site Recovery Vault Settings. + /// + [Cmdlet(VerbsData.Import, "AzureSiteRecoveryVaultSettingsFile")] + [OutputType(typeof(ASRVaultSettings))] + public class ImportAzureSiteRecoveryVaultSettingsFile : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets path to the Azure site Recovery Vault Settings file. This file can be + /// downloaded from Azure site recovery Vault portal and stored locally. + /// + [Parameter( + Position = 0, + Mandatory = true, + HelpMessage = "AzureSiteRecovery vault settings file path", + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string Path {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + this.WriteVerbose("Vault Settings File path: " + this.Path); + + ASRVaultCreds asrVaultCreds = null; + if (File.Exists(this.Path)) + { + try + { + var serializer = new DataContractSerializer(typeof(ASRVaultCreds)); + using (var s = new FileStream( + this.Path, + FileMode.Open, + FileAccess.Read, + FileShare.Read)) + { + asrVaultCreds = (ASRVaultCreds)serializer.ReadObject(s); + } + } + catch (XmlException xmlException) + { + throw new XmlException( + string.Format(Properties.Resources.InvalidXml, xmlException)); + } + catch (SerializationException serializationException) + { + throw new SerializationException( + string.Format(Properties.Resources.InvalidXml, serializationException)); + } + } + else + { + throw new FileNotFoundException( + Properties.Resources.VaultSettingFileNotFound, + this.Path); + } + + // Validate required parameters taken from the Vault settings file. + if (string.IsNullOrEmpty(asrVaultCreds.ResourceName)) + { + throw new ArgumentException( + Properties.Resources.ResourceNameNullOrEmpty, + asrVaultCreds.ResourceName); + } + + if (string.IsNullOrEmpty(asrVaultCreds.CloudServiceName)) + { + throw new ArgumentException( + Properties.Resources.CloudServiceNameNullOrEmpty, + asrVaultCreds.CloudServiceName); + } + + try + { + RecoveryServicesClient.ValidateVaultSettings( + asrVaultCreds.ResourceName, + asrVaultCreds.CloudServiceName); + + this.ImportAzureSiteRecoveryVaultSettings(asrVaultCreds); + this.WriteObject(new ASRVaultSettings( + asrVaultCreds.ResourceName, + asrVaultCreds.CloudServiceName)); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Imports Azure Site Recovery Vault settings. + /// + /// ASR Vault credentials + public void ImportAzureSiteRecoveryVaultSettings(ASRVaultCreds asrVaultCreds) + { + object updateVaultSettingsOneAtATime = new object(); + lock (updateVaultSettingsOneAtATime) + { + PSRecoveryServicesClient.asrVaultCreds.ResourceName = + asrVaultCreds.ResourceName; + PSRecoveryServicesClient.asrVaultCreds.CloudServiceName = + asrVaultCreds.CloudServiceName; + PSRecoveryServicesClient.asrVaultCreds.ChannelIntegrityKey = + asrVaultCreds.ChannelIntegrityKey; + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs new file mode 100644 index 000000000000..2ce9d782efa1 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs @@ -0,0 +1,121 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Remove a Recovery Plan from the current Azure Site Recovery Vault. + /// + [Cmdlet(VerbsCommon.Remove, "AzureSiteRecoveryRecoveryPlan", DefaultParameterSetName = ASRParameterSets.ByRPObject, SupportsShouldProcess = true)] + [OutputType(typeof(ASRJob))] + public class RemoveAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Holds either Name (if object is passed) or ID (if IDs are passed) of the PE. + /// + private string targetNameOrId = string.Empty; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + + /// + /// Gets or sets switch parameter. On passing, command does not ask for confirmation. + /// + [Parameter(Mandatory = false)] + public SwitchParameter Force { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.Id = this.RecoveryPlan.ID; + this.targetNameOrId = this.RecoveryPlan.Name; + break; + case ASRParameterSets.ById: + this.targetNameOrId = this.Id; + break; + } + + ConfirmAction( + Force.IsPresent, + string.Format(Properties.Resources.RemoveRPWarning, this.targetNameOrId), + Properties.Resources.RemoveRPWhatIfMessage, + this.targetNameOrId, + () => + { + try + { + this.jobResponse = RecoveryServicesClient.RemoveAzureSiteRecoveryRecoveryPlan( + this.Id); + this.WriteJob(this.jobResponse.Job); + + string jobId = this.jobResponse.Job.ID; + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs new file mode 100644 index 000000000000..4bdc2dcc68bd --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs @@ -0,0 +1,87 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Restarts Azure Site Recovery Job. + /// + [Cmdlet(VerbsLifecycle.Restart, "AzureSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByObject)] + [OutputType(typeof(ASRJob))] + public class RestartAzureSiteRecoveryJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Job ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Job Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRJob Job {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + this.Id = this.Job.ID; + this.GetById(); + break; + + case ASRParameterSets.ById: + this.GetById(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + this.WriteJob(RecoveryServicesClient.RestartAzureSiteRecoveryJob(this.Id).Job); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs new file mode 100644 index 000000000000..577d46915cf3 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Resumes Azure Site Recovery Job. + /// + [Cmdlet(VerbsLifecycle.Resume, "AzureSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByObject)] + [OutputType(typeof(ASRJob))] + public class ResumeAzureSiteRecoveryJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Job ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Job Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRJob Job {get; set;} + + /// + /// Gets or sets job comments. + /// + [Parameter(Mandatory = false)] + [ValidateNotNullOrEmpty] + public string Comments {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + this.Id = this.Job.ID; + this.GetById(); + break; + + case ASRParameterSets.ById: + this.GetById(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + ResumeJobParams resumeJobParams = new ResumeJobParams(); + if (string.IsNullOrEmpty(this.Comments)) + { + this.Comments = " "; + } + + resumeJobParams.Comments = this.Comments; + this.WriteJob( + RecoveryServicesClient.ResumeAzureSiteRecoveryJob(this.Id, resumeJobParams).Job); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs new file mode 100644 index 000000000000..d53a919984d2 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs @@ -0,0 +1,142 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Set Protection Entity protection state. + /// + [Cmdlet(VerbsCommon.Set, "AzureSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.ByPEObject, SupportsShouldProcess = true)] + [OutputType(typeof(ASRJob))] + public class SetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Holds either Name (if object is passed) or ID (if IDs are passed) of the PE. + /// + private string targetNameOrId = string.Empty; + + /// + /// Gets or sets ID of the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContianerId {get; set;} + + /// + /// Gets or sets Protection Entity Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets Protection to set, either enable or disable. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + [ValidateSet( + PSRecoveryServicesClient.EnableProtection, + PSRecoveryServicesClient.DisableProtection)] + public string Protection {get; set;} + + /// + /// Gets or sets switch parameter. On passing, command waits till completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + + /// + /// Gets or sets switch parameter. On passing, command does not ask for confirmation. + /// + [Parameter(Mandatory = false)] + public SwitchParameter Force { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByPEObject: + this.Id = this.ProtectionEntity.ID; + this.ProtectionContianerId = this.ProtectionEntity.ProtectionContainerId; + this.targetNameOrId = this.ProtectionEntity.Name; + break; + case ASRParameterSets.ByIDs: + this.targetNameOrId = this.Id; + break; + } + + ConfirmAction( + Force.IsPresent || 0 != string.CompareOrdinal(this.Protection, PSRecoveryServicesClient.DisableProtection), + string.Format(Properties.Resources.DisableProtectionWarning, this.targetNameOrId), + string.Format(Properties.Resources.DisableProtectionWhatIfMessage, this.Protection), + this.targetNameOrId, + () => + { + try + { + this.jobResponse = + RecoveryServicesClient.SetProtectionOnProtectionEntity( + this.ProtectionContianerId, + this.Id, + this.Protection); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs new file mode 100644 index 000000000000..685a894945b0 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs @@ -0,0 +1,154 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a commit operation. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryCommitFailoverJob", DefaultParameterSetName = ASRParameterSets.ByRPId)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryCommitFailoverJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RPId {get; set;} + + /// + /// Gets or sets ID of the PE. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionEntityId {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.RPId = this.RecoveryPlan.ID; + this.SetRpCommit(); + break; + case ASRParameterSets.ByPEObject: + this.ProtectionEntityId = this.ProtectionEntity.ID; + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.SetPECommit(); + break; + case ASRParameterSets.ByPEId: + this.SetPECommit(); + break; + case ASRParameterSets.ByRPId: + this.SetRpCommit(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Sets RP Commit. + /// + private void SetRpCommit() + { + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryCommitFailover( + this.RPId); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Start PE Commit. + /// + private void SetPECommit() + { + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryCommitFailover( + this.ProtectionContainerId, + this.ProtectionEntityId); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs new file mode 100644 index 000000000000..84a5ce689e80 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs @@ -0,0 +1,172 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a commit operation. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryPlannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByRPId)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryPlannedFailoverJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RPId {get; set;} + + /// + /// Gets or sets ID of the PE. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionEntityId {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets Failover direction for the recovery plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateSet( + PSRecoveryServicesClient.PrimaryToRecovery, + PSRecoveryServicesClient.RecoveryToPrimary)] + public string Direction {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.RPId = this.RecoveryPlan.ID; + this.StartRpPlannedFailover(); + break; + case ASRParameterSets.ByPEObject: + this.ProtectionEntityId = this.ProtectionEntity.ID; + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.StartPEPlannedFailover(); + break; + case ASRParameterSets.ByPEId: + this.StartPEPlannedFailover(); + break; + case ASRParameterSets.ByRPId: + this.StartRpPlannedFailover(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Starts PE Planned failover. + /// + private void StartPEPlannedFailover() + { + var pfoReqeust = new PlannedFailoverRequest(); + pfoReqeust.FailoverDirection = this.Direction; + this.jobResponse = + RecoveryServicesClient.StartAzureSiteRecoveryPlannedFailover( + this.ProtectionContainerId, + this.ProtectionEntityId, + pfoReqeust); + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Starts RP Planned failover. + /// + private void StartRpPlannedFailover() + { + RpPlannedFailoverRequest recoveryPlanPlannedFailoverRequest = new RpPlannedFailoverRequest(); + recoveryPlanPlannedFailoverRequest.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryPlannedFailover( + this.RPId, + recoveryPlanPlannedFailoverRequest); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs new file mode 100644 index 000000000000..226392247725 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs @@ -0,0 +1,244 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a commit operation. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryTestFailoverJob", DefaultParameterSetName = ASRParameterSets.ByRPObject)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Network ID. + /// + private string networkId = string.Empty; + + /// + /// Network Type (Logical network or VM network). + /// + private string networkType = string.Empty; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RpId {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets failover direction for the recovery plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateSet( + PSRecoveryServicesClient.PrimaryToRecovery, + PSRecoveryServicesClient.RecoveryToPrimary)] + public string Direction {get; set;} + + /// + /// Gets or sets ID of the PE. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionEntityId {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetworkID, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + + /// + /// Gets or sets Logical network ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] + public string LogicalNetworkId {get; set;} + + /// + /// Gets or sets VM network ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] + public string VmNetworkId {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.RpId = this.RecoveryPlan.ID; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPId: + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByPEObject: + this.networkType = "DisconnectedVMNetworkTypeForTestFailover"; + this.UpdateRequiredParametersAndStartFailover(); + break; + case ASRParameterSets.ByPEObjectWithLogicalNetworkID: + this.networkType = "CreateVMNetworkTypeForTestFailover"; + this.networkId = this.LogicalNetworkId; + this.UpdateRequiredParametersAndStartFailover(); + break; + case ASRParameterSets.ByPEObjectWithVMNetworkID: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.VmNetworkId; + this.UpdateRequiredParametersAndStartFailover(); + break; + case ASRParameterSets.ByPEId: + this.StartPETestFailover(); + break; + case ASRParameterSets.ByPEIdWithLogicalNetworkID: + this.networkType = "CreateVMNetworkTypeForTestFailover"; + this.networkId = this.LogicalNetworkId; + this.StartPETestFailover(); + break; + case ASRParameterSets.ByPEIdWithVMNetworkID: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.VmNetworkId; + this.StartPETestFailover(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Starts RP test failover. + /// + private void StartRpTestFailover() + { + RpTestFailoverRequest recoveryPlanTestFailoverRequest = new RpTestFailoverRequest(); + recoveryPlanTestFailoverRequest.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryTestFailover( + this.RpId, + recoveryPlanTestFailoverRequest); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Starts PE Test failover. + /// + private void StartPETestFailover() + { + var tfoReqeust = new TestFailoverRequest(); + tfoReqeust.NetworkID = this.networkId; + tfoReqeust.FailoverDirection = this.Direction; + tfoReqeust.NetworkType = this.networkType; + tfoReqeust.ReplicationProvider = string.Empty; + tfoReqeust.ReplicationProviderSettings = string.Empty; + + this.jobResponse = + RecoveryServicesClient.StartAzureSiteRecoveryTestFailover( + this.ProtectionContainerId, + this.ProtectionEntityId, + tfoReqeust); + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Updates required parameters and starts test failover. + /// + private void UpdateRequiredParametersAndStartFailover() + { + if (!this.ProtectionEntity.Protected) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.ProtectionEntityNotProtected, + this.ProtectionEntity.Name)); + } + + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.ProtectionEntityId = this.ProtectionEntity.ID; + this.StartPETestFailover(); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs new file mode 100644 index 000000000000..e13d21ee68d8 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs @@ -0,0 +1,188 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a commit operation. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryUnplannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByRPId)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryUnplannedFailoverJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RPId {get; set;} + + /// + /// Gets or sets ID of the PE. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionEntityId {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets Failover direction for the recovery plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] + [ValidateSet( + PSRecoveryServicesClient.PrimaryToRecovery, + PSRecoveryServicesClient.RecoveryToPrimary)] + public string Direction {get; set;} + + /// + /// Gets or sets a value indicating whether primary site actions are required or not. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + public bool PrimaryAction {get; set;} + + /// + /// Gets or sets a value indicating whether can do source site operations. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = false)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = false)] + public bool PerformSourceSiteOperations {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.RPId = this.RecoveryPlan.ID; + this.StartRpUnPlannedFailover(); + break; + case ASRParameterSets.ByPEObject: + this.ProtectionEntityId = this.ProtectionEntity.ID; + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.StartPEUnplannedFailover(); + break; + case ASRParameterSets.ByPEId: + this.StartPEUnplannedFailover(); + break; + case ASRParameterSets.ByRPId: + this.StartRpUnPlannedFailover(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Starts PE Unplanned failover. + /// + private void StartPEUnplannedFailover() + { + var ufoReqeust = new UnplannedFailoverRequest(); + ufoReqeust.FailoverDirection = this.Direction; + ufoReqeust.SourceSiteOperations = this.PerformSourceSiteOperations; + this.jobResponse = + RecoveryServicesClient.StartAzureSiteRecoveryUnplannedFailover( + this.ProtectionContainerId, + this.ProtectionEntityId, + ufoReqeust); + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Starts RP Planned failover. + /// + private void StartRpUnPlannedFailover() + { + RpUnplannedFailoverRequest recoveryPlanUnPlannedFailoverRequest = new RpUnplannedFailoverRequest(); + recoveryPlanUnPlannedFailoverRequest.FailoverDirection = this.Direction; + recoveryPlanUnPlannedFailoverRequest.PrimaryAction = this.PrimaryAction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryUnplannedFailover( + this.RPId, + recoveryPlanUnPlannedFailoverRequest); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs new file mode 100644 index 000000000000..8d5bc61347a9 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs @@ -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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Stops Azure Site Recovery Job. + /// + [Cmdlet(VerbsLifecycle.Stop, "AzureSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByObject)] + [OutputType(typeof(ASRJob))] + public class StopAzureSiteRecoveryJob : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Job ID. + /// + [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Id {get; set;} + + /// + /// Gets or sets Job Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRJob Job {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + this.Id = this.Job.ID; + this.GetById(); + break; + + case ASRParameterSets.ById: + this.GetById(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries by ID. + /// + private void GetById() + { + RecoveryServicesClient.StopAzureSiteRecoveryJob(this.Id); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs new file mode 100644 index 000000000000..6ad03b2da75d --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs @@ -0,0 +1,181 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a recovery protection operation. + /// + [Cmdlet(VerbsData.Update, "AzureSiteRecoveryProtectionDirection", DefaultParameterSetName = ASRParameterSets.ByRPObject)] + [OutputType(typeof(ASRJob))] + public class UpdateAzureSiteRecoveryProtection : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RPId {get; set;} + + /// + /// Gets or sets ID of the PE. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionEntityId {get; set;} + + /// + /// Gets or sets ID of the Recovery Plan. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ProtectionContainerId {get; set;} + + /// + /// Gets or sets Recovery Plan object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRRecoveryPlan RecoveryPlan {get; set;} + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity {get; set;} + + /// + /// Gets or sets Failover direction for the recovery plan. + /// + [Parameter(Mandatory = true)] + [ValidateSet( + PSRecoveryServicesClient.PrimaryToRecovery, + PSRecoveryServicesClient.RecoveryToPrimary)] + public string Direction {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByRPObject: + this.RPId = this.RecoveryPlan.ID; + this.SetRpReprotect(); + break; + case ASRParameterSets.ByPEObject: + this.ProtectionEntityId = this.ProtectionEntity.ID; + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.SetPEReprotect(); + break; + case ASRParameterSets.ByPEId: + this.SetPEReprotect(); + break; + case ASRParameterSets.ByRPId: + this.SetRpReprotect(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Sets RP Recovery protection. + /// + private void SetRpReprotect() + { + this.jobResponse = RecoveryServicesClient.UpdateAzureSiteRecoveryProtection( + this.RPId); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Set PE protection. + /// + private void SetPEReprotect() + { + if (this.ProtectionEntity == null) + { + ProtectionEntityResponse protectionEntityResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.ProtectionEntityId); + this.ProtectionEntity = new ASRProtectionEntity(protectionEntityResponse.ProtectionEntity); + } + + // Until RR is done active location remains same from where FO was initiated. + if ((this.Direction == PSRecoveryServicesClient.PrimaryToRecovery && + this.ProtectionEntity.ActiveLocation != PSRecoveryServicesClient.RecoveryLocation) || + (this.Direction == PSRecoveryServicesClient.RecoveryToPrimary && + this.ProtectionEntity.ActiveLocation != PSRecoveryServicesClient.PrimaryLocation)) + { + throw new ArgumentException("Parameter value is not correct.", "Direction"); + } + + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryReprotection( + this.ProtectionContainerId, + this.ProtectionEntityId); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs new file mode 100644 index 000000000000..d0d5324ec879 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a recovery plan update operation. + /// + [Cmdlet(VerbsData.Update, "AzureSiteRecoveryRecoveryPlan")] + [OutputType(typeof(ASRJob))] + public class UpdateAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets XML file path of the Recovery Plan. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string File {get; set;} + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion {get; set;} + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + string recoveryPlanXml = System.IO.File.ReadAllText(this.File); + + this.jobResponse = RecoveryServicesClient.UpdateAzureSiteRecoveryRecoveryPlan( + recoveryPlanXml); + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion.IsPresent) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs new file mode 100644 index 000000000000..2e12a3caa39c --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs @@ -0,0 +1,347 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.Serialization; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Hash functions which can be used to calculate CIK HMAC. + /// + public enum CikSupportedHashFunctions + { + /// + /// Represents a HMACSHA256 hash function. + /// + HMACSHA256, + + /// + /// Represents a HMACSHA384 hash function. + /// + HMACSHA384, + + /// + /// Represents a HMACSHA512 hash function. + /// + HMACSHA512 + } + + /// + /// Error contract returned when some exception occurs in ASR REST API. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class Error + { + /// + /// Initializes a new instance of the class. + /// + public Error() + { + } + + /// + /// Initializes a new instance of the class with required parameters. + /// + /// Service Error + public Error(ServiceError se) + { + this.ClientRequestId = se.ActivityId; + this.Code = se.Code; + this.Message = se.Message; + this.PossibleCauses = se.PossibleCauses; + this.RecommendedAction = se.RecommendedAction; + } + + /// + /// Initializes a new instance of the class. + /// + /// Service generated error code. + /// Error message. + /// Possible causes of the error. + /// Recommended action to resolve the error. + /// ActivityId in which error occurred. + public Error( + string errorCode, + string message, + string possibleCauses, + string recommendedAction, + string activityId) + { + this.Code = errorCode; + this.Message = message; + this.PossibleCauses = possibleCauses; + this.RecommendedAction = recommendedAction; + this.ClientRequestId = activityId; + } + + /// + /// Gets or sets error code. + /// + [DataMember] + public string Code { get; set; } + + /// + /// Gets or sets error message. + /// + [DataMember] + public string Message { get; set; } + + /// + /// Gets or sets possible causes of error. + /// + [DataMember] + public string PossibleCauses { get; set; } + + /// + /// Gets or sets recommended action to resolve error. + /// + [DataMember] + public string RecommendedAction { get; set; } + + /// + /// Gets or sets client request Id. + /// + [DataMember(Name = "ActivityId")] + public string ClientRequestId { get; set; } + } + + /// + /// CIK token details. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract] + public class CikTokenDetails + { + /// + /// Gets or sets the timestamp before which the token is not valid. + /// + [DataMember] + public DateTime NotBeforeTimestamp { get; set; } + + /// + /// Gets or sets the timestamp after which the token is not valid. + /// + [DataMember] + public DateTime NotAfterTimestamp { get; set; } + + /// + /// Gets or sets the client request Id for the operation linked with this CIK token. + /// + [DataMember] + public string ClientRequestId { get; set; } + + /// + /// Gets or sets Hash function used to calculate the HMAC. + /// + [DataMember] + public string HashFunction { get; set; } + + /// + /// Gets or sets the HMAC generated using the CIK key. + /// + [DataMember] + public string Hmac { get; set; } + + /// + /// Gets or sets Data contract version. + /// + [DataMember(Name = "Version")] + public Version Version { get; set; } + + /// + /// Gets or sets property bag. This property bag is introduced to support addition of any + /// new property in data contract without breaking the existing clients. + /// If any new property needs to be introduced in the contract, + /// add a key value pair for it in this dictionary. + /// + [DataMember] + public Dictionary PropertyBag { get; set; } + + /// + /// Converts the object into string. + /// + /// The string representation. + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.AppendLine("NotBeforeTimestamp: " + this.NotBeforeTimestamp); + sb.AppendLine("NotAfterTimestamp: " + this.NotAfterTimestamp); + sb.AppendLine("ClientRequestId: " + this.ClientRequestId); + sb.AppendLine("Hmac: " + this.Hmac); + return sb.ToString(); + } + } + + /// + /// Possible states of the Job. + /// + public class JobStatus : TaskStatus + { + } + + /// + /// Possible states of the Task. + /// + public class TaskStatus + { + /// + /// TaskStatus NotStarted value. + /// + public static readonly string NotStarted = "NotStarted"; + + /// + /// Status InProgress value. + /// + public static readonly string InProgress = "InProgress"; + + /// + /// Status Succeeded value. + /// + public static readonly string Succeeded = "Succeeded"; + + /// + /// Status Other value. + /// + public static readonly string Other = "Other"; + + /// + /// Status Failed value. + /// + public static readonly string Failed = "Failed"; + + /// + /// Status Cancelled value. + /// + public static readonly string Cancelled = "Cancelled"; + + /// + /// Status Suspended value. + /// + public static readonly string Suspended = "Suspended"; + } +} + +namespace Microsoft.Azure.Portal.RecoveryServices.Models.Common +{ + /// + /// Class to define Vault credentials + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract] + public class VaultCreds + { + #region Properties + /// + /// Gets or sets the key name for Namespace entry + /// + [DataMember(Order = 0)] + public string SubscriptionId { get; set; } + + /// + /// Gets or sets the key name for Namespace entry + /// + [DataMember(Order = 1)] + public string ResourceType { get; set; } + + /// + /// Gets or sets the key name for Namespace entry + /// + [DataMember(Order = 2)] + public string ResourceName { get; set; } + + /// + /// Gets or sets the key name for Namespace entry + /// + [DataMember(Order = 3)] + public string ManagementCert { get; set; } + + /// + /// Gets or sets the key name for HostName entry + /// + [DataMember(Order = 4)] + public AcsNamespace AcsNamespace { get; set; } + #endregion + } + + /// + /// Class to define ASR Vault credentials + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public class ASRVaultCreds : VaultCreds + { + #region Properties + /// + /// Gets or sets the value for ACIK + /// + [DataMember(Order = 0)] + public string ChannelIntegrityKey { get; set; } + + /// + /// Gets or sets the value for cloud service name + /// + [DataMember(Order = 1)] + public string CloudServiceName { get; set; } + + /// + /// Gets or sets the values for the version of the credentials + /// + [DataMember(Order = 2)] + public string Version { get; set; } + #endregion + } + + /// + /// Class to define ACS name space + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public class AcsNamespace + { + /// + /// Gets or sets Host name + /// + public string HostName { get; set; } + + /// + /// Gets or sets Name space + /// + public string Namespace { get; set; } + + /// + /// Gets or sets Resource provider realm + /// + public string ResourceProviderRealm { get; set; } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs new file mode 100644 index 000000000000..f43e6f7ae13b --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs @@ -0,0 +1,815 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Runtime.Serialization; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices.SiteRecovery +{ + /// + /// Azure Site Recovery Vault Settings. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRVaultSettings + { + /// + /// Initializes a new instance of the class. + /// + public ASRVaultSettings() + { + } + + /// + /// Initializes a new instance of the class with Resource + /// and Cloud Service names. + /// + /// Resource Name + /// Cloud Service Name + public ASRVaultSettings(string resourceName, string cloudServiceName) + { + this.ResourceName = resourceName; + this.CloudServiceName = cloudServiceName; + } + + #region Properties + /// + /// Gets or sets Resource Name. + /// + public string ResourceName { get; set; } + + /// + /// Gets or sets Cloud Service Name. + /// + public string CloudServiceName { get; set; } + #endregion Properties + } + + /// + /// Azure Site Recovery Server. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRServer + { + /// + /// Initializes a new instance of the class. + /// + public ASRServer() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Server object + public ASRServer(Server server) + { + this.ID = server.ID; + this.Name = server.Name; + this.LastHeartbeat = server.LastHeartbeat; + this.ProviderVersion = server.ProviderVersion; + this.ServerVersion = server.ServerVersion; + } + + #region Properties + /// + /// Gets or sets Name of the Server. + /// + public string Name { get; set; } + + /// + /// Gets or sets Server ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Last communicated time. + /// + public DateTime LastHeartbeat { get; set; } + + /// + /// Gets or sets Provider version. + /// + public string ProviderVersion { get; set; } + + /// + /// Gets or sets Server version. + /// + public string ServerVersion { get; set; } + #endregion + } + + /// + /// Azure Site Recovery Protection Container. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRProtectionContainer + { + /// + /// Initializes a new instance of the class. + /// + public ASRProtectionContainer() + { + } + + /// + /// Initializes a new instance of the class with + /// required parameters. + /// + /// Protection container object + public ASRProtectionContainer(ProtectionContainer pc) + { + this.ID = pc.ID; + this.Name = pc.Name; + this.ConfigurationStatus = pc.ConfigurationStatus; + this.Role = pc.Role; + this.ServerId = pc.ServerId; + this.FabricObjectId = pc.FabricObjectId; + } + + #region Properties + /// + /// Gets or sets name of the Protection container. + /// + public string Name { get; set; } + + /// + /// Gets or sets Protection container ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Protection container's FabricObjectId. + /// + public string FabricObjectId { get; set; } + + /// + /// Gets or sets Server ID. + /// + public string ServerId { get; set; } + + /// + /// Gets or sets configuration status. + /// + public string ConfigurationStatus { get; set; } + + /// + /// Gets or sets a role of the protection container. + /// + public string Role { get; set; } + + #endregion + } + + /// + /// Azure Site Recovery Virtual Machine. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRVirtualMachine : ASRProtectionEntity + { + /// + /// Initializes a new instance of the class. + /// + public ASRVirtualMachine() + { + } + + public ASRVirtualMachine(VirtualMachine vm) + : base( + vm.ID, + vm.ServerId, + vm.ProtectionContainerId, + vm.Name, + vm.Type, + vm.FabricObjectId, + vm.Protected, + vm.CanCommit, + vm.CanFailover, + vm.CanReverseReplicate, + vm.ActiveLocation, + vm.ProtectionStateDescription, + vm.TestFailoverStateDescription, + vm.ReplicationHealth, + vm.ReplicationProvider) + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Virtual Machine ID + /// Server ID + /// Protection Container ID + /// Name of the Virtual Machine + /// Virtual Machine type + /// Fabric object ID + /// Can protected or not + /// Can commit or not + /// Can failover or not + /// Can reverse replicate or not + /// Active location + /// Protection state + /// Test fail over state + /// Replication health + /// Replication provider + public ASRVirtualMachine( + string id, + string serverId, + string protectionContainerId, + string name, + string type, + string fabricObjectId, + bool protectedOrNot, + bool canCommit, + bool canFailover, + bool canReverseReplicate, + string activeLocation, + string protectionStateDescription, + string testFailoverStateDescription, + string replicationHealth, + string replicationProvider) + : base( + id, + serverId, + protectionContainerId, + name, + type, + fabricObjectId, + protectedOrNot, + canCommit, + canFailover, + canReverseReplicate, + activeLocation, + protectionStateDescription, + testFailoverStateDescription, + replicationHealth, + replicationProvider) + { + } + } + + /// + /// Azure Site Recovery Virtual Machine Group. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRVirtualMachineGroup : ASRProtectionEntity + { + /// + /// Initializes a new instance of the class. + /// + public ASRVirtualMachineGroup() + { + } + + /// + /// Initializes a new instance of the class with + /// required parameters. + /// + /// Virtual Machine group ID + /// Server ID + /// Protection Container ID + /// Name of the Virtual Machine + /// Virtual Machine type + /// Fabric object ID + /// Can protected or not + /// Can commit or not + /// Can failover or not + /// Can reverse replicate or not + /// Active location + /// Protection state + /// Test fail over state + /// Replication health + /// Replication provider + /// List of Virtual Machines + public ASRVirtualMachineGroup( + string id, + string serverId, + string protectionContainerId, + string name, + string type, + string fabricObjectId, + bool protectedOrNot, + bool canCommit, + bool canFailover, + bool canReverseReplicate, + string activeLocation, + string protectionState, + string testFailoverState, + string replicationHealth, + string replicationProvider, + IList virtualMachineList) + : base( + id, + serverId, + protectionContainerId, + name, + type, + fabricObjectId, + protectedOrNot, + canCommit, + canFailover, + canReverseReplicate, + activeLocation, + protectionState, + testFailoverState, + replicationHealth, + replicationProvider) + { + this.VirtualMachineList = new List(); + foreach (var vm in virtualMachineList) + { + this.VirtualMachineList.Add( + new ASRVirtualMachine( + vm.ID, + vm.ServerId, + vm.ProtectionContainerId, + vm.Name, + vm.Type, + vm.FabricObjectId, + vm.Protected, + vm.CanCommit, + vm.CanFailover, + vm.CanReverseReplicate, + vm.ActiveLocation, + vm.ProtectionStateDescription, + vm.TestFailoverStateDescription, + vm.ReplicationHealth, + vm.ReplicationProvider)); + } + } + + /// + /// Gets or sets Virtual Machine list. + /// + public List VirtualMachineList { get; set; } + } + + /// + /// Azure Site Recovery Protection Entity. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRProtectionEntity + { + /// + /// Initializes a new instance of the class. + /// + public ASRProtectionEntity() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// Protection entity object to read values from. + public ASRProtectionEntity(ProtectionEntity pe) + { + this.ID = pe.ID; + this.ServerId = pe.ServerId; + this.ProtectionContainerId = pe.ProtectionContainerId; + this.Name = pe.Name; + this.Type = pe.Type; + this.FabricObjectId = + (0 == string.Compare(this.Type, "VirtualMachine", StringComparison.OrdinalIgnoreCase)) ? + pe.FabricObjectId.ToUpper() : + pe.FabricObjectId; + this.Protected = pe.Protected; + this.ProtectionStateDescription = pe.ProtectionStateDescription; + this.CanCommit = pe.CanCommit; + this.CanFailover = pe.CanFailover; + this.CanReverseReplicate = pe.CanReverseReplicate; + this.ReplicationProvider = pe.ReplicationProvider; + this.ActiveLocation = pe.ActiveLocation; + this.ReplicationHealth = pe.ReplicationHealth; + this.TestFailoverStateDescription = pe.TestFailoverStateDescription; + } + + /// + /// Initializes a new instance of the class with + /// required parameters. + /// + /// Protection Entity ID + /// Server ID + /// Protection Container ID + /// Name of the Virtual Machine + /// Virtual Machine type + /// Fabric object ID + /// Can protected or not + /// Can commit or not + /// Can failover or not + /// Can reverse replicate or not + /// Active location + /// Protection state + /// Test fail over state + /// Replication health + /// Replication provider + public ASRProtectionEntity( + string protectionEntityId, + string serverId, + string protectionContainerId, + string name, + string type, + string fabricObjectId, + bool protectedOrNot, + bool canCommit, + bool canFailover, + bool canReverseReplicate, + string activeLocation, + string protectionStateDescription, + string testFailoverStateDescription, + string replicationHealth, + string replicationProvider) + { + this.ID = protectionEntityId; + this.ServerId = serverId; + this.ProtectionContainerId = protectionContainerId; + this.Name = name; + this.Type = type; + this.FabricObjectId = + (0 == string.Compare(this.Type, "VirtualMachine", StringComparison.OrdinalIgnoreCase)) ? + fabricObjectId.ToUpper() : + fabricObjectId; + this.Protected = protectedOrNot; + this.ProtectionStateDescription = protectionStateDescription; + this.CanCommit = canCommit; + this.CanFailover = canFailover; + this.CanReverseReplicate = canReverseReplicate; + this.ReplicationProvider = replicationProvider; + this.ActiveLocation = activeLocation; + this.ReplicationHealth = replicationHealth; + this.TestFailoverStateDescription = testFailoverStateDescription; + } + + /// + /// Gets or sets Name of the Protection entity. + /// + public string Name { get; set; } + + /// + /// Gets or sets Protection entity ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets fabric object ID. + /// + public string FabricObjectId { get; set; } + + /// + /// Gets or sets Protection container ID. + /// + public string ProtectionContainerId { get; set; } + + /// + /// Gets or sets Server ID. + /// + public string ServerId { get; set; } + + /// + /// Gets or sets type of the Protection entity. + /// + public string Type { get; set; } + + /// + /// Gets or sets a value indicating whether it is protected or not. + /// + public bool Protected { get; set; } + + /// + /// Gets or sets a value indicating whether it can be committed or not. + /// + public bool CanCommit { get; set; } + + /// + /// Gets or sets a value indicating whether it can be failed over or not. + /// + public bool CanFailover { get; set; } + + /// + /// Gets or sets a value indicating whether it can be reverse replicated or not. + /// + public bool CanReverseReplicate { get; set; } + + /// + /// Gets or sets a active location of protection entity. + /// + public string ActiveLocation { get; set; } + + /// + /// Gets or sets protection state. + /// + public string ProtectionStateDescription { get; set; } + + /// + /// Gets or sets Replication health. + /// + public string ReplicationHealth { get; set; } + + /// + /// Gets or sets test failover state. + /// + public string TestFailoverStateDescription { get; set; } + + /// + /// Gets or sets Replication provider. + /// + public string ReplicationProvider { get; set; } + } + + /// + /// Task of the Job. + /// + public class ASRTask + { + /// + /// Initializes a new instance of the class. + /// + public ASRTask() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// Task details to load values from. + public ASRTask(AsrTask task) + { + this.ID = task.ID; + this.EndTime = task.EndTime; + this.Name = task.Name; + this.StartTime = task.StartTime; + this.State = task.State; + this.StateDescription = task.StateDescription; + } + + /// + /// Gets or sets the task name. + /// + public string Name { get; set; } + + /// + /// Gets or sets Job ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets the Status. + /// + public string State { get; set; } + + /// + /// Gets or sets the State description, which tells the exact internal state. + /// + public string StateDescription { get; set; } + + /// + /// Gets or sets the start time. + /// + public DateTime StartTime { get; set; } + + /// + /// Gets or sets the end time. + /// + public DateTime EndTime { get; set; } + } + + /// + /// Azure Site Recovery Job. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRJob + { + /// + /// Initializes a new instance of the class. + /// + public ASRJob() + { + } + + /// + /// Initializes a new instance of the class with required parameters. + /// + /// ASR Job object + public ASRJob(Job job) + { + this.ID = job.ID; + this.ClientRequestId = job.ActivityId; + this.State = job.State; + this.StateDescription = job.StateDescription; + this.EndTime = job.EndTimestamp; + this.StartTime = job.StartTimestamp; + this.AllowedActions = job.AllowedActions as List; + this.Name = job.Name; + this.Tasks = new List(); + foreach (var task in job.Tasks) + { + this.Tasks.Add(new ASRTask(task)); + } + + this.Errors = new List(); + + foreach (var error in job.Errors) + { + ASRErrorDetails errorDetails = new ASRErrorDetails(); + errorDetails.TaskId = error.TaskId; + errorDetails.ServiceErrorDetails = new ASRServiceError(error.ServiceErrorDetails); + errorDetails.ProviderErrorDetails = new ASRProviderError(error.ProviderErrorDetails); + this.Errors.Add(errorDetails); + } + } + + #region Properties + /// + /// Gets or sets Job display name. + /// + public string Name { get; set; } + + /// + /// Gets or sets Job ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Activity ID. + /// + public string ClientRequestId { get; set; } + + /// + /// Gets or sets State of the Job. + /// + public string State { get; set; } + + /// + /// Gets or sets StateDescription of the Job. + /// + public string StateDescription { get; set; } + + /// + /// Gets or sets Start timestamp. + /// + public string StartTime { get; set; } + + /// + /// Gets or sets End timestamp. + /// + public string EndTime { get; set; } + + /// + /// Gets or sets list of allowed actions. + /// + public List AllowedActions { get; set; } + + /// + /// Gets or sets list of tasks. + /// + public List Tasks { get; set; } + + /// + /// Gets or sets list of Errors. + /// + public List Errors { get; set; } + #endregion + } + + /// + /// This class contains the error details per object. + /// + public class ASRErrorDetails + { + /// + /// Gets or sets the Service error details. + /// + public ASRServiceError ServiceErrorDetails { get; set; } + + /// + /// Gets or sets the Provider error details. + /// + public ASRProviderError ProviderErrorDetails { get; set; } + + /// + /// Gets or sets the Id of the task. + /// + public string TaskId { get; set; } + } + + /// + /// This class contains the ASR error details per object. + /// + public class ASRServiceError : Error + { + /// + /// Initializes a new instance of the class with required parameters. + /// + public ASRServiceError() + { + } + + /// + /// Initializes a new instance of the class with required parameters. + /// + /// ServiceError object + public ASRServiceError(ServiceError serviceError) + : base(serviceError) + { + } + } + + /// + /// This class contains the provider error details per object. + /// + public class ASRProviderError + { + /// + /// Initializes a new instance of the class with required parameters. + /// + public ASRProviderError() + { + } + + /// + /// Initializes a new instance of the class with required parameters. + /// + /// ProviderError object + public ASRProviderError(ProviderError error) + { + this.AffectedObjects = error.AffectedObjects; + this.CreationTimeUtc = error.CreationTimeUtc; + this.ErrorCode = error.ErrorCode; + this.ErrorId = error.ErrorId; + this.ErrorLevel = error.ErrorLevel; + this.ErrorMessage = error.ErrorMessage; + this.WorkflowId = error.WorkflowId; + } + + /// + /// Gets or sets the Error code. + /// + public int ErrorCode { get; set; } + + /// + /// Gets or sets the Error message + /// + public string ErrorMessage { get; set; } + + /// + /// Gets or sets the Provider error Id + /// + public string ErrorId { get; set; } + + /// + /// Gets or sets Workflow Id. + /// + public string WorkflowId { get; set; } + + /// + /// Gets or sets the AffectedObjects. + /// + public IDictionary AffectedObjects { get; set; } + + /// + /// Gets or sets the Time of the error creation. + /// + public DateTime CreationTimeUtc { get; set; } + + /// + /// Gets or sets the Error level. + /// + public string ErrorLevel { get; set; } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs new file mode 100644 index 000000000000..d7fab87d4e55 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs @@ -0,0 +1,112 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.RecoveryServices.SiteRecovery +{ + /// + /// Parameter Sets used for Azure Site Recovery commands. + /// + internal static class ASRParameterSets + { + /// + /// When only RP Object is passed to the command. + /// + internal const string ByRPObject = "ByRPObject"; + + /// + /// When only Object is passed to the command. + /// + internal const string ByObject = "ByObject"; + + /// + /// When only PE Object is passed to the command. + /// + internal const string ByPEObject = "ByPEObject"; + + /// + /// When only PE Object is passed along with logical network ID to the command. + /// + internal const string ByPEObjectWithLogicalNetworkID = "ByPEObjectWithLogicalNetworkID"; + + /// + /// When only PE Object is passed along with VM network ID to the command. + /// + internal const string ByPEObjectWithVMNetworkID = "ByPEObjectWithVMNetworkID"; + + /// + /// When only PC and PE ids are passed to the command. + /// + internal const string ByPEId = "ByPEId"; + + /// + /// When only PC and PE ids are passed along with logical network ID to the command. + /// + internal const string ByPEIdWithLogicalNetworkID = "ByPEIdWithLogicalNetworkID"; + + /// + /// When only PC and PE ids are passed along with VM network ID to the command. + /// + internal const string ByPEIdWithVMNetworkID = "ByPEIdWithVMNetworkID"; + + /// + /// When only ID is passed to the command. + /// + internal const string ById = "ById"; + + /// + /// When only RP ID is passed to the command. + /// + internal const string ByRPId = "ByRPId"; + + /// + /// When only Name is passed to the command. + /// + internal const string ByName = "ByName"; + + /// + /// When nothing is passed to the command. + /// + internal const string Default = "Default"; + + /// + /// When group of IDs are passed to the command. + /// + internal const string ByIDs = "ByIDs"; + + /// + /// When Object and ID are passed to the command. + /// + internal const string ByObjectWithId = "ByObjectWithId"; + + /// + /// When Object and Name are passed to the command. + /// + internal const string ByObjectWithName = "ByObjectWithName"; + + /// + /// When group of IDs and ID are passed to the command. + /// + internal const string ByIDsWithId = "ByIDsWithId"; + + /// + /// When group of IDs and Name are passed to the command. + /// + internal const string ByIDsWithName = "ByIDsWithName"; + + /// + /// When parameters are passed to the command. + /// + internal const string ByParam = "ByParam"; + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs new file mode 100644 index 000000000000..31126c35bd4c --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Runtime.Serialization; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Azure Site Recovery Recovery Plan. + /// + public class ASRRecoveryPlan + { + /// + /// Initializes a new instance of the class. + /// + public ASRRecoveryPlan() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Recovery plan object + public ASRRecoveryPlan(RecoveryPlan recoveryPlan) + { + this.ID = recoveryPlan.ID; + this.Name = recoveryPlan.Name; + this.ServerId = recoveryPlan.ServerId; + this.TargetServerId = recoveryPlan.TargetServerId; + } + + #region Properties + /// + /// Gets or sets Recovery plan ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets name of the Recovery Plan. + /// + public string Name { get; set; } + + /// + /// Gets or sets to Server ID. + /// + public string ServerId { get; set; } + + /// + /// Gets or sets target Server ID. + /// + public string TargetServerId { get; set; } + + #endregion + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config new file mode 100644 index 000000000000..3f0757f68cd5 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj index 8879a89c8630..845f91162e43 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj @@ -55,25 +55,25 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -89,13 +89,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs index 17a04d62eacb..2166aae9ecdc 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs @@ -36,12 +36,6 @@ public FakeAccessTokenProvider(string token, string userId) }; } - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, - SecureString password) - { - return this.accessToken; - } - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount.AccountType credentialType) { diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config index 6f58bba352e9..06e73968cf50 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config @@ -3,12 +3,12 @@ - - + + - - - + + + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs index 5bcf5bf10108..31425f73bd46 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs @@ -37,7 +37,9 @@ public void SerializationTestWithGB18030() XmlUtilities.SerializeXmlFile(serviceDefinition, outputFileName); // Assert - // If reached this point means the test passed + // And check we are writing out with UTF encoding with a BOM + byte[] data = System.IO.File.ReadAllBytes(outputFileName); + Assert.True(data[0] == 0xff && data[1] == 0xfe); } } } \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj index faeb5f634fd1..e3aaf19ac7d1 100644 --- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj +++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj @@ -76,23 +76,24 @@ False ..\..\..\lib\Microsoft.Web.Deployment.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False @@ -102,12 +103,11 @@ ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.1.2.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.11.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll - True + ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.15.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Store.0.11.0-preview\lib\net40\Microsoft.WindowsAzure.Management.Store.dll @@ -115,8 +115,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.11.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.1.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.4.0.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll @@ -136,13 +137,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs b/src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs index 12cc3c3639e2..c00b296c9d33 100644 --- a/src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System; +using System.Globalization; using Xunit; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; @@ -42,11 +43,19 @@ public void TestBlobEndpointUri() { string accountName = "azure awesome account"; string expected = string.Format(Resources.BlobEndpointUri, accountName); - string actual = GeneralUtilities.BlobEndpointUri(accountName); + string actual = string.Format(CultureInfo.InvariantCulture, + TryGetEnvironmentVariable(Resources.BlobEndpointUriEnv, Resources.BlobEndpointUri), + accountName); Assert.Equal(expected, actual); } + private static string TryGetEnvironmentVariable(string environmentVariableName, string defaultValue) + { + string value = System.Environment.GetEnvironmentVariable(environmentVariableName); + return (string.IsNullOrEmpty(value)) ? defaultValue : value; + } + public void Dispose() { ClassCleanup(); diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs index 1bbae2149de3..86cd58ef51b7 100644 --- a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs @@ -40,8 +40,8 @@ public void GetsAzureEnvironments() { List environments = null; Mock commandRuntimeMock = new Mock(); - commandRuntimeMock.Setup(c => c.WriteObject(It.IsAny())) - .Callback(e => environments = (List)e); + commandRuntimeMock.Setup(c => c.WriteObject(It.IsAny(), It.IsAny())) + .Callback((e, _) => environments = (List)e); GetAzureEnvironmentCommand cmdlet = new GetAzureEnvironmentCommand() { @@ -60,8 +60,8 @@ public void GetsAzureEnvironment() { List environments = null; Mock commandRuntimeMock = new Mock(); - commandRuntimeMock.Setup(c => c.WriteObject(It.IsAny())) - .Callback(e => environments = (List)e); + commandRuntimeMock.Setup(c => c.WriteObject(It.IsAny(), It.IsAny())) + .Callback((e, _) => environments = (List)e); GetAzureEnvironmentCommand cmdlet = new GetAzureEnvironmentCommand() { diff --git a/src/ServiceManagement/Services/Commands.Test/MediaServices/FakeHttpMessageHandler.cs b/src/ServiceManagement/Services/Commands.Test/MediaServices/FakeHttpMessageHandler.cs index 67842777d522..55e8d1dbf30d 100644 --- a/src/ServiceManagement/Services/Commands.Test/MediaServices/FakeHttpMessageHandler.cs +++ b/src/ServiceManagement/Services/Commands.Test/MediaServices/FakeHttpMessageHandler.cs @@ -15,7 +15,6 @@ using System.Net.Http; using System.Threading; using System.Threading.Tasks; -using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.WindowsAzure.Commands.Test.MediaServices { @@ -30,14 +29,5 @@ protected override Task SendAsync(HttpRequestMessage reques { return Task.Factory.StartNew(() => Send != null ? Send(request) : new HttpResponseMessage(HttpStatusCode.OK)); } - - /// - /// Creates and initialise instance of HttpClient - /// - /// - public HttpClient CreateIMediaServicesHttpClient() - { - return HttpClientHelper.CreateClient("http://test/services/mediaservices/", handler: this); - } } } \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs index a277bc053d66..fa71b952eaab 100644 --- a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs @@ -42,7 +42,7 @@ public GetAzureSBNamespaceTests() CommandRuntime = mockCommandRuntime, Client = client.Object }; - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); } [Fact] diff --git a/src/ServiceManagement/Services/Commands.Test/ServiceBus/NewAzureSBNamespaceTest.cs b/src/ServiceManagement/Services/Commands.Test/ServiceBus/NewAzureSBNamespaceTest.cs index e839a9bd4bdb..088ef0160d6b 100644 --- a/src/ServiceManagement/Services/Commands.Test/ServiceBus/NewAzureSBNamespaceTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/ServiceBus/NewAzureSBNamespaceTest.cs @@ -41,15 +41,50 @@ public void NewAzureSBNamespaceSuccessfull() Mock client = new Mock(); string name = "test"; string location = "West US"; + NamespaceType type = NamespaceType.Messaging; NewAzureSBNamespaceCommand cmdlet = new NewAzureSBNamespaceCommand() { Name = name, Location = location, + NamespaceType = type, CommandRuntime = mockCommandRuntime, Client = client.Object }; - ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location }; - client.Setup(f => f.CreateNamespace(name, location)).Returns(expected); + ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location, NamespaceType = type}; + client.Setup(f => f.CreateNamespace(name, location, type, true)).Returns(expected); + client.Setup(f => f.GetServiceBusRegions()).Returns(new List() + { + new ServiceBusLocation () { Code = location } + }); + + // Test + cmdlet.ExecuteCmdlet(); + + // Assert + ExtendedServiceBusNamespace actual = mockCommandRuntime.OutputPipeline[0] as ExtendedServiceBusNamespace; + Assert.Equal(expected, actual); + } + + [Fact] + public void NewAzureSBNamespaceNoACSSuccessfull() + { + // Setup + MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); + Mock client = new Mock(); + string name = "test1"; + string location = "West US"; + NamespaceType type = NamespaceType.NotificationHub; + NewAzureSBNamespaceCommand cmdlet = new NewAzureSBNamespaceCommand() + { + Name = name, + Location = location, + CreateACSNamespace = false, + NamespaceType = type, + CommandRuntime = mockCommandRuntime, + Client = client.Object + }; + ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location, NamespaceType = type }; + client.Setup(f => f.CreateNamespace(name, location, type, false)).Returns(expected); client.Setup(f => f.GetServiceBusRegions()).Returns(new List() { new ServiceBusLocation () { Code = location } @@ -71,15 +106,17 @@ public void NewAzureSBNamespaceGetsDefaultLocation() MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); string name = "test"; string location = "West US"; + NamespaceType type = NamespaceType.NotificationHub; NewAzureSBNamespaceCommand cmdlet = new NewAzureSBNamespaceCommand() { Name = name, CommandRuntime = mockCommandRuntime, + NamespaceType = type, Client = client.Object, Location = location }; - ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location }; - client.Setup(f => f.CreateNamespace(name, location)).Returns(expected); + ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location, NamespaceType = type}; + client.Setup(f => f.CreateNamespace(name, location, type, true)).Returns(expected); // Test cmdlet.ExecuteCmdlet(); @@ -103,12 +140,13 @@ public void NewAzureSBNamespaceWithInvalidNamesFail() { Name = invalidName, Location = "West US", + NamespaceType = NamespaceType.Messaging, CommandRuntime = mockCommandRuntime, Client = client.Object }; string expected = string.Format("{0}\r\nParameter name: Name", string.Format(Resources.InvalidNamespaceName, invalidName)); - client.Setup(f => f.CreateNamespace(invalidName, "West US")).Throws(new InvalidOperationException(expected)); + client.Setup(f => f.CreateNamespace(invalidName, "West US", NamespaceType.Messaging, true)).Throws(new InvalidOperationException(expected)); Testing.AssertThrows(() => cmdlet.ExecuteCmdlet(), expected); } @@ -122,6 +160,7 @@ public void CreatesNewSBCaseInsensitiveRegion() Mock client = new Mock(); string name = "test"; string location = "West US"; + NamespaceType type = NamespaceType.Messaging; NewAzureSBNamespaceCommand cmdlet = new NewAzureSBNamespaceCommand() { Name = name, @@ -129,8 +168,8 @@ public void CreatesNewSBCaseInsensitiveRegion() CommandRuntime = mockCommandRuntime, Client = client.Object }; - ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location }; - client.Setup(f => f.CreateNamespace(name, location.ToLower())).Returns(expected); + ExtendedServiceBusNamespace expected = new ExtendedServiceBusNamespace { Name = name, Region = location, NamespaceType = NamespaceType.Messaging}; + client.Setup(f => f.CreateNamespace(name, location.ToLower(), type, true)).Returns(expected); client.Setup(f => f.GetServiceBusRegions()).Returns(new List() { new ServiceBusLocation () { Code = location } diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs index d4edb177f9da..e92559362cbe 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs @@ -26,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.Websites { - + public class NewAzureWebsiteTests : WebsitesTestBase { [Fact] @@ -49,7 +49,7 @@ public void ProcessNewWebsiteTest() }); clientMock.Setup(c => c.GetWebsiteConfiguration("website1")) - .Returns(new SiteConfig {PublishingUsername = "user1"}); + .Returns(new SiteConfig { PublishingUsername = "user1" }); string createdSiteName = null; string createdWebspaceName = null; @@ -57,10 +57,10 @@ public void ProcessNewWebsiteTest() clientMock.Setup(c => c.CreateWebsite(webspaceName, It.IsAny(), null)) .Returns((string space, SiteWithWebSpace site, string slot) => site) .Callback((string space, SiteWithWebSpace site, string slot) => - { - createdSiteName = site.Name; - createdWebspaceName = space; - }); + { + createdSiteName = site.Name; + createdWebspaceName = space; + }); // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); @@ -105,9 +105,9 @@ public void GetsWebsiteDefaultLocation() clientMock.Setup(c => c.CreateWebsite(It.IsAny(), It.IsAny(), null)) .Returns((string space, SiteWithWebSpace site, string slot) => site) .Callback((string space, SiteWithWebSpace site, string slot) => - { - created = true; - }); + { + created = true; + }); // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); @@ -149,7 +149,7 @@ public void CreateStageSlot() clientMock.Setup(f => f.WebsiteExists(websiteName)).Returns(true); - clientMock.Setup(f => f.GetWebsite(websiteName)).Returns(new Site() { Name = websiteName, ComputeMode = WebSiteComputeMode.Dedicated }); + clientMock.Setup(f => f.GetWebsite(websiteName)).Returns(new Site() { Name = websiteName, Sku = SkuOptions.Standard }); // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config index 7e1d4e5c5087..16f8f94a59ca 100644 --- a/src/ServiceManagement/Services/Commands.Test/packages.config +++ b/src/ServiceManagement/Services/Commands.Test/packages.config @@ -6,19 +6,19 @@ - - + + - - + + - - + + - + diff --git a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 index e2c3a18aedcf..cc8fea1438e2 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 +++ b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.8.10.1' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -69,7 +69,8 @@ FormatsToProcess = @( '.\Services\Microsoft.WindowsAzure.Commands.Store.format.ps1xml', '.\Services\Microsoft.WindowsAzure.Commands.Scheduler.format.ps1xml', '.\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml', - '.\Services\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml' + '.\Services\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml', + '.\Network\Microsoft.Azure.Commands.Network.format.ps1xml' ) # Modules to import as nested modules of the module specified in ModuleToProcess @@ -81,7 +82,9 @@ NestedModules = '.\Services\Microsoft.WindowsAzure.Commands.dll', '.\Sql\Microsoft.WindowsAzure.Commands.SqlDatabase.dll', '.\Storage\Microsoft.WindowsAzure.Commands.Storage.dll', '.\ManagedCache\Microsoft.Azure.Commands.ManagedCache.dll', - '.\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll' + '.\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll', + '.\Network\Microsoft.Azure.Commands.Network.dll', + '.\RecoveryServices\Microsoft.Azure.Commands.RecoveryServices.dll' # Functions to export from this module FunctionsToExport = '*' diff --git a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs index aa7511f4f9a8..1b97290245a7 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs @@ -897,7 +897,7 @@ public void CreateStorageServiceIfNotExist( { if (!StorageServiceExists(name)) { - var createParameters = new StorageAccountCreateParameters {Name = name, Label = label}; + var createParameters = new StorageAccountCreateParameters {Name = name, Label = label, AccountType = "Standard_LRS"}; if (!string.IsNullOrEmpty(affinityGroup)) { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj index 8669473037b2..60c2854ab09c 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj @@ -86,24 +86,24 @@ False ..\..\..\lib\Microsoft.Web.Deployment.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False @@ -113,21 +113,20 @@ False ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.1.2.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.2.3.1\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.2.2.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.3.0.2\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.11.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.15.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -141,9 +140,9 @@ False ..\..\..\packages\Microsoft.WindowsAzure.Management.VirtualNetworks.0.9.9-preview\lib\net40\Microsoft.WindowsAzure.Management.VirtualNetworks.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.1.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.4.0.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll False @@ -158,13 +157,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -225,9 +224,7 @@ - - @@ -248,6 +245,7 @@ + @@ -281,7 +279,6 @@ - @@ -323,6 +320,7 @@ + @@ -530,7 +528,6 @@ PreserveNewest - PreserveNewest diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs index 9d574d1d6184..6b960e063065 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs @@ -256,6 +256,7 @@ public RoleInfo AddWorkerRole( /// Adds the given role to both config files and the service def. /// /// + /// private void AddPythonRoleCore(RoleInfo role, RoleType type) { Dictionary parameters = CreateDefaultParameters(role); @@ -317,8 +318,9 @@ private void VerifyCloudServiceProjectComponents() /// /// This methods removes all deployments already in the emulator. /// Switch to control opening a browser for web roles. - /// Output result from csrun.exe - /// Error result from csrun.exe + /// + /// + /// public void StartEmulators(bool launchBrowser, ComputeEmulatorMode mode , out string roleInformation, out string warning) { var runTool = new CsRun(AzureTool.GetComputeEmulatorDirectory()); @@ -359,7 +361,7 @@ public void ChangeServiceName(string newName, CloudProjectPathInfo paths) /// /// The service paths /// The name of the role to change its instance count - /// The new role instance count + /// public void SetRoleInstances(CloudProjectPathInfo paths, string roleName, int instances) { Components.SetRoleInstances(roleName, instances); diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs index c49f594925d3..c6d1b7f10d3e 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs @@ -109,8 +109,8 @@ private static bool TryGetContents(string directoryPath, out Dictionary /// Write the given JavaScript object in dictionaroy representation out to package.json /// + /// /// The JavaScript object in dictionary representation - static void SetContents(string directoryPath, Dictionary contents) { string fileName = Path.Combine(directoryPath, Resources.PackageJsonFileName); diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs index 04f763cfa9e3..136cc8de3401 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs @@ -75,7 +75,7 @@ public PublishContext( } catch (Exception) { - throw new ArgumentException(Resources.SubscriptionIdNotFoundMessage, settings.Subscription); + throw new ArgumentException(string.Format(Resources.SubscriptionIdNotFoundMessage, settings.Subscription), "settings.Subscription"); } } else diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs index a1d4355b50c1..204253015b96 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs @@ -68,11 +68,6 @@ public NetworkManagementClient CreateNetworkClient() return AzureSession.ClientFactory.CreateClient(CurrentContext.Subscription, AzureEnvironment.Endpoint.ServiceManagement); } - private void LogDebug(string message) - { - - } - private Lazy client; public ManagementClient ManagementClient { @@ -269,18 +264,6 @@ protected void ExecuteClientActionNewSM(object input, string operationD this.ExecuteClientActionNewSM(input, operationDescription, action, (s, response) => this.ContextFactory(response, s)); } - protected void ExecuteClientActionNewSM(object input, string operationDescription, Func action, Func waitOperation) where TResult : OperationResponse - { - this.ExecuteClientActionNewSM(input, operationDescription, action, waitOperation, (s, response) => this.ContextFactory(response, s)); - } - - protected T2 ContextFactory(T1 source) where T2 : ManagementOperationContext - { - var context = Mapper.Map(source); - context.OperationDescription = CommandRuntime.ToString(); - return context; - } - protected T2 ContextFactory(T1 source, OperationStatusResponse response) where T2 : ManagementOperationContext { var context = Mapper.Map(source); @@ -288,11 +271,5 @@ protected T2 ContextFactory(T1 source, OperationStatusResponse response) context.OperationDescription = CommandRuntime.ToString(); return context; } - - protected T2 ContextFactory(T1 source, T2 destination) where T2 : ManagementOperationContext - { - var context = Mapper.Map(source, destination); - return context; - } } } \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/SetHeaderInspector.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/SetHeaderInspector.cs deleted file mode 100644 index ddf5c0b29e31..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/SetHeaderInspector.cs +++ /dev/null @@ -1,88 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Collections.Generic; -using System.Diagnostics; -using System.Net; -using System.ServiceModel; -using System.ServiceModel.Channels; -using System.ServiceModel.Description; -using System.ServiceModel.Dispatcher; - -namespace Microsoft.WindowsAzure.Commands.Utilities.Common -{ - public class HeadersInspector : IClientMessageInspector, IEndpointBehavior - { - public Dictionary RequestHeaders { get; set; } - - public List RemoveHeaders { get; set; } - - public WebHeaderCollection ResponseHeaders { get; set; } - - public HeadersInspector(params string[] requestHeaders) - { - Debug.Assert(requestHeaders.Length % 2 == 0); - RequestHeaders = new Dictionary(); - RemoveHeaders = new List(); - - for (int i = 0, j = 0; i < requestHeaders.Length / 2; i++, j += 2) - { - RequestHeaders[requestHeaders[j]] = requestHeaders[j + 1]; - } - } - - public void AfterReceiveReply(ref Message reply, object correlationState) - { - HttpResponseMessageProperty responseProperties = - (HttpResponseMessageProperty)reply.Properties[HttpResponseMessageProperty.Name]; - - ResponseHeaders = responseProperties.Headers; - } - - public object BeforeSendRequest(ref Message request, IClientChannel channel) - { - if (request.Properties.ContainsKey(HttpRequestMessageProperty.Name)) - { - var property = (HttpRequestMessageProperty)request.Properties[HttpRequestMessageProperty.Name]; - - foreach (KeyValuePair pair in RequestHeaders) - { - property.Headers.Add(pair.Key, pair.Value); - } - - foreach (string headerName in RemoveHeaders) - { - try { property.Headers.Remove(headerName); } - catch { /* The header name does not exist, continue.*/ } - } - } - return request; - } - - #region IEndpointBehavior Members - - public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { } - - public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) - { - clientRuntime.MessageInspectors.Add(this); - } - - public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { } - - public void Validate(ServiceEndpoint endpoint) { } - - #endregion - } -} diff --git a/src/ServiceManagement/Services/Commands.Utilities/Microsoft.WindowsAzure.Commands.dll-Help.xml b/src/ServiceManagement/Services/Commands.Utilities/Microsoft.WindowsAzure.Commands.dll-Help.xml index c9bcbf8e228f..2210abe73050 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Microsoft.WindowsAzure.Commands.dll-Help.xml +++ b/src/ServiceManagement/Services/Commands.Utilities/Microsoft.WindowsAzure.Commands.dll-Help.xml @@ -16,7 +16,12 @@ The Add-AzureAccount cmdlet makes your Azure account and its subscriptions available in Windows PowerShell. It's like logging into your Azure account in Windows PowerShell. To log out of the account, use the Remove-AzureAccount cmdlet. Add-AzureAccount downloads information about your Azure account and saves it in a subscription data file in your roaming user profile. It also gets an access token that allows Windows PowerShell to access your Azure account on your behalf. When the command completes, you can manage your Azure account in Windows PowerShell. - There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see "How to: Connect to your subscription" (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect). + + There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see " + How to: Connect to your subscription + + " (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect). + When you run Add-AzureAccount, it displays an interactive window that prompts you to sign into your Azure account. This sign-in is valid until the access token expires. When it expires, cmdlets that require access to your account prompt you to run Add-AzureAccount again. If you have a Microsoft Organizational account, you can use the -Credential parameter to add the subscriptions associated with your account to Windows PowerShell without an interactive dialog. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. @@ -35,7 +40,12 @@ Environment Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack. + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + . + To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. String @@ -68,7 +78,12 @@ Environment Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack. + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + . + To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet. String @@ -145,9 +160,10 @@ - PS C:\>Add-AzureAccount + + PS C:\>Add-AzureAccount - + This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account. @@ -163,8 +179,9 @@ - PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml - + + PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml + This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file. @@ -182,7 +199,7 @@ PS C:\>$credential = Get-Credential -PS C:\>Add-AzureAccount -Credential $credential + PS C:\>Add-AzureAccount -Credential $credential This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication. @@ -342,13 +359,14 @@ PS C:\>Add-AzureAccount -Credential $credential - PS C:\>Get-AzureAccount -Name ActiveDirectories ----- ----------------- -contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... -contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794... + + PS C:\>Get-AzureAccount + Name ActiveDirectories + ---- ----------------- + contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... + contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794... - + This command gets all accounts associated with the specified user. @@ -364,11 +382,12 @@ contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf7 - PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com -Name ActiveDirectories ----- ----------------- -contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... - + + PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com + Name ActiveDirectories + ---- ----------------- + contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a... + This command gets the ContosoAdmin account. @@ -581,9 +600,10 @@ contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd8 - PS C:\>Remove-AzureAccount -Name admin@contoso.com + + PS C:\>Remove-AzureAccount -Name admin@contoso.com - + This command deletes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell. @@ -624,7 +644,12 @@ contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd8 The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. @@ -707,13 +732,14 @@ contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd8 - PS C:\>Get-AzureEnvironment -EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl ---------------- --------------- ----------------------- ---------------------- + + PS C:\>Get-AzureEnvironment + EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl + --------------- --------------- ----------------------- ---------------------- -AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw... -AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw... - + AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw... + AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw... + This command gets all environments that are available to Windows PowerShell. @@ -729,32 +755,33 @@ AzureChinaCloud https://management.core.ch... https://not-supporte - PS C:\>Get-AzureEnvironment -Name AzureCloud -Name : AzureCloud + + PS C:\>Get-AzureEnvironment -Name AzureCloud + Name : AzureCloud -PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775 + PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775 -ServiceEndpoint : https://management.core.windows.net/ + ServiceEndpoint : https://management.core.windows.net/ -ResourceManagerEndpoint : https://management.azure.com/ + ResourceManagerEndpoint : https://management.azure.com/ -ManagementPortalUrl : http://go.microsoft.com/fwlink/?LinkId=254433 + ManagementPortalUrl : http://go.microsoft.com/fwlink/?LinkId=254433 -ActiveDirectoryEndpoint : https://login.windows.net/ + ActiveDirectoryEndpoint : https://login.windows.net/ -ActiveDirectoryCommonTenantId : common + ActiveDirectoryCommonTenantId : common -StorageEndpointSuffix : core.windows.net + StorageEndpointSuffix : core.windows.net -StorageBlobEndpointFormat : {0}://{1}.blob.core.windows.net/ + StorageBlobEndpointFormat : {0}://{1}.blob.core.windows.net/ -StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/ + StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/ -StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/ + StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/ -GalleryEndpoint : https://gallery.azure.com/ + GalleryEndpoint : https://gallery.azure.com/ - + This example gets the AzureCloud environment. @@ -770,9 +797,10 @@ GalleryEndpoint : https://gallery.azure.com/ - PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName} + + PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName} - + This command gets all properties of all environments. The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment. @@ -831,7 +859,12 @@ GalleryEndpoint : https://gallery.azure.com/ The Add-AzureEnvironment cmdlet creates a new custom Azure account environment and saves it in your roaming user profile. The cmdlet returns an object that represents the new environment. When the command completes, you can use the environment in Windows PowerShell. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + Only the Name parameter of this cmdlet is mandatory. If you omit a parameter, its value is null ($null), and the service that uses that endpoint might not function properly. To add or change the value of an environment property, use the Set-AzureEnvironment cmdlet. NOTE: Changing your environment can cause your account to fail. Typically, environments are added only for testing or troubleshooting. This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version. @@ -884,14 +917,27 @@ GalleryEndpoint : https://gallery.azure.com/ ResourceManagerEndpoint - Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String GalleryEndpoint - Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for + Get-AzureResourceGroupGalleryTemplate + + . + String @@ -914,7 +960,12 @@ GalleryEndpoint : https://gallery.azure.com/ GalleryEndpoint - Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for + Get-AzureResourceGroupGalleryTemplate + + . + String @@ -966,7 +1017,15 @@ GalleryEndpoint : https://gallery.azure.com/ ResourceManagerEndpoint - Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String @@ -1043,31 +1102,32 @@ GalleryEndpoint : https://gallery.azure.com/ - PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102 -Name : ContosoEnv + + PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102 + Name : ContosoEnv -PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101 + PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint : https://contoso.com/fwlink/?LinkID=102 + ServiceEndpoint : https://contoso.com/fwlink/?LinkID=102 -ResourceManagerEndpoint : + ResourceManagerEndpoint : -ManagementPortalUrl : + ManagementPortalUrl : -ActiveDirectoryEndpoint : + ActiveDirectoryEndpoint : -ActiveDirectoryCommonTenantId : + ActiveDirectoryCommonTenantId : -StorageEndpointSuffix : + StorageEndpointSuffix : -StorageBlobEndpointFormat : + StorageBlobEndpointFormat : -StorageQueueEndpointFormat : + StorageQueueEndpointFormat : -StorageTableEndpointFormat : + StorageTableEndpointFormat : -GalleryEndpoint : - + GalleryEndpoint : + This command creates the ContosoEnv Azure environment. @@ -1112,7 +1172,12 @@ GalleryEndpoint : The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create. @@ -1163,14 +1228,27 @@ GalleryEndpoint : ResourceManagerEndpoint - Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String GalleryEndpoint - Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for + Get-AzureResourceGroupGalleryTemplate + + . + String @@ -1193,7 +1271,12 @@ GalleryEndpoint : GalleryEndpoint - Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate. + + Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for + Get-AzureResourceGroupGalleryTemplate + + . + String @@ -1245,7 +1328,15 @@ GalleryEndpoint : ResourceManagerEndpoint - Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String @@ -1322,9 +1413,10 @@ GalleryEndpoint : - PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" + + PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" - + This command changes the values of the PublishSettingsFileUrl and StorageEndpoint properties of the ContosoEnv environment. @@ -1369,7 +1461,12 @@ GalleryEndpoint : The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way. - An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + + An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see + Azure Pack + + (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx). + @@ -1457,9 +1554,10 @@ GalleryEndpoint : - PS C:\>Remove-AzureEnvironment -Name ContosoEnv + + PS C:\>Remove-AzureEnvironment -Name ContosoEnv - + This command deletes the ContosoEnv environment from Windows PowerShell. @@ -1475,9 +1573,10 @@ GalleryEndpoint : - PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName } + + PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName } - + This command deletes environments whose names begin with "Contoso" from Windows PowerShell. @@ -1845,8 +1944,9 @@ GalleryEndpoint : - C:\PS>Get-AzureSubscription - + + C:\PS>Get-AzureSubscription + This command gets all subscriptions that are available to Windows PowerShell. @@ -1862,8 +1962,9 @@ GalleryEndpoint : - C:\PS>Get-AzureSubscription ???SubscriptionName MyProdSubscription - + + C:\PS>Get-AzureSubscription ???SubscriptionName MyProdSubscription + This command gets only the "MyProdSubsciption" subscription. @@ -1879,9 +1980,10 @@ GalleryEndpoint : - C:\PS>(Get-AzureSubscription -Default).SubscriptionName -ContosoEngineering - + + C:\PS>(Get-AzureSubscription -Default).SubscriptionName + ContosoEngineering + This command gets the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription. @@ -1897,9 +1999,10 @@ ContosoEngineering - C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate + + C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate - + This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list. @@ -1915,8 +2018,9 @@ ContosoEngineering - C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml" -ExtendedDetails - + + C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml" -ExtendedDetails + This command gets all properties, included quota properties, of the subscriptions in the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets. @@ -2303,12 +2407,13 @@ ContosoEngineering - C:\PS> Remove-AzureSubscription -SubscriptionName Test + + C:\PS> Remove-AzureSubscription -SubscriptionName Test -Confirm -Are you sure you want to perform this action? -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): - + Confirm + Are you sure you want to perform this action? + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + This command deletes the "Test" subscription from the default subscription data file. @@ -2324,8 +2429,9 @@ Are you sure you want to perform this action? - C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force - + + C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force + This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt. @@ -2341,8 +2447,9 @@ Are you sure you want to perform this action? - C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...} - + + C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...} + This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed. @@ -2631,8 +2738,9 @@ Are you sure you want to perform this action? - C:\PS> Select-AzureSubscription -SubscriptionName ContosoEngineering -Current - + + C:\PS> Select-AzureSubscription -SubscriptionName ContosoEngineering -Current + This command makes "ContosoEngineering" the current subscription. @@ -2648,8 +2756,9 @@ Are you sure you want to perform this action? - C:\PS> Select-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml" - + + C:\PS> Select-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml" + This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file. @@ -2734,7 +2843,15 @@ Are you sure you want to perform this action? ResourceManagerEndpoint Sets or changes the endpoint for Azure Resource Manager data to the specified value. - For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String @@ -2831,7 +2948,15 @@ Are you sure you want to perform this action? ResourceManagerEndpoint Sets or changes the endpoint for Azure Resource Manager data to the specified value. - For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767). + + For more information about Azure Resource Manager, see + Azure Resource Manager Cmdlets + + (http://go.microsoft.com/fwlink/?LinkID=394765) and + Using Windows PowerShell with Resource Manager + + (http://go.microsoft.com/fwlink/?LinkID=394767). + String @@ -2935,11 +3060,12 @@ Are you sure you want to perform this action? - PS C:\>$thumbprint = <Certificate Thumbprint> -PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint -PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345 + + PS C:\>$thumbprint = <Certificate Thumbprint> + PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint + PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345 - + These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription. When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values. @@ -2956,10 +3082,11 @@ PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myC - C:\PS> $thumbprint = <Thumbprint-2> -C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint -C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certificate $differentCert - + + C:\PS> $thumbprint = <Thumbprint-2> + C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint + C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certificate $differentCert + These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription @@ -2975,8 +3102,9 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com" - + + C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com" + This command adds or changes a custom service endpoint for the ContosoEngineering subscription. @@ -2992,8 +3120,9 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering ???Certificate $null -ResourceManagerEndpoint $null - + + C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering ???Certificate $null -ResourceManagerEndpoint $null + This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings. @@ -3009,8 +3138,9 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01 - + + C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01 + This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile. @@ -7680,6 +7810,20 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific String + + CreateACSNamespace + + Create assosciated ACS namespace as well + + Boolean + + + NamespaceType + + Choose if the Namespace will be used for Messaging or Notification Hubs + + NamespaceType + @@ -7709,6 +7853,33 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific + + CreateACSNamespace + + Create assosciated ACS namespace as well + + Boolean + + Boolean + + + + + + + NamespaceType + + Choose if the Namespace will be used for Messaging or Notification Hubs + + NamespaceType + + NamespaceType + + + + + + @@ -9502,7 +9673,15 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific The Get-AzureWebsite cmdlet gets information about Azure websites in the current subscription. By default, Get-AzureWebsite gets all Azure websites in the current subscription and returns an object that provides basic information about the sites. When you use the Name parameter, Get-AzureWebsite returns an object with extensive information, including configuration details. - The current subscription is the subscription that is designated as "current." To find the current subscription, use the Current parameter of the Get-AzureSubscription cmdlet. To change the current subscription, use the Select-AzureSubscription cmdlet. + + The current subscription is the subscription that is designated as "current." To find the current subscription, use the Current parameter of the + Get-AzureSubscription + + cmdlet. To change the current subscription, use the + Select-AzureSubscription + + cmdlet. + This topic describes the cmdlet in the 0.8.2 version of the Microsoft Azure PowerShell module. To find the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version. @@ -9518,7 +9697,12 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific Slot - Gets the specified deployment slot of the website. Enter the slot name, such as "Staging" or "Production". For more information about deployment slots, see Staged Deployment on Microsoft Azure Web Sites. To add a deployment slot to an existing Azure website, use the Set-AzureWebsite cmdlet. + + Gets the specified deployment slot of the website. Enter the slot name, such as "Staging" or "Production". For more information about deployment slots, see + Staged Deployment on Microsoft Azure Web Sites + + . To add a deployment slot to an existing Azure website, use the Set-AzureWebsite cmdlet. + String @@ -9541,7 +9725,12 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific Slot - Gets the specified deployment slot of the website. Enter the slot name, such as "Staging" or "Production". For more information about deployment slots, see Staged Deployment on Microsoft Azure Web Sites. To add a deployment slot to an existing Azure website, use the Set-AzureWebsite cmdlet. + + Gets the specified deployment slot of the website. Enter the slot name, such as "Staging" or "Production". For more information about deployment slots, see + Staged Deployment on Microsoft Azure Web Sites + + . To add a deployment slot to an existing Azure website, use the Set-AzureWebsite cmdlet. + String @@ -9604,9 +9793,10 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - PS C:\>Get-AzureWebsite + + PS C:\>Get-AzureWebsite - + This command gets all Azure websites in the current subscription. @@ -9622,9 +9812,10 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - PS C:\>Get-AzureWebsite -Name ContosoWeb + + PS C:\>Get-AzureWebsite -Name ContosoWeb - + This command gets detailed information about the ContosoWeb Azure website, including configuration information. When you use the Name parameter, Get-AzureWebsite returns a SiteWithConfig object with extended information about the website. @@ -9640,9 +9831,10 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - PS C:\>Get-AzureWebsite | ForEach-Object {Get-AzureWebsite -Name $_.Name} + + PS C:\>Get-AzureWebsite | ForEach-Object {Get-AzureWebsite -Name $_.Name} - + This command gets detailed information about all websites in the subscription. It uses a Get-AzureWebsite command to get all websites and then uses the ForEach-Object cmdlet to get each website by name. @@ -9658,9 +9850,10 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - PS C:\>Get-AzureWebsite -Name ContosoWeb -Slot Staging + + PS C:\>Get-AzureWebsite -Name ContosoWeb -Slot Staging - + This command gets the Staging deployment slot of the ContosoWeb website. Deployment slots let you test different versions of your Azure website without releasing them to the public. @@ -9676,17 +9869,18 @@ C:\PS> Set-AzureSubscription ???SubscriptionName ContosoEngineering -Certific - PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances + + PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances -InstanceId ----------- -2d8e712fb8f85d061c30fd793a534e6700a175f9a9ab12ca55cb3b0edfcc10ee -5834916b8cef49249b18187708223a33fbbc4352d33b48369f3166644bdd3445 + InstanceId + ---------- + 2d8e712fb8f85d061c30fd793a534e6700a175f9a9ab12ca55cb3b0edfcc10ee + 5834916b8cef49249b18187708223a33fbbc4352d33b48369f3166644bdd3445 -PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count -2 + PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count + 2 - + The commands in this example use the Instances property of an Azure website to get information about currently running website instances. The Instances property was added to the SiteWithConfig object in version 0.8.3 of the Azure module. The first command gets the instance IDs of all currently running instances of a website. The second command gets the number of running instances of the website. (You can use the Count property on any array.) @@ -9915,106 +10109,106 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count String - + - - - None - - - - - - - - You can pipe input to this cmdlet by property name, but not by value. - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities.WebHostingPlan - - - - - - - - By default, Get-AzureWebHostingPlan returns an array of WebHostingPlan objects. - - - - - - - - Example 1: Get all web hosting plans in the subscription - - - - - - PS C:\>Get-AzureWebHostingPlan - Name : Default1 - SKU : Basic - WorkerSize : Small - NumberOfWorkers : 1 - CurrentWorkerSize : Small - CurrentNumberOfWorkers : 1 - Status : Ready - WebSpace : eastuswebspace + + + None + + + + + + + + You can pipe input to this cmdlet by property name, but not by value. + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities.WebHostingPlan + + + + + + + + By default, Get-AzureWebHostingPlan returns an array of WebHostingPlan objects. + + + + + + + + Example 1: Get all web hosting plans in the subscription + + + + + + PS C:\>Get-AzureWebHostingPlan + Name : Default1 + SKU : Basic + WorkerSize : Small + NumberOfWorkers : 1 + CurrentWorkerSize : Small + CurrentNumberOfWorkers : 1 + Status : Ready + WebSpace : eastuswebspace - Name : Default0 - SKU : Free - WorkerSize : Small - NumberOfWorkers : 0 - CurrentWorkerSize : Small - CurrentNumberOfWorkers : 0 - Status : Ready - - - This command gets all Azure web hosting plans in the current subscription. - - - - - - - - - Example 2: Get a specific web hosting plans in the subscription - - - - - - PS C:\>Get-AzureWebHostingPlan westeuropewebspace Default0 + Name : Default0 + SKU : Free + WorkerSize : Small + NumberOfWorkers : 0 + CurrentWorkerSize : Small + CurrentNumberOfWorkers : 0 + Status : Ready + + + This command gets all Azure web hosting plans in the current subscription. + + + + + + + + + Example 2: Get a specific web hosting plans in the subscription + + + + + + PS C:\>Get-AzureWebHostingPlan westeuropewebspace Default0 - Name : Default0 - SKU : Free - WorkerSize : Small - NumberOfWorkers : 0 - CurrentWorkerSize : Small - CurrentNumberOfWorkers : 0 - Status : Ready - WebSpace : westeuropewebspace + Name : Default0 + SKU : Free + WorkerSize : Small + NumberOfWorkers : 0 + CurrentWorkerSize : Small + CurrentNumberOfWorkers : 0 + Status : Ready + WebSpace : westeuropewebspace - - - This command gets single Azure web hosting plans in the current subscription. - - - - - - - - - + + + This command gets single Azure web hosting plans in the current subscription. + + + + + + + + + @@ -10165,7 +10359,7 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - + @@ -15779,8 +15973,8 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - Publish-AzureWebsiteProject - + Publish-AzureWebsiteProject + Publish a Visual Studio web project to a Microsoft Azure web site using WebDeploy. @@ -15999,13 +16193,14 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - -------------------------- EXAMPLE 1 -------------------------- - + -------------------------- EXAMPLE 1 -------------------------- + C:\PS> - Publish-AzureWebsiteProject -Name site1 -ProjectFile .\WebApplication1.csproj -Configuration Debug + Publish-AzureWebsiteProject -Name site1 -ProjectFile .\WebApplication1.csproj -Configuration Debug + Description ----------- @@ -16028,13 +16223,14 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - -------------------------- EXAMPLE 2 -------------------------- - + -------------------------- EXAMPLE 2 -------------------------- + C:\PS> - Publish-AzureWebsiteProject -Name site1 -Package .\WebApplication1.zip + Publish-AzureWebsiteProject -Name site1 -Package .\WebApplication1.zip + Description ----------- @@ -16057,13 +16253,14 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - -------------------------- EXAMPLE 3 -------------------------- - + -------------------------- EXAMPLE 3 -------------------------- + C:\PS> - Publish-AzureWebsiteProject -Name site1 -Package .\WebApplication1 + Publish-AzureWebsiteProject -Name site1 -Package .\WebApplication1 + Description ----------- @@ -16116,13 +16313,14 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - -------------------------- EXAMPLE 5 -------------------------- - + -------------------------- EXAMPLE 5 -------------------------- + C:\PS> - Publish-AzureWebsiteProject -Name site1 -ProjectFile .\WebApplication1.csproj -DefaultConnection "my connection string" + Publish-AzureWebsiteProject -Name site1 -ProjectFile .\WebApplication1.csproj -DefaultConnection "my connection string" + Description ----------- @@ -18329,8 +18527,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVM -Name "ContosoV126" - + + PS C:\>Get-WAPackVM -Name "ContosoV126" + This command gets the virtual machine named ContosoV126. @@ -18346,8 +18545,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVM -Id 66242D17-189F-480D-87CF-8E1D749998C8 - + + PS C:\>Get-WAPackVM -Id 66242D17-189F-480D-87CF-8E1D749998C8 + This command gets the virtual machine that has the specified ID. @@ -18363,11 +18563,13 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVM - + + PS C:\>Get-WAPackVM + - This command gets all virtual machines. - + + This command gets all virtual machines. + @@ -18520,8 +18722,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMOSDisk -Name "ContosoOSDisk" - + + PS C:\>Get-WAPackVMOSDisk -Name "ContosoOSDisk" + This command gets an operating system disk named ContosoOSDisk. @@ -18537,9 +18740,10 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMOSDisk -Id 66242D17-189F-480D-87CF-8E1D749998C8 + + PS C:\>Get-WAPackVMOSDisk -Id 66242D17-189F-480D-87CF-8E1D749998C8 - + This command gets the operating system disk that has the specified ID. @@ -18555,8 +18759,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMOSDisk - + + PS C:\>Get-WAPackVMOSDisk + This command gets all operating system disks. @@ -18679,8 +18884,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMSizeProfile -Name "ContosoSizeProfile07" - + + PS C:\>Get-WAPackVMSizeProfile -Name "ContosoSizeProfile07" + This command gets the size profile named ContosoSizeProfile07. @@ -18696,8 +18902,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMSizeProfile -ID 66242D17-189F-480D-87CF-8E1D749998C8 - + + PS C:\>Get-WAPackVMSizeProfile -ID 66242D17-189F-480D-87CF-8E1D749998C8 + This command gets the size profile that has the specified ID. @@ -18713,8 +18920,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMSizeProfile - + + PS C:\>Get-WAPackVMSizeProfile + This command gets all the size profiles. @@ -18837,8 +19045,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMTemplate -Name "ContosoTemplate04" - + + PS C:\>Get-WAPackVMTemplate -Name "ContosoTemplate04" + This command gets the virtual machine template named ContosoTemplate04. @@ -18854,8 +19063,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMTemplate -Id 66242D17-189F-480D-87CF-8E1D749998C8 - + + PS C:\>Get-WAPackVMTemplate -Id 66242D17-189F-480D-87CF-8E1D749998C8 + This command gets the virtual machine template that has the specified ID. @@ -18871,8 +19081,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVMTemplate - + + PS C:\>Get-WAPackVMTemplate + This command gets all the virtual machine templates. @@ -18995,8 +19206,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVNet - + + PS C:\>Get-WAPackVNet + This command gets all virtual networks. @@ -19012,8 +19224,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>Get-WAPackVNet -ID 66242D17-189F-480D-87CF-8E1D749998C8 - + + PS C:\>Get-WAPackVNet -ID 66242D17-189F-480D-87CF-8E1D749998C8 + This command gets the virtual network that has the specified ID. @@ -19029,8 +19242,9 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\> Get-WAPackVNet -Name "ContosoVNet08" - + + PS C:\> Get-WAPackVNet -Name "ContosoVNet08" + This command gets the virtual network named ContosoVNet08. @@ -19174,11 +19388,12 @@ PS C:\>(Get-AzureWebsite -Name ContosoWeb).Instances.Count - PS C:\>$Credentials = Get-Credential -PS C:\> $TemplateId = Get-WAPackVMTemplate -Id 66242D17-189F-480D-87CF-8E1D749998C8 -PS C:\> New-WAPackQuickVM -Name "VirtualMachine023" -Template $TemplateId -VMCredential $Credentials + + PS C:\>$Credentials = Get-Credential + PS C:\> $TemplateId = Get-WAPackVMTemplate -Id 66242D17-189F-480D-87CF-8E1D749998C8 + PS C:\> New-WAPackQuickVM -Name "VirtualMachine023" -Template $TemplateId -VMCredential $Credentials - + The first command creates a PSCredential object, and then stores it in the $Credentials variable. The cmdlet prompts you for an account and password. For more information, type Get-Help Get-Credential. The second command gets a template by using the Get-WAPackVMTemplate cmdlet. The command specifies the ID of a template. The command stores the template object in the $TemplateID variable. @@ -19515,10 +19730,11 @@ PS C:\> New-WAPackQuickVM -Name "VirtualMachine023" -Template $TemplateId -VM - PS C:\>$Credentials = Get-Credential -PS C:\> $Template = Get-WAPackVMTemplate -Name "ContosoTemplate04" -PS C:\> New-WAPackVM -Name "ContosoV023" -Template $Template -VMCredential $Credentials -Windows - + + PS C:\>$Credentials = Get-Credential + PS C:\> $Template = Get-WAPackVMTemplate -Name "ContosoTemplate04" + PS C:\> New-WAPackVM -Name "ContosoV023" -Template $Template -VMCredential $Credentials -Windows + The first command creates a PSCredential object, and then stores it in the $Credentials variable. The cmdlet prompts you for an account and password. For more information, type Get-Help Get-Credential. The second command gets the virtual machine template named ContosoTemplate04 by using the Get-WAPackVMTemplate cmdlet, and then stores it in the $Template variable. @@ -19536,10 +19752,11 @@ PS C:\> New-WAPackVM -Name "ContosoV023" -Template $Template -VMCredential $C - PS C:\>$Credentials = Get-Credential -PS C:\> $Template = Get-WAPackVMTemplate -Name "ContosoTemplate19" -PS C:\> New-WAPackVM -Linux -Name "ContosoV028" -Template $Template -VMCredential $Credentials - + + PS C:\>$Credentials = Get-Credential + PS C:\> $Template = Get-WAPackVMTemplate -Name "ContosoTemplate19" + PS C:\> New-WAPackVM -Linux -Name "ContosoV028" -Template $Template -VMCredential $Credentials + The first command creates a PSCredential object, and then stores it in the $Credentials variable. The second command gets the virtual machine template named ContosoTemplate19 by using the Get-WAPackVMTemplate cmdlet, and then stores it in the $Template variable. @@ -19557,10 +19774,11 @@ PS C:\> New-WAPackVM -Linux -Name "ContosoV028" -Template $Template -VMCreden - PS C:\>$OSDisk = Get-WAPackVMOSDisk -Name "ContosoDiskOS" -PS C:\> $SizeProfile = Get-WAPackVMSizeProfile -Name "MediumSizeVM" -PS C:\> New-WAPackVM -Name "ContosoV073" -OSDisk $OSDisk -VMSizeProfile $SizeProfile - + + PS C:\>$OSDisk = Get-WAPackVMOSDisk -Name "ContosoDiskOS" + PS C:\> $SizeProfile = Get-WAPackVMSizeProfile -Name "MediumSizeVM" + PS C:\> New-WAPackVM -Name "ContosoV073" -OSDisk $OSDisk -VMSizeProfile $SizeProfile + The first command gets an operating system disk named ContosoDiskOS by using the Get-WAPackVMOSDisk cmdlet, and then stores it in the $OSDisk variable. The second command gets the size profile named MediumSizeVM by using the Get-WAPackVMSizeProfile cmdlet, and then stores it in the $SizeProfile variable. @@ -19780,9 +19998,10 @@ PS C:\> New-WAPackVM -Name "ContosoV073" -OSDisk $OSDisk -VMSizeProfile $Size - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126" -PS C:\> Remove-WAPackVM -VM $VirtualMachine - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126" + PS C:\> Remove-WAPackVM -VM $VirtualMachine + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command removes the virtual machine stored in $VirtualMachine. The command prompts you for confirmation. @@ -19799,9 +20018,10 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126" -PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126" + PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command removes the virtual machine stored in $VirtualMachine. This command includes the Force parameter. The command does not prompt you for confirmation. @@ -19949,8 +20169,9 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Restart-WAPackVM -VM $VirtualMachine - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Restart-WAPackVM -VM $VirtualMachine + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command restarts the virtual machine stored in $VirtualMachine. @@ -20098,8 +20319,9 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Resume-WAPackVM -VM $VirtualMachine - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Resume-WAPackVM -VM $VirtualMachine + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command resumes the virtual machine stored in $VirtualMachine. @@ -20267,8 +20489,9 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> $SizeProfile = Get-WAPackVMSizeProfile -Name "MediumSizeVM"PS C:\> Set-WAPackVM -VM $VirtualMachine -VMSizeProfile $SizeProfile - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> $SizeProfile = Get-WAPackVMSizeProfile -Name "MediumSizeVM"PS C:\> Set-WAPackVM -VM $VirtualMachine -VMSizeProfile $SizeProfile + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command gets the size profile named MediumSizeVM by using the Get-WAPackVMSizeProfile cmdlet, and then stores that object in the $SizeProfile variable. @@ -20421,8 +20644,9 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Start-WAPackVM -VM $VirtualMachine - + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Start-WAPackVM -VM $VirtualMachine + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command starts the virtual machine stored in $VirtualMachine. @@ -20593,9 +20817,10 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Stop-WAPackVM -VM $VirtualMachine + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Stop-WAPackVM -VM $VirtualMachine - + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command stops the virtual machine stored in $VirtualMachine. @@ -20752,9 +20977,10 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Suspend-WAPackVM -VM $VirtualMachine + + PS C:\>$VirtualMachine = Get-WAPackVM -Name "ContosoV126"PS C:\> Suspend-WAPackVM -VM $VirtualMachine - + The first command gets the virtual machine named ContosoV126 by using the Get-WAPackVM cmdlet, and then stores that object in the $VirtualMachine variable. The second command suspends the virtual machine stored in $VirtualMachine. @@ -20926,7 +21152,7 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - + Get-WAPackStaticIPAddressPool @@ -21031,7 +21257,8 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$Subnet = Get-WAPackVMSubet –Name “ContosoVMSubnet01”PS C:\>Get-WAPackStaticIPAddressPool –VMSubnet $Subnet -Name "ContosoStaticIPAddressPool01" + + PS C:\>$Subnet = Get-WAPackVMSubet –Name “ContosoVMSubnet01”PS C:\>Get-WAPackStaticIPAddressPool –VMSubnet $Subnet -Name "ContosoStaticIPAddressPool01" This command gets the static ip address pool named “ContosoStaticIPAddressPool01” from a given VMSubnet. @@ -21048,7 +21275,8 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$Subnet = Get-WAPackVMSubet –Name “ContosoVMSubnet01”PS C:\>Get-WAPackStaticIPAddressPool –VMSubnet $Subnet + + PS C:\>$Subnet = Get-WAPackVMSubet –Name “ContosoVMSubnet01”PS C:\>Get-WAPackStaticIPAddressPool –VMSubnet $Subnet This command gets all the static ip pool from a given VMSubet. @@ -21556,7 +21784,7 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - + New-WAPackStaticIPAddressPool @@ -21698,7 +21926,8 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VNet = Get-WAPackVNet -Name "ContosoVNet01" + + PS C:\>$VNet = Get-WAPackVNet -Name "ContosoVNet01" PS C:\>$VMSubnet = Get-WAPackVMSubnet –VNet $VNet -Name "ContosoVMSubnet01" PS C:\>New-WAPackStaticIpAddressPool –VMSubnet $VMSubnet -Name "ContosoStaticIpAddressPool01" -IPAddressRangeStart “192.168.1.0” –IPAddressRangeEnd “192.168.1.10” @@ -23125,7 +23354,7 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - + Remove-WAPackVMRole @@ -23281,7 +23510,8 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VMRole = Get-WAPackVMRole -Name “ContosoVMRole01” + + PS C:\>$VMRole = Get-WAPackVMRole -Name “ContosoVMRole01” PS C:\>Remove-WAPackVMRole -VMRole $VMRole @@ -23301,7 +23531,8 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>$VMRole = Get-WAPackVMRole -Name “ContosoVMRole02” + + PS C:\>$VMRole = Get-WAPackVMRole -Name “ContosoVMRole02” PS C:\>Remove-WAPackVMRole -VMRole $VMRole –CloudServiceName “ContosoCloudService02” @@ -23690,10 +23921,11 @@ PS C:\> Remove-WAPackVM -VM $VirtualMachine -Force - PS C:\>Use-AzureHDInsightCluster yourcluster -Subscription (Get-AzureSubscription -Current).SubscriptionId -Invoke-Hive "select * from hivesampletable limit 10" + + PS C:\>Use-AzureHDInsightCluster yourcluster -Subscription (Get-AzureSubscription -Current).SubscriptionId + Invoke-Hive "select * from hivesampletable limit 10" - + Submit a Hive queries to the HDInsight cluster. @@ -23869,9 +24101,10 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>$sqoopJobDef = New-AzureHDInsightSqoopJobDefinition -Command "import --connect jdbc:sqlserver://<SQLDatabaseServerName>.database.windows.net:1433;username=<SQLDatabasUsername>@<SQLDatabaseServerName>; password=<SQLDatabasePassword>; database=<SQLDatabaseDatabaseName> --table <TableName> --target-dir wasb://<ContainerName>@<WindowsAzureStorageAccountName>.blob.core.windows.net/<Path>" + + PS C:\>$sqoopJobDef = New-AzureHDInsightSqoopJobDefinition -Command "import --connect jdbc:sqlserver://<SQLDatabaseServerName>.database.windows.net:1433;username=<SQLDatabasUsername>@<SQLDatabaseServerName>; password=<SQLDatabasePassword>; database=<SQLDatabaseDatabaseName> --table <TableName> --target-dir wasb://<ContainerName>@<WindowsAzureStorageAccountName>.blob.core.windows.net/<Path>" - + Define a Sqoop job that that imports??all the rows of a table from a Windows Azure SQL Database to an HDInsight cluster. @@ -23990,8 +24223,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationAccount -Name "Contoso17" - + + PS C:\>Get-AzureAutomationAccount -Name "Contoso17" + This command gets the Automation account named Contoso17. @@ -24243,8 +24477,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b647 - + + PS C:\>Get-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b647 + This command gets the job that has the specified GUID. @@ -24317,15 +24552,17 @@ Invoke-Hive "select * from hivesampletable limit 10" Stream - Specifies the type of output. Valid values are: + + Specifies the type of output. Valid values are: --- Any --- Debug --- Error --- Output --- Progress --- Verbose --- Warning + -- Any + -- Debug + -- Error + -- Output + -- Progress + -- Verbose + -- Warning + String @@ -24371,15 +24608,17 @@ Invoke-Hive "select * from hivesampletable limit 10" Stream - Specifies the type of output. Valid values are: + + Specifies the type of output. Valid values are: --- Any --- Debug --- Error --- Output --- Progress --- Verbose --- Warning + -- Any + -- Debug + -- Error + -- Output + -- Progress + -- Verbose + -- Warning + String @@ -24428,8 +24667,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -Stream "Any" - + + PS C:\>Get-AzureAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -Stream "Any" + This command gets all of the output of the job that has the specified ID. @@ -24631,9 +24871,10 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationRunbook -AutomationAccountName "Contoso17" + + PS C:\>Get-AzureAutomationRunbook -AutomationAccountName "Contoso17" - + This command gets all runbooks in the Azure Automation account named Contoso17. @@ -24700,10 +24941,12 @@ Invoke-Hive "select * from hivesampletable limit 10" Slot - Specifies a runbook definition type. Valid values are: + + Specifies a runbook definition type. Valid values are: --- Published --- Draft + -- Published + -- Draft + String @@ -24727,10 +24970,12 @@ Invoke-Hive "select * from hivesampletable limit 10" Slot - Specifies a runbook definition type. Valid values are: + + Specifies a runbook definition type. Valid values are: --- Published --- Draft + -- Published + -- Draft + String @@ -24754,10 +24999,12 @@ Invoke-Hive "select * from hivesampletable limit 10" Slot - Specifies a runbook definition type. Valid values are: + + Specifies a runbook definition type. Valid values are: --- Published --- Draft + -- Published + -- Draft + String @@ -24810,10 +25057,12 @@ Invoke-Hive "select * from hivesampletable limit 10" Slot - Specifies a runbook definition type. Valid values are: + + Specifies a runbook definition type. Valid values are: --- Published --- Draft + -- Published + -- Draft + String @@ -24874,8 +25123,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "RunbookDef01" -Slot "Published" - + + PS C:\>Get-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "RunbookDef01" -Slot "Published" + This command gets the published runbook definition of the runbook named RunbookDef01 in the Azure Automation account named Contoso17. @@ -25036,8 +25286,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>Get-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "DailySchedule08" - + + PS C:\>Get-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "DailySchedule08" + This command gets the schedule named DailySchedule08. @@ -25249,8 +25500,9 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>New-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbook02" - + + PS C:\>New-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbook02" + This command creates a new runbook named Runbook02 in the Azure Automation account named Contoso17. @@ -25513,10 +25765,11 @@ Invoke-Hive "select * from hivesampletable limit 10" - PS C:\>$StartDate = Get-Date -Day 12 -Month 6 -Year 2016 -PS C:\> $EndDate = Get-Date -Day 12 -Month 6 -Year 2023 -PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -StartTime $StartDate -ExpiryTime $EndDate - + + PS C:\>$StartDate = Get-Date -Day 12 -Month 6 -Year 2016 + PS C:\> $EndDate = Get-Date -Day 12 -Month 6 -Year 2023 + PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -StartTime $StartDate -ExpiryTime $EndDate + The first command creates a date object by using the Get-Date cmdlet, and then stores the object in the $StartDate variable. Specify a time that is at least five minutes in the future. For more information, type Get-Help Get-Date. The second command creates a date object by using the Get-Date cmdlet, and then stores the object in the $EndDate variable. The command specifies a future time. @@ -25677,8 +25930,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" - + + PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + This command publishes the runbook named Runbk01 in the Azure Automation account named Contoso17. @@ -25897,8 +26151,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Register-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Sched01" - + + PS C:\>Register-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Sched01" + This command associates the runbook named Runbk01 with the schedule named Sched01 in the Azure Automation account named Contoso17. @@ -26125,8 +26380,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" - + + PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" + This command removes the runbook named MyRunbook in the Azure Automation account named Contoso17. @@ -26365,8 +26621,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Remove-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "MySchedule" - + + PS C:\>Remove-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "MySchedule" + This command removes the schedule named MySchedule. @@ -26497,8 +26754,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - + + PS C:\>Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + This command resumes the job that has the specified ID. @@ -26787,8 +27045,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Set-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" -LogVerbose $True - + + PS C:\>Set-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" -LogVerbose $True + This command enables verbose logging for the jobs of the specified runbook in the Azure Automation account named Contoso17. @@ -27005,8 +27264,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Set-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "Runbk01" -Path App01.ps1 -Overwrite - + + PS C:\>Set-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "Runbk01" -Path App01.ps1 -Overwrite + This command overwrites the existing draft definition of a runbook. @@ -27183,8 +27443,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Set-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -Description "Automation Schedule" - + + PS C:\>Set-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -Description "Automation Schedule" + This command modifies the description of the schedule named Schedule01. @@ -27369,8 +27630,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" - + + PS C:\>Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + This command starts a runbook job for the runbook named Runbk01 in the Azure Automation account named Contoso17. @@ -27508,8 +27770,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Stop-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - + + PS C:\>Stop-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + This command stops the job that has the specified ID. @@ -27640,8 +27903,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Suspend-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 - + + PS C:\>Suspend-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + This command suspends the job that has the specified ID. @@ -27826,8 +28090,9 @@ PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name - PS C:\>Unregister-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Runbk01Sched" - + + PS C:\>Unregister-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Runbk01Sched" + This command removes the association between the runbook named Runbk01 and the schedule named Runbk01Sched. diff --git a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs index eef9d9e107fd..5c73fbbdd865 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18449 +// Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -2857,7 +2857,7 @@ public static string PythonScaffolding { } /// - /// Looks up a localized string similar to Reploy deployment with {0} Id ?. + /// Looks up a localized string similar to Replace current deployment with '{0}' Id ?. /// public static string RedeployCommit { get { @@ -3441,6 +3441,15 @@ public static string SchedulerExistingJobCollection { } } + /// + /// Looks up a localized string similar to A valid value for ClientCertificatePfx and ClientCertificatePassword parameters are required for Http scheduler jobs with ClientCertificate authentication type.. + /// + public static string SchedulerInvalidClientCertAuthRequest { + get { + return ResourceManager.GetString("SchedulerInvalidClientCertAuthRequest", resourceCulture); + } + } + /// /// Looks up a localized string similar to Invalid location entered. Pick one of the locations from Get-AzureSchedulerLocation. /// @@ -3450,6 +3459,15 @@ public static string SchedulerInvalidLocation { } } + /// + /// Looks up a localized string similar to For None authentication type, both ClientCertificatePfx and ClientCertificatePassword parameters should be null. + /// + public static string SchedulerInvalidNoneAuthRequest { + get { + return ResourceManager.GetString("SchedulerInvalidNoneAuthRequest", resourceCulture); + } + } + /// /// Looks up a localized string similar to The subscription already has a free job collection. Only one free job collection can be created per subscription.. /// @@ -3820,6 +3838,15 @@ public static string SitesArgTemplate { } } + /// + /// Looks up a localized string similar to Please specify CreateACSNamespace as true or false for better future compatibility.. + /// + public static string SpecifyCreateACSNamespace { + get { + return ResourceManager.GetString("SpecifyCreateACSNamespace", resourceCulture); + } + } + /// /// Looks up a localized string similar to 1000. /// diff --git a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx index a81591bdcce6..5f6a34484018 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx +++ b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx @@ -1068,7 +1068,7 @@ Please follow these steps in the portal: Resources\Scaffolding\Python - Reploy deployment with {0} Id ? + Replace current deployment with '{0}' Id ? Are you sure you want to regenerate key? @@ -1586,7 +1586,16 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Error creating VMNetwork + + Please specify CreateACSNamespace as true or false for better future compatibility. + Please provide webspace name as well. + + A valid value for ClientCertificatePfx and ClientCertificatePassword parameters are required for Http scheduler jobs with ClientCertificate authentication type. + + + For None authentication type, both ClientCertificatePfx and ClientCertificatePassword parameters should be null + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/ExtensionMethods.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/ExtensionMethods.cs index ec8d4dde408a..ad8afce3cab6 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/ExtensionMethods.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/ExtensionMethods.cs @@ -51,7 +51,7 @@ public static bool IsErrorActionSet(this PSCreateJobParams jobRequest) { return (!string.IsNullOrEmpty(jobRequest.ErrorActionBody) || !string.IsNullOrEmpty(jobRequest.ErrorActionMethod) || - jobRequest.ErrorActionUri !=null || + jobRequest.ErrorActionUri != null || jobRequest.ErrorActionHeaders != null || !string.IsNullOrEmpty(jobRequest.ErrorActionQueueBody) || !string.IsNullOrEmpty(jobRequest.ErrorActionQueueName) || @@ -64,7 +64,7 @@ public static bool IsRecurrenceSet(this PSCreateJobParams jobRequest) return (!string.IsNullOrEmpty(jobRequest.Frequency) || jobRequest.Interval != null || jobRequest.ExecutionCount != null || - jobRequest.EndTime != null ); + jobRequest.EndTime != null); } public static bool IsActionSet(this PSCreateJobParams jobRequest) @@ -72,7 +72,8 @@ public static bool IsActionSet(this PSCreateJobParams jobRequest) return (!string.IsNullOrEmpty(jobRequest.Method) || jobRequest.Uri != null || !string.IsNullOrEmpty(jobRequest.Body) || - jobRequest.Headers != null); + jobRequest.Headers != null || + jobRequest.HttpAuthType != null); } public static bool IsStorageActionSet(this PSCreateJobParams jobRequest) @@ -101,6 +102,6 @@ public static int GetInterval(this TimeSpan timespan) else if (timespan.Minutes > 0) interval = timespan.Minutes; return interval; - } + } } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/SchedulerUtils.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/SchedulerUtils.cs new file mode 100644 index 000000000000..52c066a29efb --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Common/SchedulerUtils.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Security.Cryptography.X509Certificates; + +namespace Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Common +{ + public static class SchedulerUtils + { + public static string GetCertData(string pfxPath, string password) + { + if (!string.IsNullOrEmpty(pfxPath)) + { + var cert = new X509Certificate2(); + cert.Import(pfxPath, password, X509KeyStorageFlags.Exportable); + return cert.HasPrivateKey + ? Convert.ToBase64String(cert.Export(X509ContentType.Pfx, password)) + : Convert.ToBase64String(cert.Export(X509ContentType.Pkcs12)); + } + return null; + } + } +} diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSCreateJobParams.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSCreateJobParams.cs index 0b99eec15004..71e9cf75daa3 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSCreateJobParams.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSCreateJobParams.cs @@ -69,5 +69,10 @@ public class PSCreateJobParams public string ErrorActionQueueBody { get; set; } + public string HttpAuthType { get; set; } + + public string ClientCertPfx { get; set; } + + public string ClientCertPassword { get; set; } } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSHttpJobDetail.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSHttpJobDetail.cs index 74e924926278..0d7f548083f4 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSHttpJobDetail.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/Model/PSHttpJobDetail.cs @@ -27,5 +27,10 @@ public class PSHttpJobDetail : PSJobDetail public IDictionary Headers { get; internal set; } + public string ClientCertSubjectName { get; internal set; } + + public string ClientCertThumbprint { get; internal set; } + + public string ClientCertExpiryDate { get; internal set; } } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs index 4ccb042f4098..9fc671dac66a 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs @@ -83,7 +83,7 @@ public PSJobDetail CreateHttpJob(PSCreateJobParams jobRequest, out string status throw new Exception(Resources.SchedulerInvalidLocation); SchedulerClient schedulerClient = AzureSession.ClientFactory.CreateCustomClient(jobRequest.Region.ToCloudServiceName(), jobRequest.JobCollectionName, csmClient.Credentials, schedulerManagementClient.BaseUri); - + JobCreateOrUpdateParameters jobCreateParams = new JobCreateOrUpdateParameters { Action = new JobAction @@ -101,6 +101,31 @@ public PSJobDetail CreateHttpJob(PSCreateJobParams jobRequest, out string status jobCreateParams.Action.Request.Headers = jobRequest.Headers.ToDictionary(); } + if (jobRequest.HttpAuthType.Equals("ClientCertificate", StringComparison.OrdinalIgnoreCase)) + { + if (jobRequest.ClientCertPfx != null && jobRequest.ClientCertPassword != null) + { + jobCreateParams.Action.Request.Authentication = new ClientCertAuthentication + { + Type = HttpAuthenticationType.ClientCertificate, + Password = jobRequest.ClientCertPassword, + Pfx = jobRequest.ClientCertPfx + }; + } + else + { + throw new InvalidOperationException(Resources.SchedulerInvalidClientCertAuthRequest); + } + } + + if (jobRequest.HttpAuthType.Equals("None", StringComparison.OrdinalIgnoreCase)) + { + if (!string.IsNullOrEmpty(jobRequest.ClientCertPfx) || !string.IsNullOrEmpty(jobRequest.ClientCertPassword)) + { + throw new InvalidOperationException(Resources.SchedulerInvalidNoneAuthRequest); + } + } + if (jobRequest.Method.Equals("PUT", StringComparison.OrdinalIgnoreCase) || jobRequest.Method.Equals("POST", StringComparison.OrdinalIgnoreCase)) jobCreateParams.Action.Request.Body = jobRequest.Body; @@ -286,6 +311,34 @@ private JobCreateOrUpdateParameters PopulateExistingJobParams(Job job, PSCreateJ jobUpdateParams.Action.Request.Method = jobRequest.Method ?? job.Action.Request.Method; jobUpdateParams.Action.Request.Headers = jobRequest.Headers == null ? job.Action.Request.Headers : jobRequest.Headers.ToDictionary(); jobUpdateParams.Action.Request.Body = jobRequest.Body ?? job.Action.Request.Body; + + //Job has existing authentication + if (job.Action.Request.Authentication != null) + { + if (jobRequest.HttpAuthType.Equals("ClientCertificate", StringComparison.OrdinalIgnoreCase)) + { + jobUpdateParams.Action.Request.Authentication = SetClientCertAuthentication(jobRequest, jobUpdateParams); + } + else if (jobRequest.HttpAuthType.Equals("None", StringComparison.OrdinalIgnoreCase)) + { + if (!string.IsNullOrEmpty(jobRequest.ClientCertPfx) || !string.IsNullOrEmpty(jobRequest.ClientCertPassword)) + { + throw new InvalidOperationException(Resources.SchedulerInvalidNoneAuthRequest); + } + else + { + jobUpdateParams.Action.Request.Authentication = null; + } + } + else + { + jobUpdateParams.Action.Request.Authentication = job.Action.Request.Authentication; + } + } + else if (job.Action.Request.Authentication == null && jobRequest.HttpAuthType.Equals("ClientCertificate", StringComparison.OrdinalIgnoreCase)) + { + jobUpdateParams.Action.Request.Authentication = SetClientCertAuthentication(jobRequest, jobUpdateParams); + } } else if (job.Action.Request == null) { @@ -293,8 +346,11 @@ private JobCreateOrUpdateParameters PopulateExistingJobParams(Job job, PSCreateJ jobUpdateParams.Action.Request.Method = jobRequest.Method; jobUpdateParams.Action.Request.Headers = jobRequest.Headers.ToDictionary(); jobUpdateParams.Action.Request.Body = jobRequest.Body; + if (jobRequest.HttpAuthType.Equals("ClientCertificate", StringComparison.OrdinalIgnoreCase)) + { + jobUpdateParams.Action.Request.Authentication = SetClientCertAuthentication(jobRequest, jobUpdateParams); + } } - } else { @@ -302,6 +358,10 @@ private JobCreateOrUpdateParameters PopulateExistingJobParams(Job job, PSCreateJ jobUpdateParams.Action.Request.Method = jobRequest.Method; jobUpdateParams.Action.Request.Headers = jobRequest.Headers.ToDictionary(); jobUpdateParams.Action.Request.Body = jobRequest.Body; + if (jobRequest.HttpAuthType.Equals("ClientCertificate", StringComparison.OrdinalIgnoreCase)) + { + jobUpdateParams.Action.Request.Authentication = SetClientCertAuthentication(jobRequest, jobUpdateParams); + } } } else @@ -400,6 +460,23 @@ private JobCreateOrUpdateParameters PopulateExistingJobParams(Job job, PSCreateJ return jobUpdateParams; } + private HttpAuthentication SetClientCertAuthentication(PSCreateJobParams jobRequest, JobCreateOrUpdateParameters jobUpdateParams) + { + if (jobRequest.ClientCertPfx != null && jobRequest.ClientCertPassword != null) + { + return new ClientCertAuthentication + { + Type = HttpAuthenticationType.ClientCertificate, + Password = jobRequest.ClientCertPassword, + Pfx = jobRequest.ClientCertPfx + }; + } + else + { + throw new InvalidOperationException(Resources.SchedulerInvalidClientCertAuthRequest); + } + } + /// /// Existing bug in SDK where recurrence counts are set to 0 instead of null /// diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs index 0c3486f9f50a..5c17f4a926c5 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs @@ -64,14 +64,14 @@ public SchedulerMgmntClient(AzureSubscription subscription) //Get available regions string val = string.Empty; - if(dict.TryGetValue(SupportedRegionsKey, out val)) + if (dict.TryGetValue(SupportedRegionsKey, out val)) { AvailableRegions = new List(); val.Split(',').ToList().ForEach(s => AvailableRegions.Add(s)); - } + } //Store global counts for max jobs and min recurrence for each plan - if(dict.TryGetValue(FreeMaxJobCountKey, out val)) + if (dict.TryGetValue(FreeMaxJobCountKey, out val)) FreeMaxJobCountValue = Convert.ToInt32(dict[FreeMaxJobCountKey]); if (dict.TryGetValue(FreeMinRecurrenceKey, out val)) @@ -92,7 +92,7 @@ public SchedulerMgmntClient(AzureSubscription subscription) #region Get Available Regions public List GetAvailableRegions() - { + { return AvailableRegions; } #endregion @@ -216,7 +216,7 @@ private List GetSchedulerJobs(string cloudService, string jobCol { if (csRes.ResourceProviderNamespace.Equals(Constants.SchedulerRPNameProvider, StringComparison.OrdinalIgnoreCase) && csRes.Name.Equals(jobCollection, StringComparison.OrdinalIgnoreCase)) { - SchedulerClient schedClient = AzureSession.ClientFactory.CreateCustomClient(cloudService, jobCollection, csmClient.Credentials, schedulerManagementClient.BaseUri); + SchedulerClient schedClient = AzureSession.ClientFactory.CreateCustomClient(cloudService, jobCollection, csmClient.Credentials, schedulerManagementClient.BaseUri); JobListResponse jobs = schedClient.Jobs.List(new JobListParameters { @@ -392,7 +392,7 @@ public PSJobDetail GetJobDetail(string jobCollection, string job, string cloudSe { if (csRes.ResourceProviderNamespace.Equals(Constants.SchedulerRPNameProvider, StringComparison.OrdinalIgnoreCase) && csRes.Name.Equals(jobCollection, StringComparison.OrdinalIgnoreCase)) { - SchedulerClient schedClient = AzureSession.ClientFactory.CreateCustomClient(cloudService, jobCollection, csmClient.Credentials, schedulerManagementClient.BaseUri); + SchedulerClient schedClient = AzureSession.ClientFactory.CreateCustomClient(cloudService, jobCollection, csmClient.Credentials, schedulerManagementClient.BaseUri); JobListResponse jobs = schedClient.Jobs.List(new JobListParameters { @@ -404,26 +404,34 @@ public PSJobDetail GetJobDetail(string jobCollection, string job, string cloudSe { if (Enum.GetName(typeof(JobActionType), j.Action.Type).Contains("Http")) { - return new PSHttpJobDetail + PSHttpJobDetail jobDetail = new PSHttpJobDetail(); + jobDetail.JobName = j.Id; + jobDetail.JobCollectionName = jobCollection; + jobDetail.CloudService = cloudService; + jobDetail.ActionType = Enum.GetName(typeof(JobActionType), j.Action.Type); + jobDetail.Uri = j.Action.Request.Uri; + jobDetail.Method = j.Action.Request.Method; + jobDetail.Body = j.Action.Request.Body; + jobDetail.Headers = j.Action.Request.Headers; + jobDetail.Status = j.State.ToString(); + jobDetail.StartTime = j.StartTime; + jobDetail.EndSchedule = GetEndTime(j); + jobDetail.Recurrence = j.Recurrence == null ? string.Empty : j.Recurrence.Interval.ToString() + " (" + j.Recurrence.Frequency.ToString() + "s)"; + if (j.Status != null) { - JobName = j.Id, - JobCollectionName = jobCollection, - CloudService = cloudService, - ActionType = Enum.GetName(typeof(JobActionType), j.Action.Type), - Uri = j.Action.Request.Uri, - Method = j.Action.Request.Method, - Body = j.Action.Request.Body, - Headers = j.Action.Request.Headers, - Status = j.State.ToString(), - StartTime = j.StartTime, - EndSchedule = GetEndTime(j), - Recurrence = j.Recurrence == null ? string.Empty : j.Recurrence.Interval.ToString() + " per " + j.Recurrence.Frequency.ToString(), - Failures = j.Status == null ? default(int?) : j.Status.FailureCount, - Faults = j.Status == null ? default(int?) : j.Status.FaultedCount, - Executions = j.Status == null ? default(int?) : j.Status.ExecutionCount, - Lastrun = j.Status == null ? null : j.Status.LastExecutionTime, - Nextrun = j.Status == null ? null : j.Status.NextExecutionTime - }; + jobDetail.Failures = j.Status.FailureCount; + jobDetail.Faults = j.Status.FaultedCount; + jobDetail.Executions = j.Status.ExecutionCount; + jobDetail.Lastrun = j.Status.LastExecutionTime; + jobDetail.Nextrun = j.Status.NextExecutionTime; + } + if (j.Action.Request.Authentication != null && j.Action.Request.Authentication.Type == HttpAuthenticationType.ClientCertificate) + { + jobDetail.ClientCertThumbprint = ((j.Action.Request.Authentication) as ClientCertAuthentication).CertificateThumbprint; + jobDetail.ClientCertExpiryDate = ((j.Action.Request.Authentication) as ClientCertAuthentication).CertificateExpiration.ToString(); + jobDetail.ClientCertSubjectName = ((j.Action.Request.Authentication) as ClientCertAuthentication).CertificateSubjectName; + } + return jobDetail; } else { @@ -440,7 +448,7 @@ public PSJobDetail GetJobDetail(string jobCollection, string job, string cloudSe Status = j.State.ToString(), EndSchedule = GetEndTime(j), StartTime = j.StartTime, - Recurrence = j.Recurrence == null ? string.Empty : j.Recurrence.Interval.ToString() + " per " + j.Recurrence.Frequency.ToString(), + Recurrence = j.Recurrence == null ? string.Empty : j.Recurrence.Interval.ToString() + " (" + j.Recurrence.Frequency.ToString() + "s)", Failures = j.Status == null ? default(int?) : j.Status.FailureCount, Faults = j.Status == null ? default(int?) : j.Status.FaultedCount, Executions = j.Status == null ? default(int?) : j.Status.ExecutionCount, @@ -537,5 +545,4 @@ public bool DeleteJobCollection(string jobCollection, string region = "") #endregion } - } diff --git a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ExtendedServiceBusNamespace.cs b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ExtendedServiceBusNamespace.cs index 2a8d2058a6e9..06e6377eaf1d 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ExtendedServiceBusNamespace.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ExtendedServiceBusNamespace.cs @@ -39,6 +39,8 @@ public ExtendedServiceBusNamespace( CreatedAt = serviceBusNamespace.CreatedAt; + NamespaceType = serviceBusNamespace.NamespaceType; + AcsManagementEndpoint = serviceBusNamespace.AcsManagementEndpoint != null ? serviceBusNamespace.AcsManagementEndpoint.ToString() : string.Empty; ServiceBusEndpoint = serviceBusNamespace.ServiceBusEndpoint != null ? serviceBusNamespace.ServiceBusEndpoint.ToString() : string.Empty; @@ -73,6 +75,8 @@ public ExtendedServiceBusNamespace( public string ConnectionString { get; set; } + public NamespaceType NamespaceType { get; set; } + public override bool Equals(object obj) { ExtendedServiceBusNamespace lhs = obj as ExtendedServiceBusNamespace; @@ -82,7 +86,7 @@ public override bool Equals(object obj) return false; } - return this.Name.Equals(lhs.Name) && this.Region.Equals(lhs.Region); + return this.Name.Equals(lhs.Name) && this.Region.Equals(lhs.Region) && this.NamespaceType.Equals(lhs.NamespaceType); } public override int GetHashCode() diff --git a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs index 9fe3e893a74a..dd353879c61f 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs @@ -835,7 +835,7 @@ public virtual bool NamespaceExists(string name) return GetNamespace().Exists(ns => ns.Name.Equals(name, StringComparison.OrdinalIgnoreCase)); } - public virtual ExtendedServiceBusNamespace CreateNamespace(string name, string location) + public virtual ExtendedServiceBusNamespace CreateNamespace(string name, string location, NamespaceType type, bool createACSNamespace = true) { location = string.IsNullOrEmpty(location) ? GetDefaultLocation() : location; @@ -844,7 +844,7 @@ public virtual ExtendedServiceBusNamespace CreateNamespace(string name, string l throw new ArgumentException(string.Format(Resources.InvalidNamespaceName, name), "Name"); } - ServiceBusClient.Namespaces.Create(name, location); + ServiceBusClient.Namespaces.CreateNamespace(name, new ServiceBusNamespaceCreateParameters { Region = location, CreateACSNamespace = createACSNamespace, NamespaceType = type}); // Wait until the namespace is activated while (!IsActiveNamespace(name)) diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs index e418dd9d8667..6443c16e7204 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs @@ -15,6 +15,8 @@ using System; using System.Net; using System.Net.Http; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Factories; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.WindowsAzure.Commands.Utilities.Websites @@ -41,7 +43,15 @@ protected KuduRemoteClientBase( ServiceUrl = GeneralUtilities.EnsureTrailingSlash(serviceUrl); Credentials = credentials; - Client = HttpClientHelper.CreateClient(ServiceUrl, credentials, handler); + + if (credentials != null) + { + Client = AzureSession.ClientFactory.CreateHttpClient(serviceUrl, ClientFactory.CreateHttpClientHandler(serviceUrl, credentials)); + } + else + { + Client = AzureSession.ClientFactory.CreateHttpClient(serviceUrl, handler); + } } public string ServiceUrl { get; private set; } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/Site.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/Site.cs index ad485a13aa7d..11312a27c027 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/Site.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/Site.cs @@ -46,16 +46,14 @@ public interface ISite string WebSpace { get; set; } Uri SelfLink { get; set; } string RepositorySiteName { get; set; } - string Owner { get; set; } UsageState UsageState { get; set; } bool? Enabled { get; set; } bool? AdminEnabled { get; set; } string[] EnabledHostNames { get; set; } SiteProperties SiteProperties { get; set; } SiteAvailabilityState AvailabilityState { get; set; } - Certificate[] SSLCertificates { get; set; } - string SiteMode { get; set; } HostNameSslStates HostNameSslStates { get; set; } + SkuOptions? Sku { get; set; } } [DataContract(Namespace = UriElements.ServiceNamespace)] @@ -103,13 +101,11 @@ public class Site : ISite [DataMember(IsRequired = false)] public Certificate[] SSLCertificates { get; set; } - [DataMember(IsRequired = false)] - public string SiteMode { get; set; } - [DataMember(IsRequired = false)] public HostNameSslStates HostNameSslStates { get; set; } - public WebSiteComputeMode? ComputeMode { get; set; } + [DataMember(IsRequired = false)] + public SkuOptions? Sku { get; set; } internal string GetProperty(string property) { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/SiteConfig.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/SiteConfig.cs index 9319b5bb2a04..15c6a39a8886 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/SiteConfig.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/SiteConfig.cs @@ -63,7 +63,9 @@ public interface ISiteConfig List RoutingRules { get; set; } - bool ? Use32BitWorkerProcess { get; set; } + bool? Use32BitWorkerProcess { get; set; } + + string AutoSwapSlotName { get; set; } } public class SiteWithConfig : ISite, ISiteConfig @@ -93,7 +95,7 @@ public SiteWithConfig(Site site, SiteConfig siteConfig) AppSettings = new Hashtable(); DiagnosticsSettings = new DiagnosticsSettings(); Instances = new WebsiteInstance[0]; - + if (SiteConfig.AppSettings != null) { foreach (var setting in SiteConfig.AppSettings) @@ -243,10 +245,10 @@ public string RepositorySiteName set { Site.RepositorySiteName = value; } } - public string Owner + public SkuOptions? Sku { - get { return Site.Owner; } - set { Site.Owner = value; } + get { return Site.Sku; } + set { Site.Sku = value; } } public UsageState UsageState @@ -285,18 +287,6 @@ public SiteAvailabilityState AvailabilityState set { Site.AvailabilityState = value; } } - public Certificate[] SSLCertificates - { - get { return Site.SSLCertificates; } - set { Site.SSLCertificates = value; } - } - - public string SiteMode - { - get { return Site.SiteMode; } - set { Site.SiteMode = value; } - } - public HostNameSslStates HostNameSslStates { get { return Site.HostNameSslStates; } @@ -362,6 +352,24 @@ public bool? Use32BitWorkerProcess get { return SiteConfig.Use32BitWorkerProcess; } set { SiteConfig.Use32BitWorkerProcess = value; } } + + public string AutoSwapSlotName + { + get { return SiteConfig.AutoSwapSlotName; } + set { SiteConfig.AutoSwapSlotName = value; } + } + + public IList SlotStickyAppSettingNames + { + get { return SiteConfig.SlotStickyAppSettingNames; } + set { SiteConfig.SlotStickyAppSettingNames = value; } + } + + public IList SlotStickyConnectionStringNames + { + get { return SiteConfig.SlotStickyConnectionStringNames; } + set { SiteConfig.SlotStickyConnectionStringNames = value; } + } } [DataContract(Namespace = UriElements.ServiceNamespace)] @@ -424,5 +432,14 @@ public class SiteConfig [DataMember(IsRequired = false)] public bool? Use32BitWorkerProcess { get; set; } + + [DataMember(IsRequired = false)] + public string AutoSwapSlotName { get; set; } + + [DataMember(IsRequired = false)] + public IList SlotStickyAppSettingNames { get; set; } + + [DataMember(IsRequired = false)] + public IList SlotStickyConnectionStringNames { get; set; } } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/WebHostingPlan.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/WebHostingPlan.cs index 146d5499b33a..f2f5a4bafe0c 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/WebHostingPlan.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebEntities/WebHostingPlan.cs @@ -40,9 +40,6 @@ public class WebHostingPlan [DataMember(IsRequired = false)] public int? CurrentNumberOfWorkers { get; set; } - [DataMember(IsRequired = false)] - public StatusOptions Status { get; set; } - [DataMember(IsRequired = false)] public string WebSpace { get; set; } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebSitesManagementExtensionMethods.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebSitesManagementExtensionMethods.cs index 727688c7f28f..4dfd360edaaa 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebSitesManagementExtensionMethods.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/WebSitesManagementExtensionMethods.cs @@ -1,4 +1,5 @@ -// ---------------------------------------------------------------------------------- + +// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); @@ -39,8 +40,6 @@ internal static WebSiteUpdateConfigurationParameters ToUpdate(this WebSiteGetCon NetFrameworkVersion = getConfigResponse.NetFrameworkVersion, NumberOfWorkers = getConfigResponse.NumberOfWorkers, PhpVersion = getConfigResponse.PhpVersion, - PublishingPassword = getConfigResponse.PublishingPassword, - PublishingUserName = getConfigResponse.PublishingUserName, RequestTracingEnabled = getConfigResponse.RequestTracingEnabled, RequestTracingExpirationTime = getConfigResponse.RequestTracingExpirationTime, ScmType = getConfigResponse.ScmType, @@ -103,7 +102,8 @@ internal static Utilities.SiteConfig ToSiteConfig(this WebSiteGetConfigurationRe RemoteDebuggingEnabled = getConfigResponse.RemoteDebuggingEnabled, RemoteDebuggingVersion = getConfigResponse.RemoteDebuggingVersion.GetValueOrDefault(), RoutingRules = getConfigResponse.RoutingRules.Select(r => r.ToRoutingRule()).ToList(), - Use32BitWorkerProcess = getConfigResponse.Use32BitWorkerProcess + Use32BitWorkerProcess = getConfigResponse.Use32BitWorkerProcess, + AutoSwapSlotName = getConfigResponse.AutoSwapSlotName, }; return config; } @@ -134,7 +134,7 @@ internal static Utilities.RoutingRule ToRoutingRule(this Management.WebSites.Mod return result; } - + internal static Utilities.Site ToSite(this WebSiteGetResponse response) { return new Utilities.Site @@ -145,7 +145,6 @@ internal static Utilities.Site ToSite(this WebSiteGetResponse response) WebSpace = response.WebSite.WebSpace, SelfLink = response.WebSite.Uri, RepositorySiteName = response.WebSite.RepositorySiteName, - Owner = response.WebSite.Owner, UsageState = (Utilities.UsageState)(int)response.WebSite.UsageState, Enabled = response.WebSite.Enabled, AdminEnabled = response.WebSite.AdminEnabled, @@ -156,10 +155,9 @@ internal static Utilities.Site ToSite(this WebSiteGetResponse response) Properties = response.WebSite.SiteProperties.Properties.Select(ToNameValuePair).ToList() }, AvailabilityState = (Utilities.SiteAvailabilityState)(int)response.WebSite.AvailabilityState, - SSLCertificates = response.WebSite.SslCertificates.Select(ToCertificate).ToArray(), - SiteMode = response.WebSite.SiteMode.ToString(), + // SSLCertificates = response.WebSite.SslCertificates.Select(ToCertificate).ToArray(), HostNameSslStates = new Utilities.HostNameSslStates(response.WebSite.HostNameSslStates.Select(ToNameSslState).ToList()), - ComputeMode = response.WebSite.ComputeMode + Sku = response.WebSite.Sku }; } @@ -173,7 +171,6 @@ internal static Utilities.Site ToSite(this WebSite site) WebSpace = site.WebSpace, SelfLink = site.Uri, RepositorySiteName = site.RepositorySiteName, - Owner = site.Owner, UsageState = (Utilities.UsageState)(int)site.UsageState, Enabled = site.Enabled, AdminEnabled = site.AdminEnabled, @@ -184,10 +181,9 @@ internal static Utilities.Site ToSite(this WebSite site) Properties = site.SiteProperties.Properties.Select(ToNameValuePair).ToList() }, AvailabilityState = (Utilities.SiteAvailabilityState)(int)site.AvailabilityState, - SSLCertificates = site.SslCertificates.Select(ToCertificate).ToArray(), - SiteMode = site.SiteMode.ToString(), + // SSLCertificates = site.SslCertificates.Select(ToCertificate).ToArray(), HostNameSslStates = new Utilities.HostNameSslStates(site.HostNameSslStates.Select(ToNameSslState).ToList()), - ComputeMode = site.ComputeMode + Sku = site.Sku }; } @@ -249,7 +245,7 @@ private static KeyValuePair ToKeyValuePair(Utilities.NameValuePa return result; } - + internal static Utilities.MetricSet ToMetricSet(this HistoricalUsageMetricData data) { var metrics = new Utilities.MetricSet @@ -291,7 +287,7 @@ internal static Utilities.MetricSet ToMetricSet(this HistoricalUsageMetricData d long.TryParse(s.Maximum, out val); converted.Maximum = val; } - + if (!string.IsNullOrEmpty(s.Total)) { long.TryParse(s.Total, out val); @@ -304,25 +300,6 @@ internal static Utilities.MetricSet ToMetricSet(this HistoricalUsageMetricData d return result; } - private static Utilities.Certificate ToCertificate(WebSite.WebSiteSslCertificate certificate) - { - return new Utilities.Certificate - { - FriendlyName = certificate.FriendlyName, - SubjectName = certificate.SubjectName, - HostName = certificate.HostNames.FirstOrDefault(), - PfxBlob = certificate.PfxBlob, - SiteName = certificate.SiteName, - SelfLink = certificate.SelfLinkUri, - Issuer = certificate.Issuer, - IssueDate = certificate.IssueDate.Value, - ExpirationDate = certificate.ExpirationDate.Value, - Password = certificate.Password, - Thumbprint = certificate.Thumbprint, - Valid = certificate.IsValid - }; - } - private static Utilities.HostNameSslState ToNameSslState(WebSite.WebSiteHostNameSslState state) { return new Utilities.HostNameSslState @@ -361,8 +338,6 @@ internal static WebSiteUpdateConfigurationParameters ToConfigUpdateParameters(th NetFrameworkVersion = config.NetFrameworkVersion, NumberOfWorkers = config.NumberOfWorkers, PhpVersion = config.PhpVersion, - PublishingPassword = config.PublishingPassword, - PublishingUserName = config.PublishingUsername, RequestTracingEnabled = config.RequestTracingEnabled, ManagedPipelineMode = config.ManagedPipelineMode, WebSocketsEnabled = config.WebSocketsEnabled, @@ -370,6 +345,7 @@ internal static WebSiteUpdateConfigurationParameters ToConfigUpdateParameters(th RemoteDebuggingVersion = config.RemoteDebuggingVersion, RoutingRules = config.RoutingRules.Select(r => r.ToRoutingRule()).ToArray(), Use32BitWorkerProcess = config.Use32BitWorkerProcess, + AutoSwapSlotName = config.AutoSwapSlotName, }; if (config.AppSettings != null) config.AppSettings.ForEach(nvp => parameters.AppSettings.Add(ToKeyValuePair(nvp))); @@ -428,41 +404,36 @@ internal static Management.WebSites.Models.RoutingRule ToRoutingRule(this Utilit return result; } + internal static SlotConfigNamesUpdate ToSlotConfigNamesUpdate(this Utilities.SiteConfig config) + { + return new SlotConfigNamesUpdate + { + AppSettingNames = config.SlotStickyAppSettingNames, + ConnectionStringNames = config.SlotStickyConnectionStringNames + }; + } + internal static Utilities.WebHostingPlan ToWebHostingPlan(this Management.WebSites.Models.WebHostingPlan plan, string webSpace) { return new Utilities.WebHostingPlan { Name = plan.Name, - CurrentNumberOfWorkers = plan.CurrentNumberOfWorkers, - CurrentWorkerSize = plan.CurrentWorkerSize.HasValue - ? new Utilities.WorkerSizeOptions?((Utilities.WorkerSizeOptions)(int)plan.CurrentWorkerSize.Value) + CurrentNumberOfWorkers = plan.NumberOfWorkers, + CurrentWorkerSize = plan.WorkerSize.HasValue + ? new Utilities.WorkerSizeOptions?((Utilities.WorkerSizeOptions)(int)plan.WorkerSize.Value) : null, WorkerSize = plan.WorkerSize.HasValue ? new Utilities.WorkerSizeOptions?((Utilities.WorkerSizeOptions)(int)plan.WorkerSize.Value) : null, - Status = (Utilities.StatusOptions) plan.Status, NumberOfWorkers = plan.NumberOfWorkers, - SKU = plan.SKU, + SKU = plan.SKU.ToString(), WebSpace = webSpace, }; } internal static Utilities.WebHostingPlan ToWebHostingPlan(this Management.WebSites.Models.WebHostingPlanGetResponse plan) { - return new Utilities.WebHostingPlan - { - Name = plan.Name, - CurrentNumberOfWorkers = plan.CurrentNumberOfWorkers, - CurrentWorkerSize = plan.CurrentWorkerSize.HasValue - ? new Utilities.WorkerSizeOptions?((Utilities.WorkerSizeOptions)(int)plan.CurrentWorkerSize.Value) - : null, - WorkerSize = plan.WorkerSize.HasValue - ? new Utilities.WorkerSizeOptions?((Utilities.WorkerSizeOptions)(int)plan.WorkerSize.Value) - : null, - Status = (Utilities.StatusOptions)plan.Status, - NumberOfWorkers = plan.NumberOfWorkers, - SKU = plan.SKU - }; + return ToWebHostingPlan(plan.WebHostingPlan, webSpace: null); } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/SiteNameParser.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/SiteNameParser.cs new file mode 100644 index 000000000000..4bb1776f0a75 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/SiteNameParser.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Text.RegularExpressions; + +namespace Microsoft.WindowsAzure.Commands.Utilities.Websites +{ + public static class SiteNameParser + { + public const string ProductionSlot = "production"; + private static readonly Regex SiteWithSlotNameRegexp = + new Regex(@"^(?[^\(]+)\((?[^\)]+)\)$"); + + public static void ParseSiteWithSlotName(string siteWithSlotName, out string siteName, out string slotName) + { + var match = SiteWithSlotNameRegexp.Match(siteWithSlotName); + if (match.Success) + { + siteName = match.Groups["siteName"].Value; + slotName = match.Groups["slotName"].Value; + } + else + { + siteName = siteWithSlotName; + slotName = ProductionSlot; + } + } + } +} diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs index 86bf04d3414d..0283b13cb0e2 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs @@ -99,7 +99,7 @@ private HttpClient CreateDeploymentHttpClient(string websiteName) Repository repository; ICredentials credentials; GetWebsiteDeploymentHttpConfiguration(websiteName, out repository, out credentials); - return HttpClientHelper.CreateClient(repository.RepositoryUri, credentials); + return AzureSession.ClientFactory.CreateHttpClient(repository.RepositoryUri, credentials); } private string GetWebsiteDeploymentHttpConfiguration( @@ -129,7 +129,6 @@ private void ChangeWebsiteState(string name, string webspace, WebsiteState state // which will clear the corresponding settings of the web site, thus results in a 404 when browsing the web site. HostNames = null, HostNameSslStates = null, - SslCertificates = null }); } @@ -535,17 +534,15 @@ private Utilities.Site CreateWebsite(string webspaceName, Utilities.SiteWithWebS var options = new WebSiteCreateParameters { Name = siteToCreate.Name, - WebSpaceName = siteToCreate.WebSpaceToCreate.Name, WebSpace = new WebSiteCreateParameters.WebSpaceDetails { GeoRegion = siteToCreate.WebSpaceToCreate.GeoRegion, Name = siteToCreate.WebSpaceToCreate.Name, Plan = siteToCreate.WebSpaceToCreate.Plan - } + }, + ServerFarm = string.Empty }; - siteToCreate.HostNames.ForEach(s => options.HostNames.Add(s)); - var response = WebsiteManagementClient.WebSites.Create(webspaceName, options); return response.WebSite.ToSite(); } @@ -590,6 +587,17 @@ public Utilities.SiteConfig GetWebsiteConfiguration(string name) Utilities.SiteConfig configuration = WebsiteManagementClient.WebSites.GetConfiguration(website.WebSpace, website.Name).ToSiteConfig(); + string siteName, slotName; + SiteNameParser.ParseSiteWithSlotName(name, out siteName, out slotName); + + // get slot config only for production + if (slotName.Equals(SiteNameParser.ProductionSlot, StringComparison.InvariantCultureIgnoreCase)) + { + var config = WebsiteManagementClient.WebSites.GetSlotConfigNames(website.WebSpace, name); + configuration.SlotStickyAppSettingNames = config.AppSettingNames; + configuration.SlotStickyConnectionStringNames = config.ConnectionStringNames; + } + return configuration; } @@ -668,6 +676,13 @@ public void UpdateWebsiteConfiguration(string name, Utilities.SiteConfig newConf Utilities.Site website = GetWebsite(name); WebsiteManagementClient.WebSites.UpdateConfiguration(website.WebSpace, name, newConfiguration.ToConfigUpdateParameters()); + + if (newConfiguration.SlotStickyAppSettingNames != null + || newConfiguration.SlotStickyConnectionStringNames != null) + { + WebsiteManagementClient.WebSites.UpdateSlotConfigNames(website.WebSpace, name, + newConfiguration.ToSlotConfigNamesUpdate()); + } } /// @@ -931,7 +946,7 @@ public IList ListPublishingUserNames() .Users.Select(u => u.Name).Where(n => !string.IsNullOrEmpty(n)).ToList(); } - + /// /// Get a list of historic metrics for the site. /// @@ -1025,12 +1040,11 @@ public void UpdateWebsiteComputeMode(Utilities.Site websiteToUpdate) websiteToUpdate.Name, new WebSiteUpdateParameters { - ComputeMode = websiteToUpdate.ComputeMode, // Set the following 3 collection properties to null since by default they are empty lists, // which will clear the corresponding settings of the web site, thus results in a 404 when browsing the web site. HostNames = null, HostNameSslStates = null, - SslCertificates = null + ServerFarm = null }); } @@ -1419,22 +1433,22 @@ public IPSWebJob CreateWebJob(string name, string slot, string jobName, WebJobTy case WebJobType.Continuous: if (isZipFile) { - client.ContinuousWebJobs.UploadZipAsync(jobName, fileName, File.OpenRead(jobFile)); + client.ContinuousWebJobs.UploadZip(jobName, fileName, File.OpenRead(jobFile)); } else { - client.ContinuousWebJobs.UploadFileAsync(jobName, fileName, File.OpenRead(jobFile)); + client.ContinuousWebJobs.UploadFile(jobName, fileName, File.OpenRead(jobFile)); } break; case WebJobType.Triggered: if (isZipFile) { - client.TriggeredWebJobs.UploadZipAsync(jobName, fileName, File.OpenRead(jobFile)); + client.TriggeredWebJobs.UploadZip(jobName, fileName, File.OpenRead(jobFile)); } else { - client.TriggeredWebJobs.UploadFileAsync(jobName, fileName, File.OpenRead(jobFile)); + client.TriggeredWebJobs.UploadFile(jobName, fileName, File.OpenRead(jobFile)); } break; @@ -1638,7 +1652,7 @@ public Utilities.WebHostingPlan GetWebHostingPlan(string webSpaceName, string pl /// Time grains for the metrics. /// Include details for the server instances in which the site is running. /// The list of site metrics for the specified period. - public IList GetPlanHistoricalUsageMetrics(string webSpaceName, string planName, IList metricNames, + public IList GetPlanHistoricalUsageMetrics(string webSpaceName, string planName, IList metricNames, DateTime? starTime, DateTime? endTime, string timeGrain, bool instanceDetails) { Utilities.WebHostingPlan plan = GetWebHostingPlan(webSpaceName, planName); diff --git a/src/ServiceManagement/Services/Commands.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Utilities/packages.config index 85d19d7d3216..bb5d0a608aa4 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Utilities/packages.config @@ -7,22 +7,22 @@ - - + + - - + + - - - - + + + + - + diff --git a/src/ServiceManagement/Services/Commands/Commands.csproj b/src/ServiceManagement/Services/Commands/Commands.csproj index 6a7c70e5e5f9..4a835410fcac 100644 --- a/src/ServiceManagement/Services/Commands/Commands.csproj +++ b/src/ServiceManagement/Services/Commands/Commands.csproj @@ -65,13 +65,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.9.10826.1824\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\WindowsAzure.ServiceBus.2.3.2.0\lib\net40-full\Microsoft.ServiceBus.dll @@ -92,44 +92,43 @@ False ..\..\..\lib\Microsoft.Web.Deployment.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.4.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.1.2.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.2.3.1\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.2.2.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.3.0.2\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.11.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.ServiceBus.0.15.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ServiceBus.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.2.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.3.1.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False @@ -143,9 +142,9 @@ False ..\..\..\packages\Microsoft.WindowsAzure.Management.VirtualNetworks.0.9.9-preview\lib\net40\Microsoft.WindowsAzure.Management.VirtualNetworks.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.3.1.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.WebSites.4.0.1-prerelease\lib\net40\Microsoft.WindowsAzure.Management.WebSites.dll False @@ -163,13 +162,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Services/Commands/Scheduler/NewSchedulerHttpJobCommand.cs b/src/ServiceManagement/Services/Commands/Scheduler/NewSchedulerHttpJobCommand.cs index 56d68480234e..f785941fdcaa 100644 --- a/src/ServiceManagement/Services/Commands/Scheduler/NewSchedulerHttpJobCommand.cs +++ b/src/ServiceManagement/Services/Commands/Scheduler/NewSchedulerHttpJobCommand.cs @@ -15,7 +15,9 @@ using System; using System.Collections; using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler; +using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Common; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model; namespace Microsoft.WindowsAzure.Commands.Scheduler @@ -29,6 +31,7 @@ public class NewSchedulerHttpJobCommand : SchedulerBaseCmdlet const string RequiredParamSet = "Required"; const string PutPostParamSet = "PutPost"; const string RecurringParamSet = "Recurring"; + const string AuthParamSet = "Authentication"; [Parameter(Mandatory = true, ParameterSetName = RequiredParamSet, HelpMessage = "The location name.")] [ValidateNotNullOrEmpty] @@ -45,7 +48,7 @@ public class NewSchedulerHttpJobCommand : SchedulerBaseCmdlet [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The Method for Http and Https Action types (GET, PUT, POST, HEAD or DELETE).")] [ValidateSet("GET", "PUT", "POST", "HEAD", "DELETE", IgnoreCase = true)] public string Method { get; set; } - + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The Uri for job action.")] public Uri URI { get; set; } @@ -71,7 +74,7 @@ public class NewSchedulerHttpJobCommand : SchedulerBaseCmdlet [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RecurringParamSet, HelpMessage = "Count of occurrences that will execute. Optional. Default will recur infinitely")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "Count of occurrences that will execute. Optional. Default will recur infinitely")] public int? ExecutionCount { get; set; } - + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RecurringParamSet, HelpMessage = "The End Time")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The End Time")] @@ -115,9 +118,24 @@ public class NewSchedulerHttpJobCommand : SchedulerBaseCmdlet [ValidateNotNullOrEmpty] public string ErrorActionQueueMessageBody { get; set; } + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The Http Authentication type (None or ClientCertificate).")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The Http Authentication type (None or ClientCertificate).")] + [ValidateSet("None", "ClientCertificate", IgnoreCase = true)] + public string HttpAuthenticationType { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The pfx of client certificate.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The pfx of client certificate.")] + [ValidateNotNullOrEmpty] + public object ClientCertificatePfx { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The password for the pfx.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The password for the pfx.")] + [ValidateNotNullOrEmpty] + public string ClientCertificatePassword { get; set; } + public override void ExecuteCmdlet() { - string status = string.Empty; + string status = string.Empty; WriteObject(SMClient.CreateHttpJob(new PSCreateJobParams { Region = Location, @@ -140,7 +158,10 @@ public override void ExecuteCmdlet() ErrorActionStorageAccount = ErrorActionStorageAccount, ErrorActionQueueName = ErrorActionStorageQueue, ErrorActionQueueBody = ErrorActionQueueMessageBody, - ErrorActionSasToken = ErrorActionSASToken + ErrorActionSasToken = ErrorActionSASToken, + HttpAuthType = HttpAuthenticationType ?? string.Empty, + ClientCertPfx = ClientCertificatePfx == null ? null : SchedulerUtils.GetCertData(this.ResolvePath(ClientCertificatePfx.ToString()), ClientCertificatePassword), + ClientCertPassword = ClientCertificatePassword }, out status), true); WriteObject(status); } diff --git a/src/ServiceManagement/Services/Commands/Scheduler/SetSchedulerHttpJobCommand.cs b/src/ServiceManagement/Services/Commands/Scheduler/SetSchedulerHttpJobCommand.cs index 9fba9023f1a7..2fca2bb05dfd 100644 --- a/src/ServiceManagement/Services/Commands/Scheduler/SetSchedulerHttpJobCommand.cs +++ b/src/ServiceManagement/Services/Commands/Scheduler/SetSchedulerHttpJobCommand.cs @@ -15,7 +15,9 @@ using System; using System.Collections; using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler; +using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Common; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model; namespace Microsoft.WindowsAzure.Commands.Scheduler @@ -29,6 +31,7 @@ public class SetSchedulerHttpJobCommand : SchedulerBaseCmdlet const string RequiredParamSet = "Required"; const string PutPostParamSet = "PutPost"; const string RecurringParamSet = "Recurring"; + const string AuthParamSet = "Authentication"; [Parameter(Mandatory = true, ParameterSetName = RequiredParamSet, HelpMessage = "The location name.")] [ValidateNotNullOrEmpty] @@ -114,12 +117,27 @@ public class SetSchedulerHttpJobCommand : SchedulerBaseCmdlet [ValidateNotNullOrEmpty] public string ErrorActionQueueMessageBody { get; set; } + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The Http Authentication type (None or ClientCertificate).")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The Http Authentication type (None or ClientCertificate).")] + [ValidateSet("None", "ClientCertificate", IgnoreCase = true)] + public string HttpAuthenticationType { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The pfx of client certificate.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The pfx of client certificate.")] + [ValidateNotNullOrEmpty] + public object ClientCertificatePfx { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = AuthParamSet, HelpMessage = "The password for the pfx.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = false, ParameterSetName = RequiredParamSet, HelpMessage = "The password for the pfx.")] + [ValidateNotNullOrEmpty] + public string ClientCertificatePassword { get; set; } + [Parameter(Mandatory = false)] public SwitchParameter PassThru { get; set; } public override void ExecuteCmdlet() - { - string status = string.Empty; + { + string status = string.Empty; if (PassThru.IsPresent) { WriteObject(SMClient.PatchHttpJob(new PSCreateJobParams @@ -144,7 +162,10 @@ public override void ExecuteCmdlet() ErrorActionStorageAccount = ErrorActionStorageAccount, ErrorActionQueueName = ErrorActionStorageQueue, ErrorActionQueueBody = ErrorActionQueueMessageBody, - ErrorActionSasToken = ErrorActionSASToken + ErrorActionSasToken = ErrorActionSASToken, + HttpAuthType = HttpAuthenticationType ?? string.Empty, + ClientCertPfx = ClientCertificatePfx == null ? null : SchedulerUtils.GetCertData(this.ResolvePath(ClientCertificatePfx.ToString()), ClientCertificatePassword), + ClientCertPassword = ClientCertificatePassword }, out status), true); WriteObject(status); } @@ -172,10 +193,13 @@ public override void ExecuteCmdlet() ErrorActionStorageAccount = ErrorActionStorageAccount, ErrorActionQueueName = ErrorActionStorageQueue, ErrorActionQueueBody = ErrorActionQueueMessageBody, - ErrorActionSasToken = ErrorActionSASToken + ErrorActionSasToken = ErrorActionSASToken, + HttpAuthType = HttpAuthenticationType ?? string.Empty, + ClientCertPfx = ClientCertificatePfx == null ? null : SchedulerUtils.GetCertData(this.ResolvePath(ClientCertificatePfx.ToString()), ClientCertificatePassword), + ClientCertPassword = ClientCertificatePassword }, out status); WriteDebug(status); - } - } + } + } } } diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs index bcd0bf27e83f..c5bbe1e1acc3 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs @@ -14,6 +14,7 @@ using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Utilities.ServiceBus; using Microsoft.WindowsAzure.Management.ServiceBus.Models; @@ -33,13 +34,27 @@ public class NewAzureSBNamespaceCommand : AzurePSCmdlet [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Namespace location")] public string Location { get; set; } + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Create assosciated ACS namespace as well.")] + public bool? CreateACSNamespace { get; set; } + + [Parameter(Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Namespace Type")] + public NamespaceType NamespaceType { get; set; } + /// /// Creates a new service bus namespace. /// public override void ExecuteCmdlet() { Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); - WriteObject(Client.CreateNamespace(Name, Location)); + if (CreateACSNamespace.HasValue) + { + WriteObject(Client.CreateNamespace(Name, Location, NamespaceType, CreateACSNamespace.Value)); + } + else + { + WriteWarning(Resources.SpecifyCreateACSNamespace); + WriteObject(Client.CreateNamespace(Name, Location, NamespaceType, true)); + } } } } \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs index f46aa1ffaf43..2f97e49848e5 100644 --- a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs +++ b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs @@ -170,8 +170,8 @@ internal string GetPublishingUser() { throw new ArgumentException(Resources.InvalidGitCredentials); } - - if (users.Count != 1) + + if (users.Count != 1) { throw new Exception(Resources.MultiplePublishingUsernames); } @@ -383,7 +383,7 @@ private Site CreateSite(WebSpace webspace, SiteWithWebSpace website) createdWebsite = WebsitesClient.GetWebsite(website.Name); // Make sure that the website is in Standard mode - if (createdWebsite.ComputeMode == WebSiteComputeMode.Dedicated) + if (createdWebsite.Sku == SkuOptions.Standard) { WebsitesClient.CreateWebsite(webspace.Name, website, Slot); } diff --git a/src/ServiceManagement/Services/Commands/Websites/SetAzureWebsite.cs b/src/ServiceManagement/Services/Commands/Websites/SetAzureWebsite.cs index ba1fab7b970d..8f67f6088f36 100644 --- a/src/ServiceManagement/Services/Commands/Websites/SetAzureWebsite.cs +++ b/src/ServiceManagement/Services/Commands/Websites/SetAzureWebsite.cs @@ -73,7 +73,7 @@ public string[] HostNames // Convert each host name to Unicode if necessary. if (hostNames != null) { - for (int i = 0; i < hostNames.Length; i++ ) + for (int i = 0; i < hostNames.Length; i++) { hostNames[i] = IdnHelper.GetUnicode(hostNames[i]); } @@ -111,6 +111,15 @@ public string[] HostNames [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicates if 32-bit mode is enabled.")] public bool? Use32BitWorkerProcess { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Sets the slot name to swap with after successful deployment. To remove set to null or empty string.")] + public string AutoSwapSlotName { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Sets the list of application setting names to be bound to slot and not swapped on swap operation.")] + public List SlotStickyAppSettingNames { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Sets the list of connection string names to be bound to slot and not swapped on swap operation.")] + public List SlotStickyConnectionStringNames { get; set; } + private Site website; private SiteConfig currentSiteConfig; @@ -168,7 +177,7 @@ private void UpdateHostNames() WebsitesClient.UpdateWebsiteHostNames(website, newHostNames, Slot); } } - + } } } diff --git a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs index 0851e8701512..0f05ce9d378b 100644 --- a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs +++ b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs @@ -61,7 +61,7 @@ public override void ExecuteCmdlet() } else { - environment = defaultProfileClient.Profile.Environments[Environment]; + environment = DefaultProfileClient.Profile.Environments[Environment]; } string managementPortalUrl = environment.GetManagementPortalUrlWithRealm(Realm); diff --git a/src/ServiceManagement/Services/Commands/packages.config b/src/ServiceManagement/Services/Commands/packages.config index 8ed82cda7037..225068cf1eaa 100644 --- a/src/ServiceManagement/Services/Commands/packages.config +++ b/src/ServiceManagement/Services/Commands/packages.config @@ -6,22 +6,22 @@ - - - + + + - - + + - - - - + + + + - + 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 3c71125cee80..fdcae8c60965 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj @@ -70,13 +70,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False @@ -96,13 +96,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll @@ -132,6 +132,7 @@ + @@ -158,6 +159,7 @@ + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml index 306a3f5c41e7..2559af7c8573 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml @@ -424,7 +424,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -507,7 +507,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -590,7 +590,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -673,7 +673,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -756,7 +756,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -839,7 +839,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -922,7 +922,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1005,7 +1005,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1088,7 +1088,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1171,7 +1171,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1254,7 +1254,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1342,7 +1342,7 @@ http://localhost:12345/v1/ManagementService.svc/GetAccessToken GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
sqlauthorization @@ -1401,7 +1401,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1484,7 +1484,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
AccessToken @@ -1560,7 +1560,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1691,7 +1691,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1774,7 +1774,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1857,7 +1857,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -1988,7 +1988,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2071,7 +2071,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2154,7 +2154,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2285,7 +2285,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2368,7 +2368,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2456,7 +2456,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2539,7 +2539,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2622,7 +2622,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2746,7 +2746,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2829,7 +2829,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2912,7 +2912,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -2995,7 +2995,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3078,7 +3078,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3202,7 +3202,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3285,7 +3285,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3373,7 +3373,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3456,7 +3456,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3539,7 +3539,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3661,7 +3661,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3744,7 +3744,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3827,7 +3827,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3910,7 +3910,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -3993,7 +3993,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4115,7 +4115,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4198,7 +4198,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4286,7 +4286,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4369,7 +4369,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4452,7 +4452,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4531,7 +4531,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4614,7 +4614,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4697,7 +4697,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4776,7 +4776,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4859,7 +4859,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -4947,7 +4947,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5077,7 +5077,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5165,7 +5165,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5248,7 +5248,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5331,7 +5331,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5414,7 +5414,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'e210706e-cd95-4f72-b5e5-885f8a1406e8')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5497,7 +5497,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7c4c615-cfb1-464b-b252-925be0a19446')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5580,7 +5580,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a45fea0c-e63c-4bf0-9f81-9964c86b7d2a')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5663,7 +5663,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5746,7 +5746,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5829,7 +5829,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -5917,7 +5917,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6000,7 +6000,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6083,7 +6083,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6214,7 +6214,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6297,7 +6297,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6380,7 +6380,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6463,7 +6463,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6546,7 +6546,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6670,7 +6670,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6753,7 +6753,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6836,7 +6836,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -6919,7 +6919,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7002,7 +7002,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7086,7 +7086,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7165,7 +7165,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7248,7 +7248,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7331,7 +7331,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7410,7 +7410,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7493,7 +7493,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7576,7 +7576,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7655,7 +7655,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7738,7 +7738,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7821,7 +7821,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7905,7 +7905,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -7988,7 +7988,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8071,7 +8071,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8154,7 +8154,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8237,7 +8237,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8320,7 +8320,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8403,7 +8403,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8486,7 +8486,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8569,7 +8569,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8652,7 +8652,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8735,7 +8735,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8818,7 +8818,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8906,7 +8906,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServerQuotas GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -8989,7 +8989,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServerQuotas('Premium_Databases') GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -9077,22 +9077,28 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + d6cd9ade-423c-4041-9931-cdea5b20bad4-2014-09-08 18:28:02Z +
- - <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <AdministratorLogin>mylogin</AdministratorLogin> - <AdministratorLoginPassword>Pa$$w0rd!</AdministratorLoginPassword> - <Location>East Asia</Location> - </Server> - - application/xml + <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <AdministratorLogin>mylogin</AdministratorLogin> + <AdministratorLoginPassword>Pa$$w0rd!</AdministratorLoginPassword> + <Location>East Asia</Location> +</Server> + application/xml; charset=utf-8
@@ -9100,7 +9106,7 @@
x-ms-request-id - 0e32803e-5047-4905-88dd-77fd583441ef + 0d0606fa-dd66-4ed5-acdd-4b261b1e7e9e
Content-Type @@ -9108,7 +9114,7 @@
Date - Tue, 25 Mar 2014 19:38:07 GMT + Mon, 08 Sep 2014 18:28:45 GMT
Server @@ -9116,20 +9122,81 @@
- <ServerName FullyQualifiedDomainName="myserver01.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">myserver01</ServerName> + <ServerName FullyQualifiedDomainName="y2nzad0rse.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">y2nzad0rse</ServerName>
1 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + cd50a7a6-9194-4d5f-80d0-4a9924f962f5-2014-09-08 18:28:46Z +
+
+ + <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <AdministratorLogin>mylogin</AdministratorLogin> + <AdministratorLoginPassword>Pa$$w0rd</AdministratorLoginPassword> + <Location>East Asia</Location> +</Server> + application/xml; charset=utf-8 + +
+ + Created + +
+ x-ms-request-id + 675c1ce8-4714-4de6-bb20-73b3f85c0a65 +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 08 Sep 2014 18:29:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServerName FullyQualifiedDomainName="zd1yhph61u.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">zd1yhph61u</ServerName> +
+
+ + 2 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 8b26d502-96a5-46c6-8527-9ff6aa5c68f8-2014-09-08 18:29:57Z +
@@ -9141,7 +9208,7 @@
x-ms-request-id - 7b5530ac-9ae7-45fa-b3e4-2e9a99e1450c + 5b134439-eb63-43d6-bcf8-e34d4e99d33c
Content-Type @@ -9149,7 +9216,7 @@
Date - Tue, 25 Mar 2014 19:38:29 GMT + Mon, 08 Sep 2014 18:29:57 GMT
Server @@ -9157,34 +9224,50 @@
- - <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>myserver01</Name> - <AdministratorLogin>mylogin</AdministratorLogin> - <Location>East Asia</Location> - <FullyQualifiedDomainName>myserver01.database.windows.net</FullyQualifiedDomainName> - <Version>1.0</Version> - </Server> - </Servers> - + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + + <Server> + <Name>y2nzad0rse</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> + <Server> + <Name>zd1yhph61u</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> +</Servers>
- 2 + 3 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01?op=ResetPassword + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/y2nzad0rse?op=ResetPassword POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 08bf5358-6ce4-48e6-8b06-857157744bef-2014-09-08 18:29:57Z +
<AdministratorLoginPassword xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">Pa$$w0rd2</AdministratorLoginPassword> - application/xml + application/xml; charset=utf-8
@@ -9192,11 +9275,19 @@
x-ms-request-id - 88c60c59-ccbe-427f-81a6-160326a01542 + 3b524b54-6183-4272-ab93-f6b0b6cb9faa +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache
Date - Tue, 25 Mar 2014 19:38:36 GMT + Mon, 08 Sep 2014 18:30:00 GMT
Server @@ -9208,16 +9299,24 @@ - 3 + 4 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + ac0d4028-1cab-406f-8dd6-2a622b136238-2014-09-08 18:30:01Z +
@@ -9229,7 +9328,7 @@
x-ms-request-id - 76166a4f-1992-428d-a288-fbcbf418225a + 82f873ba-f7f1-4c64-aa12-b8971612d80d
Content-Type @@ -9237,7 +9336,7 @@
Date - Tue, 25 Mar 2014 19:38:36 GMT + Mon, 08 Sep 2014 18:30:00 GMT
Server @@ -9245,30 +9344,166 @@
- - <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>myserver01</Name> - <AdministratorLogin>mylogin</AdministratorLogin> - <Location>East Asia</Location> - <FullyQualifiedDomainName>myserver01.database.windows.net</FullyQualifiedDomainName> - <Version>1.0</Version> - </Server> - </Servers> - + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + + <Server> + <Name>y2nzad0rse</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> + <Server> + <Name>zd1yhph61u</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> +</Servers>
- 4 + 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/zd1yhph61u?op=ResetPassword + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + a3154ad7-ad19-4fdb-8d7b-09b881bb5052-2014-09-08 18:30:01Z +
+
+ + <AdministratorLoginPassword xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">Pa$$w0rd2</AdministratorLoginPassword> + application/xml; charset=utf-8 + +
+ + OK + +
+ x-ms-request-id + e0318802-2d82-41f6-acde-fa07d382d8f2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 08 Sep 2014 18:30:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 6 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 85714a9e-dd1f-4918-8c00-df04766e55f7-2014-09-08 18:30:01Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ff914e03-79e4-4394-950f-72fa4ffa86ef +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 08 Sep 2014 18:30:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + + <Server> + <Name>y2nzad0rse</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> + <Server> + <Name>zd1yhph61u</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> +</Servers> +
+
+ + 7 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/y2nzad0rse DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 3e41040f-82bd-4202-b63a-f5e4e0ddeec3-2014-09-08 18:30:01Z +
@@ -9280,11 +9515,11 @@
x-ms-request-id - ed033786-764b-49d0-8ade-2f218b9bd283 + 4ee18dbe-b61a-44ea-ab5c-2a49425a829e
Date - Tue, 25 Mar 2014 19:38:38 GMT + Mon, 08 Sep 2014 18:30:01 GMT
Server @@ -9296,16 +9531,128 @@ - 5 + 8 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 52ae2e86-5d2f-4061-aa45-d5a7e0a3dedc-2014-09-08 18:30:02Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 979289ea-09bf-43c8-8165-4b4c24340e2f +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 08 Sep 2014 18:30:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + + <Server> + <Name>zd1yhph61u</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> +</Servers> +
+
+ + 9 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/zd1yhph61u + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + 37df4c06-72d7-44c7-8743-e54e60f13976-2014-09-08 18:30:02Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 814b376d-7a7e-4473-a0e5-bd5f6511ac58 +
+
+ Date + Mon, 08 Sep 2014 18:30:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 10 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z +
+
+ x-ms-client-request-id + a73eb2b2-ec85-453e-a804-5f09d8da8b03-2014-09-08 18:30:03Z +
@@ -9317,7 +9664,7 @@
x-ms-request-id - 1e9fffa7-5c21-4530-87e5-57f4f4bed282 + 181d132e-aa23-4a7f-b7db-7a7bcfd6ccca
Content-Type @@ -9325,7 +9672,7 @@
Date - Tue, 25 Mar 2014 19:38:38 GMT + Mon, 08 Sep 2014 18:30:02 GMT
Server @@ -9333,7 +9680,8 @@
- <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"></Servers> + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> +</Servers>
@@ -9346,7 +9694,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9409,7 +9757,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9472,7 +9820,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9529,7 +9877,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule1 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9592,7 +9940,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9649,7 +9997,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9702,7 +10050,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9755,7 +10103,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -9817,7 +10165,7 @@ http://localhost:12345/v1/ManagementService.svc/GetAccessToken GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
sqlauthorization @@ -9876,7 +10224,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -9959,7 +10307,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
AccessToken @@ -10030,7 +10378,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Export POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10100,7 +10448,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10164,7 +10512,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Import POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10236,7 +10584,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10305,7 +10653,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10358,7 +10706,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10415,7 +10763,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10472,7 +10820,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10534,7 +10882,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10591,7 +10939,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10648,7 +10996,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10705,7 +11053,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/abd31d7f-19ca-4f29-a89a-7b38910f7ca9 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10762,7 +11110,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10815,7 +11163,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10872,7 +11220,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -10929,7 +11277,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11043,7 +11391,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11103,7 +11451,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11160,7 +11508,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11217,7 +11565,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11274,7 +11622,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/33623226-1f44-4ea5-a18f-b4460664f9b0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11331,7 +11679,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11384,7 +11732,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11437,7 +11785,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11490,7 +11838,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11543,7 +11891,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11596,7 +11944,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11649,7 +11997,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11706,7 +12054,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11763,7 +12111,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11823,7 +12171,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11880,7 +12228,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11942,7 +12290,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -11999,7 +12347,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12060,7 +12408,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12117,7 +12465,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12174,7 +12522,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12231,7 +12579,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12288,7 +12636,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12345,7 +12693,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12402,7 +12750,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12459,7 +12807,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12516,7 +12864,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12573,7 +12921,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12630,7 +12978,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12687,7 +13035,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12748,7 +13096,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12805,7 +13153,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12862,7 +13210,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12924,7 +13272,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -12981,7 +13329,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13038,7 +13386,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13100,7 +13448,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13157,7 +13505,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13214,7 +13562,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13271,7 +13619,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13328,7 +13676,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13385,7 +13733,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13447,7 +13795,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13504,7 +13852,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13566,7 +13914,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13623,7 +13971,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13680,7 +14028,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13737,7 +14085,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13794,7 +14142,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13851,7 +14199,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13908,7 +14256,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -13965,7 +14313,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14027,7 +14375,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14084,7 +14432,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14141,7 +14489,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14198,7 +14546,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14255,7 +14603,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14312,7 +14660,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14372,7 +14720,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14429,7 +14777,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14486,7 +14834,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14543,7 +14891,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/2459d7eb-ffc2-45ee-b421-f645739aa5a0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14600,7 +14948,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14653,7 +15001,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14706,7 +15054,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14759,7 +15107,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14812,7 +15160,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14865,7 +15213,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14918,7 +15266,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -14975,7 +15323,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -15037,7 +15385,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15120,7 +15468,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15203,7 +15551,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15286,7 +15634,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15369,7 +15717,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15456,7 +15804,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15539,7 +15887,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15622,7 +15970,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15705,7 +16053,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15788,7 +16136,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15875,7 +16223,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -15958,7 +16306,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16041,7 +16389,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16124,7 +16472,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16207,7 +16555,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16290,7 +16638,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16378,7 +16726,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16509,7 +16857,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16592,7 +16940,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16675,7 +17023,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16758,7 +17106,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16841,7 +17189,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -16920,7 +17268,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17003,7 +17351,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17086,7 +17434,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659') GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17174,7 +17522,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17257,7 +17605,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17340,7 +17688,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17423,7 +17771,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17506,7 +17854,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17589,7 +17937,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17672,7 +18020,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17751,7 +18099,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17834,7 +18182,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -17917,7 +18265,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18080,7 +18428,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18163,7 +18511,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18246,7 +18594,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18329,7 +18677,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18412,7 +18760,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) MERGE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18534,7 +18882,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18617,7 +18965,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18705,7 +19053,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18788,7 +19136,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18871,7 +19219,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -18950,7 +19298,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -19033,7 +19381,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -19116,7 +19464,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -21300,7 +21648,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21360,7 +21708,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21417,7 +21765,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21478,7 +21826,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21535,7 +21883,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21592,7 +21940,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21649,7 +21997,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21706,7 +22054,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21763,7 +22111,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21820,7 +22168,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21877,7 +22225,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21938,7 +22286,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -21995,7 +22343,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22056,7 +22404,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22113,7 +22461,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22170,7 +22518,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22227,7 +22575,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22284,7 +22632,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22341,7 +22689,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22398,7 +22746,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22460,7 +22808,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22517,7 +22865,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22574,7 +22922,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22631,7 +22979,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22688,7 +23036,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22745,7 +23093,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22802,7 +23150,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22859,7 +23207,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22916,7 +23264,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -22973,7 +23321,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23030,7 +23378,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23091,7 +23439,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23148,7 +23496,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23205,7 +23553,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23267,7 +23615,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23324,7 +23672,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23381,7 +23729,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23438,7 +23786,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23495,7 +23843,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23552,7 +23900,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23609,7 +23957,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23666,7 +24014,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23723,7 +24071,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23776,7 +24124,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23829,7 +24177,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23882,7 +24230,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23935,7 +24283,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -23988,7 +24336,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -24045,7 +24393,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -25834,7 +26182,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -25896,7 +26244,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -25953,7 +26301,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26015,7 +26363,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26072,7 +26420,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26134,7 +26482,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26191,7 +26539,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26253,7 +26601,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26310,7 +26658,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26370,7 +26718,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26427,7 +26775,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26489,7 +26837,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26551,7 +26899,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26613,7 +26961,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26675,7 +27023,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26737,7 +27085,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26794,7 +27142,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26851,7 +27199,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26908,7 +27256,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -26965,7 +27313,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27022,7 +27370,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27079,7 +27427,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27136,7 +27484,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27193,7 +27541,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27250,7 +27598,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27307,7 +27655,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27364,7 +27712,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27421,7 +27769,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27478,7 +27826,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27535,7 +27883,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27592,7 +27940,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27649,7 +27997,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27706,7 +28054,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27763,7 +28111,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27820,7 +28168,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27877,7 +28225,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27934,7 +28282,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -27991,7 +28339,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28048,7 +28396,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28105,7 +28453,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28162,7 +28510,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28219,7 +28567,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28276,7 +28624,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28333,7 +28681,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28390,7 +28738,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28451,7 +28799,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28504,7 +28852,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28561,7 +28909,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28622,7 +28970,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28675,7 +29023,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28732,7 +29080,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28793,7 +29141,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28846,7 +29194,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28903,7 +29251,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -28964,7 +29312,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29017,7 +29365,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29074,7 +29422,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29133,7 +29481,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29186,7 +29534,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29243,7 +29591,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29300,7 +29648,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29357,7 +29705,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29414,7 +29762,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29471,7 +29819,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29528,7 +29876,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29585,7 +29933,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29642,7 +29990,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29699,7 +30047,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29756,7 +30104,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29813,7 +30161,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29870,7 +30218,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29927,7 +30275,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -29984,7 +30332,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30041,7 +30389,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30098,7 +30446,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30155,7 +30503,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30212,7 +30560,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30269,7 +30617,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30322,7 +30670,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30375,7 +30723,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30428,7 +30776,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30481,7 +30829,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30534,7 +30882,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30591,7 +30939,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30648,7 +30996,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30705,7 +31053,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30762,7 +31110,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30819,7 +31167,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30876,7 +31224,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30933,7 +31281,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -30986,7 +31334,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31039,7 +31387,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31092,7 +31440,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31145,7 +31493,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31203,7 +31551,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31265,7 +31613,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31322,7 +31670,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31385,7 +31733,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31448,7 +31796,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31505,7 +31853,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31562,7 +31910,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31619,7 +31967,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31676,7 +32024,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31733,7 +32081,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31790,7 +32138,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31847,7 +32195,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31904,7 +32252,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -31961,7 +32309,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32018,7 +32366,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32071,7 +32419,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32124,7 +32472,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32177,7 +32525,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32234,7 +32582,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32296,7 +32644,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32358,7 +32706,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32415,7 +32763,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32479,7 +32827,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32536,7 +32884,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32599,7 +32947,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32661,7 +33009,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32714,7 +33062,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32767,7 +33115,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -32825,7 +33173,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -32908,7 +33256,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -32991,7 +33339,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33079,7 +33427,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33162,7 +33510,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33245,7 +33593,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33328,7 +33676,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33411,7 +33759,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33499,7 +33847,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdbnonexistent'%20and%20DeletionDate%20eq%20datetime'2013-10-01T00%3A00%3A00Z'&$top=2 GET - AzurePowershell/v0.8.8 + AzurePowershell/v0.8.10.1
DataServiceVersion @@ -33587,7 +33935,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33644,7 +33992,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33701,7 +34049,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33763,7 +34111,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33820,7 +34168,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33877,7 +34225,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33934,7 +34282,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -33991,7 +34339,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34053,7 +34401,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdbnonexistent,2013-10-01T00:00:00.000Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34115,7 +34463,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34182,7 +34530,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34239,7 +34587,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34296,7 +34644,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34363,7 +34711,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34420,7 +34768,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34489,7 +34837,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34546,7 +34894,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34614,7 +34962,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34671,7 +35019,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34728,7 +35076,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34790,7 +35138,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34847,7 +35195,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34904,7 +35252,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -34961,7 +35309,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -35018,7 +35366,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -35080,7 +35428,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdbnonexistent GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -35142,7 +35490,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverdatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -35209,7 +35557,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version @@ -35266,7 +35614,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverdatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.10.1
x-ms-version diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs index 1c35d8a7dfa1..3f75a9aed0db 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs @@ -171,7 +171,7 @@ public static void SetupCertificates() { TestingTracingInterceptor.AddToContext(); ProfileClient.DataStore = new MockDataStore(); - AzureSession.AuthenticationFactory = new MockAuthenticationFactory(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); var newGuid = Guid.NewGuid(); ProfileClient client = new ProfileClient(); client.Profile.Subscriptions[newGuid] = new AzureSubscription diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs index 67ee48c8fc7f..0bea995f575e 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs @@ -24,6 +24,8 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Management.Automation.Runspaces; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.Utilities; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet { @@ -57,117 +59,186 @@ public void AzureSqlDatabaseServerTests() // This test uses the https endpoint, setup the certificates. MockHttpServer.SetupCertificates(); - using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) - { - // Setup the subscription used for the test - AzureSubscription subscription = - UnitTestHelper.SetupUnitTestSubscription(powershell); - - // Create a new server - HttpSession testSession = MockServerHelper.DefaultSessionCollection.GetSession( - "UnitTest.AzureSqlDatabaseServerTests"); - ServerTestHelper.SetDefaultTestSessionSettings(testSession); - testSession.RequestValidator = - new Action( - (expected, actual) => - { - Assert.AreEqual(expected.RequestInfo.Method, actual.Method); - Assert.IsTrue( - actual.UserAgent.Contains(ApiConstants.UserAgentHeaderValue), - "Missing proper UserAgent string."); - }); - - powershell.Runspace.SessionStateProxy.SetVariable("login", "mylogin"); - powershell.Runspace.SessionStateProxy.SetVariable("password", "Pa$$w0rd!"); - powershell.Runspace.SessionStateProxy.SetVariable("location", "East Asia"); - Collection newServerResult = MockServerHelper.ExecuteWithMock( - testSession, - MockHttpServer.DefaultHttpsServerPrefixUri, - () => - { - return powershell.InvokeBatchScript( - @"New-AzureSqlDatabaseServer" + - @" -AdministratorLogin $login" + - @" -AdministratorLoginPassword $password" + - @" -Location $location"); - }); - - Collection getServerResult = MockServerHelper.ExecuteWithMock( - testSession, - MockHttpServer.DefaultHttpsServerPrefixUri, - () => - { - powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); - return powershell.InvokeBatchScript( - @"Get-AzureSqlDatabaseServer $server.ServerName"); - }); + SqlTestPsHost host = new SqlTestPsHost(); + SqlCustomPsHostUserInterface ui = host.UI as SqlCustomPsHostUserInterface; - Collection setServerResult = MockServerHelper.ExecuteWithMock( - testSession, - MockHttpServer.DefaultHttpsServerPrefixUri, - () => - { - powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); - powershell.Runspace.SessionStateProxy.SetVariable("password", "Pa$$w0rd2"); - powershell.InvokeBatchScript( - @"$server | Set-AzureSqlDatabaseServer" + - @" -AdminPassword $password" + - @" -Force"); - return powershell.InvokeBatchScript( - @"$server | Get-AzureSqlDatabaseServer"); - }); - - Collection removeServerResult = MockServerHelper.ExecuteWithMock( - testSession, - MockHttpServer.DefaultHttpsServerPrefixUri, - () => - { - powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); - powershell.InvokeBatchScript( - @"$server | Remove-AzureSqlDatabaseServer" + - @" -Force"); - - return powershell.InvokeBatchScript( - @"Get-AzureSqlDatabaseServer"); - }); - - Assert.AreEqual(0, powershell.Streams.Error.Count, "Unexpected Errors during run!"); - Assert.AreEqual(0, powershell.Streams.Warning.Count, "Unexpected Warnings during run!"); - - // Validate New-AzureSqlDatabaseServer results - SqlDatabaseServerContext server = - newServerResult.Single().BaseObject as SqlDatabaseServerContext; - Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); - VerifyServer( - server, - (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); - - // Validate Get-AzureSqlDatabaseServer results - server = getServerResult.Single().BaseObject as SqlDatabaseServerContext; - Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); - VerifyServer( - server, - (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "1.0", - null); - - server = setServerResult.Single().BaseObject as SqlDatabaseServerContext; - Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); - VerifyServer( - server, - (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "1.0", - null); + using (Runspace space = RunspaceFactory.CreateRunspace(host)) + { + space.Open(); - // Validate Remove-AzureSqlDatabaseServer results - Assert.IsFalse( - removeServerResult.Any((o) => o.GetVariableValue("ServerName") == server.ServerName), - "Server should have been removed."); + using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) + { + powershell.Runspace = space; + + // Setup the subscription used for the test + AzureSubscription subscription = + UnitTestHelper.SetupUnitTestSubscription(powershell); + + // Create a new server + HttpSession testSession = MockServerHelper.DefaultSessionCollection.GetSession( + "UnitTest.AzureSqlDatabaseServerTests"); + ServerTestHelper.SetDefaultTestSessionSettings(testSession); + testSession.RequestValidator = + new Action( + (expected, actual) => + { + Assert.AreEqual(expected.RequestInfo.Method, actual.Method); + Assert.IsTrue( + actual.UserAgent.Contains(ApiConstants.UserAgentHeaderValue), + "Missing proper UserAgent string."); + }); + + powershell.Runspace.SessionStateProxy.SetVariable("login", "mylogin"); + powershell.Runspace.SessionStateProxy.SetVariable("password", "Pa$$w0rd!"); + powershell.Runspace.SessionStateProxy.SetVariable("location", "East Asia"); + Collection newServerResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + return powershell.InvokeBatchScript( + @"New-AzureSqlDatabaseServer" + + @" -AdministratorLogin $login" + + @" -AdministratorLoginPassword $password" + + @" -Location $location"); + }); + + ui.PromptInputs = new PSObject[] { "mylogin", "Pa$$w0rd", "East Asia" }; + Collection newServerResult2 = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + return powershell.InvokeBatchScript(@"New-AzureSqlDatabaseServer"); + }); + ui.PromptInputs = null; + + Collection getServerResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); + return powershell.InvokeBatchScript( + @"Get-AzureSqlDatabaseServer $server.ServerName"); + }); + + Collection setServerResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); + powershell.Runspace.SessionStateProxy.SetVariable("password", "Pa$$w0rd2"); + powershell.InvokeBatchScript( + @"$server | Set-AzureSqlDatabaseServer" + + @" -AdminPassword $password" + + @" -Force"); + return powershell.InvokeBatchScript( + @"$server | Get-AzureSqlDatabaseServer"); + }); + + ui.PromptInputs = new PSObject[] { "Pa$$w0rd2" }; + Collection setServerResult2 = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult2); + powershell.InvokeBatchScript(@"$server | Set-AzureSqlDatabaseServer"); + return powershell.InvokeBatchScript(@"$server | Get-AzureSqlDatabaseServer"); + }); + ui.PromptInputs = null; + + Collection removeServerResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("server", newServerResult); + powershell.InvokeBatchScript( + @"$server | Remove-AzureSqlDatabaseServer" + + @" -Force"); + + return powershell.InvokeBatchScript( + @"Get-AzureSqlDatabaseServer"); + }); + + ui.PromptInputs = new PSObject[] { ((SqlDatabaseServerContext)newServerResult2[0].BaseObject).ServerName }; + ui.PromptForChoiceInputIndex = 0; //answer yes to delete database prompt + Collection removeServerResult2 = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.InvokeBatchScript(@"Remove-AzureSqlDatabaseServer"); + + return powershell.InvokeBatchScript( + @"Get-AzureSqlDatabaseServer"); + }); + ui.PromptForChoiceInputIndex = -1; + ui.PromptInputs = null; + + Assert.AreEqual(0, powershell.Streams.Error.Count, "Unexpected Errors during run!"); + Assert.AreEqual(0, powershell.Streams.Warning.Count, "Unexpected Warnings during run!"); + + // Validate New-AzureSqlDatabaseServer results + SqlDatabaseServerContext server = + newServerResult.Single().BaseObject as SqlDatabaseServerContext; + Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); + VerifyServer( + server, + (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), + (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); + + SqlDatabaseServerContext server2 = newServerResult2.Single().BaseObject as SqlDatabaseServerContext; + Assert.IsNotNull(server2, "Expecting a SqlDatabaseServerContext object"); + VerifyServer( + server, + (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), + (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); + + // Validate Get-AzureSqlDatabaseServer results + server = getServerResult.Single().BaseObject as SqlDatabaseServerContext; + Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); + VerifyServer( + server, + (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + "2.0", + "Ready"); + + server = setServerResult.Single().BaseObject as SqlDatabaseServerContext; + Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); + VerifyServer( + server, + (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + "2.0", + "Ready"); + + server2 = setServerResult2.Single().BaseObject as SqlDatabaseServerContext; + Assert.IsNotNull(server, "Expecting a SqlDatabaseServerContext object"); + VerifyServer( + server2, + (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + "2.0", + "Ready"); + + // Validate Remove-AzureSqlDatabaseServer results + Assert.IsFalse( + removeServerResult.Any((o) => o.GetVariableValue("ServerName") == server.ServerName), + "Server should have been removed."); + + Assert.IsFalse( + removeServerResult2.Any((o) => o.GetVariableValue("ServerName") == server2.ServerName), + "Server 2 should have been removed."); + + powershell.Streams.ClearStreams(); + } - powershell.Streams.ClearStreams(); + space.Close(); } } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlCustomPsHostUserInterface.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlCustomPsHostUserInterface.cs new file mode 100644 index 000000000000..b5b4da724ddb --- /dev/null +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlCustomPsHostUserInterface.cs @@ -0,0 +1,206 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Management.Automation.Host; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.Utilities +{ + /// + /// Custom implementation of the PSHostUserInterface to allow handling input in tests. + /// + public class SqlCustomPsHostUserInterface : PSHostUserInterface + { + /// + /// Gets or sets an array of the inputs to supply to the prompt (in order) + /// + public PSObject[] PromptInputs { get; set; } + + /// + /// Gets or sets the index of the option to choose when the user is prompted to choose from a list of options. + /// + public int PromptForChoiceInputIndex { get; set; } + + /// + /// Default constructor. + /// + public SqlCustomPsHostUserInterface() + { + PromptForChoiceInputIndex = -1; + } + + /// + /// This is called when a parameter wasn't supplied for a cmdlet. This will be called to prompt the user for the needed value. + /// Here we use the values in PromptInputs instead of getting them from the user. + /// + /// The caption for the prompt + /// The message to show the user + /// The names of all the fields that need input + /// A dictionary containing the response from the user with the FieldDescription.Name as the key + public override Dictionary Prompt(string caption, string message, System.Collections.ObjectModel.Collection descriptions) + { + Assert.IsNotNull(PromptInputs); + Assert.AreEqual(PromptInputs.Length, descriptions.Count, "The number of Prompt inputs needs to be the same as the number of prompts"); + + Dictionary ret = new Dictionary(); + for (int i = 0; i < descriptions.Count; i++) + { + ret.Add(descriptions[i].Name, PromptInputs[i]); + } + return ret; + } + + /// + /// This is called when the user needs to select an option from a list (eg: "Are you sure you want to continue: Yes, No"). + /// Instead of getting the input from the user we get the index of the option to choose from the value of PromptForChoiceInputIndex. + /// + /// The caption for the request for input + /// The message to show + /// The list of available choices + /// The default choice. + /// The index of the choice that was selected + public override int PromptForChoice(string caption, string message, System.Collections.ObjectModel.Collection choices, int defaultChoice) + { + Assert.IsTrue(PromptForChoiceInputIndex < choices.Count, "Must provide an index within the range of choices."); + Assert.IsTrue(PromptForChoiceInputIndex >= 0, "Cannot have a negative index"); + + return PromptForChoiceInputIndex; + } + + /// + /// Not needed + /// + public override System.Management.Automation.PSCredential PromptForCredential(string caption, string message, string userName, string targetName, System.Management.Automation.PSCredentialTypes allowedCredentialTypes, System.Management.Automation.PSCredentialUIOptions options) + { + return null; + } + + /// + /// Not needed + /// + public override System.Management.Automation.PSCredential PromptForCredential(string caption, string message, string userName, string targetName) + { + return null; + } + + /// + /// Not needed + /// + public override PSHostRawUserInterface RawUI + { + get { return null; } + } + + /// + /// Reads a line from input. Not used. + /// + /// + public override string ReadLine() + { + return Console.ReadLine(); + } + + /// + /// Not needed + /// + public override System.Security.SecureString ReadLineAsSecureString() + { + throw new NotImplementedException(); + } + /// + /// Writes information to the console. + /// + /// The foreground color to use + /// The background color to use + /// What to write to the console + public override void Write(ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value) + { + var fg = Console.ForegroundColor; + var bg = Console.BackgroundColor; + Console.ForegroundColor = foregroundColor; + Console.BackgroundColor = backgroundColor; + Console.Write(value); + Console.ForegroundColor = fg; + Console.BackgroundColor = bg; + } + + /// + /// Write a string to the console + /// + /// The string to display + public override void Write(string value) + { + Console.Write(value); + } + + /// + /// Write debug information to the console. + /// + /// The debug message to display + public override void WriteDebugLine(string message) + { + DebugRecord r = new DebugRecord(message); + Console.WriteLine(r); + } + + /// + /// Dispays an error to the console + /// + /// The error to display + public override void WriteErrorLine(string value) + { + Console.Error.Write(value); + } + + /// + /// Write a line to the console. + /// + /// The string to write + public override void WriteLine(string value) + { + Console.WriteLine(value); + } + + /// + /// Not needed + /// + public override void WriteProgress(long sourceId, System.Management.Automation.ProgressRecord record) + { + } + + /// + /// Write verbose message to the console + /// + /// The message to display + public override void WriteVerboseLine(string message) + { + Console.WriteLine("VERBOSE: " + message); + } + + /// + /// Write a warning to the screen + /// + /// The warning to display + public override void WriteWarningLine(string message) + { + Console.WriteLine("WARNING: " + message); + } + } +} diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlTestPsHost.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlTestPsHost.cs new file mode 100644 index 000000000000..542c61558b81 --- /dev/null +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Utilities/SqlTestPsHost.cs @@ -0,0 +1,146 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation.Host; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.Utilities +{ + /// + /// Custom PSHost implementation to help testing. + /// + public class SqlTestPsHost : PSHost + { + /// + /// Custom PSHostUserInterface to help control how input is received + /// + private SqlCustomPsHostUserInterface ui; + + /// + /// ID for this PSHost + /// + private Guid id = Guid.NewGuid(); + + /// + /// Name of the PSHost + /// + private const string name = "SqlTestPsHost"; + + /// + /// PSHost version + /// + private Version version = new Version(1, 0, 0, 0); + + /// + /// Default constructor, assigns the UI. + /// + public SqlTestPsHost() + { + ui = new SqlCustomPsHostUserInterface(); + } + + /// + /// Get the current culture + /// + public override System.Globalization.CultureInfo CurrentCulture + { + get { return Thread.CurrentThread.CurrentCulture; } + } + + /// + /// Get the current culture the UI is using + /// + public override System.Globalization.CultureInfo CurrentUICulture + { + get { return Thread.CurrentThread.CurrentUICulture; } + } + + /// + /// Not needed. Used for calling legacy programs like ping.exe + /// + public override void EnterNestedPrompt() + { + throw new NotImplementedException(); + } + + /// + /// Not needed. Used for calling legacy programs like ping.exe + /// + public override void ExitNestedPrompt() + { + throw new NotImplementedException(); + } + + /// + /// Gets the ID of this instance + /// + public override Guid InstanceId + { + get { return id; } + } + + /// + /// Gets the name of the host + /// + public override string Name + { + get { return name; } + } + + /// + /// Not needed. + /// + public override void NotifyBeginApplication() + { + return; + } + + /// + /// Not needed. + /// + public override void NotifyEndApplication() + { + return; + } + + /// + /// Not needed. + /// + public override void SetShouldExit(int exitCode) + { + return; + } + + /// + /// Gets our custom user interface implementation + /// + public override PSHostUserInterface UI + { + get { return ui; } + } + + /// + /// Gets the version + /// + public override Version Version + { + get { return version; } + } + } +} diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config index 5080e58c581a..6a1c364acc43 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config @@ -6,8 +6,8 @@ - - + + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj index 9f8ad5e5a47e..75d1ed611600 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj @@ -72,13 +72,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll @@ -100,13 +100,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1 b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1 new file mode 100644 index 000000000000..b35e39091c8b --- /dev/null +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Sql\Microsoft.WindowsAzure.Commands.SqlDatabase.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml index 1c16278f5a0f..daf52ffe65e3 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml @@ -1,7234 +1,6662 @@ - - - - - Get-AzureSqlDatabase - - Returns an Azure SQL Database from the specified SQL Database Server. - - - - - Get - AzureSqlDatabase - - - - Use the Get-AzureSqlDatabase cmdlet to retrieve a SQL Database from a SQL Database Server. You can specify the server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the SQL Database Server name, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. - - You also can retrieve a restorable dropped database by specifying the RestorableDropped parameter. You can select the database to return by specifying the name and deletion date with the DatabaseDeletionDate parameter. If you specify the RestorableDropped parameter and do not specify a database name and deletion date, then all restorable dropped databases on the specified server are returned. - If the database is not specified, the Get-AzureSqlDatabase cmdlet returns all SQL Databases from the specified SQL Database Server. - - - - - Get-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server from which to retrieve a SQL database. - - - IServerDataServiceContext - - - Database - - A database object representing the SQL Database to be retrieved. - - - Database - - - DatabaseDeletionDate - - If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. - - DateTime - - - DatabaseName - - The name of the SQL Database to be retrieved. - - - String - - - RestorableDropped - - If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. - - - - RestorableDroppedDatabase - - The object representing the restorable dropped database to retrieve. - - RestorableDroppedDatabase - - - - Get-AzureSqlDatabase - - ServerName - - The name of the SQL Database Server containing the database to be retrieved. The cmdlet uses the current Azure subscription to access the server. - - - String - - - Database - - A database object representing the SQL Database to be retrieved. - - - Database - - - DatabaseDeletionDate - - If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. - - DateTime - - - DatabaseName - - The name of the SQL Database to be retrieved. - - - String - - - RestorableDropped - - If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. - - - - RestorableDroppedDatabase - - The object representing the restorable dropped database to retrieve. - - RestorableDroppedDatabase - - - - - - ConnectionContext - - The connection context to a SQL Database Server from which to retrieve a SQL database. - - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - Database - - A database object representing the SQL Database to be retrieved. - - - Database - - Database - - - - - - DatabaseDeletionDate - - If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. - - DateTime - - DateTime - - - - - - DatabaseName - - The name of the SQL Database to be retrieved. - - - String - - String - - - - - - RestorableDropped - - If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. - - SwitchParameter - - SwitchParameter - - - - - - RestorableDroppedDatabase - - The object representing the restorable dropped database to retrieve. - - RestorableDroppedDatabase - - RestorableDroppedDatabase - - - - - - ServerName - - The name of the SQL Database Server containing the database to be retrieved. The cmdlet uses the current Azure subscription to access the server. - - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server. RestorableDroppedDatabase - - - - - - - - - - - - IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database> - - - - - - - Returns a Database object if the RestoreableDropped parameter is not specified. - - - - - IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.RestorableDroppedDatabase> - - - - - - - Returns a RestorableDroppedDatabase object if the RestoreableDropped parameter is specified. - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" - - - - - - This example returns all the databases on the SQL Database Server, "lpqd0zbr8y". - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - C:\PS>Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -RestorableDropped - - - - - - This example returns all the restorable dropped databases on the SQL Database Server, "lpqd0zbr8y". - - - - - - - - - - - --------------------------- EXAMPLE 3 -------------------------- - - - - - - - C:\PS>$database1 = Get-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" - - - - - - This example returns the database, "Database1", from the SQL Database Server specified by the connection context “$ctx”. - - - - - - - - - - - --------------------------- EXAMPLE 4 -------------------------- - - - - - - - C:\PS>$database1 = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" - - - - - - This example returns the database, "Database1", from the SQL Database Server, "lpqd0zbr8y". - - - - - - - - - - - --------------------------- EXAMPLE 5 -------------------------- - - - - - - - C:\PS>$droppedDB = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" -DatabaseDeletionDate "2012-11-09T22:59:43.000Z" -RestorableDropped - - - - - - This example returns the restorable dropped database, "Database1", that was deleted on 11/9/2012 from SQL Database Server, "lpqd0zbr8y". - - - - - - - - - - - - New-AzureSqlDatabase - - - - New-AzureSqlDatabaseServerContext - - - - Remove-AzureSqlDatabase - - - - Set-AzureSqlDatabase - - - - - - - Get-AzureSqlDatabaseCopy - - Checks the status of one or more copy relationships that are active on a specified server. This cmdlet is supported on both the source and target servers. - - - - - Get - AzureSqlDatabaseCopy - - - - The Get-AzureSqlDatabaseCopy cmdlet checks for the status of one or more active copy relationships. You can check a specific copy relationship, all copy relationships, or a filtered list of copy relationships, such as all copies on a specific target server. This cmdlet is supported on a source or target server. - - Get-AzureSqlDatabaseCopy is synchronous and blocks the application until it returns a status object. - - -PartnerServer and -PartnerDatabase are optional. If either is omitted, Get-AzureSqlDatabaseCopy returns a table of results. If both parameters are specified, Get-AzureSqlDatabaseCopy returns the status on only the specified database on the specified target server. - - - - - Get-AzureSqlDatabaseCopy - - ServerName - - The name of the SQL Database Server from which to retrieve the database copy. - - String - - - DatabaseName - - The name of the source database. - - - String - - - PartnerDatabase - - The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - - PartnerServer - - The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - - - Get-AzureSqlDatabaseCopy - - ServerName - - The name of the SQL Database Server from which to retrieve the database copy. - - String - - - Database - - A single object that represents the database whose copy status is to be returned. - - - Database - - - PartnerDatabase - - The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - - PartnerServer - - The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - - - Get-AzureSqlDatabaseCopy - - ServerName - - The name of the SQL Database Server from which to retrieve the database copy. - - String - - - DatabaseCopy - - An object that represents the copy of the database whose copy status is to be returned. DatabaseCopy can accept an array that is passed using the PowerShell pipeline. - - - DatabaseCopy - - - - - - Database - - A single object that represents the database whose copy status is to be returned. - - - Database - - Database - - - - - - DatabaseCopy - - An object that represents the copy of the database whose copy status is to be returned. DatabaseCopy can accept an array that is passed using the PowerShell pipeline. - - - DatabaseCopy - - DatabaseCopy - - - - - - DatabaseName - - The name of the source database. - - - String - - String - - - - - - PartnerDatabase - - The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - String - - - - - - PartnerServer - - The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. - - - String - - String - - - - - - ServerName - - The name of the SQL Database Server from which to retrieve the database copy. - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy - - - - - - - - - - - - - - Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. - - - - Verify Asynchronous Results: After calling Start-AzureSqlDatabaseCopy, or Stop-AzureSqlDatabaseCopy, we recommend that you verify its status by calling Get-AzureSqlDatabaseCopy. Then, analyze the results returned in the status object, and respond accordingly. - - - - - Monitoring:  To obtain information about the replica databases on a given server, use the sys.dm_database_copies dynamic management view (which resides in the logical master database). For information about all the replica databases of a given source database, use the sys.dm_continuous_copy_status dynamic management view on the source server. The sys.dm_continuous_copy_status is in the source database and not the master database. - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" - - - - This example returns the status of the database, "Orders", on the server, "lpqd0zbr8y". The optional -PartnerServer parameter restricts this command to the "bk0b8kf658" target server. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>$myDbCopy = Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" -ContinuousCopy -PS C:\>Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseCopy $myDbCopy - - - - This example starts a continuous copy relationship on the "Orders" database, and then gets the status of the copy. - - - - - - - - - - - - Start-AzureSqlDatabaseCopy - - - - Stop-AzureSqlDatabaseCopy - - - - - - - Get-AzureSqlDatabaseImportExportStatus - - Returns the status of an import or export operation between Azure blob storage and an Azure SQL Database. - - - - - Get - AzureSqlDatabaseImportExportStatus - - - - This cmdlet returns the status of an import or export request initiated by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. You can specify the request object with the Request parameter, or you can identify the request with the RequestId parameter along with the Username, Password, and ServerName parameters. - - - - - Get-AzureSqlDatabaseImportExportStatus - - Username - - If RequestId is specified, the user name required to connect to the Azure SQL Database Server. - - - String - - - Password - - If RequestId is specified, the password required to connect to the Azure SQL Database Server. - - - String - - - ServerName - - If RequestId is specified, the name of the Azure SQL Database Server. - - - String - - - RequestId - - The GUID of the import or export operation for which to return status. This parameter requires the UserName, Password, and ServerName parameters. - - - String - - - - Get-AzureSqlDatabaseImportExportStatus - - Request - - The ImportExportRequest object representing the import or export request, as returned by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. - - - ImportExportRequest - - - - - - Password - - If RequestId is specified, the password required to connect to the Azure SQL Database Server. - - - String - - String - - - - - - Request - - The ImportExportRequest object representing the import or export request, as returned by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. - - - ImportExportRequest - - ImportExportRequest - - - - - - RequestId - - The GUID of the import or export operation for which to return status. This parameter requires the UserName, Password, and ServerName parameters. - - - String - - String - - - - - - ServerName - - If RequestId is specified, the name of the Azure SQL Database Server. - - - String - - String - - - - - - Username - - If RequestId is specified, the user name required to connect to the Azure SQL Database Server. - - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExport.StatusInfo - - - - - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$exportRequest = Start-AzureSqlDatabaseExport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $blobName -C:\PS>Get-AzureSqlDatabaseImportExportStatus -Request $exportRequest - - - - This example returns the status of an export request - - - - - - - - - - - - Start-AzureSqlDatabaseExport - - - - Start-AzureSqlDatabaseImport - - - - - - - Get-AzureSqlDatabaseOperation - - Returns the status of database operations on the specified Azure SQL Database Server. - - - - - Get - AzureSqlDatabaseOperation - - - - If the user specifies only a ServerName or ConnectionContext, then all the database operations for the server are returned. If the user specifies a database using Database or DatabaseName (along with ServerName or ConnectionContext), then all the operations for the specified database are returned. If the user specifies an OperationGUID (along with ServerName or ConnectionContext), then just the single database operation is returned. - - - - - Get-AzureSqlDatabaseOperation - - ConnectionContext - - The connection context to a SQL Database Server. - - - IServerDataServiceContext - - - Database - - A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Database - - - DatabaseName - - The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - String - - - OperationGuid - - The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Guid - - - - Get-AzureSqlDatabaseOperation - - ServerName - - The name of a SQL Database Server. - - - String - - - Database - - A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Database - - - DatabaseName - - The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - String - - - OperationGuid - - The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Guid - - - - - - ConnectionContext - - The connection context to a SQL Database Server. - - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - Database - - A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Database - - Database - - - - - - DatabaseName - - The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - String - - String - - - - - - OperationGuid - - The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. - - - Guid - - Guid - - - - - - ServerName - - The name of a SQL Database Server. - - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext - - - - - - - - - - System.Guid - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database.DatabaseOperationResponseList[] - - - - - - - Returned if a list of operations is requested. - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database.DatabaseOperationResponse - - - - - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$operations = Get-AzureSqlDatabaseOperation -ConnectionContext $ctx -DatabaseName "Database1" - - - - - - - This example returns the status of all database operations on the SQL Database, "Database1", on the SQL Database Server specified by the connection context “$ctx”. - - - - - - - - - - - - Get-AzureSqlDatabase - - - - New-AzureSqlDatabaseServerContext - - - - - - - Get-AzureSqlDatabaseServer - - Returns information about the Azure SQL Database Servers in the current subscription. - - - - - Get - AzureSqlDatabaseServer - - - - If a SQL Database Server name is specified in the ServerName parameter, the cmdlet returns an object with information about the specific SQL Database Server. Otherwise, it returns information about all the SQL Database Servers. - - - - - Get-AzureSqlDatabaseServer - - ServerName - - The name of the SQL Database Server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database Servers in the current subscription is returned. - - - String - - - - - - ServerName - - The name of the SQL Database Server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database Servers in the current subscription is returned. - - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext - - - - - - - - - - - - IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext> - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> Get-AzureSqlDatabaseServer - - - - - - - - - - This command returns information about all of the SQL Database Servers in the current subscription. - - - - - - - - - - -------------- Example 2 -------------- - - - - PS C:\> Get-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" - - - - - - - - - - This command returns information about the “lpqd0zbr8y” server. - - - - - - - - - - - - New-AzureSqlDatabaseServer - - - - Remove-AzureSqlDatabaseServer - - - - Set-AzureSqlDatabaseServer - - - - - - - Get-AzureSqlDatabaseServerFirewallRule - - Returns firewall rules in the specified Azure SQL Database Server in the current subscription. - - - - - Get - AzureSqlDatabaseServerFirewallRule - - - - If a firewall rule name is specified in the RuleName parameter, the cmdlet returns information about the specific firewall rule. Otherwise, information about all the firewall rules in the specified SQL Database Server is listed. - - - - - Get-AzureSqlDatabaseServerFirewallRule - - ServerName - - The name of the SQL Database Server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name. - - - String - - - RuleName - - The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database Server is listed. - - - String - - - - - - RuleName - - The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database Server is listed. - - - String - - String - - - - - - ServerName - - The name of the SQL Database Server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name. - - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext - - - - - - - - - - - - IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext> - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> Get-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" - - - - - - - - - - This command returns all the firewall rules in the specified SQL Database Server (“lpqd0zbr8y”). - - - - - - - - - - -------------- Example 2 -------------- - - - - PS C:\> Get-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" - - - - - - - - - - This command returns the specified firewall rule (“myRule”) in the specified SQL Database Server (“lpqd0zbr8y”). - - - - - - - - - - - - New-AzureSqlDatabaseServerFirewallRule - - - - Remove-AzureSqlDatabaseServerFirewallRule - - - - Set-AzureSqlDatabaseServerFirewallRule - - - - - - - Get-AzureSqlDatabaseServerQuota - - Returns the quota information for a specified Azure SQL Database Server. - - - - - Get - AzureSqlDatabaseServerQuota - - - - The user specifies the server by supplying a connection context or the server name. If a quota name is not specified, then all the quota information for the server is returned. - - - - - Get-AzureSqlDatabaseServerQuota - - ConnectionContext - - The connection context to the specified SQL Database Server. - - - IServerDataServiceContext - - - QuotaName - - The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. - - - String - - - - Get-AzureSqlDatabaseServerQuota - - ServerName - - The name of the SQL Database Server. - - String - - - QuotaName - - The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. - - - String - - - - - - ConnectionContext - - The connection context to the specified SQL Database Server. - - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - QuotaName - - The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. - - - String - - String - - - - - - ServerName - - The name of the SQL Database Server. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServerQuota[] - - - - - - - - - - - - - - Authentication: This cmdlet can use either SQL Server authentication or certificate-based authentication. For examples of setting up authentication, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$quotaPremium = GetAzureSqlDatabaseServerQuota $ctx QuotaName "Premium_Databases" - - - - - - This example returns the quota, "Premium_Databases", from the Azure SQL Database Server specified by the connection $ctx. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - C:\PS>$quotaList = GetAzureSqlDatabaseServerQuota $ctx - - - - - - This example returns a list of all quota values from the Azure SQL Database Server specified by the connection $ctx. - - - - - - - - - - - - New-AzureSqlDatabaseServerContext - - - - - - - Get-AzureSqlDatabaseServiceObjective - - Returns a service objective for the specified Azure SQL Database Server. - - - - - Get - AzureSqlDatabaseServiceObjective - - - - If the service objective is not specified, this cmdlet returns all service objectives for the specified Azure SQL Database Server. - Note: This cmdlet applies to Basic, Standard, and Premium service tiers, which are available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - - Get-AzureSqlDatabaseServiceObjective - - Context - - The connection context to the specified SQL Database Server. - - IServerDataServiceContext - - - ServiceObjective - - An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - ServiceObjective - - - ServiceObjectiveName - - The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - String - - - - Get-AzureSqlDatabaseServiceObjective - - ServerName - - - - String - - - ServiceObjective - - An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - ServiceObjective - - - ServiceObjectiveName - - The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - String - - - - - - Context - - The connection context to the specified SQL Database Server. - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - ServerName - - - - String - - String - - - - - - ServiceObjective - - An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - ServiceObjective - - ServiceObjective - - - - - - ServiceObjectiveName - - The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServiceObjective - - - - - - - - - - - - - - IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServiceObjective> - - - - - - - - - - - - - - - -------------- EXAMPLE 1 -------------- - - - - C:\PS>Get-AzureSqlDatabaseServiceObjective -Context $ctx - - - This example displays all the service objectives for the SQL Database Server specified by the connection context $ctx. - - - - - - - - - -------------- EXAMPLE 2 -------------- - - - - C:\PS>Get-AzureSqlDatabaseServiceObjective -ServerName "server1" - - - This example displays all the service objectives for the SQL Database Server "server1", using certificate authentication. - - - - - - - - - - - Online Version: - - - - - - - Get-AzureSqlRecoverableDatabase - - Gets a list of databases that can be recovered. - - - - - Get - AzureSqlRecoverableDatabase - - - - This cmdlet can be used to get a list of databases that can be recovered when the database server is no longer available. The database can be recovered to the same server as the source database or to a different server. - - - - Get-AzureSqlRecoverableDatabase - - Database - - The database object representing the database you want to retrieve - - RecoverableDatabase - - - - Get-AzureSqlRecoverableDatabase - - DatabaseName - - The name of the database you want to recover. - - String - - - ServerName - - The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. - - String - - - - Get-AzureSqlRecoverableDatabase - - ServerName - - The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. - - String - - - - - - Database - - The database object representing the database you want to retrieve - - RecoverableDatabase - - RecoverableDatabase - - - - - - DatabaseName - - The name of the database you want to recover. - - String - - String - - - - - - ServerName - - The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase - - - - - - - - - - - - - - Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase - - - - - - - - - - - - - - - - You must use certificate based authentication to run this cmdlet. The following commands need to be run to on the machine you are using to run the command from: + + + + + Get-AzureSqlDatabase + + Returns an Azure SQL Database from the specified SQL Database Server. + + + + + Get + AzureSqlDatabase + + + + + Use the Get-AzureSqlDatabase cmdlet to retrieve a SQL Database from a SQL Database Server. You can specify the server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the SQL Database Server name, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. +You also can retrieve a restorable dropped database by specifying the RestorableDropped parameter. You can select the database to return by specifying the name and deletion date with the DatabaseDeletionDate parameter. If you specify the RestorableDropped parameter and do not specify a database name and deletion date, then all restorable dropped databases on the specified server are returned.If the database is not specified, the Get-AzureSqlDatabase cmdlet returns all SQL Databases from the specified SQL Database Server. + + + + Get-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server from which to retrieve a SQL database. + + IServerDataServiceContext + + + Database + + A database object representing the SQL Database to be retrieved. + + Database + + + DatabaseName + + The name of the SQL Database to be retrieved. + + String + + + RestorableDropped + + If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. + + SwitchParameter + + + RestorableDroppedDatabase + + The object representing the restorable dropped database to retrieve. + + RestorableDroppedDatabase + + + DatabaseDeletionDate + + If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. + + DateTime + + + + Get-AzureSqlDatabase + + ServerName + + The name of the SQL Database Server containing the database to be retrieved. The cmdlet uses the current Azure subscription to access the server. + + String + + + Database + + A database object representing the SQL Database to be retrieved. + + Database + + + DatabaseName + + The name of the SQL Database to be retrieved. + + String + + + RestorableDropped + + If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. + + SwitchParameter + + + RestorableDroppedDatabase + + The object representing the restorable dropped database to retrieve. + + RestorableDroppedDatabase + + + DatabaseDeletionDate + + If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. + + DateTime + + + + + + ConnectionContext + + The connection context to a SQL Database Server from which to retrieve a SQL database. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + Database + + A database object representing the SQL Database to be retrieved. + + Database + + Database + + + + + + DatabaseName + + The name of the SQL Database to be retrieved. + + String + + String + + + + + + RestorableDropped + + If specified, the Get-AzureSqlDatabase cmdlet returns RestorableDroppedDatabase objects instead of Database objects, and the DatabaseDeletionDate parameter may be used to select a specific restorable dropped database. + + SwitchParameter + + SwitchParameter + + + + + + RestorableDroppedDatabase + + The object representing the restorable dropped database to retrieve. + + RestorableDroppedDatabase + + RestorableDroppedDatabase + + + + + + DatabaseDeletionDate + + If the RestorableDropped parameter is specified, then you can use this parameter to retrieve a restorable dropped database based on the deletion date. + + DateTime + + DateTime + + + + + + ServerName + + The name of the SQL Database Server containing the database to be retrieved. The cmdlet uses the current Azure subscription to access the server. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database> + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" + + This example returns all the databases on the SQL Database Server, "lpqd0zbr8y". + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -RestorableDropped + + This example returns all the restorable dropped databases on the SQL Database Server, "lpqd0zbr8y". + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> C:\PS>$database1 = Get-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" + + This example returns the database, "Database1", from the SQL Database Server specified by the connection context “$ctx”. + + + + + + + + + -------------------------- EXAMPLE 4 -------------------------- + + + + PS C:\> C:\PS>$database1 = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" + + This example returns the database, "Database1", from the SQL Database Server, "lpqd0zbr8y". + + + + + + + + + -------------------------- EXAMPLE 5 -------------------------- + + + + PS C:\> C:\PS>$droppedDB = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" -DatabaseDeletionDate "2012-11-09T22:59:43.000Z" -RestorableDropped + + This example returns the restorable dropped database, "Database1", that was deleted on 11/9/2012 from SQL Database Server, "lpqd0zbr8y". + + + + + + + + + + + New-AzureSqlDatabase + + + + New-AzureSqlDatabaseServerContext + + + + Remove-AzureSqlDatabase + + + + Set-AzureSqlDatabase + + + + + + + + Get-AzureSqlDatabaseCopy + + Checks the status of one or more copy relationships that are active on a specified server. This cmdlet is supported on both the source and target servers. + + + + + Get + AzureSqlDatabaseCopy + + + + + The Get-AzureSqlDatabaseCopy cmdlet checks for the status of one or more active copy relationships. You can check a specific copy relationship, all copy relationships, or a filtered list of copy relationships, such as all copies on a specific target server. This cmdlet is supported on a source or target server. +Get-AzureSqlDatabaseCopy is synchronous and blocks the application until it returns a status object. +-PartnerServer and -PartnerDatabase are optional. If either is omitted, Get-AzureSqlDatabaseCopy returns a table of results. If both parameters are specified, Get-AzureSqlDatabaseCopy returns the status on only the specified database on the specified target server. + + + + Get-AzureSqlDatabaseCopy + + ServerName + + The name of the SQL Database Server from which to retrieve the database copy. + + String + + + DatabaseName + + The name of the source database. + + String + + + PartnerServer + + The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + + PartnerDatabase + + The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + + + Get-AzureSqlDatabaseCopy + + ServerName + + The name of the SQL Database Server from which to retrieve the database copy. + + String + + + DatabaseCopy + + An object that represents the copy of the database whose copy status is to be returned. DatabaseCopy can accept an array that is passed using the PowerShell pipeline. + + DatabaseCopy + + + + Get-AzureSqlDatabaseCopy + + ServerName + + The name of the SQL Database Server from which to retrieve the database copy. + + String + + + Database + + A single object that represents the database whose copy status is to be returned. + + Database + + + PartnerServer + + The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + + PartnerDatabase + + The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + + + + + ServerName + + The name of the SQL Database Server from which to retrieve the database copy. + + String + + String + + + + + + DatabaseName + + The name of the source database. + + String + + String + + + + + + PartnerServer + + The name of a target server. If a specified server is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + String + + + + + + PartnerDatabase + + The name of a given replica database. If a specified database is not found in the sys.dm_database_copies dynamic management view, an empty status object is returned. + + String + + String + + + + + + DatabaseCopy + + An object that represents the copy of the database whose copy status is to be returned. DatabaseCopy can accept an array that is passed using the PowerShell pipeline. + + DatabaseCopy + + DatabaseCopy + + + + + + Database + + A single object that represents the database whose copy status is to be returned. + + Database + + Database + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy + + + + + + + + + + + + + + Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" + + This example returns the status of the database, "Orders", on the server, "lpqd0zbr8y". The optional -PartnerServer parameter restricts this command to the "bk0b8kf658" target server. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>$myDbCopy = Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" -ContinuousCopy +PS C:\>Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseCopy $myDbCopy + + This example starts a continuous copy relationship on the "Orders" database, and then gets the status of the copy. + + + + + + + + + + + Start-AzureSqlDatabaseCopy + + + + Stop-AzureSqlDatabaseCopy + + + + + + + + Get-AzureSqlDatabaseImportExportStatus + + Returns the status of an import or export operation between Azure blob storage and an Azure SQL Database. + + + + + Get + AzureSqlDatabaseImportExportStatus + + + + + This cmdlet returns the status of an import or export request initiated by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. You can specify the request object with the Request parameter, or you can identify the request with the RequestId parameter along with the Username, Password, and ServerName parameters. + + + + Get-AzureSqlDatabaseImportExportStatus + + Username + + If RequestId is specified, the user name required to connect to the Azure SQL Database Server. + + String + + + Password + + If RequestId is specified, the password required to connect to the Azure SQL Database Server. + + String + + + ServerName + + If RequestId is specified, the name of the Azure SQL Database Server. + + String + + + RequestId + + The GUID of the import or export operation for which to return status. This parameter requires the UserName, Password, and ServerName parameters. + + String + + + + Get-AzureSqlDatabaseImportExportStatus + + Request + + The ImportExportRequest object representing the import or export request, as returned by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. + + ImportExportRequest + + + + + + Username + + If RequestId is specified, the user name required to connect to the Azure SQL Database Server. + + String + + String + + + + + + Password + + If RequestId is specified, the password required to connect to the Azure SQL Database Server. + + String + + String + + + + + + ServerName + + If RequestId is specified, the name of the Azure SQL Database Server. + + String + + String + + + + + + RequestId + + The GUID of the import or export operation for which to return status. This parameter requires the UserName, Password, and ServerName parameters. + + String + + String + + + + + + Request + + The ImportExportRequest object representing the import or export request, as returned by the Start-AzureSqlDatabaseImport or Start-AzureSqlDatabaseExport cmdlet. + + ImportExportRequest + + ImportExportRequest + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExport.StatusInfo + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$exportRequest = Start-AzureSqlDatabaseExport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $blobName +C:\PS>Get-AzureSqlDatabaseImportExportStatus -Request $exportRequest + + This example returns the status of an export request + + + + + + + + + + + Start-AzureSqlDatabaseExport + + + + Start-AzureSqlDatabaseImport + + + + + + + + Get-AzureSqlDatabaseOperation + + Returns the status of database operations on the specified Azure SQL Database Server. + + + + + Get + AzureSqlDatabaseOperation + + + + + If the user specifies only a ServerName or ConnectionContext, then all the database operations for the server are returned. If the user specifies a database using Database or DatabaseName (along with ServerName or ConnectionContext), then all the operations for the specified database are returned. If the user specifies an OperationGUID (along with ServerName or ConnectionContext), then just the single database operation is returned. + + + + Get-AzureSqlDatabaseOperation + + ConnectionContext + + The connection context to a SQL Database Server. + + IServerDataServiceContext + + + Database + + A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Database + + + DatabaseName + + The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + String + + + OperationGuid + + The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Guid + + + + Get-AzureSqlDatabaseOperation + + ServerName + + The name of a SQL Database Server. + + String + + + Database + + A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Database + + + DatabaseName + + The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + String + + + OperationGuid + + The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Guid + + + + + + ConnectionContext + + The connection context to a SQL Database Server. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + Database + + A database object representing a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Database + + Database + + + + + + DatabaseName + + The name of a SQL Database. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + String + + String + + + + + + OperationGuid + + The operation ID representing a specific database operation for which you want status. You can obtain operation IDs by requesting all the database operations for a SQL Database or Server. If this parameter is specified then ServerName or ConnectionContext must also be specified. + + Guid + + Guid + + + + + + ServerName + + The name of a SQL Database Server. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database.DatabaseOperationResponseList[] + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$operations = Get-AzureSqlDatabaseOperation -ConnectionContext $ctx -DatabaseName "Database1" + + This example returns the status of all database operations on the SQL Database, "Database1", on the SQL Database Server specified by the connection context “$ctx”. + + + + + + + + + + + Get-AzureSqlDatabase + + + + New-AzureSqlDatabaseServerContext + + + + + + + + Get-AzureSqlDatabaseServer + + Returns information about the Azure SQL Database Servers in the current subscription. + + + + + Get + AzureSqlDatabaseServer + + + + + If a SQL Database Server name is specified in the ServerName parameter, the cmdlet returns an object with information about the specific SQL Database Server. Otherwise, it returns information about all the SQL Database Servers. + + + + Get-AzureSqlDatabaseServer + + ServerName + + The name of the SQL Database Server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database Servers in the current subscription is returned. + + String + + + + + + ServerName + + The name of the SQL Database Server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database Servers in the current subscription is returned. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext + + + + + + + + + + + + IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext> + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureSqlDatabaseServer + + This command returns information about all of the SQL Database Servers in the current subscription. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" + + This command returns information about the “lpqd0zbr8y” server. + + + + + + + + + + + New-AzureSqlDatabaseServer + + + + Remove-AzureSqlDatabaseServer + + + + Set-AzureSqlDatabaseServer + + + + + + + + Get-AzureSqlDatabaseServerFirewallRule + + Returns firewall rules in the specified Azure SQL Database Server in the current subscription. + + + + + Get + AzureSqlDatabaseServerFirewallRule + + + + + If a firewall rule name is specified in the RuleName parameter, the cmdlet returns information about the specific firewall rule. Otherwise, information about all the firewall rules in the specified SQL Database Server is listed. + + + + Get-AzureSqlDatabaseServerFirewallRule + + ServerName + + The name of the SQL Database Server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name. + + String + + + RuleName + + The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database Server is listed. + + String + + + + + + ServerName + + The name of the SQL Database Server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + RuleName + + The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database Server is listed. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext + + + + + + + + + + + + IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext> + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" + + This command returns all the firewall rules in the specified SQL Database Server (“lpqd0zbr8y”). + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" + + This command returns the specified firewall rule (“myRule”) in the specified SQL Database Server (“lpqd0zbr8y”). + + + + + + + + + + + New-AzureSqlDatabaseServerFirewallRule + + + + Remove-AzureSqlDatabaseServerFirewallRule + + + + Set-AzureSqlDatabaseServerFirewallRule + + + + + + + + Get-AzureSqlDatabaseServerQuota + + Returns the quota information for a specified Azure SQL Database Server. + + + + + Get + AzureSqlDatabaseServerQuota + + + + + The user specifies the server by supplying a connection context or the server name. If a quota name is not specified, then all the quota information for the server is returned. + + + + Get-AzureSqlDatabaseServerQuota + + ConnectionContext + + The connection context to the specified SQL Database Server. + + IServerDataServiceContext + + + QuotaName + + The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. + + String + + + + Get-AzureSqlDatabaseServerQuota + + ServerName + + The name of the SQL Database Server. + + String + + + QuotaName + + The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. + + String + + + + + + ConnectionContext + + The connection context to the specified SQL Database Server. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + QuotaName + + The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned. + + String + + String + + + + + + ServerName + + The name of the SQL Database Server. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServerQuota[] + + + + + + + + + + + + + + Authentication: This cmdlet can use either SQL Server authentication or certificate-based authentication. For examples of setting up authentication, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$quotaPremium = GetAzureSqlDatabaseServerQuota $ctx QuotaName "Premium_Databases" + + This example returns the quota, "Premium_Databases", from the Azure SQL Database Server specified by the connection $ctx. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>$quotaList = GetAzureSqlDatabaseServerQuota $ctx + + This example returns a list of all quota values from the Azure SQL Database Server specified by the connection $ctx. + + + + + + + + + + + New-AzureSqlDatabaseServerContext + + + + + + + + Get-AzureSqlDatabaseServiceObjective + + Returns a service objective for the specified Azure SQL Database Server. + + + + + Get + AzureSqlDatabaseServiceObjective + + + + + If the service objective is not specified, this cmdlet returns all service objectives for the specified Azure SQL Database Server.Note: This cmdlet applies to Basic, Standard, and Premium service tiers, which are available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + + + Get-AzureSqlDatabaseServiceObjective + + Context + + The connection context to the specified SQL Database Server. + + IServerDataServiceContext + + + ServiceObjective + + An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + ServiceObjective + + + ServiceObjectiveName + + The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + String + + + + Get-AzureSqlDatabaseServiceObjective + + ServerName + + + + String + + + ServiceObjective + + An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + ServiceObjective + + + ServiceObjectiveName + + The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + String + + + + + + Context + + The connection context to the specified SQL Database Server. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + ServiceObjective + + An object representing the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + ServiceObjective + + ServiceObjective + + + + + + ServiceObjectiveName + + The name of the service objective to return. If not specified, then all the service objectives for the SQL Database Server are returned. + + String + + String + + + + + + ServerName + + + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServiceObjective + + + + + + + + + + + + IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServiceObjective> + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>Get-AzureSqlDatabaseServiceObjective -Context $ctx + + This example displays all the service objectives for the SQL Database Server specified by the connection context $ctx. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>Get-AzureSqlDatabaseServiceObjective -ServerName "server1" + + This example displays all the service objectives for the SQL Database Server "server1", using certificate authentication. + + + + + + + + + + + Online Version: + + + + + + + + Get-AzureSqlRecoverableDatabase + + Gets a list of databases that can be recovered. + + + + + Get + AzureSqlRecoverableDatabase + + + + + This cmdlet can be used to get a list of databases that can be recovered when the database server is no longer available. The database can be recovered to the same server as the source database or to a different server. + + + + Get-AzureSqlRecoverableDatabase + + ServerName + + The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. + + String + + + + Get-AzureSqlRecoverableDatabase + + ServerName + + The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. + + String + + + DatabaseName + + The name of the database you want to recover. + + String + + + + Get-AzureSqlRecoverableDatabase + + Database + + The database object representing the database you want to retrieve + + RecoverableDatabase + + + + + + ServerName + + The name of the server where the database is live and running, or the name of the server where the database was running before it was deleted. + + String + + String + + + + + + DatabaseName + + The name of the database you want to recover. + + String + + String + + + + + + Database + + The database object representing the database you want to retrieve + + RecoverableDatabase + + RecoverableDatabase + + + + + + + + + Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase + + + + + + + + + + + + Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase + + + + + + + + + + + + + + You must use certificate based authentication to run this cmdlet. The following commands need to be run to on the machine you are using to run the command from: C:\PS>$subId = <Subscription ID> C:\PS>$thumbprint = <Certificate Thumbprint> C:\PS>$myCert = Get-Item Cert:\CurrentUser\My\$thumbprint -C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert -C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>Get-AzureSqlRecoverableDatabase -ServerName "server1" - - - - - This example lists all the recoverable databases on the source server. - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>$mydb = Get-AzureSqlRecoverableDatabase -ServerName "server1" -DatabaseName "mydb" +C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert +C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>Get-AzureSqlRecoverableDatabase -ServerName "server1" + + This example lists all the recoverable databases on the source server. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>$mydb = Get-AzureSqlRecoverableDatabase -ServerName "server1" -DatabaseName "mydb" # refresh -PS C:\>$mydb = $mydb | Get-AzureSqlRecoverableDatabase - - - This example retrieves a specific database on source server. - - - - - - - - - - - Start-AzureSqlDatabaseRecovery - - - - - - - New-AzureSqlDatabase - - Creates a new Azure SQL Database in the specified SQL Database Server. - - - - - New - AzureSqlDatabase - - - - The New-AzureSqlDatabase cmdlet creates a new SQL Database in the specified SQL Database Server. You can specify the server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the SQL Database Server name, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. - - When you create a new database by specifying a SQL Database Server, the New-AzureSqlDatabase cmdlet creates a temporary connection context using the specified SQL Database Server name and the current Azure subscription information to perform the operation. - - - - - New-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server where you want to create new SQL Database. - - - IServerDataServiceContext - - - DatabaseName - - The name of the new database. - - - String - - - Collation - - Collation for the newly created SQL Database. - - - String - - - Edition - - The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. - - Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - DatabaseEdition - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - MaxSizeBytes - - The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - ServiceObjective - - If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database. - Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - New-AzureSqlDatabase - - ServerName - - The SQL Database Server name where you want to create new SQL Database. - - - String - - - DatabaseName - - The name of the new database. - - - String - - - Collation - - Collation for the newly created SQL Database. - - - String - - - Edition - - The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. - - Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - DatabaseEdition - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - MaxSizeBytes - - The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - ServiceObjective - - If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database. - Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Collation - - Collation for the newly created SQL Database. - - - String - - String - - - - - - ConnectionContext - - The connection context to a SQL Database Server where you want to create new SQL Database. - - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - DatabaseName - - The name of the new database. - - - String - - String - - - - - - Edition - - The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. - - Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - DatabaseEdition - - DatabaseEdition - - - - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - MaxSizeBytes - - The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - Int64 - - - - - - MaxSizeGB - - The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - Int32 - - - - - - ServerName - - The SQL Database Server name where you want to create new SQL Database. - - - String - - String - - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database. - Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - ServiceObjective - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - - - To delete a database that was created by New-AzureSqlDatabase, use the Remove-AzureSqlDatabase cmdlet. - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$database1 = New-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" -Edition "Business" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" - - - - - - This example creates a new SQL Database with the name, "Database1", for the specified SQL Database Server connection context “$ctx”. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - C:\PS>$database1 = New-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" -Edition "Business" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" - +PS C:\>$mydb = $mydb | Get-AzureSqlRecoverableDatabase + + This example retrieves a specific database on source server. + + + + + + + + + + + Start-AzureSqlDatabaseRecovery + + + + + + + + New-AzureSqlDatabase + + Creates a new Azure SQL Database in the specified SQL Database Server. + + + + + New + AzureSqlDatabase + + + + + The New-AzureSqlDatabase cmdlet creates a new SQL Database in the specified SQL Database Server. You can specify the server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the SQL Database Server name, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. +When you create a new database by specifying a SQL Database Server, the New-AzureSqlDatabase cmdlet creates a temporary connection context using the specified SQL Database Server name and the current Azure subscription information to perform the operation. + + + + New-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server where you want to create new SQL Database. + + IServerDataServiceContext + + + DatabaseName + + The name of the new database. + + String + + + Collation + + Collation for the newly created SQL Database. + + String + + + Edition + + The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. +Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + DatabaseEdition + + + ServiceObjective + + If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database.Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + MaxSizeGB + + The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + New-AzureSqlDatabase + + ServerName + + The SQL Database Server name where you want to create new SQL Database. + + String + + + DatabaseName + + The name of the new database. + + String + + + Collation + + Collation for the newly created SQL Database. + + String + + + Edition + + The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. +Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + DatabaseEdition + + + ServiceObjective + + If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database.Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + MaxSizeGB + + The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ConnectionContext + + The connection context to a SQL Database Server where you want to create new SQL Database. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + DatabaseName + + The name of the new database. + + String + + String + + + + + + Collation + + Collation for the newly created SQL Database. + + String + + String + + + + + + Edition + + The edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. The default value is Web. +Note: The Premium value of this parameter is a feature which is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + DatabaseEdition + + DatabaseEdition + + + + + + ServiceObjective + + If specified, an object representing the new service objective for this database. This value represents the level of resources assigned to this database.Note: This parameter is a feature of the preview of Azure SQL Database Premium Edition. Only participants in the preview are able to use this parameter. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + ServiceObjective + + + + + + MaxSizeGB + + The maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + Int32 + + + + + + MaxSizeBytes + + The maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + Int64 + + + + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + ServerName + + The SQL Database Server name where you want to create new SQL Database. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + + + To delete a database that was created by New-AzureSqlDatabase, use the Remove-AzureSqlDatabase cmdlet. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$database1 = New-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" -Edition "Business" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" + + This example creates a new SQL Database with the name, "Database1", for the specified SQL Database Server connection context “$ctx”. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>$database1 = New-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" -Edition "Business" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" + + This example creates a new database with the name, "Database1", in the specified SQL Database Server "lpqd0zbr8y". The cmdlet uses the current Azure subscription information to authenticate the request to access the server. + + + + + + + + + + + Get-AzureSqlDatabase + + + + New-AzureSqlDatabaseServerContext + + + + Remove-AzureSqlDatabase + + + + Set-AzureSqlDatabase + + + + + + + + New-AzureSqlDatabaseServer + + Creates a new Azure SQL Database Server in the current subscription. + + + + + New + AzureSqlDatabaseServer + + + + + The New-AzureSqlDatabaseServer cmdlet creates a new SQL Database Server in the current subscription. + + + + New-AzureSqlDatabaseServer + + AdministratorLogin + + Administrator account name for your new SQL Database Server. + + String + + + AdministratorLoginPassword + + Administrator account password for your new SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). + + String + + + Location + + Region or location where the new SQL Database Server is created. The location determines which datacenter the database will reside in. For more information, see http://azure.microsoft.com/en-us/regions/#services + + String + + + Version + + Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. + + Single + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + AdministratorLogin + + Administrator account name for your new SQL Database Server. + + String + + String + + + + + + AdministratorLoginPassword + + Administrator account password for your new SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). + + String + + String + + + + + + Location + + Region or location where the new SQL Database Server is created. The location determines which datacenter the database will reside in. For more information, see http://azure.microsoft.com/en-us/regions/#services + + String + + String + + + + + + Version + + Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. + + Single + + Single + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\>New-AzureSqlDatabaseServer -Location "East US" -AdministratorLogin "myLogin" -AdministratorLoginPassword "myP@ssword" + + This command creates a SQL Database Server. + + + + + + + + + + + Get-AzureSqlDatabaseServer + + + + Remove-AzureSqlDatabaseServer + + + + Set-AzureSqlDatabaseServer + + + + + + + + New-AzureSqlDatabaseServerContext + + Creates a new connection context to the specified SQL Database Server by using SQL Server authentication or certificate-based authentication. + + + + + New + AzureSqlDatabaseServerContext + + + + + Use the New-AzureSqlDatabaseServerContext cmdlet with SQL Server authentication to create a new connection context to the specified SQL Database Server by using the specified credentials. The SQL Database Server may be specified by name, by the fully-qualified name, or by URL. The credential can be specified using the Get-Credential cmdlet that prompts you to specify the user name and password in a dialog box.Use the New-AzureSqlDatabaseServerContext cmdlet with certificate-based authentication to create a new connection context to the specified SQL Database Server by using the specified Azure subscription data. The SQL Database Server may be specified by name or by the fully-qualified name. The subscription data can either be specified as a parameter or it can be retrieved from the current Azure subscription (use the Select-AzureSubscription cmdlet to select the current Azure subscription). +See the examples below of both the SQL Server and certificate-based authentication methods. + + + + New-AzureSqlDatabaseServerContext + + ServerName + + The name of the SQL Database Server. + + String + + + Credential + + A credential object that provides SQL Server authentication for the user to access the server. + + PSCredential + + + + New-AzureSqlDatabaseServerContext + + ServerName + + The name of the SQL Database Server. + + String + + + UseSubscription + + Indicates that Azure subscription will be used for creating the connection context. + + SwitchParameter + + + SubscriptionName + + The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. + + String + + + + New-AzureSqlDatabaseServerContext + + ServerName + + The name of the SQL Database Server. + + String + + + ManageUrl + + The URL to access the Azure SQL Database Management Portal for the server. + + Uri + + + Credential + + A credential object that provides SQL Server authentication for the user to access the server. + + PSCredential + + + + New-AzureSqlDatabaseServerContext + + FullyQualifiedServerName + + The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. + + String + + + Credential + + A credential object that provides SQL Server authentication for the user to access the server. + + PSCredential + + + + New-AzureSqlDatabaseServerContext + + FullyQualifiedServerName + + The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. + + String + + + UseSubscription + + Indicates that Azure subscription will be used for creating the connection context. + + SwitchParameter + + + SubscriptionName + + The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. + + String + + + + + + ServerName + + The name of the SQL Database Server. + + String + + String + + + + + + Credential + + A credential object that provides SQL Server authentication for the user to access the server. + + PSCredential + + PSCredential + + + + + + UseSubscription + + Indicates that Azure subscription will be used for creating the connection context. + + SwitchParameter + + SwitchParameter + + + + + + SubscriptionName + + The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. + + String + + String + + + + + + ManageUrl + + The URL to access the Azure SQL Database Management Portal for the server. + + Uri + + Uri + + + + + + FullyQualifiedServerName + + The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.IServerDataServiceContext + + + + + + + + + + + + + + If you authenticated without specifying a domain, then if you are using PowerShell 2.0, the Get-Credential cmdlet returns a backslash prepended to the username, for example, "\user" (PowerShell 3.0 does not add the backslash). This backslash is not recognized by the -Credential parameter of the New-AzureSqlDatabaseServerContext cmdlet. To remove it, use code similar to the following: +C:\PS>$cred = Get-Credential - - - - - - - This example creates a new database with the name, "Database1", in the specified SQL Database Server "lpqd0zbr8y". The cmdlet uses the current Azure subscription information to authenticate the request to access the server. - - - - - - - - - - - - Get-AzureSqlDatabase - - - - New-AzureSqlDatabaseServerContext - - - - Remove-AzureSqlDatabase - - - - Set-AzureSqlDatabase - - - - - - - New-AzureSqlDatabaseServer - - Creates a new Azure SQL Database Server in the current subscription. - - - - - New - AzureSqlDatabaseServer - - - - The New-AzureSqlDatabaseServer cmdlet creates a new SQL Database Server in the current subscription. - - - - New-AzureSqlDatabaseServer - - AdministratorLogin - - Administrator account name for your new SQL Database Server. - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - Version - - Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. - - Single - - - AdministratorLoginPassword - - Administrator account password for your new SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). - - String - - - Location - - Region or location where the new SQL Database Server is created. The location determines which datacenter the database will reside in. For more information, see http://azure.microsoft.com/en-us/regions/#services - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - AdministratorLogin - - Administrator account name for your new SQL Database Server. - - String - - String - - - - - - AdministratorLoginPassword - - Administrator account password for your new SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Location - - Region or location where the new SQL Database Server is created. The location determines which datacenter the database will reside in. For more information, see http://azure.microsoft.com/en-us/regions/#services - - String - - String - - - - - - Version - - Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. - - Single - - Single - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext - - - - - - - - - - - - - - - --------------Example 1-------------- - - - - PS C:\>New-AzureSqlDatabaseServer -Location "East US" -AdministratorLogin "myLogin" -AdministratorLoginPassword "myP@ssword" - - - - This command creates a SQL Database Server. - - - - - - - - - - - Get-AzureSqlDatabaseServer - - - - Remove-AzureSqlDatabaseServer - - - - Set-AzureSqlDatabaseServer - - - - - - - New-AzureSqlDatabaseServerContext - - Creates a new connection context to the specified SQL Database Server by using SQL Server authentication or certificate-based authentication. - - - - - New - AzureSqlDatabaseServerContext - - - - Use the New-AzureSqlDatabaseServerContext cmdlet with SQL Server authentication to create a new connection context to the specified SQL Database Server by using the specified credentials. The SQL Database Server may be specified by name, by the fully-qualified name, or by URL. The credential can be specified using the Get-Credential cmdlet that prompts you to specify the user name and password in a dialog box. - Use the New-AzureSqlDatabaseServerContext cmdlet with certificate-based authentication to create a new connection context to the specified SQL Database Server by using the specified Azure subscription data. The SQL Database Server may be specified by name or by the fully-qualified name. The subscription data can either be specified as a parameter or it can be retrieved from the current Azure subscription (use the Select-AzureSubscription cmdlet to select the current Azure subscription). - - See the examples below of both the SQL Server and certificate-based authentication methods. - - - - New-AzureSqlDatabaseServerContext - - ServerName - - The name of the SQL Database Server. - - - String - - - Credential - - A credential object that provides SQL Server authentication for the user to access the server. - - - PSCredential - - - - New-AzureSqlDatabaseServerContext - - ManageUrl - - The URL to access the Azure SQL Database Management Portal for the server. - - - Uri - - - Credential - - A credential object that provides SQL Server authentication for the user to access the server. - - - PSCredential - - - ServerName - - The name of the SQL Database Server. - - - String - - - - New-AzureSqlDatabaseServerContext - - FullyQualifiedServerName - - The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. - - - String - - - Credential - - A credential object that provides SQL Server authentication for the user to access the server. - - - PSCredential - - - - New-AzureSqlDatabaseServerContext - - FullyQualifiedServerName - - The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. - - - String - - - UseSubscription - - Indicates that Azure subscription will be used for creating the connection context. - - - - SubscriptionName - - The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. - - String - - - - New-AzureSqlDatabaseServerContext - - ServerName - - The name of the SQL Database Server. - - - String - - - UseSubscription - - Indicates that Azure subscription will be used for creating the connection context. - - - - SubscriptionName - - The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. - - String - - - - - - Credential - - A credential object that provides SQL Server authentication for the user to access the server. - - - PSCredential - - PSCredential - - - - - - FullyQualifiedServerName - - The fully qualified domain name (FQDN) name for the SQL Database Server. For example, ServerName.database.windows.net. - - - String - - String - - - - - - ManageUrl - - The URL to access the Azure SQL Database Management Portal for the server. - - - Uri - - Uri - - - - - - ServerName - - The name of the SQL Database Server. - - - String - - String - - - - - - SubscriptionName - - The Azure subscription name to be used for creating the connection context. The subscription name specified for the parameter will be used for creating the connection context. If you do not use this parameter, the cmdlet uses the current Azure subscription (set using the Select-AzureSubscription cmdlet) to create the connection context. - - String - - String - - - - - - UseSubscription - - Indicates that Azure subscription will be used for creating the connection context. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.IServerDataServiceContext - - - - - - - - - - - - - - If you authenticated without specifying a domain, then if you are using PowerShell 2.0, the Get-Credential cmdlet returns a backslash prepended to the username, for example, "\user" (PowerShell 3.0 does not add the backslash). This backslash is not recognized by the -Credential parameter of the New-AzureSqlDatabaseServerContext cmdlet. To remove it, use code similar to the following: - - C:\PS>$cred = Get-Credential - -C:\PS>$cred = New-Object -TypeName 'System.Management.Automation.PSCredential' -ArgumentList $cred.Username.Replace("\",""),$cred.Password - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - - C:\PS>$cred = Get-Credential -C:\PS>$ctx = New-AzureSqlDatabaseServerContext -ServerName "lpqd0zbr8y" -credential $cred -C:\PS>$database1 = New-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" - - - This example uses the SQL Server authentication. -It prompts the user for server administrator credentials, connects to the specified SQL Database Server, "lpqd0zbr8y", using those credentials, and creates a new database, “Database1”, on the server. - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - - C:\PS>$subId = <Subscription ID> +C:\PS>$cred = New-Object -TypeName 'System.Management.Automation.PSCredential' -ArgumentList $cred.Username.Replace("\",""),$cred.Password + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$cred = Get-Credential +C:\PS>$ctx = New-AzureSqlDatabaseServerContext -ServerName "lpqd0zbr8y" -credential $cred +C:\PS>$database1 = New-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS" + + This example uses the SQL Server authentication. +It prompts the user for server administrator credentials, connects to the specified SQL Database Server, "lpqd0zbr8y", using those credentials, and creates a new database, “Database1”, on the server. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>$subId = <Subscription ID> C:\PS>$thumbprint = <Certificate Thumbprint> C:\PS>$myCert = Get-Item Cert:\CurrentUser\My\$thumbprint -C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert -C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" -C:\PS>$ctx = New-AzureSqlDatabaseServerContext -ServerName "lpqd0zbr8y" -UseSubscription - - - This example uses the certificate-based authentication. -The first two commands set common parameters including a subscription ID and certificate for the subscription "mySubscription". These four commands need to be run once per subscription per machine. -The rest of the commands select the subscription "mySubscription" to be designated as the current subscription, and then the current subscription is used to create the connection context to the specified SQL Database Server, "lpqd0zbr8y". - - - - - - - - - - - Get-AzureSqlDatabase - - - - New-AzureSqlDatabase - - - - Remove-AzureSqlDatabase - - - - Set-AzureSqlDatabase - - - - - - - New-AzureSqlDatabaseServerFirewallRule - - Creates a new firewall rule in the specified Azure SQL Database Server in the current subscription. - - - - - New - AzureSqlDatabaseServerFirewallRule - - - - The New-AzureSqlDatabaseServerFirewallRule cmdlet creates a new firewall rule in the specified SQL Database Server. - - Use the StartIpAddress and EndIpAddress parameters to specify a range of IP addresses that are allowed to connect to the SQL Database Server. - - Use the AllowAllAzureServices parameter to allow Azure connections to the SQL Database Server. A firewall rule with starting and ending IP addresses equal to 0.0.0.0 will be created. If you do not specify a firewall rule name, a firewall rule with default name “AllowAllAzureServices” will be created. - - - - - New-AzureSqlDatabaseServerFirewallRule - - ServerName - - The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - EndIpAddress - - End value of the IP address range. - - - String - - - RuleName - - New SQL Database firewall rule name. - - - String - - - StartIpAddress - - Start value of the IP address range. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - New-AzureSqlDatabaseServerFirewallRule - - ServerName - - The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - RuleName - - New SQL Database firewall rule name. - - - String - - - AllowAllAzureServices - - Allows Azure connections to the SQL Database Server. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - AllowAllAzureServices - - Allows Azure connections to the SQL Database Server. - - - SwitchParameter - - SwitchParameter - - - - - - EndIpAddress - - End value of the IP address range. - - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - RuleName - - New SQL Database firewall rule name. - - - String - - String - - - - - - ServerName - - The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. - - - String - - String - - - - - - StartIpAddress - - Start value of the IP address range. - - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule1" -StartIpAddress 12.1.1.1 -EndIpAddress 12.1.1.2 - - - - - - - - - This command creates a new firewall rule (“myRule1”) in the specified SQL Database Server (“lpqd0zbr8y”) with the specified IP range values. - - - - - - - - - - -------------- Example 2 -------------- - - - - PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -AllowAllAzureServices -RuleName "myRule2" - - - - - - - - - This command creates a new firewall rule (“myRule2”) in the specified SQL Database Server (“lpqd0zbr8y”) to allow Azure connections. - - - - - - - - - - -------------- Example 3 -------------- - - - - PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -AllowAllAzureServices - - - - - - - - - This command creates a new firewall rule with the default firewall rule name (“AllowAllAzureServices”) in the specified SQL Database Server (“lpqd0zbr8y”) to allow Azure connections. - - - - - - - - - - - - Get-AzureSqlDatabaseServerFirewallRule - - - - Remove-AzureSqlDatabaseServerFirewallRule - - - - Set-AzureSqlDatabaseServerFirewallRule - - - - - - - Remove-AzureSqlDatabase - - Deletes a Azure SQL Database from the specified SQL Database Server connection context or SQL Database Server. - - - - - Remove - AzureSqlDatabase - - - - The Remove-AzureSqlDatabase cmdlet deletes a SQL Database from the SQL Database Server specified by connection context or server name. You can create a SQL Database Server connection context using the New-AzureSqlDatabaseServerContext cmdlet, and then use it with this cmdlet. - - When you delete a database by specifying a SQL Database Server name, the Remove-AzureSqlDatabase cmdlet uses the name and the current Azure subscription information to perform the operation. - - - - - Remove-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server where you want to delete a SQL Database. - - - IServerDataServiceContext - - - Database - - A database object representing the database to be removed. - - - Database - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Remove-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server where you want to delete a SQL Database. - - - IServerDataServiceContext - - - DatabaseName - - The name of the SQL Database to be removed. - - - String - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Remove-AzureSqlDatabase - - ServerName - - The name of SQL Database Server where you want to delete the database. - - - String - - - Database - - A database object representing the database to be removed. - - - Database - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Remove-AzureSqlDatabase - - ServerName - - The name of SQL Database Server where you want to delete the database. - - - String - - - DatabaseName - - The name of the SQL Database to be removed. - - - String - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - ConnectionContext - - The connection context to a SQL Database Server where you want to delete a SQL Database. - - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - Database - - A database object representing the database to be removed. - - - Database - - Database - - - - - - DatabaseName - - The name of the SQL Database to be removed. - - - String - - String - - - - - - Force - - Allows the action to complete without prompting the user for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - ServerName - - The name of SQL Database Server where you want to delete the database. - - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - - - - - - - - - - - - - - - Because of the severity of the operation, this cmdlet prompts the user for confirmation by default. This can be overridden by using the -Force parameter. - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - - - - C:\PS>Remove-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" - - - This example removes the database "Database1" from the specified SQL Database Server connection context “$ctx”. - - - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - - - - C:\PS>Remove-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" - - - This example removes the database "Database1" from the specified SQL Database Server "lpqd0zbr8y". - - - - - - - - - - - - - --------------------------- EXAMPLE 3 -------------------------- - - - - - - - - - - C:\PS>$database1 | Remove-AzureSqlDatabase -ConnectionContext $ctx -C:\PS>$database1 | Remove-AzureSqlDatabase -ServerName "lpqd0zbr8y" - - - This example demonstrates the alternative method of passing the database object through the pipeline. - - - - - - - - - - - - Get-AzureSqlDatabase - - - - New-AzureSqlDatabase - - - - New-AzureSqlDatabaseServerContext - - - - Set-AzureSqlDatabase - - - - - - - Remove-AzureSqlDatabaseServer - - Deletes the specified Azure SQL Database Server from the current subscription. - - - - - Remove - AzureSqlDatabaseServer - - - - The Remove-AzureSqlDatabaseServer cmdlet removes the specified SQL Database Server from the current subscription. It also deletes all databases under the specified SQL Database Server. - - - - - Remove-AzureSqlDatabaseServer - - ServerName - - The SQL Database Server name to be deleted. Specify only the server name, and not the fully qualified DNS name. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - ServerName - - The SQL Database Server name to be deleted. Specify only the server name, and not the fully qualified DNS name. - - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> Remove-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" - - - - - - - - - - This command deletes the specified SQL Database Server (“lpqd0zbr8y”). - - - - - - - - - - - - Get-AzureSqlDatabaseServer - - - - New-AzureSqlDatabaseServer - - - - Set-AzureSqlDatabaseServer - - - - - - - Remove-AzureSqlDatabaseServerFirewallRule - - Deletes a firewall rule from the specified Azure SQL Database Server in the current subscription. - - - - - Remove - AzureSqlDatabaseServerFirewallRule - - - - The Remove-AzureSqlDatabaseServerFirewallRule deletes a firewall rule from the specified SQL Database Server in the current subscription. - - - - - Remove-AzureSqlDatabaseServerFirewallRule - - ServerName - - The SQL Database Server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name. - - - String - - - RuleName - - The SQL Database firewall rule name to be deleted. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - RuleName - - The SQL Database firewall rule name to be deleted. - - - String - - String - - - - - - ServerName - - The SQL Database Server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name. - - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> Remove-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" - - - - - - - - - - This command deletes a firewall rule (“myRule”) from the specified SQL Database Server (“lpqd0zbr8y”). - - - - - - - - - - - - Get-AzureSqlDatabaseServerFirewallRule - - - - New-AzureSqlDatabaseServerFirewallRule - - - - Set-AzureSqlDatabaseServerFirewallRule - - - - - - - Set-AzureSqlDatabase - - Sets properties for a specified Azure SQL Database. - - - - - Set - AzureSqlDatabase - - - - The Set-AzureSqlDatabase cmdlet sets properties for a SQL Database in a SQL Database Server. You can specify the database by name or pass a SQL Database object through the pipeline. You can specify the SQL Database Server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the name of the SQL Database Server, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. - - - - - Set-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server where you want to modify a SQL Database. - - IServerDataServiceContext - - - DatabaseName - - The name of the SQL Database to modify. - - - String - - - Edition - - If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. - - - DatabaseEdition - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - MaxSizeBytes - - If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - NewDatabaseName - - If specified, the new name of the SQL Database. - - String - - - PassThru - - Returns the updated Azure SQL Database. - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. - Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Set-AzureSqlDatabase - - ConnectionContext - - The connection context to a SQL Database Server where you want to modify a SQL Database. - - IServerDataServiceContext - - - Database - - A database object representing the SQL Database to modify. - - - Database - - - Edition - - If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. - - - DatabaseEdition - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - MaxSizeBytes - - If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - NewDatabaseName - - If specified, the new name of the SQL Database. - - String - - - PassThru - - Returns the updated Azure SQL Database. - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. - Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Set-AzureSqlDatabase - - ServerName - - The name of the SQL Database Server where you want to modify a SQL Database. - - String - - - Database - - A database object representing the SQL Database to modify. - - - Database - - - Edition - - If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. - - - DatabaseEdition - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - MaxSizeBytes - - If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - NewDatabaseName - - If specified, the new name of the SQL Database. - - String - - - PassThru - - Returns the updated Azure SQL Database. - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. - Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Set-AzureSqlDatabase - - ServerName - - The name of the SQL Database Server where you want to modify a SQL Database. - - String - - - DatabaseName - - The name of the SQL Database to modify. - - - String - - - Edition - - If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. - - - DatabaseEdition - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - MaxSizeBytes - - If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - - MaxSizeGB - - If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - - NewDatabaseName - - If specified, the new name of the SQL Database. - - String - - - PassThru - - Returns the updated Azure SQL Database. - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. - Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - ConnectionContext - - The connection context to a SQL Database Server where you want to modify a SQL Database. - - IServerDataServiceContext - - IServerDataServiceContext - - - - - - Database - - A database object representing the SQL Database to modify. - - - Database - - Database - - - - - - DatabaseName - - The name of the SQL Database to modify. - - - String - - String - - - - - - Edition - - If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. - - - DatabaseEdition - - DatabaseEdition - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - MaxSizeBytes - - If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - - Int64 - - Int64 - - - - - - MaxSizeGB - - If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. - - Web Edition values: 1 or 5 - - Business Edition values: 10, 20, 30, 40, 50, 100, or 150 - - - Int32 - - Int32 - - - - - - NewDatabaseName - - If specified, the new name of the SQL Database. - - String - - String - - - - - - PassThru - - Returns the updated Azure SQL Database. - - - SwitchParameter - - SwitchParameter - - - - - - ServerName - - The name of the SQL Database Server where you want to modify a SQL Database. - - String - - String - - - - - - ServiceObjective - - If specified, an object representing the new service objective for this database. - Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. - - - ServiceObjective - - ServiceObjective - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$database1 = Get-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" -C:\PS>Set-AzureSqlDatabase -ConnectionContext $ctx -Database $database1 -MaxSizeGB 20 - - - This example changes the current size of the database, "Database1", to 20 GB, in the specified SQL Database Server connection context “$ctx”. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - C:\PS>$database1 = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" -C:\PS>Set-AzureSqlDatabase -ServerName "lpqd0zbr8y" -Database $database1 -MaxSizeGB 20 - - - This example changes the current size of the database, "Database1", to 20 GB, in the specified SQL Database Server "lpqd0zbr8y". - - - - - - - - - - - - Get-AzureSqlDatabase - - - - New-AzureSqlDatabase - - - - Remove-AzureSqlDatabase - - - - New-AzureSqlDatabaseServerContext - - - - - - - Set-AzureSqlDatabaseServer - - Updates the properties of the specified Azure SQL Database Server in the current subscription. - - - - - Set - AzureSqlDatabaseServer - - - - The Set-AzureSqlDatabaseServer cmdlet updates the properties of the specified SQL Database Server. In the current release, you can only update the administrator account password for a SQL Database Server. - - - - Set-AzureSqlDatabaseServer - - ServerName - - The name of the SQL Database Server to be updated. Specify only the server name, and not the fully qualified DNS name. - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - AdminPassword - - The new Administrator account password for your SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - AdminPassword - - The new Administrator account password for your SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - ServerName - - The name of the SQL Database Server to be updated. Specify only the server name, and not the fully qualified DNS name. - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------Example 1-------------- - - - - PS C:\>Set-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" -AdminPassword "myNewP@ssword" - - - - This command updates the administrator account password for the SQL Database Server (“lpqd0zbr8y”) with the new password (“myNewP@ssword”). - - - - - - - - - - - Get-AzureSqlDatabaseServer - - - - New-AzureSqlDatabaseServer - - - - Remove-AzureSqlDatabaseServer - - - - - - - Set-AzureSqlDatabaseServerFirewallRule - - Updates the properties of an existing firewall rule in the specified Azure SQL Database Server. - - - - - Set - AzureSqlDatabaseServerFirewallRule - - - - The Set-AzureSqlDatabaseServerFirewallRule cmdlet updates the start IP address and end IP address values of an existing firewall rule in the specified SQL Database Server. - - - - - Set-AzureSqlDatabaseServerFirewallRule - - ServerName - - Name of the SQL Database Server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - EndIpAddress - - The new end IP address value. - - - String - - - RuleName - - Name of the SQL Database Server firewall rule to be updated. - - - String - - - StartIpAddress - - The new start IP address value. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - EndIpAddress - - The new end IP address value. - - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - RuleName - - Name of the SQL Database Server firewall rule to be updated. - - - String - - String - - - - - - ServerName - - Name of the SQL Database Server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name. - - - String - - String - - - - - - StartIpAddress - - The new start IP address value. - - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext - - - - - - - - - - - - - -------------- Example 1 -------------- - - - - PS C:\> Set-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" -StartIpAddress 12.1.1.2 -EndIpAddress 12.1.1.4 - - - - - - - - - - This command updates the start IP address and end IP address of the firewall rule (“myRule”) in the SQL Database Server (“lpqd0zbr8y”). - - - - - - - - - - - - Get-AzureSqlDatabaseServerFirewallRule - - - - New-AzureSqlDatabaseServerFirewallRule - - - - Remove-AzureSqlDatabaseServerFirewallRule - - - - - - - Start-AzureSqlDatabaseCopy - - Creates a one-time copy or a continuous copy (a "replica database") of a specified Azure SQL database (the "source database"). For a one-time copy, the source and partner databases must reside on the same server. For a continuous copy, the source and replica databases must reside on different servers, which typically reside in different regions. - - - - - Start - AzureSqlDatabaseCopy - - - - The Start-AzureSqlDatabaseCopy cmdlet schedules the creation of a copy of a specified source database. A continuous copy, which is known as a replica database, is a read-only copy. All transactions from the source are asynchronously replicated to the replica. The source and replica databases must reside on different servers, which typically reside in different regions. The source and replica databases will remain connected until the application invokes an explicit command to terminate the continuous copy relationship. - - Start-AzureSqlDatabaseCopy returns immediately without waiting for the completion of the creation process. Invoking Start-AzureSqlDatabaseCopy causes the system to perform the following steps: (1) create the partner database, (2) copy metadata to the partner database, and (3) seed the partner database to put it into the transactionally consistent state. - - - - - Start-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database to be copied resides. - - String - - - DatabaseName - - The name of the source database to be copied. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - OfflineSecondary - - Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. - - - - PartnerDatabase - - Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. - - - String - - - ContinuousCopy - - Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. - - - - - PartnerServer - - The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Start-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database to be copied resides. - - String - - - Database - - An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. - - - Database - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - OfflineSecondary - - Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. - - - - PartnerDatabase - - Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. - - - String - - - ContinuousCopy - - Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. - - - - - PartnerServer - - The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Start-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database to be copied resides. - - String - - - Database - - An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. - - - Database - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - PartnerServer - - The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. - - - String - - - PartnerDatabase - - Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Start-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database to be copied resides. - - String - - - DatabaseName - - The name of the source database to be copied. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - PartnerServer - - The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. - - - String - - - PartnerDatabase - - Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - ContinuousCopy - - Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. - - - SwitchParameter - - SwitchParameter - - - - - - Database - - An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. - - - Database - - Database - - - - - - DatabaseName - - The name of the source database to be copied. - - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - OfflineSecondary - - Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. - - SwitchParameter - - SwitchParameter - - - - - - PartnerDatabase - - Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. - - - String - - String - - - - - - PartnerServer - - The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. - - - String - - String - - - - - - ServerName - - The name of the server on which the source database to be copied resides. - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy - - - - - - - - - - - - - - Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. - - - Monitoring: To check for the status of one or more continuous copy continuous copy relationships that are active on the server, use the Get-AzureSqlDatabaseCopy cmdlet. To verify the status of the operations at both the source and target of the continuous copy relationship, use the sys.dm_continuous_copy_status dynamic management view on the source server. The sys.dm_continuous_copy_status is in the source database and not the master database. - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf65" -ContinuousCopy - - - - - - This example schedules a continuous copy of the database, "Orders", on the server, "lpqd0zbr8y", creating the replica database on the "bk0b8kf658" server. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerDatabase "OrdersCopy" - - - - - - This example creates a one-time copy of the database, "Orders", on the server, "lpqd0zbr8y", creating the database copy, "OrdersCopy", on the same server. - - - - - - - - - - - - - - Start-AzureSqlDatabaseExport - - Initiates an export operation from an Azure SQL Database to Azure Blob storage. - - - - - Start - AzureSqlDatabaseExport - - - - Use the Start-AzureSqlDatabaseExport cmdlet to initiate an export operation from an Azure SQL Database to Blob storage. The operation requires a database server connection context. Use the Get-AzureSqlDatabaseImportExportStatus cmdlet to get status on the export operation. - - - - - Start-AzureSqlDatabaseExport - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - - StorageContext - - The context of the Blob storage. - - - AzureStorageContext - - - StorageContainerName - - The name of the storage container containing the Blob into which the data is exported. - - - String - - - DatabaseName - - The name of the database from which the data is exported. - - - String - - - BlobName - - The name of the Blob storage into which to export the database. - - - String - - - - Start-AzureSqlDatabaseExport - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - - StorageContainer - - The Blob storage container object into which the data is exported. - - - AzureStorageContainer - - - DatabaseName - - The name of the database from which the data is exported. - - - String - - - BlobName - - The name of the Blob storage into which to export the database. - - - String - - - - - - BlobName - - The name of the Blob storage into which to export the database. - - - String - - String - - - - - - DatabaseName - - The name of the database from which the data is exported. - - - String - - String - - - - - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - ServerDataServiceSqlAuth - - - - - - StorageContainer - - The Blob storage container object into which the data is exported. - - - AzureStorageContainer - - AzureStorageContainer - - - - - - StorageContainerName - - The name of the storage container containing the Blob into which the data is exported. - - - String - - String - - - - - - StorageContext - - The context of the Blob storage. - - - AzureStorageContext - - AzureStorageContext - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExportRequest - - - - - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$credential = Get-Credential +C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert +C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" +C:\PS>$ctx = New-AzureSqlDatabaseServerContext -ServerName "lpqd0zbr8y" -UseSubscription + + This example uses the certificate-based authentication. +The first two commands set common parameters including a subscription ID and certificate for the subscription "mySubscription". These four commands need to be run once per subscription per machine. +The rest of the commands select the subscription "mySubscription" to be designated as the current subscription, and then the current subscription is used to create the connection context to the specified SQL Database Server, "lpqd0zbr8y". + + + + + + + + + + + Get-AzureSqlDatabase + + + + New-AzureSqlDatabase + + + + Remove-AzureSqlDatabase + + + + Set-AzureSqlDatabase + + + + + + + + New-AzureSqlDatabaseServerFirewallRule + + Creates a new firewall rule in the specified Azure SQL Database Server in the current subscription. + + + + + New + AzureSqlDatabaseServerFirewallRule + + + + + The New-AzureSqlDatabaseServerFirewallRule cmdlet creates a new firewall rule in the specified SQL Database Server. +Use the StartIpAddress and EndIpAddress parameters to specify a range of IP addresses that are allowed to connect to the SQL Database Server. +Use the AllowAllAzureServices parameter to allow Azure connections to the SQL Database Server. A firewall rule with starting and ending IP addresses equal to 0.0.0.0 will be created. If you do not specify a firewall rule name, a firewall rule with default name “AllowAllAzureServices” will be created. + + + + New-AzureSqlDatabaseServerFirewallRule + + ServerName + + The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. + + String + + + RuleName + + New SQL Database firewall rule name. + + String + + + StartIpAddress + + Start value of the IP address range. + + String + + + EndIpAddress + + End value of the IP address range. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + New-AzureSqlDatabaseServerFirewallRule + + ServerName + + The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. + + String + + + RuleName + + New SQL Database firewall rule name. + + String + + + AllowAllAzureServices + + Allows Azure connections to the SQL Database Server. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The name of the SQL Database Server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + RuleName + + New SQL Database firewall rule name. + + String + + String + + + + + + StartIpAddress + + Start value of the IP address range. + + String + + String + + + + + + EndIpAddress + + End value of the IP address range. + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + AllowAllAzureServices + + Allows Azure connections to the SQL Database Server. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule1" -StartIpAddress 12.1.1.1 -EndIpAddress 12.1.1.2 + + This command creates a new firewall rule (“myRule1”) in the specified SQL Database Server (“lpqd0zbr8y”) with the specified IP range values. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -AllowAllAzureServices -RuleName "myRule2" + + This command creates a new firewall rule (“myRule2”) in the specified SQL Database Server (“lpqd0zbr8y”) to allow Azure connections. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> New-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -AllowAllAzureServices + + This command creates a new firewall rule with the default firewall rule name (“AllowAllAzureServices”) in the specified SQL Database Server (“lpqd0zbr8y”) to allow Azure connections. + + + + + + + + + + + Get-AzureSqlDatabaseServerFirewallRule + + + + Remove-AzureSqlDatabaseServerFirewallRule + + + + Set-AzureSqlDatabaseServerFirewallRule + + + + + + + + Remove-AzureSqlDatabase + + Deletes a Azure SQL Database from the specified SQL Database Server connection context or SQL Database Server. + + + + + Remove + AzureSqlDatabase + + + + + The Remove-AzureSqlDatabase cmdlet deletes a SQL Database from the SQL Database Server specified by connection context or server name. You can create a SQL Database Server connection context using the New-AzureSqlDatabaseServerContext cmdlet, and then use it with this cmdlet. +When you delete a database by specifying a SQL Database Server name, the Remove-AzureSqlDatabase cmdlet uses the name and the current Azure subscription information to perform the operation. + + + + Remove-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server where you want to delete a SQL Database. + + IServerDataServiceContext + + + Database + + A database object representing the database to be removed. + + Database + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server where you want to delete a SQL Database. + + IServerDataServiceContext + + + DatabaseName + + The name of the SQL Database to be removed. + + String + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureSqlDatabase + + ServerName + + The name of SQL Database Server where you want to delete the database. + + String + + + DatabaseName + + The name of the SQL Database to be removed. + + String + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureSqlDatabase + + ServerName + + The name of SQL Database Server where you want to delete the database. + + String + + + Database + + A database object representing the database to be removed. + + Database + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ConnectionContext + + The connection context to a SQL Database Server where you want to delete a SQL Database. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + Database + + A database object representing the database to be removed. + + Database + + Database + + + + + + Force + + Allows the action to complete without prompting the user for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + DatabaseName + + The name of the SQL Database to be removed. + + String + + String + + + + + + ServerName + + The name of SQL Database Server where you want to delete the database. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + + + + + + + + + + + + + + + Because of the severity of the operation, this cmdlet prompts the user for confirmation by default. This can be overridden by using the -Force parameter. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" + + This example removes the database "Database1" from the specified SQL Database Server connection context “$ctx”. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>Remove-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" + + This example removes the database "Database1" from the specified SQL Database Server "lpqd0zbr8y". + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\> C:\PS>$database1 | Remove-AzureSqlDatabase -ConnectionContext $ctx +C:\PS>$database1 | Remove-AzureSqlDatabase -ServerName "lpqd0zbr8y" + + This example demonstrates the alternative method of passing the database object through the pipeline. + + + + + + + + + + + Get-AzureSqlDatabase + + + + New-AzureSqlDatabase + + + + New-AzureSqlDatabaseServerContext + + + + Set-AzureSqlDatabase + + + + + + + + Remove-AzureSqlDatabaseServer + + Deletes the specified Azure SQL Database Server from the current subscription. + + + + + Remove + AzureSqlDatabaseServer + + + + + The Remove-AzureSqlDatabaseServer cmdlet removes the specified SQL Database Server from the current subscription. It also deletes all databases under the specified SQL Database Server. + + + + Remove-AzureSqlDatabaseServer + + ServerName + + The SQL Database Server name to be deleted. Specify only the server name, and not the fully qualified DNS name. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The SQL Database Server name to be deleted. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" + + This command deletes the specified SQL Database Server (“lpqd0zbr8y”). + + + + + + + + + + + Get-AzureSqlDatabaseServer + + + + New-AzureSqlDatabaseServer + + + + Set-AzureSqlDatabaseServer + + + + + + + + Remove-AzureSqlDatabaseServerFirewallRule + + Deletes a firewall rule from the specified Azure SQL Database Server in the current subscription. + + + + + Remove + AzureSqlDatabaseServerFirewallRule + + + + + The Remove-AzureSqlDatabaseServerFirewallRule deletes a firewall rule from the specified SQL Database Server in the current subscription. + + + + Remove-AzureSqlDatabaseServerFirewallRule + + ServerName + + The SQL Database Server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name. + + String + + + RuleName + + The SQL Database firewall rule name to be deleted. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The SQL Database Server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + RuleName + + The SQL Database firewall rule name to be deleted. + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" + + This command deletes a firewall rule (“myRule”) from the specified SQL Database Server (“lpqd0zbr8y”). + + + + + + + + + + + Get-AzureSqlDatabaseServerFirewallRule + + + + New-AzureSqlDatabaseServerFirewallRule + + + + Set-AzureSqlDatabaseServerFirewallRule + + + + + + + + Set-AzureSqlDatabase + + Sets properties for a specified Azure SQL Database. + + + + + Set + AzureSqlDatabase + + + + + The Set-AzureSqlDatabase cmdlet sets properties for a SQL Database in a SQL Database Server. You can specify the database by name or pass a SQL Database object through the pipeline. You can specify the SQL Database Server with a SQL Database Server connection context that you create using the New-AzureSqlDatabaseServerContext cmdlet. Or, if you specify the name of the SQL Database Server, the cmdlet uses the current Azure subscription information to authenticate the request to access the server. + + + + Set-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server where you want to modify a SQL Database. + + IServerDataServiceContext + + + Database + + A database object representing the SQL Database to modify. + + Database + + + NewDatabaseName + + If specified, the new name of the SQL Database. + + String + + + Edition + + If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. + + DatabaseEdition + + + MaxSizeGB + + If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + ServiceObjective + + If specified, an object representing the new service objective for this database. Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + PassThru + + Returns the updated Azure SQL Database. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + Sync + + + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Set-AzureSqlDatabase + + ConnectionContext + + The connection context to a SQL Database Server where you want to modify a SQL Database. + + IServerDataServiceContext + + + DatabaseName + + The name of the SQL Database to modify. + + String + + + NewDatabaseName + + If specified, the new name of the SQL Database. + + String + + + Edition + + If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. + + DatabaseEdition + + + MaxSizeGB + + If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + ServiceObjective + + If specified, an object representing the new service objective for this database. Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + PassThru + + Returns the updated Azure SQL Database. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + Sync + + + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Set-AzureSqlDatabase + + ServerName + + The name of the SQL Database Server where you want to modify a SQL Database. + + String + + + DatabaseName + + The name of the SQL Database to modify. + + String + + + NewDatabaseName + + If specified, the new name of the SQL Database. + + String + + + Edition + + If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. + + DatabaseEdition + + + MaxSizeGB + + If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + ServiceObjective + + If specified, an object representing the new service objective for this database. Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + PassThru + + Returns the updated Azure SQL Database. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + Sync + + + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Set-AzureSqlDatabase + + ServerName + + The name of the SQL Database Server where you want to modify a SQL Database. + + String + + + Database + + A database object representing the SQL Database to modify. + + Database + + + NewDatabaseName + + If specified, the new name of the SQL Database. + + String + + + Edition + + If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. + + DatabaseEdition + + + MaxSizeGB + + If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + + MaxSizeBytes + + If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + ServiceObjective + + If specified, an object representing the new service objective for this database. Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + + PassThru + + Returns the updated Azure SQL Database. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + Sync + + + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ConnectionContext + + The connection context to a SQL Database Server where you want to modify a SQL Database. + + IServerDataServiceContext + + IServerDataServiceContext + + + + + + Database + + A database object representing the SQL Database to modify. + + Database + + Database + + + + + + NewDatabaseName + + If specified, the new name of the SQL Database. + + String + + String + + + + + + Edition + + If specified, the new edition for the SQL Database. Acceptable values are Web, Business, Basic, Standard, and Premium. + + DatabaseEdition + + DatabaseEdition + + + + + + MaxSizeGB + + If specified, the new maximum size for the database in gigabytes. You can specify either this parameter or MaxSizeBytes. The acceptable values differ based on edition. +Web Edition values: 1 or 5 +Business Edition values: 10, 20, 30, 40, 50, 100, or 150 + + Int32 + + Int32 + + + + + + MaxSizeBytes + + If specified, the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + Int64 + + + + + + ServiceObjective + + If specified, an object representing the new service objective for this database. Note: This parameter is currently available in preview. To learn more about the preview, please see http://go.microsoft.com/fwlink/p/?LinkId=308949. + + ServiceObjective + + ServiceObjective + + + + + + PassThru + + Returns the updated Azure SQL Database. + + SwitchParameter + + SwitchParameter + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Sync + + + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + DatabaseName + + The name of the SQL Database to modify. + + String + + String + + + + + + ServerName + + The name of the SQL Database Server where you want to modify a SQL Database. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$database1 = Get-AzureSqlDatabase -ConnectionContext $ctx -DatabaseName "Database1" +C:\PS>Set-AzureSqlDatabase -ConnectionContext $ctx -Database $database1 -MaxSizeGB 20 + + This example changes the current size of the database, "Database1", to 20 GB, in the specified SQL Database Server connection context “$ctx”. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\> C:\PS>$database1 = Get-AzureSqlDatabase -ServerName "lpqd0zbr8y" -DatabaseName "Database1" +C:\PS>Set-AzureSqlDatabase -ServerName "lpqd0zbr8y" -Database $database1 -MaxSizeGB 20 + + This example changes the current size of the database, "Database1", to 20 GB, in the specified SQL Database Server "lpqd0zbr8y". + + + + + + + + + + + Get-AzureSqlDatabase + + + + New-AzureSqlDatabase + + + + Remove-AzureSqlDatabase + + + + New-AzureSqlDatabaseServerContext + + + + + + + + Set-AzureSqlDatabaseServer + + Updates the properties of the specified Azure SQL Database Server in the current subscription. + + + + + Set + AzureSqlDatabaseServer + + + + + The Set-AzureSqlDatabaseServer cmdlet updates the properties of the specified SQL Database Server. In the current release, you can only update the administrator account password for a SQL Database Server. + + + + Set-AzureSqlDatabaseServer + + ServerName + + The name of the SQL Database Server to be updated. Specify only the server name, and not the fully qualified DNS name. + + String + + + AdminPassword + + The new Administrator account password for your SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The name of the SQL Database Server to be updated. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + AdminPassword + + The new Administrator account password for your SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (http://go.microsoft.com/fwlink/p/?LinkId=154152). + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\>Set-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y" -AdminPassword "myNewP@ssword" + + This command updates the administrator account password for the SQL Database Server (“lpqd0zbr8y”) with the new password (“myNewP@ssword”). + + + + + + + + + + + Get-AzureSqlDatabaseServer + + + + New-AzureSqlDatabaseServer + + + + Remove-AzureSqlDatabaseServer + + + + + + + + Set-AzureSqlDatabaseServerFirewallRule + + Updates the properties of an existing firewall rule in the specified Azure SQL Database Server. + + + + + Set + AzureSqlDatabaseServerFirewallRule + + + + + The Set-AzureSqlDatabaseServerFirewallRule cmdlet updates the start IP address and end IP address values of an existing firewall rule in the specified SQL Database Server. + + + + Set-AzureSqlDatabaseServerFirewallRule + + ServerName + + Name of the SQL Database Server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name. + + String + + + RuleName + + Name of the SQL Database Server firewall rule to be updated. + + String + + + StartIpAddress + + The new start IP address value. + + String + + + EndIpAddress + + The new end IP address value. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + Name of the SQL Database Server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name. + + String + + String + + + + + + RuleName + + Name of the SQL Database Server firewall rule to be updated. + + String + + String + + + + + + StartIpAddress + + The new start IP address value. + + String + + String + + + + + + EndIpAddress + + The new end IP address value. + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Set-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule" -StartIpAddress 12.1.1.2 -EndIpAddress 12.1.1.4 + + This command updates the start IP address and end IP address of the firewall rule (“myRule”) in the SQL Database Server (“lpqd0zbr8y”). + + + + + + + + + + + Get-AzureSqlDatabaseServerFirewallRule + + + + New-AzureSqlDatabaseServerFirewallRule + + + + Remove-AzureSqlDatabaseServerFirewallRule + + + + + + + + Start-AzureSqlDatabaseCopy + + Creates a one-time copy or a continuous copy (a "replica database") of a specified Azure SQL database (the "source database"). For a one-time copy, the source and partner databases must reside on the same server. For a continuous copy, the source and replica databases must reside on different servers, which typically reside in different regions. + + + + + Start + AzureSqlDatabaseCopy + + + + + The Start-AzureSqlDatabaseCopy cmdlet schedules the creation of a copy of a specified source database. A continuous copy, which is known as a replica database, is a read-only copy. All transactions from the source are asynchronously replicated to the replica. The source and replica databases must reside on different servers, which typically reside in different regions. The source and replica databases will remain connected until the application invokes an explicit command to terminate the continuous copy relationship. +Start-AzureSqlDatabaseCopy returns immediately without waiting for the completion of the creation process. Invoking Start-AzureSqlDatabaseCopy causes the system to perform the following steps: (1) create the partner database, (2) copy metadata to the partner database, and (3) seed the partner database to put it into the transactionally consistent state. + + + + Start-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database to be copied resides. + + String + + + Database + + An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. + + Database + + + PartnerServer + + The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. + + String + + + PartnerDatabase + + Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Start-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database to be copied resides. + + String + + + Database + + An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. + + Database + + + PartnerServer + + The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. + + String + + + PartnerDatabase + + Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. + + String + + + ContinuousCopy + + Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. + + SwitchParameter + + + OfflineSecondary + + Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Start-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database to be copied resides. + + String + + + DatabaseName + + The name of the source database to be copied. + + String + + + PartnerServer + + The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. + + String + + + PartnerDatabase + + Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. + + String + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Start-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database to be copied resides. + + String + + + DatabaseName + + The name of the source database to be copied. + + String + + + PartnerServer + + The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. + + String + + + PartnerDatabase + + Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. + + String + + + ContinuousCopy + + Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. + + SwitchParameter + + + OfflineSecondary + + Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The name of the server on which the source database to be copied resides. + + String + + String + + + + + + Database + + An object representing the SQL database to be copied. -Database can accept an array that is passed via a pipe. + + Database + + Database + + + + + + PartnerServer + + The name of the server that will host the partner database. If ContinuousCopy is not specified, then the partner server must be the same as the source server. + + String + + String + + + + + + PartnerDatabase + + Specifies name of the partner database. If ContinuousCopy is specified, this parameter is optional and, if specified, the name must match the name of the source database. If ContinuousCopy is not specified, then this parameter is not optional and it must be different from the source database name. + + String + + String + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + ContinuousCopy + + Specifies that the database copy will be a continuous-copy (a replica database). Continuous copy is not supported within the same server. If this parameter is not specified, then a one-time copy is performed. For a one-time copy, the source and partner databases must be on the same server. + + SwitchParameter + + SwitchParameter + + + + + + OfflineSecondary + + Specifies that a continuous copy is a passive copy rather than an active copy. If the source database is a Standard edition database, then this parameter is required. If this parameter is specified then ContinuousCopy must also be specified. + + SwitchParameter + + SwitchParameter + + + + + + DatabaseName + + The name of the source database to be copied. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy + + + + + + + + + + + + + + Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf65" -ContinuousCopy + + This example schedules a continuous copy of the database, "Orders", on the server, "lpqd0zbr8y", creating the replica database on the "bk0b8kf658" server. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>Start-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerDatabase "OrdersCopy" + + This example creates a one-time copy of the database, "Orders", on the server, "lpqd0zbr8y", creating the database copy, "OrdersCopy", on the same server. + + + + + + + + + + + + + + + Start-AzureSqlDatabaseExport + + Initiates an export operation from an Azure SQL Database to Azure Blob storage. + + + + + Start + AzureSqlDatabaseExport + + + + + Use the Start-AzureSqlDatabaseExport cmdlet to initiate an export operation from an Azure SQL Database to Blob storage. The operation requires a database server connection context. Use the Get-AzureSqlDatabaseImportExportStatus cmdlet to get status on the export operation. + + + + Start-AzureSqlDatabaseExport + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + + StorageContainer + + The Blob storage container object into which the data is exported. + + AzureStorageContainer + + + DatabaseName + + The name of the database from which the data is exported. + + String + + + BlobName + + The name of the Blob storage into which to export the database. + + String + + + + Start-AzureSqlDatabaseExport + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + + StorageContext + + The context of the Blob storage. + + AzureStorageContext + + + StorageContainerName + + The name of the storage container containing the Blob into which the data is exported. + + String + + + DatabaseName + + The name of the database from which the data is exported. + + String + + + BlobName + + The name of the Blob storage into which to export the database. + + String + + + + + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + ServerDataServiceSqlAuth + + + + + + StorageContainer + + The Blob storage container object into which the data is exported. + + AzureStorageContainer + + AzureStorageContainer + + + + + + DatabaseName + + The name of the database from which the data is exported. + + String + + String + + + + + + BlobName + + The name of the Blob storage into which to export the database. + + String + + String + + + + + + StorageContext + + The context of the Blob storage. + + AzureStorageContext + + AzureStorageContext + + + + + + StorageContainerName + + The name of the storage container containing the Blob into which the data is exported. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExportRequest + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$credential = Get-Credential C:\PS>$SqlCtx = New-AzureSqlDatabaseServerContext -ServerName $ServerName -Credentials $credential C:\PS>$StorageCtx = New-AzureStorageContext -StorageAccountName $StorageName -StorageAccountKey $StorageKey C:\PS>$Container = Get-AzureStorageContainer -Name $ContainerName -Context $StorageCtx -C:\PS>$exportRequest = Start-AzureSqlDatabaseExport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $BlobName - - - - This example initiates an export process from the SQL Database, "$DatabaseName", to the Blob storage, "$BlobName". - - - - - - - - - - - - Get-AzureSqlDatabaseImportExportStatus - - - - Start-AzureSqlDatabaseImport - - - - - - - Start-AzureSqlDatabaseImport - - Initiates an import operation from Azure Blob storage to an Azure SQL Database. - - - - - Start - AzureSqlDatabaseImport - - - - Use the Start-AzureSqlDatabaseImport cmdlet to initiate an import operation from Blob storage to an Azure SQL Database. If the database does not exist, it is created using the size and edition values specified. The operation requires a database server connection context. Use the Get-AzureSqlDatabaseImportExportStatus cmdlet to get status on the import operation. - - - - - Start-AzureSqlDatabaseImport - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - - StorageContext - - The connection context of the Blob storage container. - - - AzureStorageContext - - - StorageContainerName - - The name of the Blob storage container. - - - String - - - DatabaseName - - The name of the database into which the data is imported. If the database does not exist, it is created with this name. - - - String - - - BlobName - - The name of the Blob storage from which to import the database. - - - String - - - DatabaseMaxSize - - If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. - - - Int32 - - - Edition - - If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. - - - DatabaseEdition - - - - Start-AzureSqlDatabaseImport - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - - StorageContainer - - The name of the storage container containing the Blob from which to import. - - - AzureStorageContainer - - - DatabaseName - - The name of the database into which the data is imported. If the database does not exist, it is created with this name. - - - String - - - BlobName - - The name of the Blob storage from which to import the database. - - - String - - - DatabaseMaxSize - - If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. - - - Int32 - - - Edition - - If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. - - - DatabaseEdition - - - - - - BlobName - - The name of the Blob storage from which to import the database. - - - String - - String - - - - - - DatabaseMaxSize - - If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. - - - Int32 - - Int32 - - - - - - DatabaseName - - The name of the database into which the data is imported. If the database does not exist, it is created with this name. - - - String - - String - - - - - - Edition - - If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. - - - DatabaseEdition - - DatabaseEdition - - - - - - SqlConnectionContext - - The connection context to a SQL Database Server containing the SQL Database. - - - ServerDataServiceSqlAuth - - ServerDataServiceSqlAuth - - - - - - StorageContainer - - The name of the storage container containing the Blob from which to import. - - - AzureStorageContainer - - AzureStorageContainer - - - - - - StorageContainerName - - The name of the Blob storage container. - - - String - - String - - - - - - StorageContext - - The connection context of the Blob storage container. - - - AzureStorageContext - - AzureStorageContext - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExportRequest - - - - - - - - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - C:\PS>$credential = Get-Credential +C:\PS>$exportRequest = Start-AzureSqlDatabaseExport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $BlobName + + This example initiates an export process from the SQL Database, "$DatabaseName", to the Blob storage, "$BlobName". + + + + + + + + + + + Get-AzureSqlDatabaseImportExportStatus + + + + Start-AzureSqlDatabaseImport + + + + + + + + Start-AzureSqlDatabaseImport + + Initiates an import operation from Azure Blob storage to an Azure SQL Database. + + + + + Start + AzureSqlDatabaseImport + + + + + Use the Start-AzureSqlDatabaseImport cmdlet to initiate an import operation from Blob storage to an Azure SQL Database. If the database does not exist, it is created using the size and edition values specified. The operation requires a database server connection context. Use the Get-AzureSqlDatabaseImportExportStatus cmdlet to get status on the import operation. + + + + Start-AzureSqlDatabaseImport + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + + StorageContainer + + The name of the storage container containing the Blob from which to import. + + AzureStorageContainer + + + DatabaseName + + The name of the database into which the data is imported. If the database does not exist, it is created with this name. + + String + + + BlobName + + The name of the Blob storage from which to import the database. + + String + + + Edition + + If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. + + DatabaseEdition + + + DatabaseMaxSize + + If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. + + Int32 + + + + Start-AzureSqlDatabaseImport + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + + StorageContext + + The connection context of the Blob storage container. + + AzureStorageContext + + + StorageContainerName + + The name of the Blob storage container. + + String + + + DatabaseName + + The name of the database into which the data is imported. If the database does not exist, it is created with this name. + + String + + + BlobName + + The name of the Blob storage from which to import the database. + + String + + + Edition + + If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. + + DatabaseEdition + + + DatabaseMaxSize + + If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. + + Int32 + + + + + + SqlConnectionContext + + The connection context to a SQL Database Server containing the SQL Database. + + ServerDataServiceSqlAuth + + ServerDataServiceSqlAuth + + + + + + StorageContainer + + The name of the storage container containing the Blob from which to import. + + AzureStorageContainer + + AzureStorageContainer + + + + + + DatabaseName + + The name of the database into which the data is imported. If the database does not exist, it is created with this name. + + String + + String + + + + + + BlobName + + The name of the Blob storage from which to import the database. + + String + + String + + + + + + Edition + + If the database does not exist, it is created as this edition. Acceptable values are Web and Business. The default is Web. + + DatabaseEdition + + DatabaseEdition + + + + + + DatabaseMaxSize + + If the database does not exist, it is created with this maximum size in gigabytes. The acceptable values differ based on edition. + + Int32 + + Int32 + + + + + + StorageContext + + The connection context of the Blob storage container. + + AzureStorageContext + + AzureStorageContext + + + + + + StorageContainerName + + The name of the Blob storage container. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExportRequest + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\> C:\PS>$credential = Get-Credential C:\PS>$SqlCtx = New-AzureSqlDatabaseServerContext -ServerName $ServerName -Credentials $credential C:\PS>$StorageCtx = New-AzureStorageContext -StorageAccountName $StorageName -StorageAccountKey $StorageKey C:\PS>$Container = Get-AzureStorageContainer -Name $ContainerName -Context $StorageCtx -C:\PS>$importRequest = Start-AzureSqlDatabaseImport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $BlobName - - - - This example initiates an import process from the Blob storage, "$BlobName", into the SQL Database, "DatabaseName". - - - - - - - - - - - - Get-AzureSqlDatabaseImportExportStatus - - - - Start-AzureSqlDatabaseExport - - - - - - - Start-AzureSqlDatabaseRecovery - - Submits a recover database request for a live or dropped database. - - - - - Start - AzureSqlDatabaseRecovery - - - - This cmdlet is used to submit a restore request for a live or dropped database. This cmdlet supports basic recovery using the last known available backup for the database. The recovery operation creates a new database. You must specify a different name for the new database if you are recovering a live database on the same server. - If you want to do a point in time restore for a database, use Start-AzureSqlDatabaseRestore cmdlet instead. - - - - Start-AzureSqlDatabaseRecovery - - TargetDatabaseName - - The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. - - String - - - SourceDatabase - - The database object that represents the database you want to recover. - - RecoverableDatabase - - - TargetServerName - - The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. - - String - - - - Start-AzureSqlDatabaseRecovery - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - - TargetDatabaseName - - The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. - - String - - - SourceDatabaseName - - The name of the database you want to recover. - - String - - - TargetServerName - - The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. - - String - - - - - - SourceDatabase - - The database object that represents the database you want to recover. - - RecoverableDatabase - - RecoverableDatabase - - - - - - SourceDatabaseName - - The name of the database you want to recover. - - String - - String - - - - - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - String - - - - - - TargetDatabaseName - - The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. - - String - - String - - - - - - TargetServerName - - The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase - - - - - - - - - - - - - - Microsoft.WindowsAzure.Management.Sql.Models.RecoverDatabaseOperation - - - - - - - - - - - - - - - - You must use certificate based authentication to run this cmdlet. The following commands need to be run on the machine you are using to run the cmdlet: +C:\PS>$importRequest = Start-AzureSqlDatabaseImport -SqlConnectionContext $SqlCtx -StorageContainer $Container -DatabaseName $DatabaseName -BlobName $BlobName + + This example initiates an import process from the Blob storage, "$BlobName", into the SQL Database, "DatabaseName". + + + + + + + + + + + Get-AzureSqlDatabaseImportExportStatus + + + + Start-AzureSqlDatabaseExport + + + + + + + + Start-AzureSqlDatabaseRecovery + + Submits a recover database request for a live or dropped database. + + + + + Start + AzureSqlDatabaseRecovery + + + + + This cmdlet is used to submit a restore request for a live or dropped database. This cmdlet supports basic recovery using the last known available backup for the database. The recovery operation creates a new database. You must specify a different name for the new database if you are recovering a live database on the same server. If you want to do a point in time restore for a database, use Start-AzureSqlDatabaseRestore cmdlet instead. + + + + Start-AzureSqlDatabaseRecovery + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + + SourceDatabaseName + + The name of the database you want to recover. + + String + + + TargetServerName + + The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. + + String + + + TargetDatabaseName + + The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. + + String + + + + Start-AzureSqlDatabaseRecovery + + SourceDatabase + + The database object that represents the database you want to recover. + + RecoverableDatabase + + + TargetServerName + + The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. + + String + + + TargetDatabaseName + + The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. + + String + + + + + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + String + + + + + + SourceDatabaseName + + The name of the database you want to recover. + + String + + String + + + + + + TargetServerName + + The name of the server you want to restore the database to. This can be the same server as the source database or a different server name. + + String + + String + + + + + + TargetDatabaseName + + The name of the recovered database. This should be different from the source database if the source database is still live and you are planning to recover it to the same server as the source. + + String + + String + + + + + + SourceDatabase + + The database object that represents the database you want to recover. + + RecoverableDatabase + + RecoverableDatabase + + + + + + + + + Microsoft.WindowsAzure.Management.Sql.Models.RecoverableDatabase + + + + + + + + + + + + Microsoft.WindowsAzure.Management.Sql.Models.RecoverDatabaseOperation + + + + + + + + + + + + + + You must use certificate based authentication to run this cmdlet. The following commands need to be run on the machine you are using to run the cmdlet: C:\PS>$subId = <Subscription ID> C:\PS>$thumbprint = <Certificate Thumbprint> C:\PS>$myCert = Get-Item Cert:\CurrentUser\My\$thumbprint -C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert -C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>$mydb = Get-AzureSqlRecoverableDatabase -ServerName "myserver" -DatabaseName "mydatabase" +C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert +C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>$mydb = Get-AzureSqlRecoverableDatabase -ServerName "myserver" -DatabaseName "mydatabase" # Recover the database using database object -PS C:\>$operation = Start-AzureSqlDatabaseRecovery -SourceDatabase $mydb -TargetServerName "a234b56" -TargetDatabaseName "mydatabaserestored" - - - - - This example recovers a database using an object representing the database. - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>$operation = Start-AzureSqlDatabaseRecovery -SourceServerName "myserver" -SourceDatabaseName "mydatabase" -TargetServerName "a234b56" -TargetDatabaseName "mydatabaserestored" - - - - This example recovers a database using the database name. - - - - - - - - - - - Start-AzureSqlDatabaseRestore - - - - Get-AzureSqlRecoverableDatabase - - - - - - - Start-AzureSqlDatabaseRestore - - Submits a restore request for a live or dropped database. - - - - - Start - AzureSqlDatabaseRestore - - - - Use this cmdlet to do a point in time restore of a Standard or Premium database. For standard databases, the backups are retained for 7 days and for Premium databases, the backups are retained up to 35 days. The restore operation creates a new database. If you are restoring to the same server as the source database, you must specific a different name from the source database. - NOTE: For this release, the source server name and the target server name should be the same. - - - - Start-AzureSqlDatabaseRestore - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - - SourceDatabaseName - - The name of the live database you want to restore - - String - - - SourceDatabaseDeletionDate - - The date and time when the database was deleted. You must include milliseconds when specifying the time to match the actual database deletion time. - - DateTime - - - PointInTime - - The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. - - DateTime - - - TargetServerName - - The name of the server that you want to restore the database to. This can be the same server as the source database or a different server. - NOTE: For this release, the source server name and the target server name should be the same. - - String - - - RestorableDropped - - - - - - TargetDatabaseName - - The name of the new database that will be created as a result of the restore operation. - - String - - - - Start-AzureSqlDatabaseRestore - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - - SourceDatabase - - A single object that represents the live database that you want to restore. - - Database - - - PointInTime - - The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. - - DateTime - - - TargetServerName - - The name of the server that you want to restore the database to. This can be the same server as the source database or a different server. - NOTE: For this release, the source server name and the target server name should be the same. - - String - - - TargetDatabaseName - - The name of the new database that will be created as a result of the restore operation. - - String - - - - Start-AzureSqlDatabaseRestore - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - - SourceDatabaseName - - The name of the live database you want to restore - - String - - - PointInTime - - The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. - - DateTime - - - TargetServerName - - The name of the server that you want to restore the database to. This can be the same server as the source database or a different server. - NOTE: For this release, the source server name and the target server name should be the same. - - String - - - TargetDatabaseName - - The name of the new database that will be created as a result of the restore operation. - - String - - - - Start-AzureSqlDatabaseRestore - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - - SourceRestorableDroppedDatabase - - The database object that represents a recoverable dropped database. You can get this object using the Get-AzureSqlDatabase cmdlet using –RestorableDropped switch parameter. - - RestorableDroppedDatabase - - - PointInTime - - The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. - - DateTime - - - TargetServerName - - The name of the server that you want to restore the database to. This can be the same server as the source database or a different server. - NOTE: For this release, the source server name and the target server name should be the same. - - String - - - TargetDatabaseName - - The name of the new database that will be created as a result of the restore operation. - - String - - - - - - PointInTime - - The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. - - DateTime - - DateTime - - - - - - RestorableDropped - - - - SwitchParameter - - SwitchParameter - - - - - - SourceServerName - - The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. - - String - - String - - - - - - SourceDatabase - - A single object that represents the live database that you want to restore. - - Database - - Database - - - - - - SourceDatabaseDeletionDate - - The date and time when the database was deleted. You must include milliseconds when specifying the time to match the actual database deletion time. - - DateTime - - DateTime - - - - - - SourceDatabaseName - - The name of the live database you want to restore - - String - - String - - - - - - SourceRestorableDroppedDatabase - - The database object that represents a recoverable dropped database. You can get this object using the Get-AzureSqlDatabase cmdlet using –RestorableDropped switch parameter. - - RestorableDroppedDatabase - - RestorableDroppedDatabase - - - - - - TargetDatabaseName - - The name of the new database that will be created as a result of the restore operation. - - String - - String - - - - - - TargetServerName - - The name of the server that you want to restore the database to. This can be the same server as the source database or a different server. - NOTE: For this release, the source server name and the target server name should be the same. - - String - - String - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.RestorableDroppedDatabase; Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.RestoreDatabaseOperation - - - - - - - - - - - - - - - - You must use certificate based authentication to run this cmdlet. The following commands need to be run on the machine you are using to run the cmdlet: +PS C:\>$operation = Start-AzureSqlDatabaseRecovery -SourceDatabase $mydb -TargetServerName "a234b56" -TargetDatabaseName "mydatabaserestored" + + This example recovers a database using an object representing the database. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>$operation = Start-AzureSqlDatabaseRecovery -SourceServerName "myserver" -SourceDatabaseName "mydatabase" -TargetServerName "a234b56" -TargetDatabaseName "mydatabaserestored" + + This example recovers a database using the database name. + + + + + + + + + + + Start-AzureSqlDatabaseRestore + + + + Get-AzureSqlRecoverableDatabase + + + + + + + + Start-AzureSqlDatabaseRestore + + Submits a restore request for a live or dropped database. + + + + + Start + AzureSqlDatabaseRestore + + + + + Use this cmdlet to do a point in time restore of a Standard or Premium database. For standard databases, the backups are retained for 7 days and for Premium databases, the backups are retained up to 35 days. The restore operation creates a new database. If you are restoring to the same server as the source database, you must specific a different name from the source database. NOTE: For this release, the source server name and the target server name should be the same. + + + + Start-AzureSqlDatabaseRestore + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + + SourceDatabaseName + + The name of the live database you want to restore + + String + + + SourceDatabaseDeletionDate + + The date and time when the database was deleted. You must include milliseconds when specifying the time to match the actual database deletion time. + + DateTime + + + TargetServerName + + The name of the server that you want to restore the database to. This can be the same server as the source database or a different server.NOTE: For this release, the source server name and the target server name should be the same. + + String + + + RestorableDropped + + + + SwitchParameter + + + TargetDatabaseName + + The name of the new database that will be created as a result of the restore operation. + + String + + + PointInTime + + The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. + + Nullable`1[DateTime] + + + + Start-AzureSqlDatabaseRestore + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + + SourceDatabaseName + + The name of the live database you want to restore + + String + + + TargetServerName + + The name of the server that you want to restore the database to. This can be the same server as the source database or a different server.NOTE: For this release, the source server name and the target server name should be the same. + + String + + + TargetDatabaseName + + The name of the new database that will be created as a result of the restore operation. + + String + + + PointInTime + + The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. + + Nullable`1[DateTime] + + + + Start-AzureSqlDatabaseRestore + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + + SourceDatabase + + A single object that represents the live database that you want to restore. + + Database + + + TargetServerName + + The name of the server that you want to restore the database to. This can be the same server as the source database or a different server.NOTE: For this release, the source server name and the target server name should be the same. + + String + + + TargetDatabaseName + + The name of the new database that will be created as a result of the restore operation. + + String + + + PointInTime + + The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. + + Nullable`1[DateTime] + + + + Start-AzureSqlDatabaseRestore + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + + SourceRestorableDroppedDatabase + + The database object that represents a recoverable dropped database. You can get this object using the Get-AzureSqlDatabase cmdlet using –RestorableDropped switch parameter. + + RestorableDroppedDatabase + + + TargetServerName + + The name of the server that you want to restore the database to. This can be the same server as the source database or a different server.NOTE: For this release, the source server name and the target server name should be the same. + + String + + + TargetDatabaseName + + The name of the new database that will be created as a result of the restore operation. + + String + + + PointInTime + + The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. + + Nullable`1[DateTime] + + + + + + SourceServerName + + The name of the server where the source database is live and running, or the name of the server where the source database was running before it was deleted. + + String + + String + + + + + + SourceDatabaseName + + The name of the live database you want to restore + + String + + String + + + + + + SourceDatabaseDeletionDate + + The date and time when the database was deleted. You must include milliseconds when specifying the time to match the actual database deletion time. + + DateTime + + DateTime + + + + + + TargetServerName + + The name of the server that you want to restore the database to. This can be the same server as the source database or a different server.NOTE: For this release, the source server name and the target server name should be the same. + + String + + String + + + + + + RestorableDropped + + + + SwitchParameter + + SwitchParameter + + + + + + TargetDatabaseName + + The name of the new database that will be created as a result of the restore operation. + + String + + String + + + + + + PointInTime + + The restore point for the database to be restored to. When the restore operation has completed, the database is restored to the state it was at the specific date and time specified using this parameter. By default, for a live database this set to the current time, and for a dropped database, it is set to the time when the database was dropped. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + SourceDatabase + + A single object that represents the live database that you want to restore. + + Database + + Database + + + + + + SourceRestorableDroppedDatabase + + The database object that represents a recoverable dropped database. You can get this object using the Get-AzureSqlDatabase cmdlet using –RestorableDropped switch parameter. + + RestorableDroppedDatabase + + RestorableDroppedDatabase + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.RestorableDroppedDatabase; Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.RestoreDatabaseOperation + + + + + + + + + + + + + + You must use certificate based authentication to run this cmdlet. The following commands need to be run on the machine you are using to run the cmdlet: C:\PS>$subId = <Subscription ID> C:\PS>$thumbprint = <Certificate Thumbprint> C:\PS>$myCert = Get-Item Cert:\CurrentUser\My\$thumbprint -C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert -C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>$mydb = Get-AzureSqlDatabase -ServerName "a234b56" -DatabaseName "mydatabase" # Restore the database using database object PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceDatabase $mydb -TargetDatabaseName "mydatabaserestored" -PointInTime "2013-01-01 06:00:00" - - - - This example lists the databases on the server, then stores a specific database object in a variable, and restores the database to a specific point in time. - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceServerName "a234b56" -SourceDatabaseName "mydatabase" -TargetDatabaseName "mydatabaserestored" -PointInTime "2013-01-01 06:00:00" - - - This example lists the databases on the server, specifies the database properties for a database and restores the database to a specific point in time. - - - - - - - - - - --------------------------- EXAMPLE 3 -------------------------- - - - - - - - PS C:\>$mydb = Get-AzureSqlDatabase -RestorableDropped -ServerName "server1" -DatabaseName "mydb" -DatabaseDeletionDate "2013-01-01 06:00:00"# Restore the dropped database using database object PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceRestorableDroppedDatabase $mydb -TargetDatabaseName "mydroppeddatabaserestored" - - - This example restores a dropped database. - - - - - - - - - - - Online Version: - - - - - - - Stop-AzureSqlDatabaseCopy - - Terminates a continuous copy relationship. There are two modes of termination: termination and forced termination (with possible data loss). - - - - - Stop - AzureSqlDatabaseCopy - - - - Terminates a continuous copy relationship. The system terminates the data movement between the source and replica databases and changes the database state on the former replica database. - - There are two modes of termination: termination and forced termination (with possible data loss). A termination that is not forced waits until all committed transactions on the source database at the time of the call have been replicated to the replica database. A termination that is not forced is disallowed when the replication status is PENDING. In contrast, a forced termination does not wait for replication of any outstanding committed transactions. For this reason, a forced termination can result in data loss on the replica database. - - A Stop-AzureSqlDatabaseCopy command can be executed on the source or replica database. On the server that hosts the replica database (the "target server") only the forced termination mode is supported. - - - - - Stop-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database resides. - - String - - - Database - - A single object that represents the database whose continuous copy relationship is to be terminated. - - - Database - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - ForcedTermination - - Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. - - - - - PartnerDatabase - - Specifies name of a given replica database. If specified, this name must match the name of the source database. - - - String - - - PartnerServer - - The name of a target server. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Stop-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database resides. - - String - - - DatabaseCopy - - An object representing the database whose continuous copy relationship is to be terminated. -DatabaseCopy can accept an array using the pipeline. - - - DatabaseCopy - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - ForcedTermination - - Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - Stop-AzureSqlDatabaseCopy - - ServerName - - The name of the server on which the source database resides. - - String - - - DatabaseName - - The name of the database whose continuous copy relationship is to be terminated. - - - String - - - Force - - Allows the action to complete without prompting you for confirmation. - - - - - ForcedTermination - - Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. - - - - - PartnerDatabase - - Specifies name of a given replica database. If specified, this name must match the name of the source database. - - - String - - - PartnerServer - - The name of a target server. - - - String - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - - - - Database - - A single object that represents the database whose continuous copy relationship is to be terminated. - - - Database - - Database - - - - - - DatabaseCopy - - An object representing the database whose continuous copy relationship is to be terminated. -DatabaseCopy can accept an array using the pipeline. - - - DatabaseCopy - - DatabaseCopy - - - - - - DatabaseName - - The name of the database whose continuous copy relationship is to be terminated. - - - String - - String - - - - - - Force - - Allows the action to complete without prompting you for confirmation. - - - SwitchParameter - - SwitchParameter - - - - - - ForcedTermination - - Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. - - - SwitchParameter - - SwitchParameter - - - - - - PartnerDatabase - - Specifies name of a given replica database. If specified, this name must match the name of the source database. - - - String - - String - - - - - - PartnerServer - - The name of a target server. - - - String - - String - - - - - - ServerName - - The name of the server on which the source database resides. - - String - - String - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy - - - - - - - - - - Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database - - - - - - - - - - - - No output - - - - - - - - - - - - - - Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. - - - Restrictions:  On the server that hosts the replica database, only forced termination is supported. - - - - Impact of termination on the former replica database:  After termination, the replica database becomes an independent database. Assuming that seeding already completed on the replica database, after termination, this database is open for full access. If the source database is a read-write database, the former replica database becomes a read-write database, too. - - Note:  If seeding is currently in progress, seeding is aborted, and the former replica database never becomes visible on the server that hosts the replica database. - - - - To guarantee that source and replica databases are synchronized after termination, and to ensure that no transactions are committed during termination, set the source database to read-only mode before you perform a termination. Once the termination completes, set the source back to read-write mode. Optionally, you can also set the former replica database to read-write mode. - - - - Monitoring: To check for the status of one or more continuous copy continuous copy relationships that are active on the server, use the Get-AzureSqlDatabaseCopy cmdlet. To verify the status of the operations at both the source and target of the continuous copy relationship, use the sys.dm_continuous_copy_status dynamic management view on the source server. The sys.dm_continuous_copy_status is in the source database and not the master database. - - - - - - - --------------------------- EXAMPLE 1 -------------------------- - - - - - - - PS C:\>Stop-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" - - - - - This example terminates the continuous copy relationship of database "Orders" on the server "lpqd0zbr8y" with the replica database on the "bk0b8kf658" target server. - - - - - - - - - - - --------------------------- EXAMPLE 2 -------------------------- - - - - - - - PS C:\>$myDbCopy = Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PS C:\>$myDbCopy | Stop-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -ForcedTermination - - - - This example forcibly terminates a continuous copy relationship from the server that hosts a replica database. - - - - - - - - - - - +C:\PS>Set-AzureSubscription -SubscriptionName "mySubscription" -SubscriptionId $subId -Certificate $myCert +C:\PS>Select-AzureSubscription -SubscriptionName "mySubscription" + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>$mydb = Get-AzureSqlDatabase -ServerName "a234b56" -DatabaseName "mydatabase" # Restore the database using database object PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceDatabase $mydb -TargetDatabaseName "mydatabaserestored" -PointInTime "2013-01-01 06:00:00" + + This example lists the databases on the server, then stores a specific database object in a variable, and restores the database to a specific point in time. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceServerName "a234b56" -SourceDatabaseName "mydatabase" -TargetDatabaseName "mydatabaserestored" -PointInTime "2013-01-01 06:00:00" + + This example lists the databases on the server, specifies the database properties for a database and restores the database to a specific point in time. + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + + + PS C:\>$mydb = Get-AzureSqlDatabase -RestorableDropped -ServerName "server1" -DatabaseName "mydb" -DatabaseDeletionDate "2013-01-01 06:00:00"# Restore the dropped database using database object PS C:\>$operation = Start-AzureSqlDatabaseRestore -SourceRestorableDroppedDatabase $mydb -TargetDatabaseName "mydroppeddatabaserestored" + + This example restores a dropped database. + + + + + + + + + + + Online Version: + + + + + + + + Stop-AzureSqlDatabaseCopy + + Terminates a continuous copy relationship. There are two modes of termination: termination and forced termination (with possible data loss). + + + + + Stop + AzureSqlDatabaseCopy + + + + + Terminates a continuous copy relationship. The system terminates the data movement between the source and replica databases and changes the database state on the former replica database. +There are two modes of termination: termination and forced termination (with possible data loss). A termination that is not forced waits until all committed transactions on the source database at the time of the call have been replicated to the replica database. A termination that is not forced is disallowed when the replication status is PENDING. In contrast, a forced termination does not wait for replication of any outstanding committed transactions. For this reason, a forced termination can result in data loss on the replica database. +A Stop-AzureSqlDatabaseCopy command can be executed on the source or replica database. On the server that hosts the replica database (the "target server") only the forced termination mode is supported. + + + + Stop-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database resides. + + String + + + DatabaseCopy + + An object representing the database whose continuous copy relationship is to be terminated. -DatabaseCopy can accept an array using the pipeline. + + DatabaseCopy + + + ForcedTermination + + Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Stop-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database resides. + + String + + + Database + + A single object that represents the database whose continuous copy relationship is to be terminated. + + Database + + + PartnerServer + + The name of a target server. + + String + + + PartnerDatabase + + Specifies name of a given replica database. If specified, this name must match the name of the source database. + + String + + + ForcedTermination + + Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Stop-AzureSqlDatabaseCopy + + ServerName + + The name of the server on which the source database resides. + + String + + + DatabaseName + + The name of the database whose continuous copy relationship is to be terminated. + + String + + + PartnerServer + + The name of a target server. + + String + + + PartnerDatabase + + Specifies name of a given replica database. If specified, this name must match the name of the source database. + + String + + + ForcedTermination + + Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. + + SwitchParameter + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + The name of the server on which the source database resides. + + String + + String + + + + + + DatabaseCopy + + An object representing the database whose continuous copy relationship is to be terminated. -DatabaseCopy can accept an array using the pipeline. + + DatabaseCopy + + DatabaseCopy + + + + + + ForcedTermination + + Causes forced termination of the continuous copy relationship (with possible data loss). You can abbreviate this parameter name to Forced. On a target server, -ForcedTermination (or -Forced) is always required. On the source server, this parameter is required only if the target replica database is unavailable. + + SwitchParameter + + SwitchParameter + + + + + + Force + + Allows the action to complete without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Database + + A single object that represents the database whose continuous copy relationship is to be terminated. + + Database + + Database + + + + + + PartnerServer + + The name of a target server. + + String + + String + + + + + + PartnerDatabase + + Specifies name of a given replica database. If specified, this name must match the name of the source database. + + String + + String + + + + + + DatabaseName + + The name of the database whose continuous copy relationship is to be terminated. + + String + + String + + + + + + + + + Microsoft.WindowsAzure.Commands.SqlDatabase.Model.DatabaseCopy + + + + + + + + + + + + No output + + + + + + + + + + + + + + Authentication: This cmdlet requires certificate-based authentication. For an example of how to use certificate-based authentication to set the current subscription, see the Get-Help topic for the New-AzureSqlDatabaseServerContext cmdlet. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + + PS C:\>Stop-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" -PartnerServer "bk0b8kf658" + + This example terminates the continuous copy relationship of database "Orders" on the server "lpqd0zbr8y" with the replica database on the "bk0b8kf658" target server. + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + + PS C:\>$myDbCopy = Get-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -DatabaseName "Orders" +PS C:\>$myDbCopy | Stop-AzureSqlDatabaseCopy -ServerName "lpqd0zbr8y" -ForcedTermination + + This example forcibly terminates a continuous copy relationship from the server that hosts a replica database. + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/SetAzureSqlDatabaseServer.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/SetAzureSqlDatabaseServer.cs index 8d6908831dd3..6b853630b4fc 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/SetAzureSqlDatabaseServer.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/SetAzureSqlDatabaseServer.cs @@ -104,15 +104,7 @@ public override void ExecuteCmdlet() { try { - object operationContext = null; - switch (this.ParameterSetName) - { - case "ResetServerAdminPassword": - operationContext = this.ResetAzureSqlDatabaseServerAdminPasswordProcess(this.ServerName, this.AdminPassword); - break; - default: - break; - } + object operationContext = this.ResetAzureSqlDatabaseServerAdminPasswordProcess(this.ServerName, this.AdminPassword); } catch (Exception ex) { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config index ed0a150565e8..206f71805635 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config @@ -6,8 +6,8 @@ - - + + diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs b/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs index 8d89c9fa3141..afc23721e11a 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs +++ b/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs @@ -41,5 +41,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.8.8")] -[assembly: AssemblyFileVersion("0.8.8")] +[assembly: AssemblyVersion("0.8.10.1")] +[assembly: AssemblyFileVersion("0.8.10.1")] diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj b/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj index c66a359507ce..211922992f6d 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj @@ -85,13 +85,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config b/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config index a9419e44bd89..9909d4d14279 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config @@ -6,7 +6,7 @@ - + diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj index 85520bc46096..86a42117de77 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj @@ -91,13 +91,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs b/src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs index ad674030219d..5e5279f02569 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs @@ -74,22 +74,6 @@ public static string GenerateInvalidShareName_UpperCase(int length) return GenerateShareNameInternal(length, ensureUpperCase: true); } - public static string GenerateASCIINameWithInvalidCharacters(int length) - { - Random r = new Random(); - int numberOfInavlidCharacters = r.Next(1, length); - int numberOfValidCharacters = length - numberOfInavlidCharacters; - StringBuilder sb = new StringBuilder(GenerateNameFromRange(numberOfValidCharacters, ValidASCIIRange)); - for (int i = 0; i < numberOfInavlidCharacters; i++) - { - int position = r.Next(sb.Length); - char invalidCharacter = InvalidFileNameCharacters[r.Next(InvalidFileNameCharacters.Length)]; - sb.Insert(position, invalidCharacter); - } - - return sb.ToString(); - } - public static string GenerateNameFromRange(int length, Tuple range) { Random r = new Random(); diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs b/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs index d3279b3dab1a..30b62eaa5be6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs @@ -73,7 +73,7 @@ public void NewDirectoryWithLongNameTest() [TestMethod] public void NewDirectoryWithInvalidCharacterTest() { - NewDirectoryAndAssert(FileNamingGenerator.GenerateASCIINameWithInvalidCharacters(50), "ArgumentException"); + NewDirectoryAndAssert("?*?\"\\*p:?\\/D?*?<:Z>:/l* - + diff --git a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj index 586500532883..05ca1808ed76 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj @@ -62,13 +62,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll @@ -92,13 +92,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs b/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs index 897085f72625..afdc47e4df63 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs +++ b/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs @@ -346,7 +346,7 @@ internal CloudStorageAccount GetStorageAccountWithAzureEnvironment(StorageCreden } else { - azureEnvironment = defaultProfileClient.GetEnvironmentOrDefault(azureEnvironmentName); + azureEnvironment = DefaultProfileClient.GetEnvironmentOrDefault(azureEnvironmentName); } Uri blobEndPoint = azureEnvironment.GetStorageBlobEndpoint(storageAccountName, useHttps); diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 b/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 new file mode 100644 index 000000000000..629cc56833d1 --- /dev/null +++ b/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Storage\Microsoft.WindowsAzure.Commands.Storage.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml b/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml index a0e4735792ba..1d36c9737074 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml +++ b/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml @@ -1,148 +1,144 @@ - - - - + - + Get-AzureStorageBlob List the azure blobs in the specified container. - - + Get AzureStorageBlob - List the azure blobs in the specified container. - + + Get-AzureStorageBlob - + Blob Blob name pattern. If blob name is empty, this will list all the blobs in container. Otherwise, this will list the blobs whose name matched the name regular pattern. - String + String - + Container Container name - String + String - + MaxCount The max count of the blobs that can return. - Int32 + Nullable`1[Int32] - + ContinuationToken Blob list continuation token. - BlobContinuationToken + BlobContinuationToken - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Get-AzureStorageBlob - + Prefix Blob name prefix. The Prefix parameter don't support regular expression. - String + String - + Container Container name - String + String - + MaxCount The max count of the blobs that can return. - Int32 + Nullable`1[Int32] - + ContinuationToken Blob list continuation token. - BlobContinuationToken + BlobContinuationToken - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + Blob Blob name pattern. If blob name is empty, this will list all the blobs in container. Otherwise, this will list the blobs whose name matched the name regular pattern. @@ -154,7 +150,7 @@ - + Container Container name @@ -166,14 +162,14 @@ - + MaxCount The max count of the blobs that can return. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] @@ -202,38 +198,38 @@ - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -250,6 +246,18 @@ + + PipelineVariable + + + + string + + string + + + + @@ -267,18 +275,16 @@ AzureStorageBlob - + ICloudBlob object and Azure storage context and etc. - - - - - - + + + + @@ -287,78 +293,56 @@ - --------------- Get azure storage blob by blob name -------------- + -------------------------- Get azure storage blob by blob name -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -Blob blob* - - - - - + + PS C:\> Get-AzureStorageBlob -Container containername -Blob blob* + - + - - + - --------------- Get blob by pipeline from GetAzureStorageContainer -------------- + -------------------------- Get blob by pipeline from GetAzureStorageContainer -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* | Get-AzureStorageBlob - + + PS C:\> Get-AzureStorageContainer container* | Get-AzureStorageBlob + - - - - - + - - + - --------------- Get azure storage blob by name prefix -------------- + -------------------------- Get azure storage blob by name prefix -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -Prefix blob - - - - - + + PS C:\> Get-AzureStorageBlob -Container containername -Prefix blob + - + - - + - --------------- List all blobs with max count and continuation token. -------------- + -------------------------- List all blobs with max count and continuation token. -------------------------- - C:\PS> -C:\PS> - $maxReturn = 10000 + + + PS C:\> $maxReturn = 10000 $containerName = "abc" $total = 0 @@ -372,18 +356,12 @@ do } while($token -ne $null) echo "Total $total blobs in container $containerName" - - - - - - + - + - - + @@ -391,247 +369,231 @@ echo "Total $total blobs in container $containerName" Remove-AzureStorageBlob - + Get-AzureStorageBlobContent - + Set-AzureStorageBlobContent - + - + Get-AzureStorageBlobContent Download the specified azure storage blob. - - + Get AzureStorageBlobContent - Download the specified azure storage blob. - + + Get-AzureStorageBlobContent - + Blob Blob name. - String + String - + Container Container name. - String + String - + Destination Download destination file path. - String + String - + CheckMd5 Whether check the md5 sum for downloaded file. + SwitchParameter - - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 - - + Force Force to overwrite the existing file. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - + The total amount of concurrent async tasks. - String + Nullable`1[Int32] Get-AzureStorageBlobContent - + ICloudBlob ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - ICloudBlob + ICloudBlob - + Destination Download destination file path. - String + String - + CheckMd5 Whether check the md5 sum for downloaded file. + SwitchParameter - - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 - - + Force Force to overwrite the existing file. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - + The total amount of concurrent async tasks. - String + Nullable`1[Int32] Get-AzureStorageBlobContent - + CloudBlobContainer CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - CloudBlobContainer + CloudBlobContainer - + Blob Blob name. - String + String - + Destination Download destination file path. - String + String - + CheckMd5 Whether check the md5 sum for downloaded file. + SwitchParameter - - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 - - + Force Force to overwrite the existing file. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - + The total amount of concurrent async tasks. - String + Nullable`1[Int32] - + Blob Blob name. @@ -643,7 +605,7 @@ echo "Total $total blobs in container $containerName" - + Container Container name. @@ -672,29 +634,19 @@ echo "Total $total blobs in container $containerName" Whether check the md5 sum for downloaded file. + SwitchParameter SwitchParameter False - - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 - - Int32 - - - ProcessorCount * 8 - Force Force to overwrite the existing file. + SwitchParameter SwitchParameter @@ -713,41 +665,41 @@ echo "Total $total blobs in container $containerName" - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - + The total amount of concurrent async tasks. - String + Nullable`1[Int32] - String + Nullable`1[Int32] - + ProcessorCount * 8 ICloudBlob @@ -773,6 +725,18 @@ echo "Total $total blobs in container $containerName" + + PipelineVariable + + + + string + + string + + + + @@ -790,18 +754,16 @@ echo "Total $total blobs in container $containerName" AzureStorageContainer - + - - - - - - + + + + @@ -810,68 +772,47 @@ echo "Total $total blobs in container $containerName" - --------------- Download blob by name. -------------- + -------------------------- Download blob by name. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlobContent -Container containername -Blob blob -Destination C:\test\ - - - - - + + PS C:\> Get-AzureStorageBlobContent -Container containername -Blob blob -Destination C:\test\ + - + - - + - --------------- Download blob content using pipeline from GetAzureStorageBlob. -------------- + -------------------------- Download blob content using pipeline from GetAzureStorageBlob. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -Blob blobname | Get-AzureStorageBlobContent - + + PS C:\> Get-AzureStorageBlob -Container containername -Blob blobname | Get-AzureStorageBlobContent + - - - - - + - - + - --------------- Download blob content using pipeline from GetAzureStorageContainer. -------------- + -------------------------- Download blob content using pipeline from GetAzureStorageContainer. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* | Get-AzureStorageBlobContent -Blob cbox.exe -Destination C:\test - - - - - + + PS C:\> Get-AzureStorageContainer container* | Get-AzureStorageBlobContent -Blob cbox.exe -Destination C:\test + - + - - + @@ -879,187 +820,189 @@ C:\PS> Set-AzureStorageBlobContent - + Get-AzureStorageBlob - + Remove-AzureStorageBlob - + - + Get-AzureStorageBlobCopyState Get copy state of the specified azure storage blob. - - + Get AzureStorageBlobCopyState - Get copy state of the specified azure storage blob. - + + Get-AzureStorageBlobCopyState - + Blob Blob name. - String + String - + Container Container name. - String + String - + WaitForComplete Wait for the copy completion. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Get-AzureStorageBlobCopyState - + ICloudBlob ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - ICloudBlob + ICloudBlob - + WaitForComplete Wait for the copy completion. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Get-AzureStorageBlobCopyState - + CloudBlobContainer CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - CloudBlobContainer + CloudBlobContainer - + Blob Blob name. - String + String - + WaitForComplete Wait for the copy completion. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + Blob Blob name. @@ -1071,7 +1014,7 @@ C:\PS> - + Container Container name. @@ -1088,6 +1031,7 @@ C:\PS> Wait for the copy completion. + SwitchParameter SwitchParameter @@ -1106,38 +1050,38 @@ C:\PS> - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -1166,6 +1110,18 @@ C:\PS> + + PipelineVariable + + + + string + + string + + + + @@ -1183,18 +1139,16 @@ C:\PS> CopyState - + - - - - - - + + + + @@ -1203,68 +1157,47 @@ C:\PS> - --------------- Get Copy State by name. -------------- + -------------------------- Get Copy State by name. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlobCopyState -Container containername -Blob blobname - - + + PS C:\> Get-AzureStorageBlobCopyState -Container containername -Blob blobname + - - - - + - - + - --------------- Get copy state using pipeline by GetAzureStorageBlob -------------- + -------------------------- Get copy state using pipeline by GetAzureStorageBlob -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -blob blobname | Get-AzureStorageBlobCopyState - - + + PS C:\> Get-AzureStorageBlob -Container containername -blob blobname | Get-AzureStorageBlobCopyState + - - - - + - - + - --------------- Get azure storage blob copy state using pipeline from GetAzureStorageContainer. -------------- + -------------------------- Get azure storage blob copy state using pipeline from GetAzureStorageContainer. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer containername | Get-AzureStorageBlobCopyState -Blob blobname - - + + PS C:\> Get-AzureStorageContainer containername | Get-AzureStorageBlobCopyState -Blob blobname + - - - - + - - + @@ -1272,141 +1205,140 @@ C:\PS> Start-AzureStorageBlobCopy - + Stop-AzureStorageBlobCopy - + - + Get-AzureStorageContainer List azure storage containers. - - + Get AzureStorageContainer - List azure storage containers. - + + Get-AzureStorageContainer - + Name Container name. If container name is empty, this will list all the containers. Otherwise, this will list the containers whose name matched the name regular pattern. - String + String - + MaxCount The max count of the containers that can return. - Int32 + Nullable`1[Int32] - + ContinuationToken Container list continuation token. - BlobContinuationToken + BlobContinuationToken - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Get-AzureStorageContainer - + Prefix Container name prefix. - String + String - + MaxCount The max count of the containers that can return. - Int32 + Nullable`1[Int32] - + ContinuationToken Container list continuation token. - BlobContinuationToken + BlobContinuationToken - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + Name Container name. If container name is empty, this will list all the containers. Otherwise, this will list the containers whose name matched the name regular pattern. @@ -1418,14 +1350,14 @@ C:\PS> - + MaxCount The max count of the containers that can return. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] @@ -1454,38 +1386,38 @@ C:\PS> - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -1502,6 +1434,18 @@ C:\PS> + + PipelineVariable + + + + string + + string + + + + @@ -1519,18 +1463,16 @@ C:\PS> - + - - - - - - + + + + @@ -1539,56 +1481,41 @@ C:\PS> - --------------- Get azure storage blob by namne -------------- + -------------------------- Get azure storage blob by namne -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* - - + + PS C:\> Get-AzureStorageContainer container* + - - - - + - - + - --------------- Get azure storage container by container name prefix -------------- + -------------------------- Get azure storage container by container name prefix -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer -Prefix container - - + + PS C:\> Get-AzureStorageContainer -Prefix container + - - - - + - - + - --------------- List all containers with maxCount and ContinuationToken -------------- + -------------------------- List all containers with maxCount and ContinuationToken -------------------------- - C:\PS> -C:\PS> - $maxReturn = 10000 + + + PS C:\> $maxReturn = 10000 $total = 0 @@ -1602,20 +1529,13 @@ do } while($token -ne $null) -echo "Total $total containers" - - +echo "Total $total containers" + - - - - - - + - - + @@ -1623,398 +1543,340 @@ echo "Total $total containers" New-AzureStorageContainer - + Remove-AzureStorageContainer - + Set-AzureStorageContainerAcl - + - + - Get-AzureStorageQueue + Get-AzureStorageFile - list azure storage queues + List the files and directories in a specific path. - - + Get - AzureStorageQueue - + AzureStorageFile - list azure storage queues + List the files and directories in a specific path. - - Get-AzureStorageQueue - - Name + + + Get-AzureStorageFile + + ShareName - Queue name. If queue name is empty, this will list all the queues. Otherwise, this will list the queues whose name matched the name regular pattern. + The file share name + + String + + + Path + + The file or directory path - String + String - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - Get-AzureStorageQueue - - Prefix + Get-AzureStorageFile + + Share - Queue name prefix + The file share object - String + CloudFileShare - + + Path + + The file or directory path + + String + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + Get-AzureStorageFile + + Directory + + The file directory object + + CloudFileDirectory + + + Path + + The file or directory path + + String + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + Get-AzureStorageFile + + Path + + The file or directory path + + String + + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - - - - Name - - Queue name. If queue name is empty, this will list all the queues. Otherwise, this will list the queues whose name matched the name regular pattern. - - String - - String - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext + + Get-AzureStorageFile + + Path + + The file or directory path + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + + + ShareName + + The file share name + + String - AzureStorageContext + String - - ServerTimeoutPerRequest + + Path - Server side time out for each request. + The file or directory path - Int32 + String - Int32 + String - - ClientTimeoutPerRequest + + Context - Client side time out for each request. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - Int32 + AzureStorageContext - Int32 + AzureStorageContext - - PipelineVariable + + ServerTimeoutPerRequest - + Server side timeout value for the request. - String + Nullable`1[Int32] - String + Nullable`1[Int32] - - Prefix + + ClientTimeoutPerRequest - Queue name prefix + Client side timeout value for the request. - String + Nullable`1[Int32] - String + Nullable`1[Int32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------- List all azure storage queues -------------- - - C:\PS> -C:\PS> - Get-AzureStorageQueue - - - - - - - - - - - - - - - - - --------------- List azure storage queues using wildcard -------------- - - C:\PS> -C:\PS> - Get-AzureStorageQueue queue* - - - - - - - - - - - - - - - - - --------------- List azure storage queues using queue name prefix -------------- - - C:\PS> -C:\PS> - Get-AzureStorageQueue -Prefix queue - - - - - - - - - - - - - - - - - - - - - - - Get-AzureStorageServiceLoggingProperty - - Get azure storage service logging properties. - - - - - - Get - AzureStorageServiceLoggingProperty - - - - - - Get azure storage service logging properties. - - - Get-AzureStorageServiceLoggingProperty - - ServiceType - - Azure storage service type. - - StorageServiceType - - - Context - - Azure storage context. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String - - - - - - ServiceType + + ConcurrentTaskCount - Azure storage service type. + - StorageServiceType + Nullable`1[Int32] - StorageServiceType + Nullable`1[Int32] - - Context + + Share - Azure storage context. + The file share object - AzureStorageContext + CloudFileShare - AzureStorageContext + CloudFileShare - - ServerTimeoutPerRequest + + Directory - Server side time out for each request. + The file directory object - Int32 + CloudFileDirectory - Int32 + CloudFileDirectory - ClientTimeoutPerRequest + ClientRequestId - Client side time out for each request. + - Int32 + string - Int32 + string @@ -2024,9 +1886,9 @@ C:\PS> - String + string - String + string @@ -2048,18 +1910,16 @@ C:\PS> - + - - - - - - + + + + @@ -2068,118 +1928,2605 @@ C:\PS> - --------------- Get azure storage blob service logging properties. -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageServiceLoggingProperty -ServiceType Blob - - + + PS C:\> Get-AzureStorageShare -Name sample | Get-AzureStorageFile + + This example lists the files and directories under the sample file share. + + + + + + + + + -------------------------- Example 2 -------------------------- + - - - - + + PS C:\> Get-AzureStorageFile -FileShareName sample | ? IsDirectory + + This example lists the directories under sample file share. + - - + + + New-AzureStorageDirectory + + + + Remove-AzureStorageDirectory + + + + Remove-AzureStorageFile + + + + Get-AzureStorageFileContent + + + + Set-AzureStorageFileContent + + - + - Get-AzureStorageServiceMetricsProperty + Get-AzureStorageFileContent - Get azure storage service metrics properties. + Download the specified azure storage file. - - + Get - AzureStorageServiceMetricsProperty - + AzureStorageFileContent - Get azure storage service metrics properties. + Download the specified azure storage file. - - Get-AzureStorageServiceMetricsProperty - - ServiceType + + + Get-AzureStorageFileContent + + ShareName - Azure storage service type. + The file share name - StorageServiceType + String - - MetricsType + + Path - Metrics type. + the path of the azure storage file to download + + String + + + Destination + + The destination to put the downloaded file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. - ServiceMetricsType + SwitchParameter - + Context - Azure storage context. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + - Int32 + Nullable`1[Int32] - - PipelineVariable + + WhatIf + + + + SwitchParameter + + + Confirm - String + SwitchParameter - - - - ServiceType - - Azure storage service type. - - StorageServiceType - - StorageServiceType + + Get-AzureStorageFileContent + + Share + + The file share object + + CloudFileShare + + + Path + + the path of the azure storage file to download + + String + + + Destination + + The destination to put the downloaded file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Get-AzureStorageFileContent + + Directory + + + + CloudFileDirectory + + + Path + + the path of the azure storage file to download + + String + + + Destination + + The destination to put the downloaded file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Get-AzureStorageFileContent + + File + + The file object + + CloudFile + + + Destination + + The destination to put the downloaded file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Get-AzureStorageFileContent + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Get-AzureStorageFileContent + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + + + ShareName + + The file share name + + String + + String + + + + + + Path + + the path of the azure storage file to download + + String + + String + + + + + + Destination + + The destination to put the downloaded file + + String + + String + + + + + + PassThru + + + + SwitchParameter + + SwitchParameter + + + + + + Force + + If this parameter is set, it will overwrite the local file when there is name conflict. + + SwitchParameter + + SwitchParameter + + + + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + WhatIf + + + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + + + SwitchParameter + + SwitchParameter + + + + + + Share + + The file share object + + CloudFileShare + + CloudFileShare + + + + + + Directory + + + + CloudFileDirectory + + CloudFileDirectory + + + + + + File + + The file object + + CloudFile + + CloudFile + + + + + + ClientRequestId + + + + string + + string + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureStorageFileContent -FileShareName sample -FilePath sampledir/samplefile + + This example downloads the file whose path is sampledir/samplefile in the sample file share. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureStorageFile -ShareName sample | ? IsFile | Get-AzureStorageFileContent + + This example downloads the files under sample file share + + + + + + + + + + + Get-AzureStorageFile + + + + Set-AzureStorageFileContent + + + + + + + + Get-AzureStorageQueue + + list azure storage queues + + + + + Get + AzureStorageQueue + + + + + list azure storage queues + + + + Get-AzureStorageQueue + + Name + + Queue name. If queue name is empty, this will list all the queues. Otherwise, this will list the queues whose name matched the name regular pattern. + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + + Get-AzureStorageQueue + + Prefix + + Queue name prefix + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + + + + Name + + Queue name. If queue name is empty, this will list all the queues. Otherwise, this will list the queues whose name matched the name regular pattern. + + String + + String + + + + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + Prefix + + Queue name prefix + + String + + String + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + int32 + + int32 + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + int32 + + int32 + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- List all azure storage queues -------------------------- + + + + PS C:\> Get-AzureStorageQueue + + + + + + + + + + + -------------------------- List azure storage queues using wildcard -------------------------- + + + + PS C:\> Get-AzureStorageQueue queue* + + + + + + + + + + + -------------------------- List azure storage queues using queue name prefix -------------------------- + + + + PS C:\> Get-AzureStorageQueue -Prefix queue + + + + + + + + + + + + + + + + + Get-AzureStorageServiceLoggingProperty + + Get azure storage service logging properties. + + + + + Get + AzureStorageServiceLoggingProperty + + + + + Get azure storage service logging properties. + + + + Get-AzureStorageServiceLoggingProperty + + ServiceType + + Azure storage service type. + + StorageServiceType + + + Context + + Azure storage context. + + AzureStorageContext + + + + + + ServiceType + + Azure storage service type. + + StorageServiceType + + StorageServiceType + + + + + + Context + + Azure storage context. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + int32 + + int32 + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + int32 + + int32 + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Get azure storage blob service logging properties. -------------------------- + + + + PS C:\> Get-AzureStorageServiceLoggingProperty -ServiceType Blob + + + + + + + + + + + + + + + + + Get-AzureStorageServiceMetricsProperty + + Get azure storage service metrics properties. + + + + + Get + AzureStorageServiceMetricsProperty + + + + + Get azure storage service metrics properties. + + + + Get-AzureStorageServiceMetricsProperty + + ServiceType + + Azure storage service type. + + StorageServiceType + + + MetricsType + + Metrics type. + + ServiceMetricsType + + + Context + + Azure storage context. + + AzureStorageContext + + + + + + ServiceType + + Azure storage service type. + + StorageServiceType + + StorageServiceType + + + + + + MetricsType + + Metrics type. + + ServiceMetricsType + + ServiceMetricsType + + + + + + Context + + Azure storage context. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + int32 + + int32 + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + int32 + + int32 + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Get hour metrics properties for azure storage blob service. -------------------------- + + + + PS C:\> Get-AzureStorageServiceMetricsProperty -ServiceType Blob -MetricsType Hour + + + + + + + + + + + + + + + + + Get-AzureStorageShare + + List azure storage file shares. + + + + + Get + AzureStorageShare + + + + + List azure storage file shares. + + + + Get-AzureStorageShare + + Prefix + + The file share name prefix. The Prefix parameter doesn't support regular expression. + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + Get-AzureStorageShare + + Name + + The file share name + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + Get-AzureStorageShare + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + + + Prefix + + The file share name prefix. The Prefix parameter doesn't support regular expression. + + String + + String + + + + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + Name + + The file share name + + String + + String + + + + + + ClientRequestId + + + + string + + string + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureStorageShare -Name sample + + This example gets a file share named sample. + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureStorageShare -Prefix sample + + This example lists all file shares whose names begin with the specified prefix. + + + + + + + + + + + New-AzureStorageShare + + + + Remove-AzureStorageShare + + + + + + + + Get-AzureStorageTable + + List azure storage tables + + + + + Get + AzureStorageTable + + + + + List azure storage tables + + + + Get-AzureStorageTable + + Name + + Table name. If table name is empty, this will list all the queues. Otherwise, this will list the tables whose name matched the name regular pattern. + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + + Get-AzureStorageTable + + Prefix + + Table name prefix + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + + + + Name + + Table name. If table name is empty, this will list all the queues. Otherwise, this will list the tables whose name matched the name regular pattern. + + String + + String + + + + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + Prefix + + Table name prefix + + String + + String + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + int32 + + int32 + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + int32 + + int32 + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- List all azure storage tables -------------------------- + + + + PS C:\> Get-AzureStorageTable + + + + + + + + + + + -------------------------- List azure storage tables using wildcard -------------------------- + + + + PS C:\> Get-AzureStorageTable table* + + + + + + + + + + + -------------------------- List azure storage tables using table name prefix -------------------------- + + + + PS C:\> Get-AzureStorageTable -Prefix table + + + + + + + + + + + + + + + + + New-AzureStorageBlobSASToken + + Generate Shared Access Signature token for azure storage blob. + + + + + New + AzureStorageBlobSASToken + + + + + Generate Shared Access Signature token for azure storage blob. + + + + New-AzureStorageBlobSASToken + + Container + + Azure storage container name. + + String + + + Blob + + Azure storage blob name. + + String + + + Permission + + Permissions for a storage blob. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full blob uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + New-AzureStorageBlobSASToken + + ICloudBlob + + ICloudBlob object + + ICloudBlob + + + Permission + + Permissions for a storage blob. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full blob uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + New-AzureStorageBlobSASToken + + ICloudBlob + + ICloudBlob object + + ICloudBlob + + + Policy + + Azure Stored Access Policy. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full blob uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + New-AzureStorageBlobSASToken + + Container + + Azure storage container name. + + String + + + Blob + + Azure storage blob name. + + String + + + Policy + + Azure Stored Access Policy. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full blob uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + + + Container + + Azure storage container name. + + String + + String + + + + + + Blob + + Azure storage blob name. + + String + + String + + + + + + Permission + + Permissions for a storage blob. + + String + + String + + + + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + FullUri + + Return the full blob uri with sas token. + + SwitchParameter + + SwitchParameter + + + + + + Context + + Azure storage context. + + AzureStorageContext + + AzureStorageContext + + + + + + ICloudBlob + + ICloudBlob object + + ICloudBlob + + ICloudBlob + + + + + + Policy + + Azure Stored Access Policy. + + String + + String + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Generate a blob sas token with full blob permission. -------------------------- + + + + PS C:\> New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd + + + + + + + + + + + -------------------------- Generate a blob sas token with life time. -------------------------- + + + + PS C:\> $startTime = Get-Date +$endTime = $startTime.AddHours(2.0) +New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -StartTime $startTime -ExpiryTime $endTime + + + + + + + + + + + + + http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx + + + + + + + + New-AzureStorageContainer + + Create an azure storage container. + + + + + New + AzureStorageContainer + + + + + Create an azure storage container. + + + + New-AzureStorageContainer + + Name + + Container name. + + String + + + Permission + + Container public access permission (Off/Blob/Container). + + Nullable`1[BlobContainerPublicAccessType] + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + + + + Name + + Container name. + + String + + String - - MetricsType + + Permission - Metrics type. + Container public access permission (Off/Blob/Container). - ServiceMetricsType + Nullable`1[BlobContainerPublicAccessType] + + Nullable`1[BlobContainerPublicAccessType] + + + Off + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Create a new azure storage container -------------------------- + + + + PS C:\> New-AzureStorageContainer containername -Permission Off + + + + + + + + + + + -------------------------- Create multiple azure storage containers. -------------------------- + + + + PS C:\> "container1 container2 container3".split() | New-AzureStorageContainer -Permission Container + + + + + + + + + + + + + Get-AzureStorageContainer + + + + Remove-AzureStorageContainer + + + + Set-AzureStorageContainerAcl + + + + + + + + New-AzureStorageContainerSASToken + + Generate Shared Access Signature token for azure storage container. + + + + + New + AzureStorageContainerSASToken + + + + + Generate Shared Access Signature token for azure storage container. + + + + New-AzureStorageContainerSASToken + + Name + + Azure storage container name. + + String + + + Policy + + Azure Stored Access Policy. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full container uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + New-AzureStorageContainerSASToken + + Name + + Azure storage container name. + + String + + + Permission + + Permissions for a storage container. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full container uri with sas token. + + SwitchParameter + + + Context + + Azure storage context. + + AzureStorageContext + + + + + + Name + + Azure storage container name. + + String + + String + + + + + + Policy + + Azure Stored Access Policy. + + String + + String + + + + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + FullUri + + Return the full container uri with sas token. + + SwitchParameter - ServiceMetricsType + SwitchParameter @@ -2197,25 +4544,13 @@ C:\PS> - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest + Permission - Client side time out for each request. + Permissions for a storage container. - Int32 + String - Int32 + String @@ -2225,9 +4560,9 @@ C:\PS> - String + string - String + string @@ -2249,18 +4584,16 @@ C:\PS> - + - - - - - - + + + + @@ -2269,133 +4602,282 @@ C:\PS> - --------------- Get hour metrics properties for azure storage blob service. -------------- + -------------------------- Generate a container sas token with full container permission. -------------------------- + + + + PS C:\> New-AzureStorageContainerSASToken -Name test -Permission rwdl + + + + + + + + + + + -------------------------- Generate multiple container sas token by pipeline -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageServiceMetricsProperty -ServiceType Blob -MetricsType Hour - + + PS C:\> Get-AzureStorageContainer -Container test* | New-AzureStorageContainerSASToken -Permission rwdl + + + + + + + + + + -------------------------- Generate container sas token with shared access policy -------------------------- + - - + + PS C:\> New-AzureStorageContainerSASToken -Name test -Policy policyName + - + - - + + + http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx + + - + - Get-AzureStorageTable + New-AzureStorageContext - List azure storage tables + Create an azure storage context using azure storage credentials. - - + - Get - AzureStorageTable - + New + AzureStorageContext - List azure storage tables + Create an azure storage context using azure storage credentials. - - Get-AzureStorageTable - - Name + + + New-AzureStorageContext + + StorageAccountName - Table name. If table name is empty, this will list all the queues. Otherwise, this will list the tables whose name matched the name regular pattern. + Azure storage account name - String + String - - Context + + StorageAccountKey - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Azure storage account key. - AzureStorageContext + String - - ServerTimeoutPerRequest + + Protocol - Server side time out for each request. + Transfer Protocol (https/http). - Int32 + String - - ClientTimeoutPerRequest + + Endpoint - Client side time out for each request. + Azure Storage Endpoint. + + String + + + + New-AzureStorageContext + + StorageAccountName + + Azure storage account name + + String + + + Anonymous + + Anonymous storage account. + + SwitchParameter + + + Protocol + + Transfer Protocol (https/http). + + String + + + Endpoint + + Azure Storage Endpoint. + + String + + + + New-AzureStorageContext + + StorageAccountName + + Azure storage account name - Int32 + String - - PipelineVariable + + SasToken - String + String + + + Environment + + Azure Environment + + String - Get-AzureStorageTable - - Prefix + New-AzureStorageContext + + StorageAccountName - Table name prefix + Azure storage account name - String + String - - Context + + Anonymous - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Anonymous storage account. - AzureStorageContext + SwitchParameter - - ServerTimeoutPerRequest + + Protocol - Server side time out for each request. + Transfer Protocol (https/http). - Int32 + String - - ClientTimeoutPerRequest + + Environment - Client side time out for each request. + Azure Environment + + String + + + + New-AzureStorageContext + + StorageAccountName + + Azure storage account name + + String + + + StorageAccountKey + + Azure storage account key. + + String + + + Protocol + + Transfer Protocol (https/http). + + String + + + Environment + + Azure Environment + + String + + + + New-AzureStorageContext + + StorageAccountName + + Azure storage account name - Int32 + String - - PipelineVariable + + SasToken - String + String + + + Protocol + + Transfer Protocol (https/http). + + String + + + Endpoint + + Azure Storage Endpoint. + + String + + + + New-AzureStorageContext + + ConnectionString + + Azure storage connection string. + + String + + + + New-AzureStorageContext + + Local + + Local development storage account. + + SwitchParameter - - Name + + StorageAccountName - Table name. If table name is empty, this will list all the queues. Otherwise, this will list the tables whose name matched the name regular pattern. + Azure storage account name String @@ -2404,62 +4886,110 @@ C:\PS> - - Context + + StorageAccountKey - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Azure storage account key. - AzureStorageContext + String - AzureStorageContext + String - ServerTimeoutPerRequest + Protocol - Server side time out for each request. + Transfer Protocol (https/http). - Int32 + String - Int32 + String - + Https - ClientTimeoutPerRequest + Endpoint - Client side time out for each request. + Azure Storage Endpoint. + + String + + String + + + + + + Anonymous + + Anonymous storage account. + + SwitchParameter + + SwitchParameter + + + + + + SasToken + + + + String + + String + + + + + + Environment + + Azure Environment + + String + + String + + + + + + ConnectionString + + Azure storage connection string. - Int32 + String - Int32 + String - - PipelineVariable + + Local - + Local development storage account. - String + SwitchParameter - String + SwitchParameter - - Prefix + + PipelineVariable - Table name prefix + - String + string - String + string @@ -2480,19 +5010,17 @@ C:\PS> - - + AzureStorageContext + - - - - - - + + + + @@ -2501,68 +5029,157 @@ C:\PS> - --------------- List all azure storage tables -------------- + -------------------------- Use storage account name and key -------------------------- + + + + PS C:\> New-AzureStorageContext -StorageAccountName name -StorageAccountKey key + + + + + + + + + + + -------------------------- Use connection string -------------------------- + + + + PS C:\> New-AzureStorageContext -ConnnectionString connectionstring + + + + + + + + + + + -------------------------- Use anonymous storage accont. -------------------------- + + + + PS C:\> New-AzureStorageContext -StorageAccountName account -Anonymous -Protocol http + + + + + + + + + + + -------------------------- Use local development storage account -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageTable - + + PS C:\> New-AzureStorageContext -Local + + + + + + + + + + -------------------------- Use NewAzureSotrageContext cmdlet with other storage cmdlet. -------------------------- + - - + + PS C:\> New-AzureStorageContext -Local | Get-AzureStorageContainer + - + - - + - --------------- List azure storage tables using wildcard -------------- + -------------------------- Use multiple storage context. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageTable table* - + + PS C:\> $context1 = New-AzureStorageContext -Local + $context2 = new-azurestoragecontext -StorageAccountName accountname -StorageAccountKey accountkey + + ($context1, $context2) | Get-AzureStorageContainer + + + + + + + + + + -------------------------- Create azure storage context with specified storage end point -------------------------- + - - + + PS C:\> New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Endpoint core.windows.net + - + - - + - --------------- List azure storage tables using table name prefix -------------- + -------------------------- Create azure storage context with specified storage end point -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageTable -Prefix table - + + PS C:\> New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Endpoint core.chinacloudapi.cn + + + + + + + + + + + -------------------------- Create azure storage context with specified azure environment -------------------------- + + + PS C:\> New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Environment AzureChinaCloud + - - + + + + + + + + + -------------------------- Create storage context with sas token and use it with other storage cmdlet. -------------------------- + - + + PS C:\> $sasToken = New-AzureStorageContainerSASToken -Container abc -Permission rl +$context = New-AzureStorageContext -StorageAccountName account -SasToken $sasToken +$context | Get-AzureStorageBlob -Container abc + + Create an sas token with container read and list permission and then list all the blobs in the specified container. + - - + @@ -2571,249 +5188,227 @@ C:\PS> - + - New-AzureStorageBlobSASToken + New-AzureStorageDirectory - Generate Shared Access Signature token for azure storage blob. + Create an azure storage directory. - - + New - AzureStorageBlobSASToken - + AzureStorageDirectory - Generate Shared Access Signature token for azure storage blob. + Create an azure storage directory. - - New-AzureStorageBlobSASToken - - Container - - Azure storage container name. - - String - - - Blob - - Azure storage blob name. - - String - - - Permission + + + New-AzureStorageDirectory + + ShareName - Permissions for a storage blob. + The file share name - String + String - - StartTime + + Path - The time at which the shared access signature becomes valid. + The path of the file directory to be created - DateTime + String - - ExpiryTime + + Context - The time at which the shared access signature becomes invalid. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - DateTime + AzureStorageContext - - FullUri + + ServerTimeoutPerRequest - Return the full blob uri with sas token. + Server side timeout value for the request. + Nullable`1[Int32] - - Context + + ClientTimeoutPerRequest - Azure storage context. + Client side timeout value for the request. - AzureStorageContext + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - New-AzureStorageBlobSASToken - - ICloudBlob - - ICloudBlob object - - ICloudBlob - - - Policy - - Azure Stored Access Policy. - - String - - - StartTime + New-AzureStorageDirectory + + Share - The time at which the shared access signature becomes valid. + The file share object - DateTime + CloudFileShare - - ExpiryTime + + Path - The time at which the shared access signature becomes invalid. + The path of the file directory to be created - DateTime + String - - FullUri + + ServerTimeoutPerRequest - Return the full blob uri with sas token. + Server side timeout value for the request. + Nullable`1[Int32] - - Context + + ClientTimeoutPerRequest - Azure storage context. + Client side timeout value for the request. - AzureStorageContext + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - New-AzureStorageBlobSASToken - - ICloudBlob + New-AzureStorageDirectory + + Directory - ICloudBlob object + the parent directory object - ICloudBlob + CloudFileDirectory - - Permission + + Path - Permissions for a storage blob. + The path of the file directory to be created - String + String - - StartTime + + ServerTimeoutPerRequest - The time at which the shared access signature becomes valid. + Server side timeout value for the request. - DateTime + Nullable`1[Int32] - - ExpiryTime + + ClientTimeoutPerRequest - The time at which the shared access signature becomes invalid. + Client side timeout value for the request. - DateTime + Nullable`1[Int32] - - FullUri + + ConcurrentTaskCount - Return the full blob uri with sas token. + + Nullable`1[Int32] - - Context + + + New-AzureStorageDirectory + + Path - Azure storage context. + The path of the file directory to be created - AzureStorageContext + String - - PipelineVariable + + Context - + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - - - New-AzureStorageBlobSASToken - - Container + + ServerTimeoutPerRequest - Azure storage container name. + Server side timeout value for the request. - String + Nullable`1[Int32] - - Blob + + ClientTimeoutPerRequest - Azure storage blob name. + Client side timeout value for the request. - String + Nullable`1[Int32] - - Policy + + ConcurrentTaskCount - Azure Stored Access Policy. + - String + Nullable`1[Int32] - - StartTime + + + New-AzureStorageDirectory + + Path - The time at which the shared access signature becomes valid. + The path of the file directory to be created - DateTime + String - - ExpiryTime + + Context - The time at which the shared access signature becomes invalid. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - DateTime + AzureStorageContext - - FullUri + + ServerTimeoutPerRequest - Return the full blob uri with sas token. + Server side timeout value for the request. + Nullable`1[Int32] - - Context + + ClientTimeoutPerRequest - Azure storage context. + Client side timeout value for the request. - AzureStorageContext + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - - Container + + ShareName - Azure storage container name. + The file share name String @@ -2822,10 +5417,10 @@ C:\PS> - - Blob + + Path - Azure storage blob name. + The path of the file directory to be created String @@ -2834,97 +5429,98 @@ C:\PS> - - Permission + + Context - Permissions for a storage blob. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - String + AzureStorageContext - - StartTime + + ServerTimeoutPerRequest - The time at which the shared access signature becomes valid. + Server side timeout value for the request. - DateTime + Nullable`1[Int32] - DateTime + Nullable`1[Int32] - - ExpiryTime + + ClientTimeoutPerRequest - The time at which the shared access signature becomes invalid. + Client side timeout value for the request. - DateTime + Nullable`1[Int32] - DateTime + Nullable`1[Int32] - - FullUri + + ConcurrentTaskCount - Return the full blob uri with sas token. + + Nullable`1[Int32] - SwitchParameter + Nullable`1[Int32] - - Context + + Share - Azure storage context. + The file share object - AzureStorageContext + CloudFileShare - AzureStorageContext + CloudFileShare - - PipelineVariable + + Directory - + the parent directory object - String + CloudFileDirectory - String + CloudFileDirectory - - ICloudBlob + + ClientRequestId - ICloudBlob object + - ICloudBlob + string - ICloudBlob + string - Policy + PipelineVariable - Azure Stored Access Policy. + - String + string - String + string @@ -2946,18 +5542,16 @@ C:\PS> - + - - - - - - + + + + @@ -2966,130 +5560,89 @@ C:\PS> - --------------- Generate a blob sas token with full blob permission. -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd - - - - - - - + + PS C:\> Get-AzureStorageShare -Name sample | New-AzureStorageDirectory -Path sampledir + + This example creates a file directory named sampledir under the sample file share. + - - + - --------------- Generate a blob sas token with life time. -------------- + -------------------------- Example 2 -------------------------- - C:\PS> -C:\PS> - $startTime = Get-Date -$endTime = $startTime.AddHours(2.0) -New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -StartTime $startTime -ExpiryTime $endTime - - - - - - - + + PS C:\> New-AzureStorageFileDirectory -ShareName sample -Path sampledir + + This example creates a file directory named sampledir under the sample file share. + - - + - http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx - + Get-AzureStorageFile + + + + Remove-AzureStorageDirectory + - + - New-AzureStorageContainer + New-AzureStorageQueue - Create an azure storage container. + Create an azure storage queue - - + New - AzureStorageContainer - + AzureStorageQueue - Create an azure storage container. + Create an azure storage queue - - New-AzureStorageContainer - + + + New-AzureStorageQueue + Name - Container name. - - String - - - Permission - - Container public access permission (Off/Blob/Container). + Queue name - BlobContainerPublicAccessType + String - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String + AzureStorageContext - + Name - Container name. + Queue name String @@ -3098,18 +5651,6 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start - - Permission - - Container public access permission (Off/Blob/Container). - - BlobContainerPublicAccessType - - BlobContainerPublicAccessType - - - Off - Context @@ -3127,9 +5668,9 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start Server side time out for each request. - Int32 + int32 - Int32 + int32 @@ -3139,9 +5680,9 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start Client side time out for each request. - Int32 + int32 - Int32 + int32 @@ -3151,9 +5692,9 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start - String + string - String + string @@ -3175,18 +5716,16 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start - + - - - - - - + + + + @@ -3195,193 +5734,154 @@ New-AzureStorageBlobSASToken -Container cname -Blob bname -Permission rwd -Start - --------------- Create a new azure storage container -------------- + -------------------------- Create an azure storage queue -------------------------- - C:\PS> -C:\PS> - New-AzureStorageContainer containername -Permission Off - - - - - + + PS C:\> New-AzureStorageQueue queueabc + - + - - + - --------------- Create multiple azure storage containers. -------------- + -------------------------- Create multiple azure storage queues -------------------------- - C:\PS> -C:\PS> - "container1 container2 container3".split() | New-AzureStorageContainer -Permission Container - + + PS C:\> "queue1 queue2 queue3".split() | New-AzureStorageQueue + - - - - - + - - + - - Get-AzureStorageContainer - - - - Remove-AzureStorageContainer - - - - Set-AzureStorageContainerAcl - - - + - New-AzureStorageContainerSASToken + New-AzureStorageQueueSASToken - Generate Shared Access Signature token for azure storage container. + Generate Shared Access Signature token for azure storage queue. - - + New - AzureStorageContainerSASToken - + AzureStorageQueueSASToken - Generate Shared Access Signature token for azure storage container. + Generate Shared Access Signature token for azure storage queue. - - New-AzureStorageContainerSASToken - + + + New-AzureStorageQueueSASToken + Name - Azure storage container name. + Azure storage queue name. - String + String - + Policy Azure Stored Access Policy. - String + String - + StartTime The time at which the shared access signature becomes valid. - DateTime + Nullable`1[DateTime] - + ExpiryTime The time at which the shared access signature becomes invalid. - DateTime + Nullable`1[DateTime] - + FullUri - Return the full container uri with sas token. + Return the full queue uri with sas token + SwitchParameter - + Context Azure storage context. - AzureStorageContext - - - PipelineVariable - - - - String + AzureStorageContext - New-AzureStorageContainerSASToken - + New-AzureStorageQueueSASToken + Name - Azure storage container name. + Azure storage queue name. - String + String - + Permission - Permissions for a storage container. + Permissions for a storage queue. - String + String - + StartTime The time at which the shared access signature becomes valid. - DateTime + Nullable`1[DateTime] - + ExpiryTime The time at which the shared access signature becomes invalid. - DateTime + Nullable`1[DateTime] - + FullUri - Return the full container uri with sas token. + Return the full queue uri with sas token + SwitchParameter - + Context Azure storage context. - AzureStorageContext - - - PipelineVariable - - - - String + AzureStorageContext - + Name - Azure storage container name. + Azure storage queue name. String @@ -3402,26 +5902,26 @@ C:\PS> - + StartTime The time at which the shared access signature becomes valid. - DateTime + Nullable`1[DateTime] - DateTime + Nullable`1[DateTime] - + ExpiryTime The time at which the shared access signature becomes invalid. - DateTime + Nullable`1[DateTime] - DateTime + Nullable`1[DateTime] @@ -3429,8 +5929,9 @@ C:\PS> FullUri - Return the full container uri with sas token. + Return the full queue uri with sas token + SwitchParameter SwitchParameter @@ -3450,9 +5951,9 @@ C:\PS> - PipelineVariable + Permission - + Permissions for a storage queue. String @@ -3462,405 +5963,228 @@ C:\PS> - Permission + PipelineVariable - Permissions for a storage container. + - String - - String - - - - - - - + string - + string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------- Generate a container sas token with full container permission. -------------- - - C:\PS> -C:\PS> - New-AzureStorageContainerSASToken -Name test -Permission rwdl - - - - - - - - - - - - - - - - - --------------- Generate multiple container sas token by pipeline -------------- - - C:\PS> -C:\PS> - Get-AzureStorageContainer -Container test* | New-AzureStorageContainerSASToken -Permission rwdl - - - - - - - - - - - - - - - - - --------------- Generate container sas token with shared access policy -------------- - - C:\PS> -C:\PS> - New-AzureStorageContainerSASToken -Name test -Policy policyName - - - - - - - - - - - - - - - - - - - http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx - - - - - - - - New-AzureStorageContext - - Create an azure storage context using azure storage credentials. - - - - - - New - AzureStorageContext - - - - - - Create an azure storage context using azure storage credentials. - - - New-AzureStorageContext - - StorageAccountName - - Azure storage account name - - String - - - StorageAccountKey - - Azure storage account key. - - String - - - Protocol - - Transfer Protocol (https/http). - - String - - - Endpoint - - Azure Storage Endpoint. - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageContext - - StorageAccountName - - Azure storage account name - - String - - - Anonymous - - Anonymous storage account. - - - - Protocol - - Transfer Protocol (https/http). - - String - - - Endpoint - - Azure Storage Endpoint. - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageContext - - StorageAccountName - - Azure storage account name - - String - - - SasToken + + + + + + + + - String - - - Protocol - - Transfer Protocol (https/http). - - String - - - Endpoint - - Azure Storage Endpoint. - - String - - - PipelineVariable + + + + + + + + + - String - - + + + + + + + + + + + + + + + -------------------------- Generate a queue sas token with full permission -------------------------- + + + + PS C:\> New-AzureStorageQueueSASToken -Name test -Permission raup + + + + + + + + + + + -------------------------- Generate a queue sas token with shared access policy -------------------------- + + + + PS C:\> New-AzureStorageQueueSASToken -Name test -Policy policyName + + + + + + + + + + + + + http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx + + + + + + + + New-AzureStorageShare + + Create a new Azure storage file share. + + + + + New + AzureStorageShare + + + + + Create a new Azure storage file share. + + - New-AzureStorageContext - - StorageAccountName + New-AzureStorageShare + + Name - Azure storage account name + The file share name - String + String - - Anonymous + + Context - Anonymous storage account. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + AzureStorageContext - - Protocol + + ServerTimeoutPerRequest - Transfer Protocol (https/http). + Server side timeout value for the request. - String + Nullable`1[Int32] - - Environment + + ClientTimeoutPerRequest - Azure Environment + Client side timeout value for the request. - String + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - New-AzureStorageContext - - StorageAccountName + New-AzureStorageShare + + Name - Azure storage account name + The file share name - String + String - - StorageAccountKey + + Context - Azure storage account key. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - - Protocol + + ServerTimeoutPerRequest - Transfer Protocol (https/http). + Server side timeout value for the request. - String + Nullable`1[Int32] - - Environment + + ClientTimeoutPerRequest - Azure Environment + Client side timeout value for the request. - String + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - New-AzureStorageContext - - StorageAccountName - - Azure storage account name - - String - - - SasToken - - - - String - - - Environment - - Azure Environment - - String - - - PipelineVariable + New-AzureStorageShare + + Name - + The file share name - String + String - - - New-AzureStorageContext - - ConnectionString + + Context - Azure storage connection string. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - - PipelineVariable + + ServerTimeoutPerRequest - + Server side timeout value for the request. - String + Nullable`1[Int32] - - - New-AzureStorageContext - - Local + + ClientTimeoutPerRequest - Local development storage account. + Client side timeout value for the request. + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - - StorageAccountName + + Name - Azure storage account name + The file share name String @@ -3869,38 +6193,62 @@ C:\PS> - - StorageAccountKey + + Context - Azure storage account key. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - String + AzureStorageContext - - Protocol + + ServerTimeoutPerRequest - Transfer Protocol (https/http). + Server side timeout value for the request. - String + Nullable`1[Int32] - String + Nullable`1[Int32] - Https + + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + - Endpoint + ClientRequestId - Azure Storage Endpoint. + - String + string - String + string @@ -3908,7 +6256,126 @@ C:\PS> PipelineVariable - + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureStorageShare -Name sample + + This example creates a file share named sample. + + + + + + + + + + + Unkown + + + + Remove-AzureStorageShare + + + + Unkown + + + + Get-AzureStorageShare + + + + + + + + New-AzureStorageTable + + Create an azure storage table + + + + + New + AzureStorageTable + + + + + Create an azure storage table + + + + New-AzureStorageTable + + Name + + Table name + + String + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + + + + Name + + Table name String @@ -3917,60 +6384,50 @@ C:\PS> - - Anonymous - - Anonymous storage account. - - - SwitchParameter - - - - - - SasToken + + Context - + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - String + AzureStorageContext - - Environment + + ServerTimeoutPerRequest - Azure Environment + Server side time out for each request. - String + int32 - String + int32 - - ConnectionString + + ClientTimeoutPerRequest - Azure storage connection string. + Client side time out for each request. - String + int32 - String + int32 - - Local + + PipelineVariable - Local development storage account. + + string - SwitchParameter + string @@ -3991,19 +6448,17 @@ C:\PS> - AzureStorageContext - + + - - - - - - + + + + @@ -4012,227 +6467,32 @@ C:\PS> - --------------- Use storage account name and key -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -StorageAccountName name -StorageAccountKey key - - - - - - - - - - - - - - - - - --------------- Use connection string -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -ConnnectionString connectionstring - - - - - - - - - - - - - - - - - --------------- Use anonymous storage accont. -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -StorageAccountName account -Anonymous -Protocol http - - - - - - - - - - - - - - - - - --------------- Use local development storage account -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -Local - - - - - - - - - - - - - - - - - --------------- Use NewAzureSotrageContext cmdlet with other storage cmdlet. -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -Local | Get-AzureStorageContainer - - - - - - - - - - - - - - - - - --------------- Use multiple storage context. -------------- - - C:\PS> -C:\PS> - $context1 = New-AzureStorageContext -Local - $context2 = new-azurestoragecontext -StorageAccountName accountname -StorageAccountKey accountkey - - ($context1, $context2) | Get-AzureStorageContainer - - - - - - - - - - - - - - - - - --------------- Create azure storage context with specified storage end point -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Endpoint core.windows.net - - - - - - - - - - - - - - - - - --------------- Create azure storage context with specified storage end point -------------- - - C:\PS> -C:\PS> - New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Endpoint core.chinacloudapi.cn - - - - - - - - - - - - - - - - - --------------- Create azure storage context with specified azure environment -------------- + -------------------------- Create an azure storage table -------------------------- - C:\PS> -C:\PS> - New-AzureStorageContext -StorageAccountName name -StorageAccountKey key -Environment AzureChinaCloud - - + + PS C:\> New-AzureStorageTable tableabc + - - - - + - - + - --------------- Create storage context with sas token and use it with other storage cmdlet. -------------- + -------------------------- Create multiple azure storage tables -------------------------- - C:\PS> -C:\PS> - $sasToken = New-AzureStorageContainerSASToken -Container abc -Permission rl -$context = New-AzureStorageContext -StorageAccountName account -SasToken $sasToken -$context | Get-AzureStorageBlob -Container abc - - Create an sas token with container read and list permission and then list all the blobs in the specified container. + + PS C:\> "table1 table2 table3".split() | New-AzureStorageTable + - - - - + - - + @@ -4241,69 +6501,176 @@ $context | Get-AzureStorageBlob -Container abc - + - New-AzureStorageQueue + New-AzureStorageTableSASToken - Create an azure storage queue + Generate Shared Access Signature token for azure storage table. - - + New - AzureStorageQueue - + AzureStorageTableSASToken - Create an azure storage queue + Generate Shared Access Signature token for azure storage table. - - New-AzureStorageQueue - + + + New-AzureStorageTableSASToken + Name - Queue name + Azure storage table name. + + String + + + Policy + + Azure Stored Access Policy. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full queue uri with sas token + + SwitchParameter + + + StartPartitionKey + + Start partition key. + + String + + + StartRowKey + + Start row key. - String + String - + + EndPartitionKey + + End partition key. + + String + + + EndRowKey + + End row key. + + String + + Context - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Azure storage context + + AzureStorageContext + + + + New-AzureStorageTableSASToken + + Name + + Azure storage table name. + + String + + + Permission + + Permissions for a storage table. + + String + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + + FullUri + + Return the full queue uri with sas token + + SwitchParameter + + + StartPartitionKey + + Start partition key. + + String + + + StartRowKey + + Start row key. - AzureStorageContext + String - - ServerTimeoutPerRequest + + EndPartitionKey - Server side time out for each request. + End partition key. - Int32 + String - - ClientTimeoutPerRequest + + EndRowKey - Client side time out for each request. + End row key. - Int32 + String - - PipelineVariable + + Context - + Azure storage context - String + AzureStorageContext - + Name - Queue name + Azure storage table name. String @@ -4312,46 +6679,118 @@ $context | Get-AzureStorageBlob -Container abc - - Context + + Policy - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Azure Stored Access Policy. - AzureStorageContext + String - AzureStorageContext + String + + + + + + StartTime + + The time at which the shared access signature becomes valid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + ExpiryTime + + The time at which the shared access signature becomes invalid. + + Nullable`1[DateTime] + + Nullable`1[DateTime] - ServerTimeoutPerRequest + FullUri - Server side time out for each request. + Return the full queue uri with sas token - Int32 + SwitchParameter - Int32 + SwitchParameter - ClientTimeoutPerRequest + StartPartitionKey - Client side time out for each request. + Start partition key. - Int32 + String - Int32 + String - PipelineVariable + StartRowKey - + Start row key. + + String + + String + + + + + + EndPartitionKey + + End partition key. + + String + + String + + + + + + EndRowKey + + End row key. + + String + + String + + + + + + Context + + Azure storage context + + AzureStorageContext + + AzureStorageContext + + + + + + Permission + + Permissions for a storage table. String @@ -4360,6 +6799,18 @@ $context | Get-AzureStorageBlob -Container abc + + PipelineVariable + + + + string + + string + + + + @@ -4377,18 +6828,16 @@ $context | Get-AzureStorageBlob -Container abc - + - - - - - - + + + + @@ -4397,181 +6846,316 @@ $context | Get-AzureStorageBlob -Container abc - --------------- Create an azure storage queue -------------- + -------------------------- Generate a table sas token with full permission -------------------------- - C:\PS> -C:\PS> - New-AzureStorageQueue queueabc - - + + PS C:\> New-AzureStorageTableSASToken -Name test -Permission raud + - - - - + - - + - --------------- Create multiple azure storage queues -------------- + -------------------------- Generate a table sas token with partition key and row key. -------------------------- - C:\PS> -C:\PS> - "queue1 queue2 queue3".split() | New-AzureStorageQueue - + + PS C:\> New-AzureStorageTableSASToken -Name test -Permission raud -StartPartitionKey a -EndPartitionKey b + + + + + + + + + + -------------------------- Generate a table sas token with shared access policy -------------------------- + - - + + PS C:\> New-AzureStorageTableSASToken -Name test -Policy policyName + - + - - + + + http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx + + - + - New-AzureStorageQueueSASToken + Remove-AzureStorageBlob - Generate Shared Access Signature token for azure storage queue. + Remove the specified azure storage blob. - - + - New - AzureStorageQueueSASToken - + Remove + AzureStorageBlob - Generate Shared Access Signature token for azure storage queue. + Remove the specified azure storage blob. - - New-AzureStorageQueueSASToken - - Name + + + Remove-AzureStorageBlob + + Blob - Azure storage queue name. + Blob name. - String + String - - Policy + + Container - Azure Stored Access Policy. + Container name. - String + String - - StartTime + + DeleteSnapshot - The time at which the shared access signature becomes valid. + Only delete blob snapshots. - DateTime + SwitchParameter - - ExpiryTime + + Force - The time at which the shared access signature becomes invalid. + Force to remove the blob and its snapshot without confirmation. + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Remove-AzureStorageBlob + + ICloudBlob + + ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + + ICloudBlob + + + DeleteSnapshot + + Only delete blob snapshots. + + SwitchParameter + + + Force + + Force to remove the blob and its snapshot without confirmation. + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Remove-AzureStorageBlob + + CloudBlobContainer + + CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - DateTime + CloudBlobContainer - - FullUri + + Blob - Return the full queue uri with sas token + Blob name. + String - - Context + + DeleteSnapshot - Azure storage context. + Only delete blob snapshots. - AzureStorageContext + SwitchParameter - - PipelineVariable + + Force - + Force to remove the blob and its snapshot without confirmation. - String + SwitchParameter - - - New-AzureStorageQueueSASToken - - Name + + PassThru - Azure storage queue name. + - String + SwitchParameter - - Permission + + Context - Permissions for a storage queue. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - - StartTime + + ServerTimeoutPerRequest - The time at which the shared access signature becomes valid. + Server side time out for each request. - DateTime + Nullable`1[Int32] - - ExpiryTime + + ClientTimeoutPerRequest - The time at which the shared access signature becomes invalid. + Client side time out for each request. - DateTime + Nullable`1[Int32] - - FullUri + + ConcurrentTaskCount - Return the full queue uri with sas token + + Nullable`1[Int32] - - Context + + WhatIf - Azure storage context. + - AzureStorageContext + SwitchParameter - - PipelineVariable + + Confirm - String + SwitchParameter - - Name + + Blob - Azure storage queue name. + Blob name. String @@ -4580,10 +7164,10 @@ C:\PS> - - Policy + + Container - Azure Stored Access Policy. + Container name. String @@ -4593,34 +7177,35 @@ C:\PS> - StartTime + DeleteSnapshot - The time at which the shared access signature becomes valid. + Only delete blob snapshots. - DateTime + SwitchParameter - DateTime + SwitchParameter - ExpiryTime + Force - The time at which the shared access signature becomes invalid. + Force to remove the blob and its snapshot without confirmation. - DateTime + SwitchParameter - DateTime + SwitchParameter - FullUri + PassThru - Return the full queue uri with sas token + + SwitchParameter SwitchParameter @@ -4630,7 +7215,7 @@ C:\PS> Context - Azure storage context. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. AzureStorageContext @@ -4639,26 +7224,98 @@ C:\PS> + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + - PipelineVariable + WhatIf - String + SwitchParameter - String + SwitchParameter - Permission + Confirm - Permissions for a storage queue. + - String + SwitchParameter - String + SwitchParameter + + + + + + ICloudBlob + + ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + + ICloudBlob + + ICloudBlob + + + + + + CloudBlobContainer + + CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. + + CloudBlobContainer + + CloudBlobContainer + + + + + + PipelineVariable + + + + string + + string @@ -4680,18 +7337,16 @@ C:\PS> - + - - - - - - + + + + @@ -4700,121 +7355,157 @@ C:\PS> - --------------- Generate a queue sas token with full permission -------------- + -------------------------- Remove azure storage blob by name -------------------------- - C:\PS> -C:\PS> - New-AzureStorageQueueSASToken -Name test -Permission raup - - - - - + + PS C:\> Remove-AzureStorageBlob -Container containername -Blob blobname + - + - - + - --------------- Generate a queue sas token with shared access policy -------------- + -------------------------- Remove azure storage blob using pipeline from GetAzureStorageBlob -------------------------- - C:\PS> -C:\PS> - New-AzureStorageQueueSASToken -Name test -Policy policyName - + + PS C:\> Get-AzureStorageBlob -Container containername -Blob blobname | Remove-AzureStorageBlob + + + + + + + + + + -------------------------- Remove azure storage blob using pipeline from GetAzureStorageContainer -------------------------- + - - + + PS C:\> Get-AzureStorageContainer container* | Remove-AzureStorageBlob blobname + - + - - + - http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx - + Get-AzureStorageBlob + + + + Get-AzureStorageBlobContent + + + + Set-AzureStorageBlobContent + - + - New-AzureStorageTable + Remove-AzureStorageContainer - Create an azure storage table + Remove the specified azure storage container. - - + - New - AzureStorageTable - + Remove + AzureStorageContainer - Create an azure storage table + Remove the specified azure storage container. - - New-AzureStorageTable - + + + Remove-AzureStorageContainer + Name - Table name + + + String + + + Force + + + + SwitchParameter + + + PassThru + + - String + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter - - PipelineVariable + + Confirm - String + SwitchParameter - + Name - Table name + String @@ -4823,6 +7514,30 @@ C:\PS> + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + + + SwitchParameter + + SwitchParameter + + + + Context @@ -4835,26 +7550,62 @@ C:\PS> - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + WhatIf + + + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + + + SwitchParameter - Int32 + SwitchParameter @@ -4864,9 +7615,9 @@ C:\PS> - String + string - String + string @@ -4888,18 +7639,16 @@ C:\PS> - + - - - - - - + + + + @@ -4907,238 +7656,323 @@ C:\PS> - - --------------- Create an azure storage table -------------- - - C:\PS> -C:\PS> - New-AzureStorageTable tableabc - - - - - - - - - - - - - - - - - --------------- Create multiple azure storage tables -------------- - - C:\PS> -C:\PS> - "table1 table2 table3".split() | New-AzureStorageTable - - - - - - - - - - - - - - - - + - New-AzureStorageTableSASToken + Remove-AzureStorageDirectory - Generate Shared Access Signature token for azure storage table. + Remove an azure storage file directory. - - + - New - AzureStorageTableSASToken - + Remove + AzureStorageDirectory - Generate Shared Access Signature token for azure storage table. + Remove an azure storage file directory. - - New-AzureStorageTableSASToken - - Name + + + Remove-AzureStorageDirectory + + ShareName - Azure storage table name. + The file share name - String + String - - Policy + + Path - Azure Stored Access Policy. + The path of the file directory to be removed - String + String - - StartTime + + PassThru - The time at which the shared access signature becomes valid. + - DateTime + SwitchParameter - - ExpiryTime + + Context - The time at which the shared access signature becomes invalid. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - DateTime + AzureStorageContext - - FullUri + + ServerTimeoutPerRequest - Return the full queue uri with sas token + Server side timeout value for the request + Nullable`1[Int32] - - StartPartitionKey + + ClientTimeoutPerRequest - Start partition key. + Client side timeout value for the request - String + Nullable`1[Int32] - - StartRowKey + + ConcurrentTaskCount - Start row key. + - String + Nullable`1[Int32] - - EndPartitionKey + + WhatIf - End partition key. + Shows what would happen if the cmdlet runs. The cmdlet is not run. - String + SwitchParameter - - EndRowKey + + Confirm - End row key. + Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - - Context + + + Remove-AzureStorageDirectory + + Share - Azure storage context + The file share object - AzureStorageContext + CloudFileShare - - PipelineVariable + + Path + + The path of the file directory to be removed + + String + + + PassThru + + + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request + + Nullable`1[Int32] + + + ConcurrentTaskCount - String + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter - New-AzureStorageTableSASToken - - Name + Remove-AzureStorageDirectory + + Directory - Azure storage table name. + The directory object to be removed - String + CloudFileDirectory - - Permission + + Path - Permissions for a storage table. + The path of the file directory to be removed - String + String - - StartTime + + PassThru - The time at which the shared access signature becomes valid. + - DateTime + SwitchParameter - - ExpiryTime + + ServerTimeoutPerRequest - The time at which the shared access signature becomes invalid. + Server side timeout value for the request - DateTime + Nullable`1[Int32] - - FullUri + + ClientTimeoutPerRequest - Return the full queue uri with sas token + Client side timeout value for the request + Nullable`1[Int32] - - StartPartitionKey + + ConcurrentTaskCount - Start partition key. + - String + Nullable`1[Int32] - - StartRowKey + + WhatIf - Start row key. + Shows what would happen if the cmdlet runs. The cmdlet is not run. - String + SwitchParameter - - EndPartitionKey + + Confirm - End partition key. + Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - - EndRowKey + + + Remove-AzureStorageDirectory + + PassThru - End row key. + - String + SwitchParameter - + Context - Azure storage context + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageDirectory + + PassThru + + + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request - AzureStorageContext + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter - - Name + + ShareName - Azure storage table name. + The file share name String @@ -5147,10 +7981,10 @@ C:\PS> - - Policy + + Path - Azure Stored Access Policy. + The path of the file directory to be removed String @@ -5160,120 +7994,133 @@ C:\PS> - StartTime + PassThru - The time at which the shared access signature becomes valid. + - DateTime + SwitchParameter - DateTime + SwitchParameter - - ExpiryTime + + Context - The time at which the shared access signature becomes invalid. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - DateTime + AzureStorageContext - DateTime + AzureStorageContext - - FullUri + + ServerTimeoutPerRequest - Return the full queue uri with sas token + Server side timeout value for the request + Nullable`1[Int32] - SwitchParameter + Nullable`1[Int32] - - StartPartitionKey + + ClientTimeoutPerRequest - Start partition key. + Client side timeout value for the request - String + Nullable`1[Int32] - String + Nullable`1[Int32] - - StartRowKey + + ConcurrentTaskCount - Start row key. + - String + Nullable`1[Int32] - String + Nullable`1[Int32] - EndPartitionKey + WhatIf - End partition key. + Shows what would happen if the cmdlet runs. The cmdlet is not run. - String + SwitchParameter - String + SwitchParameter - EndRowKey + Confirm - End row key. + Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - String + SwitchParameter - - Context + + Share - Azure storage context + The file share object - AzureStorageContext + CloudFileShare - AzureStorageContext + CloudFileShare + + + + + + Directory + + The directory object to be removed + + CloudFileDirectory + + CloudFileDirectory - PipelineVariable + ClientRequestId - String + string - String + string - Permission + PipelineVariable - Permissions for a storage table. + - String + string - String + string @@ -5295,18 +8142,16 @@ C:\PS> - + - - - - - - + + + + @@ -5315,323 +8160,412 @@ C:\PS> - --------------- Generate a table sas token with full permission -------------- - - C:\PS> -C:\PS> - New-AzureStorageTableSASToken -Name test -Permission raud - - - - - - - - - - - - - - - - - --------------- Generate a table sas token with partition key and row key. -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - New-AzureStorageTableSASToken -Name test -Permission raud -StartPartitionKey a -EndPartitionKey b - - - - - - - + + PS C:\> Get-AzureStorageShare -Name sample | Remove-AzureStorageDirectory -Path sampledir + + This example removes a file directory named sampledir under the sample file share. + - - + - --------------- Generate a table sas token with shared access policy -------------- + -------------------------- Example 2 -------------------------- - C:\PS> -C:\PS> - New-AzureStorageTableSASToken -Name test -Policy policyName - - - - - - - + + PS C:\> Remove-AzureStorageDirectory -ShareName sample -Path sampledir + + This example removes a file directory named sampledir under the sample file share. + - - + - http://msdn.microsoft.com/en-us/library/windowsazure/dn140255.aspx - + Get-AzureStorageFile + + + + New-AzureStorageDirectory + - + - Remove-AzureStorageBlob + Remove-AzureStorageFile - Remove the specified azure storage blob. + Remove the specified file - - + Remove - AzureStorageBlob - + AzureStorageFile - Remove the specified azure storage blob. + Remove the specified file - - Remove-AzureStorageBlob - - Blob + + + Remove-AzureStorageFile + + ShareName - Blob name. + The file share name - String + String - - Container + + Path - Container name. + The path of the file to be removed - String + String - - DeleteSnapshot + + PassThru - Only delete blob snapshots. + + SwitchParameter - - Force + + Context - Force to remove the blob and its snapshot without confirmation. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + AzureStorageContext - - PassThru + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + Nullable`1[Int32] - - Context + + WhatIf - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageFile + + Share + + The file share object + + CloudFileShare + + + Path + + The path of the file to be removed + + String + + + PassThru + + - AzureStorageContext + SwitchParameter - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + WhatIf - + Shows what would happen if the cmdlet runs. The cmdlet is not run. + SwitchParameter - + Confirm - + Prompts you for confirmation before running the cmdlet. + SwitchParameter - Remove-AzureStorageBlob - - ICloudBlob + Remove-AzureStorageFile + + Directory - ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + - ICloudBlob + CloudFileDirectory - - DeleteSnapshot + + Path - Only delete blob snapshots. + The path of the file to be removed + String - - Force + + PassThru - Force to remove the blob and its snapshot without confirmation. + + SwitchParameter - - PassThru + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + Nullable`1[Int32] - - Context + + WhatIf - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageFile + + File + + The file object to remove + + CloudFile + + + PassThru + + - AzureStorageContext + SwitchParameter - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + WhatIf - + Shows what would happen if the cmdlet runs. The cmdlet is not run. + SwitchParameter - + Confirm - + Prompts you for confirmation before running the cmdlet. + SwitchParameter - Remove-AzureStorageBlob - - CloudBlobContainer + Remove-AzureStorageFile + + PassThru - CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. + - CloudBlobContainer + SwitchParameter - - Blob + + Context - Blob name. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - String + AzureStorageContext - - DeleteSnapshot + + ServerTimeoutPerRequest - Only delete blob snapshots. + Server side timeout value for the request. + Nullable`1[Int32] - - Force + + ClientTimeoutPerRequest - Force to remove the blob and its snapshot without confirmation. + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + SwitchParameter - + + + Remove-AzureStorageFile + PassThru + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + WhatIf - + Shows what would happen if the cmdlet runs. The cmdlet is not run. + SwitchParameter - + Confirm - + Prompts you for confirmation before running the cmdlet. + SwitchParameter - - Blob + + ShareName - Blob name. + The file share name String @@ -5640,10 +8574,10 @@ C:\PS> - - Container + + Path - Container name. + The path of the file to be removed String @@ -5653,128 +8587,145 @@ C:\PS> - DeleteSnapshot + PassThru - Only delete blob snapshots. + + SwitchParameter SwitchParameter - - Force + + Context - Force to remove the blob and its snapshot without confirmation. + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + AzureStorageContext - SwitchParameter + AzureStorageContext - - PassThru + + ServerTimeoutPerRequest - + Server side timeout value for the request. + Nullable`1[Int32] - SwitchParameter + Nullable`1[Int32] - - Context + + ClientTimeoutPerRequest - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + Client side timeout value for the request. - AzureStorageContext + Nullable`1[Int32] - AzureStorageContext + Nullable`1[Int32] - - ServerTimeoutPerRequest + + ConcurrentTaskCount - Server side time out for each request. + - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - ClientTimeoutPerRequest + WhatIf - Client side time out for each request. + Shows what would happen if the cmdlet runs. The cmdlet is not run. - Int32 + SwitchParameter - Int32 + SwitchParameter - PipelineVariable + Confirm - + Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - String + SwitchParameter - - WhatIf + + Share - + The file share object + CloudFileShare - SwitchParameter + CloudFileShare - - Confirm + + Directory + CloudFileDirectory - SwitchParameter + CloudFileDirectory - - ICloudBlob + + File - ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + The file object to remove - ICloudBlob + CloudFile - ICloudBlob + CloudFile - - CloudBlobContainer + + ClientRequestId - CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. + - CloudBlobContainer + string - CloudBlobContainer + string + + + + + + PipelineVariable + + + + string + + string @@ -5796,18 +8747,16 @@ C:\PS> - + - - - - - - + + + + @@ -5816,175 +8765,98 @@ C:\PS> - --------------- Remove azure storage blob by name -------------- - - C:\PS> -C:\PS> - Remove-AzureStorageBlob -Container containername -Blob blobname - - - - - - - - - - - - - - - - - --------------- Remove azure storage blob using pipeline from GetAzureStorageBlob -------------- - - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -Blob blobname | Remove-AzureStorageBlob - - - - - - - - - - - - - - - - - --------------- Remove azure storage blob using pipeline from GetAzureStorageContainer -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* | Remove-AzureStorageBlob blobname - - - - - - - + + PS C:\> Remove-AzureStorageFile –ShareName sample –FilePath samplefile + + This example removes the samplefile file from the sample file share. + - - + - Get-AzureStorageBlob - - - - Get-AzureStorageBlobContent - - - - Set-AzureStorageBlobContent - + Get-AzureStorageFile + - + - Remove-AzureStorageContainer + Remove-AzureStorageQueue - Remove the specified azure storage container. + Remove the specified azure storage queue - - + Remove - AzureStorageContainer - + AzureStorageQueue - Remove the specified azure storage container. + Remove the specified azure storage queue - - Remove-AzureStorageContainer - + + + Remove-AzureStorageQueue + Name - + Queue name - String + String - + Force - + Force to remove the queue without confirmation + SwitchParameter - + PassThru - + Output a bool value in order to indicate whether the specified queue is remove successfully. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 + AzureStorageContext - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String - - + WhatIf + SwitchParameter - + Confirm + SwitchParameter - + Name - + Queue name String @@ -5996,8 +8868,9 @@ C:\PS> Force - + Force to remove the queue without confirmation + SwitchParameter SwitchParameter @@ -6007,8 +8880,9 @@ C:\PS> PassThru - + Output a bool value in order to indicate whether the specified queue is remove successfully. + SwitchParameter SwitchParameter @@ -6028,59 +8902,61 @@ C:\PS> - ServerTimeoutPerRequest + WhatIf - Server side time out for each request. + - Int32 + SwitchParameter - Int32 + SwitchParameter - ClientTimeoutPerRequest + Confirm - Client side time out for each request. + - Int32 + SwitchParameter - Int32 + SwitchParameter - PipelineVariable + ServerTimeoutPerRequest - + Server side time out for each request. - String + int32 - String + int32 - WhatIf + ClientTimeoutPerRequest - + Client side time out for each request. + int32 - SwitchParameter + int32 - Confirm + PipelineVariable + string - SwitchParameter + string @@ -6102,18 +8978,16 @@ C:\PS> - + - - - - - - + + + + @@ -6121,98 +8995,280 @@ C:\PS> + + -------------------------- Remove azure storage queue by queue name -------------------------- + + + + PS C:\> Remove-AzureStorageQueue queueabc + + + + + + + + + + + -------------------------- Remove azure storage queue using GetAzureStorageQueue -------------------------- + + + + PS C:\> Get-AzureStorageQueue queue* | Remove-AzureStorageQueue + + + + + + + + + - + - Remove-AzureStorageQueue + Remove-AzureStorageShare - Remove the specified azure storage queue + Remove an azure storage file share. - - + Remove - AzureStorageQueue - + AzureStorageShare - Remove the specified azure storage queue + Remove an azure storage file share. - - Remove-AzureStorageQueue - + + + Remove-AzureStorageShare + Name - Queue name + The file share name - String + String - - Force + + PassThru - Force to remove the queue without confirmation + + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageShare + + Share + + The file share object + CloudFileShare - + PassThru - Output a bool value in order to indicate whether the specified queue is remove successfully. + + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageShare + + PassThru + + + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + WhatIf - + Shows what would happen if the cmdlet runs. The cmdlet is not run. + SwitchParameter - + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureStorageShare + + PassThru + + + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + Nullable`1[Int32] + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter - + Name - Queue name + The file share name String @@ -6221,29 +9277,19 @@ C:\PS> - - Force - - Force to remove the queue without confirmation - - - SwitchParameter - - - - PassThru - Output a bool value in order to indicate whether the specified queue is remove successfully. + + SwitchParameter SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. @@ -6255,38 +9301,38 @@ C:\PS> - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -6294,8 +9340,9 @@ C:\PS> WhatIf - + Shows what would happen if the cmdlet runs. The cmdlet is not run. + SwitchParameter SwitchParameter @@ -6305,14 +9352,51 @@ C:\PS> Confirm - + Prompts you for confirmation before running the cmdlet. + SwitchParameter SwitchParameter + + Share + + The file share object + + CloudFileShare + + CloudFileShare + + + + + + ClientRequestId + + + + string + + string + + + + + + PipelineVariable + + + + string + + string + + + + @@ -6330,18 +9414,16 @@ C:\PS> - + - - - - - - + + + + @@ -6350,138 +9432,99 @@ C:\PS> - --------------- Remove azure storage queue by queue name -------------- - - C:\PS> -C:\PS> - Remove-AzureStorageQueue queueabc - - - - - - - - - - - - - - - - - --------------- Remove azure storage queue using GetAzureStorageQueue -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageQueue queue* | Remove-AzureStorageQueue - - - - - - - + + PS C:\> Remove-AzureStorageShare -Name sample + + This example removes a file share named sample. + - - + + + New-AzureStorageShare + + + + Get-AzureStorageShare + + - + Remove-AzureStorageTable Remove azure storage table - - + Remove AzureStorageTable - Remove azure storage table - + + Remove-AzureStorageTable - + Name - String + String - + Force Force to remove the table without confirmation + SwitchParameter - + PassThru Output a bool value in order to indicate whether the specified table is remove successfully. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String + AzureStorageContext - + WhatIf + SwitchParameter - + Confirm + SwitchParameter - + Name @@ -6498,6 +9541,7 @@ C:\PS> Force to remove the table without confirmation + SwitchParameter SwitchParameter @@ -6509,6 +9553,7 @@ C:\PS> Output a bool value in order to indicate whether the specified table is remove successfully. + SwitchParameter SwitchParameter @@ -6528,59 +9573,61 @@ C:\PS> - ServerTimeoutPerRequest + WhatIf - Server side time out for each request. + - Int32 + SwitchParameter - Int32 + SwitchParameter - ClientTimeoutPerRequest + Confirm - Client side time out for each request. + - Int32 + SwitchParameter - Int32 + SwitchParameter - PipelineVariable + ServerTimeoutPerRequest - + Server side time out for each request. - String + int32 - String + int32 - WhatIf + ClientTimeoutPerRequest - + Client side time out for each request. + int32 - SwitchParameter + int32 - Confirm + PipelineVariable + string - SwitchParameter + string @@ -6602,18 +9649,16 @@ C:\PS> - + - - - - - - + + + + @@ -6622,46 +9667,32 @@ C:\PS> - --------------- Remove azure storage table by table name -------------- + -------------------------- Remove azure storage table by table name -------------------------- - C:\PS> -C:\PS> - Remove-AzureStorageTable tableabc - + + PS C:\> Remove-AzureStorageTable tableabc + - - - - - + - - + - --------------- Remove azure storage tables using GetAzureStorageTable -------------- + -------------------------- Remove azure storage tables using GetAzureStorageTable -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageTable table* | Remove-AzureStorageTable - - - - - + + PS C:\> Get-AzureStorageTable table* | Remove-AzureStorageTable + - + - - + @@ -6670,318 +9701,630 @@ C:\PS> - + Set-AzureStorageBlobContent Upload local file to azure storage blob. - - + Set AzureStorageBlobContent - Upload local file to azure storage blob. - + + Set-AzureStorageBlobContent - + File Local file path. - String + String - + Container Container name - String + String - + Blob Blob name. - String + String - + BlobType Destination Blob Type (Block/Page). - String + String - + Properties Blob properties. - Hashtable + Hashtable - + Metadata Blob metadata. - Hashtable - - - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 + Hashtable - + Force Force to overwrite the existing blob. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - + The total amount of concurrent async tasks. - String + Nullable`1[Int32] Set-AzureStorageBlobContent - + File Local file path. - String + String - + Blob Blob name. - String + String - + CloudBlobContainer CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - CloudBlobContainer + CloudBlobContainer - + BlobType Destination Blob Type (Block/Page). - String + String - + Properties Blob properties. - Hashtable + Hashtable - + Metadata Blob metadata. - Hashtable + Hashtable + + + Force + + Force to overwrite the existing blob. + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] - + ConcurrentTaskCount The total amount of concurrent async tasks. - Int32 + Nullable`1[Int32] + + + + Set-AzureStorageBlobContent + + File + + Local file path. + + String + + + ICloudBlob + + ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + + ICloudBlob + + + BlobType + + Destination Blob Type (Block/Page). + + String + + + Properties + + Blob properties. + + Hashtable - + + Metadata + + Blob metadata. + + Hashtable + + Force Force to overwrite the existing blob. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side time out for each request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + The total amount of concurrent async tasks. + + Nullable`1[Int32] + + + + + + File + + Local file path. + + String + + String + + + + + + Container + + Container name + + String + + String + + + + + + Blob + + Blob name. + + String + + String + + + + + + BlobType + + Destination Blob Type (Block/Page). + + String + + String + + + + + + Properties + + Blob properties. + + Hashtable + + Hashtable + + + + + + Metadata + + Blob metadata. + + Hashtable + + Hashtable + + + + + + Force + + Force to overwrite the existing blob. + + SwitchParameter + + SwitchParameter + + + + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + AzureStorageContext + + + + + + ServerTimeoutPerRequest + + Server side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ClientTimeoutPerRequest + + Client side time out for each request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + The total amount of concurrent async tasks. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + ProcessorCount * 8 + + + CloudBlobContainer + + CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. + + CloudBlobContainer + + CloudBlobContainer + + + + + + ICloudBlob + + ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + + ICloudBlob + + ICloudBlob + + + + + + PipelineVariable + + + + string + + string + + + + + + + + + + + + - Int32 - - - PipelineVariable + + + + + + + + + - String - - + + + + + + + + + + + + + + + -------------------------- Upload file by name. -------------------------- + + + + PS C:\> Set-AzureStorageBlobContent -Container upload -File .\filename -Blob blobname + + + + + + + + + + + -------------------------- Upload file using ls command. -------------------------- + + + + PS C:\> ls -File -Recurse | Set-AzureStorageBlobContent -Container upload + + + + + + + + + + + -------------------------- Upload file using pipeline from GetAzureStorageBlob -------------------------- + + + + PS C:\> Get-AzureStorageBlob -Container containername -Blob blobname | Set-AzureStorageBlobContent -File filename + + + + + + + + + + + -------------------------- Upload file using pipeline from GetAzureStorageContainer -------------------------- + + + + PS C:\> Get-AzureStorageContainer -Container container* | Set-AzureStorageBlobContent -File filename -Blob blobname + + + + + + + + + + + -------------------------- Upload file and set metadata -------------------------- + + + + PS C:\> $meta = @{"key" = "value"; "name" = "test"} +Set-AzureStorageBlobContent -File filename -Container containername -Metadata $meta + + + + + + + + + + + + + Get-AzureStorageBlobContent + + + + Get-AzureStorageBlob + + + + Remove-AzureStorageBlob + + + + + + + + Set-AzureStorageContainerAcl + + Set the public access permission to the specified azure storage container. + + + + + Set + AzureStorageContainerAcl + + + + + Set the public access permission to the specified azure storage container. + + - Set-AzureStorageBlobContent - - File - - Local file path. - - String - - - ICloudBlob - - ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - - ICloudBlob - - - BlobType - - Destination Blob Type (Block/Page). - - String - - - Properties - - Blob properties. - - Hashtable - - - Metadata + Set-AzureStorageContainerAcl + + Name - Blob metadata. + Container name. - Hashtable + String - - ConcurrentTaskCount + + Permission - The total amount of concurrent async tasks. + Container public access permission (Off/Blob/Container). - Int32 + BlobContainerPublicAccessType - - Force + + PassThru - Force to overwrite the existing blob. + Output the sepcified container. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - - File - - Local file path. - - String - - String - - - - - - Container - - Container name - - String - - String - - - - - - Blob - - Blob name. - - String - - String - - - - - - BlobType + + Name - Destination Blob Type (Block/Page). + Container name. String @@ -6990,47 +10333,24 @@ C:\PS> - - Properties - - Blob properties. - - Hashtable - - Hashtable - - - - - - Metadata + + Permission - Blob metadata. + Container public access permission (Off/Blob/Container). - Hashtable + BlobContainerPublicAccessType - Hashtable + BlobContainerPublicAccessType - ConcurrentTaskCount - - The total amount of concurrent async tasks. - - Int32 - - Int32 - - - ProcessorCount * 8 - - - Force + PassThru - Force to overwrite the existing blob. + Output the sepcified container. + SwitchParameter SwitchParameter @@ -7049,62 +10369,50 @@ C:\PS> - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String - - String - - - - - - CloudBlobContainer - - CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - - CloudBlobContainer + Nullable`1[Int32] - CloudBlobContainer + Nullable`1[Int32] - - ICloudBlob + + PipelineVariable - ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. + - ICloudBlob + string - ICloudBlob + string @@ -7126,18 +10434,16 @@ C:\PS> - + - - - - - - + + + + @@ -7146,209 +10452,452 @@ C:\PS> - --------------- Upload file by name. -------------- - - C:\PS> -C:\PS> - Set-AzureStorageBlobContent -Container upload -File .\filename -Blob blobname - - - - - - - - - - - - - - - - - --------------- Upload file using ls command. -------------- - - C:\PS> -C:\PS> - ls -File -Recurse | Set-AzureStorageBlobContent -Container upload - - - - - - - - - - - - - - - - - --------------- Upload file using pipeline from GetAzureStorageBlob -------------- - - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername -Blob blobname | Set-AzureStorageBlobContent -File filename - - - - - - - - - - - - - - - - - --------------- Upload file using pipeline from GetAzureStorageContainer -------------- + -------------------------- Set azure storage container acl by name. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer -Container container* | Set-AzureStorageBlobContent -File filename -Blob blobname - - - - - + + PS C:\> Set-AzureStorageContainerAcl -Container container1 -Permission off -PassThru + - + - - + - --------------- Upload file and set metadata -------------- + -------------------------- Set azure storage container acl using pipeline by GetAzureStorageContainer -------------------------- - C:\PS> -C:\PS> - $meta = @{"key" = "value"; "name" = "test"} -Set-AzureStorageBlobContent -File filename -Container containername -Metadata $meta - - + + PS C:\> Get-AzureStorageContainer container* | Set-AzureStorageContainerAcl -Permission blob -PassThru + - - - - + - - + - Get-AzureStorageBlobContent - + Get-AzureStorageContainerAcl + - Get-AzureStorageBlob - + Get-AzureStorageContainer + - Remove-AzureStorageBlob - + New-AzureStorageContainer + + + + Remove-AzureStorageContainer + - + - Set-AzureStorageContainerAcl + Set-AzureStorageFileContent - Set the public access permission to the specified azure storage container. + Upload the specified file to azure. - - + Set - AzureStorageContainerAcl - + AzureStorageFileContent - Set the public access permission to the specified azure storage container. + Upload the specified file to azure. - - Set-AzureStorageContainerAcl - - Name + + + Set-AzureStorageFileContent + + ShareName - Container name. + The file share name - String + String - - Permission + + Source - Container public access permission (Off/Blob/Container). + The source path of the file to upload + + String + + + Path + + The destination file path to upload the local file - BlobContainerPublicAccessType + String - + PassThru - Output the sepcified container. + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + SwitchParameter - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Set-AzureStorageFileContent + + Share + + The file share object + + CloudFileShare + + + Source + + The source path of the file to upload + + String + + + Path + + The destination file path to upload the local file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Set-AzureStorageFileContent + + Directory + + The destination directory object to upload the file + + CloudFileDirectory + + + Source + + The source path of the file to upload + + String + + + Path + + The destination file path to upload the local file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + + SwitchParameter + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Set-AzureStorageFileContent + + Source + + The source path of the file to upload + + String + + + Path + + The destination file path to upload the local file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. + + Nullable`1[Int32] + + + ClientTimeoutPerRequest + + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + + + SwitchParameter + + + Confirm + + + + SwitchParameter + + + + Set-AzureStorageFileContent + + Source + + The source path of the file to upload + + String + + + Path + + The destination file path to upload the local file + + String + + + PassThru + + + + SwitchParameter + + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + + SwitchParameter + + + Context + + Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. + + AzureStorageContext + + + ServerTimeoutPerRequest + + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. + + Nullable`1[Int32] + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + + WhatIf + + - Int32 + SwitchParameter - - PipelineVariable + + Confirm - String + SwitchParameter - - Name + + ShareName - Container name. + The file share name String @@ -7357,14 +10906,26 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m - - Permission + + Source - Container public access permission (Off/Blob/Container). + The source path of the file to upload - BlobContainerPublicAccessType + String - BlobContainerPublicAccessType + String + + + + + + Path + + The destination file path to upload the local file + + String + + String @@ -7372,15 +10933,28 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m PassThru - Output the sepcified container. + + SwitchParameter SwitchParameter - + + Force + + If this parameter is set, it will overwrite the azure storage file when there is name conflict. + + SwitchParameter + + SwitchParameter + + + + + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. @@ -7392,26 +10966,98 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m - + ServerTimeoutPerRequest - Server side time out for each request. + Server side timeout value for the request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest - Client side time out for each request. + Client side timeout value for the request. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + ConcurrentTaskCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + WhatIf + + + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + + + SwitchParameter + + SwitchParameter + + + + + + Share + + The file share object + + CloudFileShare + + CloudFileShare + + + + + + Directory + + The destination directory object to upload the file + + CloudFileDirectory + + CloudFileDirectory + + + + + + ClientRequestId + + - Int32 + string - Int32 + string @@ -7421,9 +11067,9 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m - String + string - String + string @@ -7445,18 +11091,16 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m - + - - - - - - + + + + @@ -7465,157 +11109,107 @@ Set-AzureStorageBlobContent -File filename -Container containername -Metadata $m - --------------- Set azure storage container acl by name. -------------- - - C:\PS> -C:\PS> - Set-AzureStorageContainerAcl -Container container1 -Permission off -PassThru - - - - - - - - - - - - - - - - - --------------- Set azure storage container acl using pipeline by GetAzureStorageContainer -------------- + -------------------------- Example 1 -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* | Set-AzureStorageContainerAcl -Permission blob -PassThru - - - - - - - + + PS C:\> Set-AzureStorageFileContent –ShareName sample –Source samplefile –FilePath sampledir/samplefile + + This example uploads the samplefile file to the path sampledir/samplefile in the sample file share. + - - + - Get-AzureStorageContainerAcl - + Remove-AzureStorageFileDirectory + - Get-AzureStorageContainer - + New-AzureStorageFileDirectory + - New-AzureStorageContainer - + Get-AzureStorageFileContent + - Remove-AzureStorageContainer - + Set-AzureStorageFileContent + - + Set-AzureStorageServiceLoggingProperty Set azure storage service logging properties。 - - + Set AzureStorageServiceLoggingProperty - Set azure storage service logging properties。 - + + Set-AzureStorageServiceLoggingProperty - + ServiceType Azure storage service type. - StorageServiceType + StorageServiceType - + Version Azure storage service logging version. - Double + Nullable`1[Double] - + RetentionDays Azure storage logging retention days. - Int32 + Nullable`1[Int32] - + LoggingOperations Azure storage service logging operations. - LoggingOperations[] + LoggingOperations[] - + PassThru Ouput the updated azure storage service logging properties. + SwitchParameter - + Context Azure storage context. - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String + AzureStorageContext - + ServiceType Azure storage service type. @@ -7627,26 +11221,26 @@ C:\PS> - + Version Azure storage service logging version. - Double + Nullable`1[Double] - Double + Nullable`1[Double] - + RetentionDays Azure storage logging retention days. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] @@ -7668,6 +11262,7 @@ C:\PS> Ouput the updated azure storage service logging properties. + SwitchParameter SwitchParameter @@ -7691,9 +11286,9 @@ C:\PS> Server side time out for each request. - Int32 + int32 - Int32 + int32 @@ -7703,9 +11298,9 @@ C:\PS> Client side time out for each request. - Int32 + int32 - Int32 + int32 @@ -7715,9 +11310,9 @@ C:\PS> - String + string - String + string @@ -7739,18 +11334,16 @@ C:\PS> - + - - - - - - + + + + @@ -7759,24 +11352,17 @@ C:\PS> - --------------- Set logging properties for azure storage blob service. -------------- + -------------------------- Set logging properties for azure storage blob service. -------------------------- - C:\PS> -C:\PS> - Set-AzureStorageServiceLoggingProperty -ServiceType Blob -LoggingOperations Read,Write -RetentionDays 10 -Version 1.0 -PassThru - - + + PS C:\> Set-AzureStorageServiceLoggingProperty -ServiceType Blob -LoggingOperations Read,Write -RetentionDays 10 -Version 1.0 -PassThru + - - - - + - - + @@ -7785,100 +11371,79 @@ C:\PS> - + Set-AzureStorageServiceMetricsProperty Set azure storage service metrics properties. - - + Set AzureStorageServiceMetricsProperty - Set azure storage service metrics properties. - + + Set-AzureStorageServiceMetricsProperty - + ServiceType Azure storage service type. - StorageServiceType + StorageServiceType - + MetricsType Azure Storage service metrics type. - ServiceMetricsType + ServiceMetricsType - + Version Azure storage service metrics version. - Double + Nullable`1[Double] - + RetentionDays Azure storage service metrics retention days. - Int32 + Nullable`1[Int32] - + MetricsLevel Azure storage service metrics level. - MetricsLevel + Nullable`1[MetricsLevel] - + PassThru Output the updated azure storage service metrics properties. + SwitchParameter - + Context Azure storage context. - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side time out for each request. - - Int32 - - - ClientTimeoutPerRequest - - Client side time out for each request. - - Int32 - - - PipelineVariable - - - - String + AzureStorageContext - + ServiceType Azure storage service type. @@ -7890,7 +11455,7 @@ C:\PS> - + MetricsType Azure Storage service metrics type. @@ -7902,38 +11467,38 @@ C:\PS> - + Version Azure storage service metrics version. - Double + Nullable`1[Double] - Double + Nullable`1[Double] - + RetentionDays Azure storage service metrics retention days. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + MetricsLevel Azure storage service metrics level. - MetricsLevel + Nullable`1[MetricsLevel] - MetricsLevel + Nullable`1[MetricsLevel] @@ -7943,6 +11508,7 @@ C:\PS> Output the updated azure storage service metrics properties. + SwitchParameter SwitchParameter @@ -7966,9 +11532,9 @@ C:\PS> Server side time out for each request. - Int32 + int32 - Int32 + int32 @@ -7978,9 +11544,9 @@ C:\PS> Client side time out for each request. - Int32 + int32 - Int32 + int32 @@ -7990,9 +11556,9 @@ C:\PS> - String + string - String + string @@ -8014,18 +11580,16 @@ C:\PS> - + - - - - - - + + + + @@ -8034,24 +11598,17 @@ C:\PS> - --------------- Set metrics properties for azure storage blob service. -------------- + -------------------------- Set metrics properties for azure storage blob service. -------------------------- - C:\PS> -C:\PS> - Set-AzureStorageServiceMetricsProperty -ServiceType Blob -MetricsType Hour -MetricsLevel Service -RetentionDays 10 -Version 1.0 -PassThru - - - - - + + PS C:\> Set-AzureStorageServiceMetricsProperty -ServiceType Blob -MetricsType Hour -MetricsLevel Service -RetentionDays 10 -Version 1.0 -PassThru + - + - - + @@ -8060,360 +11617,364 @@ C:\PS> - + Start-AzureStorageBlobCopy Start a copy operation to the specified destination blob. - - + Start AzureStorageBlobCopy - Start a copy operation to the specified destination blob. - + + Start-AzureStorageBlobCopy - + SrcBlob Source blob name. - String + String - + SrcContainer Source container name. - String + String - + DestContainer Destination container name. - String + String - + DestBlob Destination blob name. - String + String - + Context - AzureStorageContext + AzureStorageContext - + DestContext Destination Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + Force Force to overwrite the destination blob without confirmation. + SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Start-AzureStorageBlobCopy - + ICloudBlob ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - ICloudBlob + ICloudBlob - + DestICloudBlob Destination ICloudBlob object - ICloudBlob + ICloudBlob - + Context - AzureStorageContext + AzureStorageContext - + DestContext Destination Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + Force Force to overwrite the destination blob without confirmation. + SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Start-AzureStorageBlobCopy - + ICloudBlob ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - ICloudBlob + ICloudBlob - + DestContainer Destination container name. - String + String - + DestBlob Destination blob name. - String + String - + Context - AzureStorageContext + AzureStorageContext - + DestContext Destination Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + Force Force to overwrite the destination blob without confirmation. + SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Start-AzureStorageBlobCopy - + CloudBlobContainer CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - CloudBlobContainer + CloudBlobContainer - + SrcBlob Source blob name. - String + String - + DestContainer Destination container name. - String + String - + DestBlob Destination blob name. - String + String - + Context - AzureStorageContext + AzureStorageContext - + DestContext Destination Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + Force Force to overwrite the destination blob without confirmation. + SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Start-AzureStorageBlobCopy - + AbsoluteUri - String + String - + DestContainer Destination container name. - String + String - + DestBlob Destination blob name. - String + String - + Context - AzureStorageContext + AzureStorageContext - + DestContext Destination Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + Force Force to overwrite the destination blob without confirmation. + SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + SrcBlob Source blob name. @@ -8490,44 +12051,45 @@ C:\PS> Force to overwrite the destination blob without confirmation. + SwitchParameter SwitchParameter - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -8580,6 +12142,18 @@ C:\PS> + + PipelineVariable + + + + string + + string + + + + @@ -8597,18 +12171,16 @@ C:\PS> - + - - - - - - + + + + @@ -8617,117 +12189,82 @@ C:\PS> - --------------- Start copy operation by name. -------------- + -------------------------- Start copy operation by name. -------------------------- - C:\PS> -C:\PS> - Start-CopyAzureStorageContainer -SrcContainer container1 -SrcBlob blob1 -DestContainer container2 - + + PS C:\> Start-CopyAzureStorageContainer -SrcContainer container1 -SrcBlob blob1 -DestContainer container2 + - - - - - + - - + - --------------- Start copy operation using container pipeline from GetAzureStorageContainer. -------------- + -------------------------- Start copy operation using container pipeline from GetAzureStorageContainer. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer -Container container1 | Start-AzureStorageBlobCopy -SrcBlob blob -DestContainer container2 - - - - - + + PS C:\> Get-AzureStorageContainer -Container container1 | Start-AzureStorageBlobCopy -SrcBlob blob -DestContainer container2 + - + - - + - --------------- StartCopy to specified blob using pipeline from GetAzureStorageBlob -------------- + -------------------------- StartCopy to specified blob using pipeline from GetAzureStorageBlob -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container container1 | Start-AzureStorageBlobCopy -DestContainer container2 - + + PS C:\> Get-AzureStorageBlob -Container container1 | Start-AzureStorageBlobCopy -DestContainer container2 + - - - - - + - - + - --------------- start copy operation to ICloudBlob object -------------- + -------------------------- start copy operation to ICloudBlob object -------------------------- - C:\PS> -C:\PS> - $srcBlob = Get-AzureStorageBlob -Container container1 -Blob srcBlob + + + PS C:\> $srcBlob = Get-AzureStorageBlob -Container container1 -Blob srcBlob $destBlob = Get-AzureStorageBlob -Container container2 -Blob destBlob Start-AzureStorageBlobCopy -ICloudBlob $srcBlob.ICloudBlob -DestICloudBlob $destBlob.ICloudBlob - - + - - - - - + - - + - --------------- Start copy operation using source uri -------------- + -------------------------- Start copy operation using source uri -------------------------- - C:\PS> -C:\PS> - $context = New-AzureStorageContainer -StorageAccountName accountname -StorageAccountKey accountkey + + + PS C:\> $context = New-AzureStorageContainer -StorageAccountName accountname -StorageAccountKey accountkey Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContainer container -DestBlob blob -DestContext $context - - + - - - - - + - - + @@ -8735,204 +12272,206 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain Get-AzureStorageBlobCopyState - + Stop-AzureStorageBlobCopy - + - + Stop-AzureStorageBlobCopy Stop a copy operation to the specified destination blob. - - + Stop AzureStorageBlobCopy - Stop a copy operation to the specified destination blob. - + + Stop-AzureStorageBlobCopy - + Blob Blob name. - String + String - + Container Container name. - String + String - + Force Force to stop the current copy task on the specified blob + SwitchParameter - + CopyId Copy Id - String + String - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Stop-AzureStorageBlobCopy - + ICloudBlob ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet. - ICloudBlob + ICloudBlob - + Force Force to stop the current copy task on the specified blob + SwitchParameter - + CopyId Copy Id - String + String - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] Stop-AzureStorageBlobCopy - + CloudBlobContainer CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet. - CloudBlobContainer + CloudBlobContainer - + Blob Blob name. - String + String - + Force Force to stop the current copy task on the specified blob + SwitchParameter - + CopyId Copy Id - String + String - + Context Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - AzureStorageContext + AzureStorageContext - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - + Blob Blob name. @@ -8944,7 +12483,7 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain - + Container Container name. @@ -8961,6 +12500,7 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain Force to stop the current copy task on the specified blob + SwitchParameter SwitchParameter @@ -8991,38 +12531,38 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain - + ServerTimeoutPerRequest Server side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - + ClientTimeoutPerRequest Client side time out for each request. - Int32 + Nullable`1[Int32] - Int32 + Nullable`1[Int32] - - PipelineVariable + + ConcurrentTaskCount - String + Nullable`1[Int32] - String + Nullable`1[Int32] @@ -9051,6 +12591,18 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain + + PipelineVariable + + + + string + + string + + + + @@ -9068,18 +12620,16 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain - + - - - - - - + + + + @@ -9088,68 +12638,47 @@ Start-AzureStorageBlobCopy -SrcUri http://www.somesite.com/somefile -DestContain - --------------- Stop copy operation by name -------------- + -------------------------- Stop copy operation by name -------------------------- - C:\PS> -C:\PS> - Stop-AzureStorageBlobCopy -Container containername -Blob blobname -CopyId copyid - - + + PS C:\> Stop-AzureStorageBlobCopy -Container containername -Blob blobname -CopyId copyid + - - - - + - - + - --------------- Stop copy operation using container pipeline from GetAzureStorageContainer. -------------- + -------------------------- Stop copy operation using container pipeline from GetAzureStorageContainer. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageContainer container* | Stop-AzureStorageBlobCopy -Blob blobname - - + + PS C:\> Get-AzureStorageContainer container* | Stop-AzureStorageBlobCopy -Blob blobname + - - - - + - - + - --------------- Stop copy operation using container pipeline from GetAzureStorageBlob. -------------- + -------------------------- Stop copy operation using container pipeline from GetAzureStorageBlob. -------------------------- - C:\PS> -C:\PS> - Get-AzureStorageBlob -Container containername | Stop-AzureStorageBlobCopy -Force - - + + PS C:\> Get-AzureStorageBlob -Container containername | Stop-AzureStorageBlobCopy -Force + - - - - + - - + @@ -9157,4266 +12686,12 @@ C:\PS> Start-AzureStorageBlobCopyCopyState - + Get-AzureStorageBlobCopyState - + - - - - Get-AzureStorageFile - - List the files and directories in a specific path. - - - - - - Get - AzureStorageFile - - - - - - List the files and directories in a specific path. - - - - Get-AzureStorageFile - - ShareName - - The share name that you want to list files - - String - - - Path - - The file or directory path that you want to list - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFile - - Share - - The file share object - - CloudFileShare - - - Path - - The file or directory path - - String - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFile - - Directory - - The file directory object - - CloudFileDirectory - - - Path - - The file or directory path - - String - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFile - - Path - - The file or directory path - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFile - - Path - - The file or directory path - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - ShareName - - The file share name - - String - - String - - - - - - Path - - The file or directory path - - String - - String - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - Directory - - The file directory object - - CloudFileDirectory - - CloudFileDirectory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageShare -Name sample | Get-AzureStorageFile - - This example lists the files and directories under the sample file share. - - - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageFile -FileShareName sample | ? IsDirectory - - This example lists the directories under sample file share. - - - - - - - - - - - - - - - - - New-AzureStorageDirectory - - - - Remove-AzureStorageDirectory - - - - Remove-AzureStorageFile - - - - Get-AzureStorageFileContent - - - - Set-AzureStorageFileContent - - - - - - - - Get-AzureStorageFileContent - - Download the specified azure storage file. - - - - - - Get - AzureStorageFileContent - - - - - - Download the specified azure storage file. - - - - Get-AzureStorageFileContent - - ShareName - - The file share name - - String - - - Path - - the path of the azure storage file to download - - String - - - Destination - - The destination to put the downloaded file - - String - - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFileContent - - Share - - The file share object - - CloudFileShare - - - Path - - the path of the azure storage file to download - - String - - - Destination - - The destination to put the downloaded file - - String - - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFileContent - - File - - The file object - - CloudFile - - - Destination - - The destination to put the downloaded file - - String - - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFileContent - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageFileContent - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - ShareName - - The file share name - - String - - String - - - - - - Path - - the path of the azure storage file to download - - String - - String - - - - - - Destination - - The destination to put the downloaded file - - String - - String - - - - - - Force - - If this parameter is set, it will overwrite the local file when there is name conflict. - - - SwitchParameter - - - - - - PassThru - - - - - SwitchParameter - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - File - - The file object - - CloudFile - - CloudFile - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageFileContent -FileShareName sample -FilePath sampledir/samplefile - - This example downloads the file whose path is sampledir/samplefile in the sample file share. - - - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageFile -ShareName sample | ? IsFile | Get-AzureStorageFileContent - - This example downloads the files under sample file share - - - - - - - - - - - - - - - - - Get-AzureStorageFile - - - - Set-AzureStorageFileContent - - - - - - - - Get-AzureStorageShare - - List azure storage file shares. - - - - - - Get - AzureStorageShare - - - - - - List azure storage file shares. - - - - Get-AzureStorageShare - - Prefix - - The file share name prefix. The Prefix parameter doesn't support regular expression. - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageShare - - Name - - The file share name - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Get-AzureStorageShare - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - Prefix - - The file share name prefix. The Prefix parameter doesn't support regular expression. - - String - - String - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - Name - - The file share name - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageShare -Name sample - - This example gets a file share named sample. - - - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageShare -Prefix sample - - This example lists all file shares whose names begin with the specified prefix. - - - - - - - - - - - - - - - - - New-AzureStorageShare - - - - Remove-AzureStorageShare - - - - - - - - New-AzureStorageDirectory - - Create an azure storage directory. - - - - - - New - AzureStorageDirectory - - - - - - Create an azure storage directory. - - - - New-AzureStorageDirectory - - ShareName - - The file share name - - String - - - Path - - The path of the file directory to be created - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageDirectory - - Share - - The file share object - - CloudFileShare - - - Path - - The path of the file directory to be created - - String - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageDirectory - - Directory - - the parent directory object - - CloudFileDirectory - - - Path - - The path of the file directory to be created - - String - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageDirectory - - Path - - The path of the file directory to be created - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageDirectory - - Path - - The path of the file directory to be created - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - ShareName - - The file share name - - String - - String - - - - - - Path - - The path of the file directory to be created - - String - - String - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - Directory - - the parent directory object - - CloudFileDirectory - - CloudFileDirectory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageShare -Name sample | New-AzureStorageDirectory -Path sampledir - - This example creates a file directory named sampledir under the sample file share. - - - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - C:\PS> - C:\PS> - - New-AzureStorageFileDirectory -ShareName sample -Path sampledir - - This example creates a file directory named sampledir under the sample file share. - - - - - - - - - - - - - - - - - Get-AzureStorageFile - - - - Remove-AzureStorageDirectory - - - - - - - - New-AzureStorageShare - - Create a new Azure storage file share. - - - - - - New - AzureStorageShare - - - - - - Create a new Azure storage file share. - - - - New-AzureStorageShare - - Name - - The file share name - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageShare - - Name - - The file share name - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - New-AzureStorageShare - - Name - - The file share name - - String - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - Name - - The file share name - - String - - String - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - New-AzureStorageShare -Name sample - - This example creates a file share named sample. - - - - - - - - - - - - - - - - - Unkown - - - - Remove-AzureStorageShare - - - - Unkown - - - - Get-AzureStorageShare - - - - - - - - Remove-AzureStorageDirectory - - Remove an azure storage file directory. - - - - - - Remove - AzureStorageDirectory - - - - - - Remove an azure storage file directory. - - - - Remove-AzureStorageDirectory - - ShareName - - The file share name - - String - - - Path - - The path of the file directory to be removed - - String - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageDirectory - - Share - - The file share object - - CloudFileShare - - - Path - - The path of the file directory to be removed - - String - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageDirectory - - Directory - - The directory object to be removed - - CloudFileDirectory - - - Path - - The path of the file directory to be removed - - String - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageDirectory - - Path - - The path of the file directory to be removed - - String - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageDirectory - - Path - - The path of the file directory to be removed - - String - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - - - ShareName - - The file share name - - String - - String - - - - - - Path - - The path of the file directory to be removed - - String - - String - - - - - - PassThru - - - - - SwitchParameter - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - SwitchParameter - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - Directory - - The directory object to be removed - - CloudFileDirectory - - CloudFileDirectory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Get-AzureStorageShare -Name sample | Remove-AzureStorageDirectory -Path sampledir - - This example removes a file directory named sampledir under the sample file share. - - - - - - - - - - - - - - - - -------------- Example 2 -------------- - - - C:\PS> - C:\PS> - - Remove-AzureStorageDirectory -ShareName sample -Path sampledir - - This example removes a file directory named sampledir under the sample file share. - - - - - - - - - - - - - - - - - Get-AzureStorageFile - - - - New-AzureStorageDirectory - - - - - - - - Remove-AzureStorageFile - - Remove the specified file - - - - - - Remove - AzureStorageFile - - - - - - Remove the specified file - - - - Remove-AzureStorageFile - - ShareName - - The file share name - - String - - - Path - - The path of the file to be removed - - String - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageFile - - Share - - The file share object - - CloudFileShare - - - Path - - The path of the file to be removed - - String - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageFile - - File - - The file object to remove - - CloudFile - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageFile - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageFile - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - - - ShareName - - The file share name - - String - - String - - - - - - Path - - The path of the file to be removed - - String - - String - - - - - - PassThru - - - - - SwitchParameter - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - SwitchParameter - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - File - - The file object to remove - - CloudFile - - CloudFile - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Remove-AzureStorageFile –ShareName sample –FilePath samplefile - - This example removes the samplefile file from the sample file share. - - - - - - - - - - - - - - - - - Get-AzureStorageFile - - - - - - - - Remove-AzureStorageShare - - Remove an azure storage file share. - - - - - - Remove - AzureStorageShare - - - - - - Remove an azure storage file share. - - - - Remove-AzureStorageShare - - Name - - The file share name - - String - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageShare - - Share - - The file share object - - CloudFileShare - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageShare - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - Remove-AzureStorageShare - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - - - - - Name - - The file share name - - String - - String - - - - - - PassThru - - - - - SwitchParameter - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - SwitchParameter - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Remove-AzureStorageShare -Name sample - - This example removes a file share named sample. - - - - - - - - - - - - - - - - - New-AzureStorageShare - - - - Get-AzureStorageShare - - - - - - - - Set-AzureStorageFileContent - - Upload the specified file to azure. - - - - - - Set - AzureStorageFileContent - - - - - - Upload the specified file to azure. - - - - Set-AzureStorageFileContent - - ShareName - - The file share name - - String - - - Source - - The source path of the file to upload - - String - - - Path - - The destination file path to upload the local file - - String - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Set-AzureStorageFileContent - - Share - - The file share object - - CloudFileShare - - - Source - - The source path of the file to upload - - String - - - Path - - The destination file path to upload the local file - - String - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Set-AzureStorageFileContent - - Directory - - The destination directory object to upload the file - - CloudFileDirectory - - - Source - - The source path of the file to upload - - String - - - Path - - The destination file path to upload the local file - - String - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - - PassThru - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Set-AzureStorageFileContent - - Source - - The source path of the file to upload - - String - - - Path - - The destination file path to upload the local file - - String - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - Set-AzureStorageFileContent - - Source - - The source path of the file to upload - - String - - - Path - - The destination file path to upload the local file - - String - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - - PassThru - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - - ClientRequestId - - - - String - - - PipelineVariable - - - - String - - - - - - ShareName - - The file share name - - String - - String - - - - - - Source - - The source path of the file to upload - - String - - String - - - - - - Path - - The destination file path to upload the local file - - String - - String - - - - - - Force - - If this parameter is set, it will overwrite the azure storage file when there is name conflict. - - - SwitchParameter - - - - - - PassThru - - - - - SwitchParameter - - - - - - Context - - Azure Storage Context. You can create it by New-AzureStorageContext cmdlet. - - AzureStorageContext - - AzureStorageContext - - - - - - ServerTimeoutPerRequest - - Server side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientTimeoutPerRequest - - Client side timeout value for the request. - - Int32 - - Int32 - - - - - - ClientRequestId - - - - String - - String - - - - - - PipelineVariable - - - - String - - String - - - - - - Share - - The file share object - - CloudFileShare - - CloudFileShare - - - - - - Directory - - The destination directory object to upload the file - - CloudFileDirectory - - CloudFileDirectory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- Example 1 -------------- - - - C:\PS> - C:\PS> - - Set-AzureStorageFileContent –ShareName sample –Source samplefile –FilePath sampledir/samplefile - - This example uploads the samplefile file to the path sampledir/samplefile in the sample file share. - - - - - - - - - - - - - - - - - Remove-AzureStorageFileDirectory - - - - New-AzureStorageFileDirectory - - - - Get-AzureStorageFileContent - - - - Set-AzureStorageFileContent - - - - - + \ No newline at end of file diff --git a/src/ServiceManagement/Storage/Commands.Storage/packages.config b/src/ServiceManagement/Storage/Commands.Storage/packages.config index ba75013183d1..9979bb0e1f8f 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage/packages.config @@ -6,8 +6,8 @@ - - + + 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 62f589d789eb..d57b7814a183 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj @@ -57,17 +57,17 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.12.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.14.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll True @@ -81,13 +81,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/AddTrafficManagerEndpointTests.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/AddTrafficManagerEndpointTests.cs index 780c1802828a..eeb36f0f3f43 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/AddTrafficManagerEndpointTests.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/AddTrafficManagerEndpointTests.cs @@ -235,9 +235,9 @@ public void AddTrafficManagerEndpointNoWeightNoLocationNoMinChildEndpoints() Assert.IsTrue(actual.Endpoints.Any(e => e.DomainName == DomainName)); TrafficManagerEndpoint endpoint = actual.Endpoints.First(e => e.DomainName == DomainName); - Assert.AreEqual(1, endpoint.Weight); + Assert.AreEqual(null, endpoint.Weight); Assert.IsNull(endpoint.Location); - Assert.AreEqual(1, endpoint.MinChildEndpoints); + Assert.AreEqual(null, endpoint.MinChildEndpoints); } private ProfileWithDefinition GetProfileWithDefinition(string profileDomainName = ProfileDomainName) diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/SetTrafficManagerEndpointTests.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/SetTrafficManagerEndpointTests.cs index 977feaae10ca..623df4ce4d16 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/SetTrafficManagerEndpointTests.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Endpoints/SetTrafficManagerEndpointTests.cs @@ -284,8 +284,8 @@ public void SetTrafficManagerEndpointMissingWeightSucceeds() Assert.AreEqual(EndpointType.Any, newEndpoint.Type); Assert.AreEqual(EndpointStatus.Enabled, newEndpoint.Status); - // Default weight is 1 - Assert.AreEqual(1, newEndpoint.Weight); + // Default weight value in PS is null + Assert.AreEqual(null, newEndpoint.Weight); Assert.AreEqual(Location, newEndpoint.Location); } diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config index 564833aae0de..a2938791bf5b 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config @@ -6,10 +6,10 @@ - - + + - + diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj index 15a7e1f68ba2..6728227a0fa9 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj @@ -66,23 +66,23 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Common.1.3.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - True + + False + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.0\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.1.3.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.12.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.14.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -91,13 +91,13 @@ - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - + False - ..\..\..\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll + ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/AddAzureTrafficManagerEndpoint.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/AddAzureTrafficManagerEndpoint.cs index 8a8b047112d1..58578190d7f9 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/AddAzureTrafficManagerEndpoint.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/AddAzureTrafficManagerEndpoint.cs @@ -52,8 +52,8 @@ public override void ExecuteCmdlet() endpoint.Location = Location; endpoint.Status = (EndpointStatus)Enum.Parse(typeof(EndpointStatus), Status); endpoint.Type = (EndpointType)Enum.Parse(typeof(EndpointType), Type); - endpoint.Weight = Weight.HasValue ? Weight.Value : 1; - endpoint.MinChildEndpoints = MinChildEndpoints.HasValue ? MinChildEndpoints.Value : 1; + endpoint.Weight = Weight; + endpoint.MinChildEndpoints = MinChildEndpoints; ProfileWithDefinition profile = TrafficManagerProfile.GetInstance(); if (profile.Endpoints.Any(e => e.DomainName.Equals(endpoint.DomainName, StringComparison.InvariantCultureIgnoreCase))) diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/SetAzureTrafficManagerEndpoint.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/SetAzureTrafficManagerEndpoint.cs index ef6590135ea1..5811a3dbcccb 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/SetAzureTrafficManagerEndpoint.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Endpoint/SetAzureTrafficManagerEndpoint.cs @@ -66,8 +66,8 @@ public override void ExecuteCmdlet() endpoint.DomainName = DomainName; endpoint.Location = Location; endpoint.Type = (EndpointType)Enum.Parse(typeof(EndpointType), Type); - endpoint.Weight = Weight.HasValue ? Weight.Value : 1; - endpoint.MinChildEndpoints = MinChildEndpoints.HasValue ? MinChildEndpoints.Value : 1; + endpoint.Weight = Weight; + endpoint.MinChildEndpoints = MinChildEndpoints; endpoint.Status = (EndpointStatus)Enum.Parse(typeof(EndpointStatus), Status); // Add it because the endpoint didn't exist diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1 b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1 new file mode 100644 index 000000000000..a7e168b3e739 --- /dev/null +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\TrafficManager\Microsoft.WindowsAzure.Commands.TrafficManager.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.xml b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.xml index 6c4700cc971d..9d7bf40300b9 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.xml +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.xml @@ -1,850 +1,808 @@ - - - - - Add-AzureTrafficManagerEndpoint - - Adds an endpoint to a Traffic Manager profile. - - - - - Add - AzureTrafficManagerEndpoint - - - - The Add-AzureTrafficManagerEndpoint cmdlet adds an endpoint to a Microsoft Azure Traffic Manager profile. After you add an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. - - - - Add-AzureTrafficManagerEndpoint - - TrafficManagerProfile - - Specifies the Traffic Manager profile object to which to add the endpoint. - - IProfileWithDefinition - - - Location - - Specifies the location of the endpoint the cmdlet adds. This must be an Azure location. - This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. - - String - - - Weight - - Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000]. - This parameter is only used for RoundRobin load balancing policies. - - Int32 - - - MinChildEndpoints - - Specifies the minimum amount of endpoints the nested profile has to have online for this endpoint to be considered online. The valid value for this parameter should be bigger than 0. - This parameter is only used for TrafficManager endpoint types. - - Int32 - - - DomainName - - Specifies the domain name of the endpoint to add. - - String - - - Status - - Specifies the status of the monitoring endpoint. Valid values are: - --- Enabled --- Disabled - -If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. - - - Enabled - Disabled - - - - Type - - Specifies the type of endpoint. Valid values are: + + + + + Add-AzureTrafficManagerEndpoint + + Adds an endpoint to a Traffic Manager profile. + + + + + Add + AzureTrafficManagerEndpoint + + + + + The Add-AzureTrafficManagerEndpoint cmdlet adds an endpoint to a Microsoft Azure Traffic Manager profile. After you add an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. + + + + Add-AzureTrafficManagerEndpoint + + DomainName + + Specifies the domain name of the endpoint to add. + + String + + + Location + + Specifies the location of the endpoint the cmdlet adds. This must be an Azure location.This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. + + String + + + Type + + Specifies the type of endpoint. Valid values are: -- CloudService -- AzureWebsite -- Any -- TrafficManager -If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. - - - CloudService - AzureWebsite - Any - TrafficManager - - - - - - - DomainName - - Specifies the domain name of the endpoint to add. - - String - - String - - - none - - - Location - - Specifies the location of the endpoint the cmdlet adds. This must be an Azure location. - This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. - - String - - String - - - none - - - Status - - Specifies the status of the monitoring endpoint. Valid values are: +If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. + + String + + + Status + + Specifies the status of the monitoring endpoint. Valid values are: -- Enabled -- Disabled -If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. - - String - - String - - - none - - - TrafficManagerProfile - - Specifies the Traffic Manager profile object to which to add the endpoint. - - IProfileWithDefinition - - IProfileWithDefinition - - - none - - - Type - - Specifies the type of endpoint. Valid values are: +If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. + + String + + + Weight + + Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000].This parameter is only used for RoundRobin load balancing policies. + + Nullable`1[Int32] + + + MinChildEndpoints + + Specifies the minimum amount of endpoints the nested profile has to have online for this endpoint to be considered online. The valid value for this parameter should be bigger than 0.This parameter is only used for TrafficManager endpoint types. + + Nullable`1[Int32] + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object to which to add the endpoint. + + IProfileWithDefinition + + + + + + DomainName + + Specifies the domain name of the endpoint to add. + + String + + String + + + none + + + Location + + Specifies the location of the endpoint the cmdlet adds. This must be an Azure location.This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. + + String + + String + + + none + + + Type + + Specifies the type of endpoint. Valid values are: -- CloudService -- AzureWebsite -- Any -- TrafficManager -If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. - - String - - String - - - none - - - Weight - - Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000]. - This parameter is only used for RoundRobin load balancing policies. - - Int32 - - Int32 - - - - - - - MinChildEndpoints - - Specifies the minimum amount of endpoints the nested profile has to have online for this endpoint to be considered online. The valid value for this parameter should be bigger than 0. - This parameter is only used for TrafficManager endpoint types. - - Int32 - - Int32 - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object, which contains information about the updated profile. - - - - - - - - Example 1: Add an endpoint to a profile - - - - - PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" -PS C:\> Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "Contoso02App.cloudapp.net" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile - - - The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. - The second command adds an endpoint to Traffic Manager profile that is stored in $TrafficManagerProfile. The endpoint has the domain name Contoso02App.couldapp.net. The command also specifies whether it is enabled and its type. The command passes the profile object to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. - - - - - - - - - Example 2: Add an endpoint that has a specified location and weight - - - - - PS C:\>Add-AzureTrafficManagerEndpoint -TrafficManagerProfile ContosoTrafficManagerProfile -DomainName " Contoso02App.cloudapp.net" -Status Enabled -Type CloudService -Weight 2 -Location myLocation | Set-AzureTrafficManagerProfile - - - This command adds an endpoint to a Traffic Manager profile. The endpoint has the domain name Contoso02App.couldapp.net. The command also specifies whether it is enabled and its type. The command also specifies the weight and location for the endpoint. The command passes the profile object to Set-AzureTrafficManagerProfile to connect to Azure to save your changes. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398281 - - - Remove-AzureTrafficManagerEndpoint - - - - Set-AzureTrafficManagerEndpoint - - - - Get-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Disable-AzureTrafficManagerProfile - - Disables a Traffic Manager profile. - - - - - Disable - AzureTrafficManagerProfile - - - - The Disable-AzureTrafficManagerProfile cmdlet disables a Microsoft Azure Traffic Manager profile. You can use the PassThru parameter to display whether the operation succeeds. - - - - Disable-AzureTrafficManagerProfile - - Name - - Specifies the name of the Traffic Manager profile to disable. - - String - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - - - - - - Name - - Specifies the name of the Traffic Manager profile to disable. - - String - - String - - - none - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - This cmdlet generates $True or $False. If the operation is successful and if you specify the PassThru parameter, this cmdlet returns a value of $True. - - - - - - - - Example 1: Disable a Traffic Manager profile and display the results - - - - - PS C:\>Disable-AzureTrafficManagerProfile -Name "MyProfile" -PassThru -True - - - This command disables the Traffic Manager profile named MyProfile. The command specifies the PassThru parameter to display whether the command succeeded. - - - - - - - - - Example 2: Disable a Traffic Manager profile and display no results - - - - - PS C:\>Disable-AzureTrafficManagerProfile -Name "MyProfile" - - - This command disables the Traffic Manager profile named MyProfile but does not display whether the command succeeded. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398282 - - - Enable-AzureTrafficManagerProfile - - - - Get-AzureTrafficManagerProfile - - - - New-AzureTrafficManagerProfile - - - - Remove-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Enable-AzureTrafficManagerProfile - - Enables a Traffic Manager profile. - - - - - Enable - AzureTrafficManagerProfile - - - - The Enable-AzureTrafficManagerProfile cmdlet enables a Microsoft Azure Traffic Manager profile. Specify the PassThru parameter to display whether the operation succeeds. - - - - Enable-AzureTrafficManagerProfile - - Name - - Specifies the name of the Traffic Manager profile to enable. - - String - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - - - - - - Name - - Specifies the name of the Traffic Manager profile to enable. - - String - - String - - - none - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - This cmdlet generates $True or $False. If the operation succeeds and if you specify the PassThru parameter, this cmdlet returns a value of $True. - - - - - - - - Example 1: Enable a Traffic Manager profile - - - - - PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile" - - - This command enables the Traffic Manager profile named MyProfile. - - - - - - - - - Example 2: Enable a Traffic Manager profile and display the results - - - - - PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile" -PassThru -True - - - This command enables the Traffic Manager profile named MyProfile and displays whether the command succeeded. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398283 - - - Disable-AzureTrafficManagerProfile - - - - Get-AzureTrafficManagerProfile - - - - New-AzureTrafficManagerProfile - - - - Remove-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Get-AzureTrafficManagerProfile - - Gets the details of a Traffic Manager profile. - - - - - Get - AzureTrafficManagerProfile - - - - The Get-AzureTrafficManagerProfile cmdlet gets the details of a Microsoft Azure Traffic Manager profile. If you do not specify the Name parameter, the cmdlet lists the Traffic Manager profiles in the current subscription. - - - - Get-AzureTrafficManagerProfile - - Name - - Specifies the name of the Traffic Manager profile to get. - - String - - - - - - Name - - Specifies the name of the Traffic Manager profile to get. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object or objects. - - - - - - - - Example 1: Get the list of Traffic Manager profiles in a subscription - - - - - PS C:\>Get-AzureTrafficManagerProfile - - - This command gets the list of Traffic Manager profiles in your subscription. - - - - - - - - - Example 2: Get a Traffic Manager profile - - - - - PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" - - - This command gets the Traffic Manager profile named MyProfile. - - - - - - - - - - Example 3: Add an endpoint to a Traffic Manager profile - - - - - PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" | Add-AzureTrafficManagerEndpoint -DomainName "Myapp2.cloudapp.net" -TrafficManagerProfile $MyTrafficManagerProfile -Type "CloudService" -Status "Enabled" | Set-AzureTrafficManagerProfile - - - This command adds an endpoint to a Traffic Manager profile, and then saves the profile. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398284 - - - Add-AzureTrafficManagerEndpoint - - - - Disable-AzureTrafficManagerProfile - - - - Enable-AzureTrafficManagerProfile - - - - New-AzureTrafficManagerProfile - - - - Remove-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - New-AzureTrafficManagerProfile - - Creates a Traffic Manager profile. - - - - - New - AzureTrafficManagerProfile - - - - The New-AzureTrafficManagerProfile cmdlet creates a Microsoft Azure Traffic Manager profile. - After you create a profile where you set the LoadBalancingMethod value to "Failover", you can determine the failover order of the endpoints you add to your profile with the Add-AzureTrafficManagerEndpoint cmdlet. For more information, see Example 2 below. - - - - New-AzureTrafficManagerProfile - - Name - - Specifies the name of the Traffic Manager profile to create. - - String - - - DomainName - - Specifies the domain name of the Traffic Manager profile. This must be a subdomain of trafficmanager.net. - - String - - - LoadBalancingMethod - - Specifies the load balancing method to use to distribute the connection. +If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. + + String + + String + + + none + + + Status + + Specifies the status of the monitoring endpoint. Valid values are: + +-- Enabled +-- Disabled + +If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. + + String + + String + + + none + + + Weight + + Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000].This parameter is only used for RoundRobin load balancing policies. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + MinChildEndpoints + + Specifies the minimum amount of endpoints the nested profile has to have online for this endpoint to be considered online. The valid value for this parameter should be bigger than 0.This parameter is only used for TrafficManager endpoint types. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object to which to add the endpoint. + + IProfileWithDefinition + + IProfileWithDefinition + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Add an endpoint to a profile -------------------------- + + + + PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" +PS C:\> Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "Contoso02App.cloudapp.net" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile + + The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. + + + + The second command adds an endpoint to Traffic Manager profile that is stored in $TrafficManagerProfile. The endpoint has the domain name Contoso02App.couldapp.net. The command also specifies whether it is enabled and its type. The command passes the profile object to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. + + + + + -------------------------- Example 2: Add an endpoint that has a specified location and weight -------------------------- + + + + PS C:\>Add-AzureTrafficManagerEndpoint -TrafficManagerProfile ContosoTrafficManagerProfile -DomainName " Contoso02App.cloudapp.net" -Status Enabled -Type CloudService -Weight 2 -Location myLocation | Set-AzureTrafficManagerProfile + + This command adds an endpoint to a Traffic Manager profile. The endpoint has the domain name Contoso02App.couldapp.net. The command also specifies whether it is enabled and its type. The command also specifies the weight and location for the endpoint. The command passes the profile object to Set-AzureTrafficManagerProfile to connect to Azure to save your changes. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398281 + + + Remove-AzureTrafficManagerEndpoint + + + + Set-AzureTrafficManagerEndpoint + + + + Get-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Disable-AzureTrafficManagerProfile + + Disables a Traffic Manager profile. + + + + + Disable + AzureTrafficManagerProfile + + + + + The Disable-AzureTrafficManagerProfile cmdlet disables a Microsoft Azure Traffic Manager profile. You can use the PassThru parameter to display whether the operation succeeds. + + + + Disable-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to disable. + + String + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + + + + + Name + + Specifies the name of the Traffic Manager profile to disable. + + String + + String + + + none + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Disable a Traffic Manager profile and display the results -------------------------- + + + + PS C:\>Disable-AzureTrafficManagerProfile -Name "MyProfile" -PassThru +True + + This command disables the Traffic Manager profile named MyProfile. The command specifies the PassThru parameter to display whether the command succeeded. + + + + + + + + + -------------------------- Example 2: Disable a Traffic Manager profile and display no results -------------------------- + + + + PS C:\>Disable-AzureTrafficManagerProfile -Name "MyProfile" + + This command disables the Traffic Manager profile named MyProfile but does not display whether the command succeeded. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398282 + + + Enable-AzureTrafficManagerProfile + + + + Get-AzureTrafficManagerProfile + + + + New-AzureTrafficManagerProfile + + + + Remove-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Enable-AzureTrafficManagerProfile + + Enables a Traffic Manager profile. + + + + + Enable + AzureTrafficManagerProfile + + + + + The Enable-AzureTrafficManagerProfile cmdlet enables a Microsoft Azure Traffic Manager profile. Specify the PassThru parameter to display whether the operation succeeds. + + + + Enable-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to enable. + + String + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + + + + + Name + + Specifies the name of the Traffic Manager profile to enable. + + String + + String + + + none + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Enable a Traffic Manager profile -------------------------- + + + + PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile" + + This command enables the Traffic Manager profile named MyProfile. + + + + + + + + + -------------------------- Example 2: Enable a Traffic Manager profile and display the results -------------------------- + + + + PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile" -PassThru +True + + This command enables the Traffic Manager profile named MyProfile and displays whether the command succeeded. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398283 + + + Disable-AzureTrafficManagerProfile + + + + Get-AzureTrafficManagerProfile + + + + New-AzureTrafficManagerProfile + + + + Remove-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Get-AzureTrafficManagerProfile + + Gets the details of a Traffic Manager profile. + + + + + Get + AzureTrafficManagerProfile + + + + + The Get-AzureTrafficManagerProfile cmdlet gets the details of a Microsoft Azure Traffic Manager profile. If you do not specify the Name parameter, the cmdlet lists the Traffic Manager profiles in the current subscription. + + + + Get-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to get. + + String + + + + + + Name + + Specifies the name of the Traffic Manager profile to get. + + String + + String + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get the list of Traffic Manager profiles in a subscription -------------------------- + + + + PS C:\>Get-AzureTrafficManagerProfile + + This command gets the list of Traffic Manager profiles in your subscription. + + + + + + + + + -------------------------- Example 2: Get a Traffic Manager profile -------------------------- + + + + PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" + + This command gets the Traffic Manager profile named MyProfile. + + + + + + + + + -------------------------- Example 3: Add an endpoint to a Traffic Manager profile -------------------------- + + + + PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" | Add-AzureTrafficManagerEndpoint -DomainName "Myapp2.cloudapp.net" -TrafficManagerProfile $MyTrafficManagerProfile -Type "CloudService" -Status "Enabled" | Set-AzureTrafficManagerProfile + + This command adds an endpoint to a Traffic Manager profile, and then saves the profile. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398284 + + + Add-AzureTrafficManagerEndpoint + + + + Disable-AzureTrafficManagerProfile + + + + Enable-AzureTrafficManagerProfile + + + + New-AzureTrafficManagerProfile + + + + Remove-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + New-AzureTrafficManagerProfile + + Creates a Traffic Manager profile. + + + + + New + AzureTrafficManagerProfile + + + + + The New-AzureTrafficManagerProfile cmdlet creates a Microsoft Azure Traffic Manager profile.After you create a profile where you set the LoadBalancingMethod value to "Failover", you can determine the failover order of the endpoints you add to your profile with the Add-AzureTrafficManagerEndpoint cmdlet. For more information, see Example 2 below. + + + + New-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to create. + + String + + + DomainName + + Specifies the domain name of the Traffic Manager profile. This must be a subdomain of trafficmanager.net. + + String + + + LoadBalancingMethod + + Specifies the load balancing method to use to distribute the connection. Valid values are: -- Performance -- Failover -- RoundRobin - - - Performance - Failover - RoundRobin - - - - MonitorPort - - Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. - - Int32 - - - MonitorProtocol - - Specifies the protocol to use to monitor endpoint health. + + String + + + MonitorPort + + Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. + + Int32 + + + MonitorProtocol + + Specifies the protocol to use to monitor endpoint health. Valid values are: -- Http --- Https - - - - Http - Https - - - - MonitorRelativePath - - Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: +-- Https + + String + + + MonitorRelativePath + + Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: -- The path must be from 1 through 1000 characters. @@ -855,82 +813,93 @@ Valid values are: -- It must contain no double slashes, //. -- It must contain no invalid HTML escape characters. For example, %XY. - - String - - - Ttl - - Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are integers from 30 through 999,999. - - Int32 - - - - - - DomainName - - Specifies the domain name of the Traffic Manager profile. This must be a subdomain of trafficmanager.net. - - String - - String - - - none - - - LoadBalancingMethod - - Specifies the load balancing method to use to distribute the connection. + + String + + + Ttl + + Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are integers from 30 through 999,999. + + Int32 + + + + + + Name + + Specifies the name of the Traffic Manager profile to create. + + String + + String + + + none + + + DomainName + + Specifies the domain name of the Traffic Manager profile. This must be a subdomain of trafficmanager.net. + + String + + String + + + none + + + LoadBalancingMethod + + Specifies the load balancing method to use to distribute the connection. Valid values are: -- Performance -- Failover -- RoundRobin - - String - - String - - - none - - - MonitorPort - - Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. - - Int32 - - Int32 - - - none - - - MonitorProtocol - - Specifies the protocol to use to monitor endpoint health. + + String + + String + + + none + + + MonitorPort + + Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. + + Int32 + + Int32 + + + none + + + MonitorProtocol + + Specifies the protocol to use to monitor endpoint health. Valid values are: -- Http --- Https - - - String - - String - - - none - - - MonitorRelativePath - - Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: +-- Https + + String + + String + + + none + + + MonitorRelativePath + + Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: -- The path must be from 1 through 1000 characters. @@ -941,1134 +910,1100 @@ Valid values are: -- It must contain no double slashes, //. -- It must contain no invalid HTML escape characters. For example, %XY. - - String - - String - - - none - - - Name - - Specifies the name of the Traffic Manager profile to create. - - String - - String - - - none - - - Ttl - - Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are integers from 30 through 999,999. - - Int32 - - Int32 - - - none - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object. - - - - - - - - Example 1: Create a Traffic Manager profile - - - - - PS C:\>New-AzureTrafficManagerProfile -Name "MyProfile" -DomainName "My.profile.trafficmanager.net" -LoadBalancingMethod "RoundRobin" -Ttl 30 -MonitorProtocol "Http" -MonitorPort 80 -MonitorRelativePath "/" - - - - This command creates a Traffic Manager profile named MyProfile in the specified Traffic Manager domain with a Round Robin load balancing method, a TTL of 30 seconds, HTTP monitoring protocol, monitoring port 80, and with the specified path. - - - - - - - - - Example 2: Reorder endpoints to desired failover order - - - - - PS C:\>$Profile = Get-AzureTrafficManagerProfile -Name "MyProfile" + + String + + String + + + none + + + Ttl + + Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are integers from 30 through 999,999. + + Int32 + + Int32 + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a Traffic Manager profile -------------------------- + + + + PS C:\>New-AzureTrafficManagerProfile -Name "MyProfile" -DomainName "My.profile.trafficmanager.net" -LoadBalancingMethod "RoundRobin" -Ttl 30 -MonitorProtocol "Http" -MonitorPort 80 -MonitorRelativePath "/" + + This command creates a Traffic Manager profile named MyProfile in the specified Traffic Manager domain with a Round Robin load balancing method, a TTL of 30 seconds, HTTP monitoring protocol, monitoring port 80, and with the specified path. + + + + + + + + + -------------------------- Example 2: Reorder endpoints to desired failover order -------------------------- + + + + PS C:\>$Profile = Get-AzureTrafficManagerProfile -Name "MyProfile" PS C:\> $Profile.Endpoints[0],$Profile.Endpoints[1] = $Profile.Endpoints[1],$Profile.Endpoints[0] -PS C:\> $Profile = Set-AzureTrafficManagerProfile - - - This example reorders the endpoints added to MyProfile to the desired failover order. - The first command gets the Traffic Manager profile object named MyProfile and stores the object in the $Profile variable. - The second command re-orders the endpoints from the endpoints array to the order in which failover should occur. - The last command updates the Traffic Manager profile stored in $Profile with the new endpoint order. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398285 - - - Disable-AzureTrafficManagerProfile - - - - Enable-AzureTrafficManagerProfile - - - - Get-AzureTrafficManagerProfile - - - - Remove-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Remove-AzureTrafficManagerEndpoint - - Removes an endpoint from a Traffic Manager profile. - - - - - Remove - AzureTrafficManagerEndpoint - - - - The Remove-AzureTrafficManagerEndpoint cmdlet removes an endpoint from a Microsoft Azure Traffic Manager profile. After you remove an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. - - - - Remove-AzureTrafficManagerEndpoint - - TrafficManagerProfile - - Specifies the Traffic Manager profile object from which to remove the endpoint. - - IProfileWithDefinition - - - DomainName - - Specifies the domain name of the endpoint to remove. - - String - - - - - - DomainName - - Specifies the domain name of the endpoint to remove. - - String - - String - - - none - - - TrafficManagerProfile - - Specifies the Traffic Manager profile object from which to remove the endpoint. - - IProfileWithDefinition - - IProfileWithDefinition - - - none - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object, which contains information about the updated profile. - - - - - - - - Example 1: Remove an endpoint from a profile - - - - - PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" -PS C:\> Remove-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "Contoso02App.cloudapp.net" | Set-AzureTrafficManagerProfile - - - The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. - The second command removes an endpoint that has the domain name Contoso02App.cloudapp.net from the Traffic Manager profile that is stored in $TrafficManagerProfile. The command passes the profile object to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398286 - - - Add-AzureTrafficManagerEndpoint - - - - Set-AzureTrafficManagerEndpoint - - - - Get-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Remove-AzureTrafficManagerProfile - - Removes a Traffic Manager profile. - - - - - Remove - AzureTrafficManagerProfile - - - - The Remove-AzureTrafficManagerProfile cmdlet removes a Microsoft Azure Traffic Manager profile from the current subscription. - - - - Remove-AzureTrafficManagerProfile - - Name - - Specifies the name of the Traffic Manager profile to delete. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - - - - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - Name - - Specifies the name of the Traffic Manager profile to delete. - - String - - String - - - none - - - PassThru - - Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - This cmdlet generates $True or $False. If the operation is successful and if you specify the PassThru parameter, this cmdlet returns a value of $True. - - - - - - - - Example 1: Remove a Traffic Manager profile - - - - - PS C:\>Remove-AzureTrafficManagerProfile -Name "MyProfile" - - - This command removes the Traffic Manager profile named MyProfile. - - - - - - - - - Example 2: Remove a Traffic Manager profile - - - - - PS C:\>Remove-AzureTrafficManagerProfile -Name "MyProfile" -Force -PassThru - - - This command removes the Traffic Manager profile named MyProfile without prompting you for confirmation, and returns the results. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398286 - - - Disable-AzureTrafficManagerProfile - - - - Enable-AzureTrafficManagerProfile - - - - Get-AzureTrafficManagerProfile - - - - New-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Set-AzureTrafficManagerEndpoint - - Updates the properties of an endpoint in a Traffic Manager profile. - - - - - Set - AzureTrafficManagerEndpoint - - - - The Set-AzureTrafficManagerEndpoint cmdlet updates the properties of an endpoint in a Microsoft Azure Traffic Manager profile. If the endpoint does not exist in the current profile, this cmdlet creates it. After you add an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. - - - - Set-AzureTrafficManagerEndpoint - - TrafficManagerProfile - - Specifies the Traffic Manager profile object for which to modify the endpoint. - - IProfileWithDefinition - - - Location - - Specifies the location of the endpoint the cmdlet adds. This must be an Azure location. - This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. - - String - - - Status - - Specifies the status of the monitoring endpoint. Valid values are: - --- Enabled --- Disabled - -If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. - - - Enabled - Disabled - - - - Type - - Specifies the type of endpoint. Valid values are: +PS C:\> $Profile = Set-AzureTrafficManagerProfile + + This example reorders the endpoints added to MyProfile to the desired failover order. + + + + The first command gets the Traffic Manager profile object named MyProfile and stores the object in the $Profile variable.The second command re-orders the endpoints from the endpoints array to the order in which failover should occur.The last command updates the Traffic Manager profile stored in $Profile with the new endpoint order. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398285 + + + Disable-AzureTrafficManagerProfile + + + + Enable-AzureTrafficManagerProfile + + + + Get-AzureTrafficManagerProfile + + + + Remove-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Remove-AzureTrafficManagerEndpoint + + Removes an endpoint from a Traffic Manager profile. + + + + + Remove + AzureTrafficManagerEndpoint + + + + + The Remove-AzureTrafficManagerEndpoint cmdlet removes an endpoint from a Microsoft Azure Traffic Manager profile. After you remove an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. + + + + Remove-AzureTrafficManagerEndpoint + + DomainName + + Specifies the domain name of the endpoint to remove. + + String + + + Force + + + + SwitchParameter + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object from which to remove the endpoint. + + IProfileWithDefinition + + + + + + DomainName + + Specifies the domain name of the endpoint to remove. + + String + + String + + + none + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object from which to remove the endpoint. + + IProfileWithDefinition + + IProfileWithDefinition + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove an endpoint from a profile -------------------------- + + + + PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" +PS C:\> Remove-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "Contoso02App.cloudapp.net" | Set-AzureTrafficManagerProfile + + The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. + + + + The second command removes an endpoint that has the domain name Contoso02App.cloudapp.net from the Traffic Manager profile that is stored in $TrafficManagerProfile. The command passes the profile object to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398286 + + + Add-AzureTrafficManagerEndpoint + + + + Set-AzureTrafficManagerEndpoint + + + + Get-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Remove-AzureTrafficManagerProfile + + Removes a Traffic Manager profile. + + + + + Remove + AzureTrafficManagerProfile + + + + + The Remove-AzureTrafficManagerProfile cmdlet removes a Microsoft Azure Traffic Manager profile from the current subscription. + + + + Remove-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to delete. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + + + + + Name + + Specifies the name of the Traffic Manager profile to delete. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + PassThru + + Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove a Traffic Manager profile -------------------------- + + + + PS C:\>Remove-AzureTrafficManagerProfile -Name "MyProfile" + + This command removes the Traffic Manager profile named MyProfile. + + + + + + + + + -------------------------- Example 2: Remove a Traffic Manager profile -------------------------- + + + + PS C:\>Remove-AzureTrafficManagerProfile -Name "MyProfile" -Force -PassThru + + This command removes the Traffic Manager profile named MyProfile without prompting you for confirmation, and returns the results. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398286 + + + Disable-AzureTrafficManagerProfile + + + + Enable-AzureTrafficManagerProfile + + + + Get-AzureTrafficManagerProfile + + + + New-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Set-AzureTrafficManagerEndpoint + + Updates the properties of an endpoint in a Traffic Manager profile. + + + + + Set + AzureTrafficManagerEndpoint + + + + + The Set-AzureTrafficManagerEndpoint cmdlet updates the properties of an endpoint in a Microsoft Azure Traffic Manager profile. If the endpoint does not exist in the current profile, this cmdlet creates it. After you add an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes. + + + + Set-AzureTrafficManagerEndpoint + + DomainName + + Specifies the domain name of the endpoint to modify. + + String + + + Location + + Specifies the location of the endpoint the cmdlet adds. This must be an Azure location.This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. + + String + + + Type + + Specifies the type of endpoint. Valid values are: -- CloudService -- AzureWebsite -- Any -- TrafficManager -If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. - - - CloudService - Any - AzureWebsite - TrafficManager - - - - Weight - - Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000]. - This parameter is only used for RoundRobin load balancing policies. - - Int32 - - - MinChildEndpoints - - Specifies the minimum amount of endpoints the nested profile has to have online for this endpoint to be considered online. The valid value for this parameter should be bigger than 0. - This parameter is only used for TrafficManager endpoint types. - - Int32 - - - DomainName - - Specifies the domain name of the endpoint to modify. - - String - - - - - - DomainName - - Specifies the domain name of the endpoint to modify. - - String - - String - - - none - - - Location - - Specifies the location of the endpoint the cmdlet adds. This must be an Azure location. - This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. - - String - - String - - - none - - - Status - - Specifies the status of the monitoring endpoint. Valid values are: +If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. + + String + + + Status + + Specifies the status of the monitoring endpoint. Valid values are: -- Enabled -- Disabled -If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. - - String - - String - - - none - - - TrafficManagerProfile - - Specifies the Traffic Manager profile object for which to modify the endpoint. - - IProfileWithDefinition - - IProfileWithDefinition - - - none - - - Type - - Specifies the type of endpoint. Valid values are: +If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. + + String + + + Weight + + Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000].This parameter is only used for RoundRobin load balancing policies. + + Nullable`1[Int32] + + + MinChildEndpoints + + + + Nullable`1[Int32] + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object for which to modify the endpoint. + + IProfileWithDefinition + + + + + + DomainName + + Specifies the domain name of the endpoint to modify. + + String + + String + + + none + + + Location + + Specifies the location of the endpoint the cmdlet adds. This must be an Azure location.This parameter must contain a value for endpoints of the type "Any" in a profile that has the load balancing method set to "Performance". You can find a list of possible values for this parameter under Name by calling List Locations. For more information, see List Locations at http://msdn.microsoft.com/en-us/library/gg441293.aspx. + + String + + String + + + none + + + Type + + Specifies the type of endpoint. Valid values are: -- CloudService -- AzureWebsite -- Any -- TrafficManager -If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. - - String - - String - - - none - - - Weight - - Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000]. - This parameter is only used for RoundRobin load balancing policies. - - Int32 - - Int32 - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object, which contains information about the updated profile. - - - - - - - - Example 1: Update an endpoint for a profile - - - - - PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" -PS C:\> Set-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "ContosoApp02.cloudapp.net" -Status "Enabled" -Type "CloudService" -Weight 2 -Location myLocation | Set-AzureTrafficManagerProfile - - - The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. - The second command updates the endpoint in the Traffic Manager profile that is stored in $TrafficManagerProfile. The endpoint has the domain name ContosoApp02.cloudapp.net. The command also specifies the status, type, weight, and location of the endpoint. The command passes the modified profile to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398288 - - - Add-AzureTrafficManagerEndpoint - - - - Remove-AzureTrafficManagerEndpoint - - - - Get-AzureTrafficManagerProfile - - - - Set-AzureTrafficManagerProfile - - - - - - - Set-AzureTrafficManagerProfile - - Updates the properties of a Traffic Manager profile. - - - - - Set - AzureTrafficManagerProfile - - - - The Set-AzureTrafficManagerProfile cmdlet updates the properties of a Microsoft Azure Traffic Manager profile. - For profiles for which you have set the LoadBalancingMethod value to "Failover", you can determine the failover order of the endpoints you have added to your profile with the Add-AzureTrafficManagerEndpoint cmdlet. For more information, see Example 3 below. - - - - Set-AzureTrafficManagerProfile - - TrafficManagerProfile - - Specifies the Traffic Manager profile object you use to set the profile. - - IProfileWithDefinition - - - LoadBalancingMethod - - Specifies the load balancing method to use to distribute the connection. Valid values are: +If there is more than one AzureWebsite endpoint, the endpoints must be in different datacenters. + + String + + String + + + none + + + Status + + Specifies the status of the monitoring endpoint. Valid values are: + +-- Enabled +-- Disabled + +If you specify a value of Enabled, Traffic Manager monitors the endpoint and the load-balancing method considers it when managing traffic. + + String + + String + + + none + + + Weight + + Specifies the weight of the endpoint the cmdlet adds. The valid value range for this parameter is [1,1000].This parameter is only used for RoundRobin load balancing policies. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + MinChildEndpoints + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object for which to modify the endpoint. + + IProfileWithDefinition + + IProfileWithDefinition + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Update an endpoint for a profile -------------------------- + + + + PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile" +PS C:\> Set-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "ContosoApp02.cloudapp.net" -Status "Enabled" -Type "CloudService" -Weight 2 -Location myLocation | Set-AzureTrafficManagerProfile + + The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable. + + + + The second command updates the endpoint in the Traffic Manager profile that is stored in $TrafficManagerProfile. The endpoint has the domain name ContosoApp02.cloudapp.net. The command also specifies the status, type, weight, and location of the endpoint. The command passes the modified profile to the Set-AzureTrafficManagerProfile cmdlet to connect to Azure to save your changes. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398288 + + + Add-AzureTrafficManagerEndpoint + + + + Remove-AzureTrafficManagerEndpoint + + + + Get-AzureTrafficManagerProfile + + + + Set-AzureTrafficManagerProfile + + + + + + + + Set-AzureTrafficManagerProfile + + Updates the properties of a Traffic Manager profile. + + + + + Set + AzureTrafficManagerProfile + + + + + The Set-AzureTrafficManagerProfile cmdlet updates the properties of a Microsoft Azure Traffic Manager profile.For profiles for which you have set the LoadBalancingMethod value to "Failover", you can determine the failover order of the endpoints you have added to your profile with the Add-AzureTrafficManagerEndpoint cmdlet. For more information, see Example 3 below. + + + + Set-AzureTrafficManagerProfile + + Name + + Specifies the name of the Traffic Manager profile to update. + + String + + + LoadBalancingMethod + + Specifies the load balancing method to use to distribute the connection. Valid values are: -- Performance -- Failover -- RoundRobin - - - Performance - Failover - RoundRobin - - - - MonitorPort - - Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. - - Int32 - - - MonitorProtocol - - Specifies the protocol to use to monitor endpoint health. + + String + + + MonitorPort + + Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. + + Nullable`1[Int32] + + + MonitorProtocol + + Specifies the protocol to use to monitor endpoint health. Valid values are: -- Http --- Https - - - - Http - Https - - - - MonitorRelativePath - - Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: +-- Https + + String + + + MonitorRelativePath + + Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: -- The path must be from 1 through 1000 characters. -- It must start with a forward slash, /. -- It must contain no XML elements, <>. -- It must contain no double slashes, //. -- It must contain no invalid HTML escape characters. For example, %XY. - - String - - - Name - - Specifies the name of the Traffic Manager profile to update. - - String - - - Ttl - - Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are an integer from 30 through 999,999. - - Int32 - - - - - - LoadBalancingMethod - - Specifies the load balancing method to use to distribute the connection. Valid values are: + + String + + + Ttl + + Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are an integer from 30 through 999,999. + + Nullable`1[Int32] + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object you use to set the profile. + + IProfileWithDefinition + + + + + + Name + + Specifies the name of the Traffic Manager profile to update. + + String + + String + + + none + + + LoadBalancingMethod + + Specifies the load balancing method to use to distribute the connection. Valid values are: -- Performance -- Failover -- RoundRobin - - String - - String - - - none - - - MonitorPort - - Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. - - Int32 - - Int32 - - - none - - - MonitorProtocol - - Specifies the protocol to use to monitor endpoint health. + + String + + String + + + none + + + MonitorPort + + Specifies the port used to monitor endpoint health. Valid values are integer values greater than 0 and less than or equal to 65,535. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + none + + + MonitorProtocol + + Specifies the protocol to use to monitor endpoint health. Valid values are: -- Http --- Https - - - String - - String - - - none - - - MonitorRelativePath - - Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: +-- Https + + String + + String + + + none + + + MonitorRelativePath + + Specifies the path relative to the endpoint domain name to probe for health state. The path must meet the following restrictions: -- The path must be from 1 through 1000 characters. -- It must start with a forward slash, /. -- It must contain no XML elements, <>. -- It must contain no double slashes, //. -- It must contain no invalid HTML escape characters. For example, %XY. - - String - - String - - - none - - - Name - - Specifies the name of the Traffic Manager profile to update. - - String - - String - - - none - - - TrafficManagerProfile - - Specifies the Traffic Manager profile object you use to set the profile. - - IProfileWithDefinition - - IProfileWithDefinition - - - none - - - Ttl - - Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are an integer from 30 through 999,999. - - Int32 - - Int32 - - - none - - - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition - - - - - - - - This cmdlet generates a Traffic Manager profile object. - - - - - - - - Example 1: Set the TTL for a Traffic Manager profile - - - - - PS C:\>Set-AzureTrafficManagerProfile -TrafficManagerProfile $MyTrafficManagerProfile -Ttl 60 - - - This command sets the TTL to 60 seconds for the Traffic Manager profile object MyTrafficManagerProfile. - - - - - - - - - Example 2: Set several values for a profile - - - - - PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" | Set-AzureTrafficManagerProfile -LoadBalancingMethod "RoundRobin" -Ttl 30 -MonitorProtocol "Http" -MonitorPort 80 -MonitorRelativePath "/" - - - This command gets a Traffic Manager profile named MyProfile by using the Get-AzureTrafficManagerProfile cmdlet. The profile uses the RoundRobin load balancing method, a TTL of 30 seconds, the monitor protocol HTTP, the monitor port, and the relative path for a Traffic Manager profile. - - - - - - - - - Example 3: Reorder endpoints to desired failover order - - - - - PS C:\>$Profile = Get-AzureTrafficManagerProfile -Name "MyProfile" + + String + + String + + + none + + + Ttl + + Specifies the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries. Valid values are an integer from 30 through 999,999. + + Nullable`1[Int32] + + Nullable`1[Int32] + + + none + + + TrafficManagerProfile + + Specifies the Traffic Manager profile object you use to set the profile. + + IProfileWithDefinition + + IProfileWithDefinition + + + none + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Set the TTL for a Traffic Manager profile -------------------------- + + + + PS C:\>Set-AzureTrafficManagerProfile -TrafficManagerProfile $MyTrafficManagerProfile -Ttl 60 + + This command sets the TTL to 60 seconds for the Traffic Manager profile object MyTrafficManagerProfile. + + + + + + + + + -------------------------- Example 2: Set several values for a profile -------------------------- + + + + PS C:\>Get-AzureTrafficManagerProfile -Name "MyProfile" | Set-AzureTrafficManagerProfile -LoadBalancingMethod "RoundRobin" -Ttl 30 -MonitorProtocol "Http" -MonitorPort 80 -MonitorRelativePath "/" + + This command gets a Traffic Manager profile named MyProfile by using the Get-AzureTrafficManagerProfile cmdlet. The profile uses the RoundRobin load balancing method, a TTL of 30 seconds, the monitor protocol HTTP, the monitor port, and the relative path for a Traffic Manager profile. + + + + + + + + + -------------------------- Example 3: Reorder endpoints to desired failover order -------------------------- + + + + PS C:\>$Profile = Get-AzureTrafficManagerProfile -Name "MyProfile" PS C:\> $Profile.Endpoints[0],$Profile.Endpoints[1] = $Profile.Endpoints[1],$Profile.Endpoints[0] -PS C:\> $Profile = Set-AzureTrafficManagerProfile - - - This example reorders the endpoints added to MyProfile to the desired failover order. - The first command gets the Traffic Manager profile object named MyProfile and stores the object in the $Profile variable. - The second command re-orders the endpoints from the endpoints array to the order in which failover should occur. - The last command updates the Traffic Manager profile stored in $Profile with the new endpoint order. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398289 - - - Disable-AzureTrafficManagerProfile - - - - Enable-AzureTrafficManagerProfile - - - - Get-AzureTrafficManagerProfile - - - - New-AzureTrafficManagerProfile - - - - Remove-AzureTrafficManagerProfile - - - - - - - Test-AzureTrafficManagerDomainName - - Checks whether a domain name is available as a Traffic Manager profile. - - - - - Test - AzureTrafficManagerDomainName - - - - The Test-AzureTrafficManagerDomainName cmdlet checks whether a domain name is available as a Microsoft Azure Traffic Manager profile. If the domain name is available, this cmdlet returns a value of $True. - - - - Test-AzureTrafficManagerDomainName - - DomainName - - Specifies the domain name to test. You must include the following string: +PS C:\> $Profile = Set-AzureTrafficManagerProfile + + This example reorders the endpoints added to MyProfile to the desired failover order. + + + + The first command gets the Traffic Manager profile object named MyProfile and stores the object in the $Profile variable.The second command re-orders the endpoints from the endpoints array to the order in which failover should occur.The last command updates the Traffic Manager profile stored in $Profile with the new endpoint order. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398289 + + + Disable-AzureTrafficManagerProfile + + + + Enable-AzureTrafficManagerProfile + + + + Get-AzureTrafficManagerProfile + + + + New-AzureTrafficManagerProfile + + + + Remove-AzureTrafficManagerProfile + + + + + + + + Test-AzureTrafficManagerDomainName + + Checks whether a domain name is available as a Traffic Manager profile. + + + + + Test + AzureTrafficManagerDomainName + + + + + The Test-AzureTrafficManagerDomainName cmdlet checks whether a domain name is available as a Microsoft Azure Traffic Manager profile. If the domain name is available, this cmdlet returns a value of $True. + + + + Test-AzureTrafficManagerDomainName + + DomainName + + Specifies the domain name to test. You must include the following string: .trafficmanager.net - - String - - - - - - DomainName - - Specifies the domain name to test. You must include the following string: + + String + + + + + + DomainName + + Specifies the domain name to test. You must include the following string: .trafficmanager.net - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - This cmdlet generates $True or $False. If the domain name is available, this cmdlet returns a value of $True. - - - - - - - - Example 1: Check whether a domain name is available - - - - - PS C:\>Test-AzureTrafficManagerDomainName -DomainName "ContosoApp.trafficmanager.net" -$True - - - This command checks whether the domain name ContosoApp.trafficmanager.net is available as a Traffic Manager profile. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=398290 - - - - + + String + + String + + + none + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Check whether a domain name is available -------------------------- + + + + PS C:\>Test-AzureTrafficManagerDomainName -DomainName "ContosoApp.trafficmanager.net" +$True + + This command checks whether the domain name ContosoApp.trafficmanager.net is available as a Traffic Manager profile. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=398290 + + + + \ No newline at end of file diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Models/TrafficManagerEndpoint.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Models/TrafficManagerEndpoint.cs index b5828b119d7e..2416567aaf98 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Models/TrafficManagerEndpoint.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Models/TrafficManagerEndpoint.cs @@ -35,10 +35,10 @@ public class TrafficManagerEndpoint public DefinitionEndpointMonitorStatus MonitorStatus { get; set; } [DataMember(IsRequired = true)] - public int Weight { get; set; } + public int? Weight { get; set; } [DataMember(IsRequired = true)] - public int MinChildEndpoints { get; set; } + public int? MinChildEndpoints { get; set; } public override bool Equals(object obj) { @@ -69,8 +69,14 @@ public override int GetHashCode() result = (result * 397) ^ Type.GetHashCode(); result = (result * 397) ^ Status.GetHashCode(); result = (result * 397) ^ MonitorStatus.GetHashCode(); - result = (result * 397) ^ Weight.GetHashCode(); - result = (result * 397) ^ MinChildEndpoints.GetHashCode(); + if (Weight.HasValue) + { + result = (result * 397) ^ Weight.GetHashCode(); + } + if (MinChildEndpoints.HasValue) + { + result = (result * 397) ^ MinChildEndpoints.GetHashCode(); + } return result; } } diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config index 9b30164897c4..3ccc754e42e0 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config @@ -6,12 +6,12 @@ - - + + - - + + \ No newline at end of file diff --git a/tools/InstallLatestSdk.ps1 b/tools/InstallLatestSdk.ps1 new file mode 100644 index 000000000000..599f911c4d83 --- /dev/null +++ b/tools/InstallLatestSdk.ps1 @@ -0,0 +1,70 @@ +# ---------------------------------------------------------------------------------- +# +# 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-RegistryKeyValues() +{ + param + ( + [Parameter(Mandatory=1)][string]$regKeyPath, + [Parameter(Mandatory=1)][string]$regKeyValueName + ) + + $regKeyValue = "" + + $regKeyValueObject = Get-ItemProperty -Path $regKeyPath -Name $regKeyValueName -ErrorAction SilentlyContinue + if ($regKeyValueObject -ne $null) { + $regKeyValue = $regKeyValueObject.$regKeyValueName + } + return $regKeyValue +} + +#Get WebPI CMD +$WebPi="$scriptFolder\test\WebpiCmd.exe" + +$allWebPIVersions = Get-ChildItem HKLM:\SOFTWARE\Microsoft\WebPlatformInstaller -ea SilentlyContinue | + ForEach-Object { + if($_.GetValue("InstallPath", $null) -ne $null) + { + $WebPi = $_.GetValue("InstallPath") + "WebpiCmd.exe" + } + } + +Write-Host "using webpi command: $WebPi" + +$programFiles = $env:ProgramFiles +if (Test-Path "$env:ProgramW6432"){ + $programFiles = $env:ProgramW6432 +} + +if (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v2.4")) { + Write-Host installing Azure Authoring Tools + Start-Process "$WebPi" "/Install /products:WindowsAzureSDK_Only.2.4 /accepteula" -Wait +} + +$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Emulator"; +$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" +if (!($producteVersion.StartsWith("2.4."))) { + Write-Host installing Azure Compute Emulator + Start-Process "$WebPi" "/Install /products:WindowsAzureEmulator_Only.2.4 /accepteula" -Wait +} + +$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Storage Emulator" +if (${env:ADX64Platform}){ + $detectKey = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows Azure Storage Emulator" +} +$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" +if (!($producteVersion.StartsWith("3.3"))) { + Write-Host installing Azure Storage Emulator + Start-Process "$WebPi" "/Install /products:WindowsAzureStorageEmulator.3.3 /accepteula" -Wait +} diff --git a/tools/SetupLiveScenarioTestEnv.ps1 b/tools/SetupLiveScenarioTestEnv.ps1 index 41b929cc102f..ab379cc1f027 100644 --- a/tools/SetupLiveScenarioTestEnv.ps1 +++ b/tools/SetupLiveScenarioTestEnv.ps1 @@ -25,7 +25,7 @@ $oldRdfeTestVariables = $(Test-Path env:AZURE_STORAGE_ACCESS_KEY) -and $(Test-Pa if (!$serviceManagementVariables -AND !$resourceManagerVariables -AND !$oldRdfeTestVariables) { Write-Host "You environment has NOT been set up for sceanrio testing. We will help you configure..." -ForegroundColor "Yellow" $subscription = Read-Host 'Please input the Azure subscription guid you tests will use:' - $env:TEST_ORGID_AUTHENTICATION = "SubscriptionId=$subscription;BaseUri=https://management.core.windows.net/;AADAuthEndpoint=https://login.windows.net/" + $env:TEST_ORGID_AUTHENTICATION = "SubscriptionId=$subscription;BaseUri=https://management.core.windows.net/;AADAuthEndpoint=https://login.windows.net/;GraphUri=https://graph.windows.net/" $env:TEST_CSM_ORGID_AUTHENTICATION = "SubscriptionId=$subscription;BaseUri=https://management.azure.com/;AADAuthEndpoint=https://login.windows.net/" Write-Host "To avoid getting prompt again, you can preset one of following environment variables with the value beside" -ForegroundColor "Yellow" Write-Host "TEST_ORGID_AUTHENTICATION : $env:TEST_ORGID_AUTHENTICATION" diff --git a/tools/SetupTestEnv.ps1 b/tools/SetupTestEnv.ps1 index 18e508d3c46b..fefe7b4ce37a 100644 --- a/tools/SetupTestEnv.ps1 +++ b/tools/SetupTestEnv.ps1 @@ -15,63 +15,6 @@ $scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent . ($scriptFolder + '.\SetupEnv.ps1') -function Get-RegistryKeyValues() -{ - param - ( - [Parameter(Mandatory=1)][string]$regKeyPath, - [Parameter(Mandatory=1)][string]$regKeyValueName - ) - - $regKeyValue = "" - - $regKeyValueObject = Get-ItemProperty -Path $regKeyPath -Name $regKeyValueName -ErrorAction SilentlyContinue - if ($regKeyValueObject -ne $null) { - $regKeyValue = $regKeyValueObject.$regKeyValueName - } - return $regKeyValue -} - -#Get WebPI CMD -$WebPi="$scriptFolder\test\WebpiCmd.exe" - -$allWebPIVersions = Get-ChildItem HKLM:\SOFTWARE\Microsoft\WebPlatformInstaller -ea SilentlyContinue | - ForEach-Object { - if($_.GetValue("InstallPath", $null) -ne $null) - { - $WebPi = $_.GetValue("InstallPath") + "WebpiCmd.exe" - } - } - -Write-Host "using webpi command: $WebPi" - -$programFiles = $env:ProgramFiles -if (Test-Path "$env:ProgramW6432"){ - $programFiles = $env:ProgramW6432 -} - -if (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v2.4")) { - Write-Host installing Azure Authoring Tools - Start-Process "$WebPi" "/Install /products:WindowsAzureSDK_Only.2.4 /accepteula" -Wait -} - -$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Emulator"; -$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" -if (!($producteVersion.StartsWith("2.4."))) { - Write-Host installing Azure Compute Emulator - Start-Process "$WebPi" "/Install /products:WindowsAzureEmulator_Only.2.4 /accepteula" -Wait -} - -$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Storage Emulator" -if (${env:ADX64Platform}){ - $detectKey = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows Azure Storage Emulator" -} -$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" -if (!($producteVersion.StartsWith("3.3"))) { - Write-Host installing Azure Storage Emulator - Start-Process "$WebPi" "/Install /products:WindowsAzureStorageEmulator.3.3 /accepteula" -Wait -} - try { git.exe| Out-Null }